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.57.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c733e0474257a5bb9c733c9ef0ab266122f9e046d5b6ac760512f5adc17096b7 |
|
MD5 | 8e1d71f731f78ce49667cf4e8aa95a1d |
|
BLAKE2b-256 | 1037bbb8d8c38a2bba94e3d94230e62950542f5b26dfdaf04edaef45d330313d |
Close
Hashes for sparkautomapper.fhir-0.1.57-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd6c767f66bc3341584549646e3c88d2dd98a4c710297fd1a9934d7b2b16062 |
|
MD5 | 074bf2b0cd1b14c598a6cc1a63332cbb |
|
BLAKE2b-256 | ad68b0e8e0a89ca1b90fcfef4395ef6cc733970a2d03f3ad4626365d965d82a5 |