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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8661ca5f127e74653747ad315ea22cc093f1e376cfc0772e8edd14e37ba72d0e |
|
MD5 | 373e3e9d76cafe7a78017cb8bdfbba85 |
|
BLAKE2b-256 | a34eb7f9e51492d14995fc0112897edcc0a61b797a340b123a50d00ef6b7ddc6 |
Close
Hashes for sparkautomapper.fhir-0.1.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c93a632abdcfcd63a3ad0f15413d4e36eb2a997505638198dceb299eab5d4e |
|
MD5 | bbb909c7b04398546d011f2ec1103648 |
|
BLAKE2b-256 | 896837e09d8634cd4638d199ddfd9436b7ec7605debe2351bad07a676e969ed8 |