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.2.21b8.tar.gz
(991.6 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abf7c7daa68199d1ae1e853b95dd2ee1e9e36729fa16179e8cc0b387aac74627 |
|
MD5 | 860720c8f91d9d0ddddd2efc64fc5ae6 |
|
BLAKE2b-256 | 5c34094829b0635d47a550564d9b5da2e9e5cba7fe7800474ea2920efa67a44b |
Close
Hashes for sparkautomapper.fhir-0.2.21b8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2cd4b7787b55f3204ffc538cf141ecae557b6e983f2d2313e4b93b06530b61c |
|
MD5 | 832fc4e9425cc4b54264b5f4ee0600ef |
|
BLAKE2b-256 | 13b32b25cff5a76be765753dc19f4a70e2a881d2c93cbec4de5b1341960040b7 |