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.67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e5d940a70746d1b08fbe3aed73c958c56dba993c0cd7ddc8d2617a194c084c |
|
MD5 | 7d05eb5ffd54d8993abccd5d9f643bb6 |
|
BLAKE2b-256 | 91c6fe05c29fe84d2006b6a988df483d8f665a4941517411ac7eed2122e351fa |
Close
Hashes for sparkautomapper.fhir-0.1.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17e92d1a196167090d4ae3895e4164c63874ffb36d813dfca82fcb13fb30082 |
|
MD5 | 5a66a6025109cf36539854fa5a396005 |
|
BLAKE2b-256 | 6ef1d7cc648d17b8b26240d57b2c0f402310a3d3c0d0b45049c0c7e084e5a4a9 |