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.82.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eea1757fb1b9d9cb6885584b999b3b4a6daa4b26f4110eb46448d4ad464b74f |
|
MD5 | bd607c43bbc6a9a2a0762966d78f2d90 |
|
BLAKE2b-256 | f921062cadddc2487d3fdb4f5dcfa87531d1ef2fc8615edf31aee08e6e966a4a |
Close
Hashes for sparkautomapper.fhir-0.1.82-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ef2804a0bf0780498a30696f614369d7ff4681fc10757da0fd796525ce14c4 |
|
MD5 | 41cbacb4f8bbe294feebe980115fd2cd |
|
BLAKE2b-256 | 7c489b414e29aebfacede4fa690266cfaa67f9bab4b261b99117c28479491182 |