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.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bbda8e45358b0fbc6247f7a8a3eb2555bd983eb071bf2552013e352f6c41159 |
|
MD5 | 339c42420326fcdba7ac26e236cbbc25 |
|
BLAKE2b-256 | b3d02f0f3432692aa8dddaf037a5662ec01ad5c1b9ede90419c54820d54f140a |
Close
Hashes for sparkautomapper.fhir-0.1.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5345e1ef78f4a97b9981759ffdc592dc50f2e02ba24cb812a6cf64ec1a5cd259 |
|
MD5 | 115ae1f2befb317cee30865e6881d92b |
|
BLAKE2b-256 | 839a4b5e7ef824363f7f3ee8e55af3368afbf1add2861c9c3f58c421db7b9bca |