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.2.21b9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30ffd8a3a6de3d4594f20cdaf45dddb1c5c22d35cb6b70fd03ad65688835ebb5 |
|
MD5 | a064bdbd730f2cece2d0058479f717d5 |
|
BLAKE2b-256 | 49687fd4978308d1b391d099595492188b7f8db13f66c90c624e75bee5320ddb |
Close
Hashes for sparkautomapper.fhir-0.2.21b9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b58dde88fc9e6befafd3c0e36c6ca299a8aa91634527ee7149d0068b7657a46 |
|
MD5 | d2b9904fdee1fc487b8d59a9f50f1aae |
|
BLAKE2b-256 | 593a23d5d65025da7d35525a0a27d7b58c7a5d3eaecb371d312dc0f608704379 |