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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d34e0502312d6876f5db2b0f482f255cb748709f3b6ea581d78e27a2e94fd4 |
|
MD5 | 29f5ca8e56de94f19151d089f5c962c0 |
|
BLAKE2b-256 | 122d26fd137fa829dd0f45e5fb82e99e34592af7666a3ce60ae24acf8c7461c3 |
Close
Hashes for sparkautomapper.fhir-0.1.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f37b3aace2ea074c5ba903cd2ddc56a8a5b7aecde7bf75edc140dbcf589965f6 |
|
MD5 | f805c2802184d44e5b7b0f49751cf8d9 |
|
BLAKE2b-256 | 6be2ea31d7eefebe249951a3f38350f720ca0db6d424d1fec1f3cd262a9d9e16 |