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.35.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da879d945a1282703b2aadd90981abd540083c42defcd6220b0ed568e3fc49a9 |
|
MD5 | 146b65eb8d6d2a5104b75c49684677f8 |
|
BLAKE2b-256 | 92b08676778df3d4fea61c7918eb964a3469685da718e377f52b8158f8536ed1 |
Close
Hashes for sparkautomapper.fhir-0.1.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687f85de2602943ad2c67f6563faf8defce124b9c376d1adfa48546f1a42f9a8 |
|
MD5 | ae10d1b6d7ed405144352b47f5c19e0e |
|
BLAKE2b-256 | 1fc093152eb71360b49d6fa99078acf9b98ec5350b2b333e6f5974c81e93fa73 |