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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c42023d4a3d6e7c6101f70298cc87083656af319391c92305d72c596f218d1 |
|
MD5 | 808bad941bcf5639a6e301c52ed26d39 |
|
BLAKE2b-256 | 3645d2f4501c0bfeedee617c480a1b3dcb0ee6a9b4d5b3dc0e84cdcb6d188c8a |
Close
Hashes for sparkautomapper.fhir-0.1.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a64594a5aa9dd821a3c3739f15a652c19dca0ceed11bfcf949e2fa0ea31a95 |
|
MD5 | 5eaa645c56c8cb12c5f361940caa745c |
|
BLAKE2b-256 | 8f627dc6954b2877f71466dec8662ba0437cbac5f4fe7525cef8fd099e13b166 |