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.74.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e2be62eeec28024a3273e676125da8f3df2dc23ac48a37003ede64b78096d01 |
|
MD5 | f9ff1ba91f0bbfa3c09c195c242948b1 |
|
BLAKE2b-256 | ecb3521484604fefdc334db06af047fd13f71093b0be270fc61d001347b1857c |
Close
Hashes for sparkautomapper.fhir-0.1.74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0a728d2fd8971faa58fe657f96a6a39d5d8e62769cf18512676cbd9a0b3dac |
|
MD5 | 6a91c0d3427985485c8d23bb3d7d363e |
|
BLAKE2b-256 | baee8f7ab4c77dac3fae1b47c55b67a0f647d575d339aabd364ab10f4af87020 |