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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cab30259315c7ccac54a05c72a2c5d104419c6494702e3d23717e5af3f99714e |
|
MD5 | 038d5bd9f4c00e653b9f04a1f52ee062 |
|
BLAKE2b-256 | 6159dfd79050f4a69d9d713b6cc79f946e4cb36be966f3455e2badcc3a37e647 |
Close
Hashes for sparkautomapper.fhir-0.1.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef89df848d833aa8c8bd46d934bdb3a0dcb3846b322d4354d5885ba02e7c61b |
|
MD5 | fe565b9708cabbef8d0ab71972431bc0 |
|
BLAKE2b-256 | e52cad7fc06022e3cc043809f7ef9c423d9d3744a6296f4139ae6f4f6c376150 |