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.1.93.tar.gz
(101.9 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.93.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec62c8cb78c5738e621dc5bc65b042095103ae97cabef9d7640ebec7770ac64 |
|
MD5 | 950da2bac7a986145fe5f63a831a74b4 |
|
BLAKE2b-256 | 232e43dca923b76c44293e173cf44acadd49218ba16cd410672489ab11a239c6 |
Close
Hashes for sparkautomapper.fhir-0.1.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f298277640eeef308aa72a661b5f26659c39534e3965749da23af59bd1a34f |
|
MD5 | 2c5150d6f0206dd2ba81f69c48aec210 |
|
BLAKE2b-256 | 8672005b7daa8be87fc8ce8449977dd3a9234ac60350802d6e1155cce0691e7e |