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
sparkautomapper.fhir-0.2.9.tar.gz
(109.3 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca690bab50ee48521b5903cb44f56bd2625979980dc681dcc9ec39c4c055288 |
|
MD5 | fa7c122b412ccbbf52c17c3ec800decd |
|
BLAKE2b-256 | 1ea4f1c9b69708e442fbe9aa7e7a705e7f9ea7e61b6f5359237fea63247ef24e |
Close
Hashes for sparkautomapper.fhir-0.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3965b1e690f696b78e0eec60347c4794f374ecfdacb2663243d48c0c73de05b |
|
MD5 | cfe05ae04ae14308d77c734aa0d17a9e |
|
BLAKE2b-256 | a5a09a3a3c3abaa3ab79767319c9651bfb2f279cb6a71a951edfd361e45d574c |