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.1.89.tar.gz
(101.1 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.89.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9511894c82fc78caded6d2afbd520f9095503e55cd1bbf30a25e8f69c613256 |
|
MD5 | 9aaf68c3de017b51edec8d53775c5214 |
|
BLAKE2b-256 | 60b85413ca4260b96fcb8009b55638d0a1e188ba5ea799cc760c511cb5998f90 |
Close
Hashes for sparkautomapper.fhir-0.1.89-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db1914012542bdaf61b72294917afb3ed51bc7f03f5172a625ef142ae064f3c |
|
MD5 | 6b2a1cf470f2833906d4b6234624c088 |
|
BLAKE2b-256 | 9e2566e45d93810a010241cb8fccd419990f05264fccf64b53ce8d1a30f1f43a |