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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06cd262fe5face60cd95bda7167ba9dc6ae7e7f7c435ed2e5e443e21291fbfdd |
|
MD5 | dbaf81424dd6cc4aaef419eb7994ef60 |
|
BLAKE2b-256 | 8b72b900b208186cabf983290e6a9b0c96bcb3096a90b15c75d6d36b9de3631a |
Close
Hashes for sparkautomapper.fhir-0.1.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90b34650b9dd5e7d62f021a0bf2a612c24b17843a9a256806b3bf2fac4096fb |
|
MD5 | 50088a1731c2f60e1b87482deea70299 |
|
BLAKE2b-256 | a61dbf829e04d450e74d6a3d10cc35c03643b3bfd19ef725df36263903715ab1 |