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.2.21b14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8871fb97bfbbcf42cdb326032d19fd4ca7d2a2dfa946bd92817fafe68f354f6 |
|
MD5 | 36d061481dc93bf5f55fe94006f85ca7 |
|
BLAKE2b-256 | ea5ae1c0ec4a651dfd6a4cc89e3546e827ff9d4679e5fb43ebd5a9dd50e82f03 |
Close
Hashes for sparkautomapper.fhir-0.2.21b14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 107e5ec4f5c3dc0e21dd87a4b555e2fd7e24f4303cf25c716a1eecdea88c69f6 |
|
MD5 | de238c896feeab1b43d3e16bf17cd303 |
|
BLAKE2b-256 | c03433a5d0444382dd7c88d8f23ab424fba817a671bc81a8dc5349cc4aa73b71 |