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.2.21b17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0f21172e90331f6e12fcf8493bb4a639717c839a541a32a557575e81c59979 |
|
MD5 | 333862ee4b47523e80c23a26c3050571 |
|
BLAKE2b-256 | dc949aa7d1f3bbd670d82dd790b5dfe7231eda1e31eddb1ac025481b1ed6b1a7 |
Close
Hashes for sparkautomapper.fhir-0.2.21b17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf302278910929e29b5ea1167f19f2d7225ca30e1186e9e5adef8229b2998884 |
|
MD5 | 128ae86f5aa0308d25c88a31c4e9e612 |
|
BLAKE2b-256 | c8ce517f95c04593cf383b52aa0336e237ea33a7fa241ca88ad60cf1cec990e2 |