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.61.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07aabc5da1ed345d83a54c09038c572bfd6d0fbc2f4b3a9f4e2e584c1e29e4f |
|
MD5 | 6e6d9db197186ba2de5e170969d0d8ab |
|
BLAKE2b-256 | 6ca1cece549b22bb070f2c6fcbd3bac5456efcadb932a8a334054eeac960bc3b |
Close
Hashes for sparkautomapper.fhir-0.1.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16c3056ed97977fcff88707d967d416c952a17e4100c38f5d61a5038ecf89fa0 |
|
MD5 | 9c805682ce68ab1a5ba51d05c96253d0 |
|
BLAKE2b-256 | 82304ec573bdb568eb75689d4b65a5edbb467f600f7b5166df2d7fc495749b19 |