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.7.tar.gz
(106.1 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a926b74f44c80ba52b76b1c5c4e2c560648c9d357db2e76271c71f77470862f |
|
MD5 | f1b830e56ce4e54049c4d0703267744c |
|
BLAKE2b-256 | 39413058cdfbaceebf795e6bd7ca883ea5733e329b003a270d99bba056cceecc |
Close
Hashes for sparkautomapper.fhir-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522572ad86347270f3b2bc6aaa608bb748a9ac1e46160f2a9b35714697c24e6f |
|
MD5 | fe6d71411c1c64f203fc1520c6a7c177 |
|
BLAKE2b-256 | e883ce32d592db9af3219bc81a41dddf753d068ba660307b55259d30dd877607 |