FHIR extensions for SparkAutoMapper
Project description
SparkAutoMapper.FHIR
Add custom FHIR data types to SparkAutoMapper.
Usage
pip install sparkautomapper.fhir
Example
from spark_auto_mapper.automappers.automapper import AutoMapper
from spark_auto_mapper.helpers.automapper_helpers import AutoMapperHelpers as A
mapper = AutoMapperFhir(
view="members",
source_view="patients",
keys=["member_id"]
).withResource(
resource=F.patient(
id_=A.column("a.member_id"),
birthDate=A.date(
A.column("date_of_birth")
),
name=A.list(
F.human_name(
use="usual",
family=A.column("last_name")
)
),
gender="female"
)
)
Publishing a new package
- Create a new release
- The GitHub Action should automatically kick in and publish the package
- You can see the status in the Actions tab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sparkautomapper.fhir-0.2.21b1.tar.gz
(986.9 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830f42462c710c4ca2aec644ef917601446097dd8dc7b78c9657cc822aae0be2 |
|
MD5 | 7e9693e598ac960ef7248297dad3c543 |
|
BLAKE2b-256 | 28e6465990ea01a6dfe04a0240f93e9b7bebb0fccd4e9e621f71ca1a17a28965 |
Close
Hashes for sparkautomapper.fhir-0.2.21b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77a8ede0023f745ca48630428cda9c304e8925aebb4d21008f5908dbeb777d5 |
|
MD5 | 30152fefb8f4c97e42cdbf73fa8c7fee |
|
BLAKE2b-256 | ac68abc4beab573b4fa50c3d6a78e10caa09d591b177b5a4266d196e3408bc42 |