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
sparkautomapper.fhir-0.1.88.tar.gz
(101.1 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.88.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16525d0266eec7f29e9b987d9768006ade30de53c43bda220758d5d58e60bcb6 |
|
MD5 | 7a56be6349c120c66bb0b4374256c381 |
|
BLAKE2b-256 | d655e159b44c92d31418065d579096ddbd26cf361cb06c2bdad5f0e4c6419518 |
Close
Hashes for sparkautomapper.fhir-0.1.88-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c6c996a99192de09dd6bd219acc38edac4b0f9d86f362ad453ca912845c9dad |
|
MD5 | 9eee980c7493623ef448b8a441a9463e |
|
BLAKE2b-256 | 5c8953642de9a1b5a0e68b8ee57cf816f45a7ac6eb20d199e7a9405ec2a1d6df |