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.59.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b4219472f1bbe3988f5c85878a0d348dd8fd44b4c0044006db497a99e971d4 |
|
MD5 | 7bc32b14d1a64b30e9866c705182d1e3 |
|
BLAKE2b-256 | 5e7bba7991869b55cfcce4ffe94ae6755180397a8b2f70181c254d8190038000 |
Close
Hashes for sparkautomapper.fhir-0.1.59-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd6daaa7ce1e17d8dfb13f5fb2ff67f30790514fb4bf47f99012fb82415ccd5 |
|
MD5 | c076c6fc04c3ca9652246dae5346680a |
|
BLAKE2b-256 | cba78365b19b6f7aa2201a4398606e3f665a9bd8268a36c9c07500165d7654cd |