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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7825cf07681f6fff380d06abf1fef358806b50472c0d5d0ad549de35ecdf3065 |
|
MD5 | df182f8ee8a4af9d3eada4ed53c90493 |
|
BLAKE2b-256 | 40ba9bf60afe9b02be2fd56372eb4692ffc824a93e9181e8185de21e07a6b111 |
Close
Hashes for sparkautomapper.fhir-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871b21c585159609c38c8688be856eb4e836ef4e1fcf3de151b52d9ddb43a69a |
|
MD5 | 066773607c9c7ad7064262d821be4b2f |
|
BLAKE2b-256 | 088b585b3aa8043dbd1dbd0649d485029797a29f00b5e86fe7636aa8087c2698 |