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.98.tar.gz
(105.4 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a1cf74b286bbe42231ddab72ce75cc45d83587906b7f7abfea17ce83e1c620 |
|
MD5 | bbcf0051cccceefb1bd57b3202a5aab9 |
|
BLAKE2b-256 | f67567b990fc8585252f664d59c2ea4bbd37c3b9aeb0640a95502877d39affb5 |
Close
Hashes for sparkautomapper.fhir-0.1.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f246b0ea04d40390b110312d075cd3659f50bad9d8c23a86a5c9e801ee2d9a43 |
|
MD5 | 8e88e8617aef9cf0a7ff64a843984991 |
|
BLAKE2b-256 | d2befcefdbe992c70057450ab2a0b3917906edc653adcfd84ca812a4d0be36e2 |