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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025382178f4fec3e5e1a4934b6e143d4158eff551e670485d9bb52381d1a2124 |
|
MD5 | 8c0240ec7928c47d2847a3a24571fa17 |
|
BLAKE2b-256 | 280bef6d720a1bb9e38d5ec32f2e684e65a240268d4d37b2258abefc098db7be |
Close
Hashes for sparkautomapper.fhir-0.1.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99735a38c9363daa9bf890917e54a57018183e6ea68af12a2139275f42f9bd11 |
|
MD5 | 588c22ffd577f1337aa17a7a9ecb2fe1 |
|
BLAKE2b-256 | babb682ae4aea4fc27311fd9d846948a15301707dd0542ba6ac01292073c66b3 |