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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f1dfaeab1c10f61fb4e41ae15cdf1a266e88fbdadcd867d3c869a60c9e98d0 |
|
MD5 | 03737955a48dfbb09d3b1214da1410a1 |
|
BLAKE2b-256 | 3775f776eb799da25fb33264acf36fb22f0093c81f4384a1e814d1f5cdc5d8fb |
Close
Hashes for sparkautomapper.fhir-0.1.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4022c6ddfbea615be8f3c3bed557d77d3a5422917738fe485fc8c31c15436d88 |
|
MD5 | 07ea917bc0f8317a5a1f3853016f8507 |
|
BLAKE2b-256 | 0a78f2210fa22e867a7837c46609802788c177c4189601ad7bb9318e7115042b |