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-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba346e119ded26d351aaf802f99e93ac941f384a3e99a6f209d49e73d9849d5b |
|
MD5 | de0ca149c92e0f4a7790f06b9bbe2446 |
|
BLAKE2b-256 | 1b129feda8d91a441bdc0afb5b01e7eaab0488e761ea0942a6de06aa1534d631 |
Close
Hashes for sparkautomapper.fhir-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec698da59d91f27384ec282aebbe3a34e2e2ef14f71ed00fd9597470b94ab000 |
|
MD5 | 62029dbfc3dae1a28657495b0f660da6 |
|
BLAKE2b-256 | e5af36af5179315f8a57dab5afd7316e01929d6769de154c42408222e9f7aed6 |