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
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db237ae3faa16648695ea753cac26730f82f87be6f490021bcc901d2f43efb34 |
|
MD5 | a854455817a73b8eb4c5abaf7221703e |
|
BLAKE2b-256 | 280b3a00bd9a00ace5000afe092a50a9afd7728b7dd3ec457319410fbdd3d375 |
Close
Hashes for sparkautomapper.fhir-0.1.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33011117c2277f8ea41bdc401db28f8799f5fa7e2689ea27b244a26d43a25798 |
|
MD5 | 9d4aeaff7b1b109ac2489b5d7b7eda70 |
|
BLAKE2b-256 | 4fb78ff3a9d0c1644c0e36d560c3cc0ee71bcc3962a9729cb6832bc47a330178 |