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.14.tar.gz
(115.5 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8812f498b9ee7e43b061fbb30ddabea031f75fcfd414c75587ee71839d65b6 |
|
MD5 | 8a1c9a8bb48f6df57277974b40bbdc54 |
|
BLAKE2b-256 | 511617fdfb37da4a81e14b8d4f0b08b5a9ee18d22633d6c5e23792b6a36641c1 |
Close
Hashes for sparkautomapper.fhir-0.2.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53ffb5a55fe62540c86cfab92fe4e0d74ac720f5faee6c1edd6ee49dd662b47 |
|
MD5 | 640343232da6a75e69f9843cdf7adb47 |
|
BLAKE2b-256 | 429708865a0088d87c3e9f89a8be019e1b14caa27ca192d906445eb7045a147a |