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-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d08dea0d77d72fbda872a9033dbf7646031a856c091b48b708ae52d8239b48 |
|
MD5 | bc7e848b2be65ece0e80feaf5bc20472 |
|
BLAKE2b-256 | f1b2897664f0cb4317e0bdfd8e65035658430201d810521315c99615405b3238 |
Close
Hashes for sparkautomapper.fhir-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b257ee268cc6428aa733cd82241cf35658527234a2b0a807b7f0ce2f3e6fdda3 |
|
MD5 | 7abfb174e95a415d2772652da5fda131 |
|
BLAKE2b-256 | 2fa4e6ec2efa9074f836f4f6db9a2002351b57ed59d6f2b868e879ee9e826c3e |