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.1.96.tar.gz
(105.4 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.96.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acae962d57fad771ae953130842e7e396a231d2a7e59f94ca70a9bb545eb9cf6 |
|
MD5 | 24747b19aa23ab44aec481b472c2be2e |
|
BLAKE2b-256 | 8bd61182f5d0926825baaba17457e38543413eb8bdbcd963dc288e38fea15f4d |
Close
Hashes for sparkautomapper.fhir-0.1.96-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33bdbaf118f4f7eee1367128d5a60b806ff7b2b1dafa4bf89672ed40195a275d |
|
MD5 | 3a680b4945e6ca69ad74fd26336afae5 |
|
BLAKE2b-256 | b640c779ea3198896c0cd5d714150ffb76a8553eeaa318011f79a69dbdb9944d |