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.55.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da641a1716790c3d24ef724c6b59fd9285a1b7dec32a8147dc46dfed8f276c8f |
|
MD5 | 2b0bf49cdd9c0340ff3e9c2de213e369 |
|
BLAKE2b-256 | 5fa22495aa4db05dc2fd3c5b890bf683f4ad5d92ca5d0f67ab4707ae37eb91d8 |
Close
Hashes for sparkautomapper.fhir-0.1.55-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dbf5b857f43f93b5529568c1a696483f7454374b12bb69c28aa26bda2b9eb34 |
|
MD5 | a7ade100ebf496febf061b87f56f8751 |
|
BLAKE2b-256 | 6aeae4f0a1736e7509845594c41e4bfe956c9dc3df06be873fa9e153aae51fed |