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.21b3.tar.gz
(987.4 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2581f5941b2c231fbc0fe9e41ee05bf12bca5864f65bb1c82c874bbce83207 |
|
MD5 | d5f92497a342aa8ca3342fc43597eb41 |
|
BLAKE2b-256 | 71e731f2caace11072deca05f0926ae9e7a27444ca9f7c9e04b0e54cfaaadcd6 |
Close
Hashes for sparkautomapper.fhir-0.2.21b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f6d4fbddf2659f90129f7188d015ced3be1775805fd2504decf48978ab3cbc6 |
|
MD5 | 324c225de25f236483c6bcabc064054b |
|
BLAKE2b-256 | 9929461491b13b9ede9b595891d4139cac0c0260d02644848afc86d4954e26e9 |