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.2.21b10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b50c14547a2fb3994a2c5bb4c226e6e8eef7152a2a9bd69045ecaf9861ecebd8 |
|
MD5 | 6658ad5a6ce05db6261ea14cbd2bfd55 |
|
BLAKE2b-256 | 53979ea2937d7da952e831df23e473276439cb156fc372a773f6080f5221f4d6 |
Close
Hashes for sparkautomapper.fhir-0.2.21b10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe58c14f3058cba4476bfff8ce167d11d7f9626dfe3e428c106175d4841757d |
|
MD5 | fc1a3a14bb6bc5c6a12e673c94339a5a |
|
BLAKE2b-256 | 9afdbed42d33167249d1a324920c55ca81935ec0013c19d42d35f094b8592ab9 |