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.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f393e2132854261cecd3c6f61c04e1923d9f1c85a99b3a88b7aca7f3abae9e07 |
|
MD5 | 629b08e1bc6a7382d73b55ea5823de62 |
|
BLAKE2b-256 | a4cb2e5ecba044b354ac0f7483bbac1694eea0ff40ce3d1e0a98688fb303bd9a |
Close
Hashes for sparkautomapper.fhir-0.1.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc10a29a77d307618415693dd6aed0fface537ad72299db6a8038602c243b8f4 |
|
MD5 | a15e3a9fdb1b98dc621196ff305f8875 |
|
BLAKE2b-256 | 4a4be7abe11722a8f435b5080a913d47ac9b6c21520372b905474b8a545830da |