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 = AutoMapper(
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-1.0.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3193ec3b28b1f9051ade808eb97d80822fe195b4bc2b788bde5165ab8ebf25d4 |
|
MD5 | be5b0735f31d747b92171133773c1a64 |
|
BLAKE2b-256 | 605466e41a9a3b6594d1f09b88798015609a4997f161447ea218ae7688407cf2 |
Close
Hashes for sparkautomapper.fhir-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffd691b5ec4540043bd3cade39ce38efc9f15c5749000074e6f237ea2fe0591 |
|
MD5 | cb2a7eaa33420040f1ccb59dbe0e3218 |
|
BLAKE2b-256 | c300ff130b58bf0f347e978dd2de02a27da8beadd2eecd85ae04da58de41dbe9 |