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.78.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8840f378453cd5c09aa55729a9b6ae98f1f62b15d41e8bff82da1f864a0e2864 |
|
MD5 | 43571b687095dd88427c8c3ea85a9764 |
|
BLAKE2b-256 | 3b56afa41ffbc5fb8e230dd4074d6e4986b2bb226931d7f69071497a733d660a |
Close
Hashes for sparkautomapper.fhir-0.1.78-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa979a1b11d1570418258f66a176e772977e92878fc63ca1cb6490ef402d9301 |
|
MD5 | 77056239edf10729e017a86b4f3c0647 |
|
BLAKE2b-256 | b22138160cbd57e98266030fee775b27df0581a57c04f280cbdcabad3c1b0450 |