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-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f6bd9098775e819174010c512d33f4bbf41409d286c8f560a1affe509d28e80 |
|
MD5 | f973478fb597303a2e898c96424f4a45 |
|
BLAKE2b-256 | 6c663e816d0cbb262a92fdbb58a7d4c4370dee51d57a1fe1476fd5d74e7be5f9 |
Close
Hashes for sparkautomapper.fhir-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e409d5e38a98c162764203a3f9e9831c7945092780d2afb39dbe8ef4a693141 |
|
MD5 | 0d47dd7bf4dff45d15d087abe4297e8c |
|
BLAKE2b-256 | a0b308deab99f46c3c640f21e3f9d8bbde2278c148ff2fe5ca9fd94bab72cf18 |