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.36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea44042d523a951aa5cf194269c365c8f0a673720cc41b339fd3419c426aa985 |
|
MD5 | a3b27698e917c0645f420074971a4e1d |
|
BLAKE2b-256 | 5282529da59c0d68a667a8f2caff7dbe67940ffefbe328aac240b6b0f94da04d |
Close
Hashes for sparkautomapper.fhir-0.1.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef3507fb7b281d1ac38ef90ab2b7921f4c397dc4980fe61968c7a40ff351575 |
|
MD5 | 655c89fdd86d860d5e5cd7d9ee3cbf8c |
|
BLAKE2b-256 | d0e37174a937113db6398b2386a4bdeeaeb05e7476c32588f2788d1876339fd0 |