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.43.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a478150d0674ce6a75359ec969a329596f0156cf832b7c3aad93f49fa7aaa5b2 |
|
MD5 | e8db3bab5bdbce0a838801e78d274fae |
|
BLAKE2b-256 | fe3b338db660d20e1d191b4213bc082656bb32047050ca4037c04bc680f4da16 |
Close
Hashes for sparkautomapper.fhir-0.1.43-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6bc9baf0a1015007b21e8fd3d74491b2bb5c8373565464c04a567f2e8ec6a6 |
|
MD5 | 49e3729c48e6cdee97645fb92eb0a94a |
|
BLAKE2b-256 | a1c27b0ecbbb1862014ba52072475e6f608a7992026ea36ef413179a9998501b |