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.21b5.tar.gz
(990.1 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e624cfdcf519f2b06e3dbb95734c1c4ffb7290cfd941a2a959c19e6bc85b31f |
|
MD5 | 605eb738992ca0826400cfc62a044645 |
|
BLAKE2b-256 | 219cc1fb171c2fb68a9efa2fdae1b1e67d15329a8fc5abc0d13ad64c4454679f |
Close
Hashes for sparkautomapper.fhir-0.2.21b5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b38e25c23af0752262e19a2fdd50ff841494fef242cb9896eb38c958401880a7 |
|
MD5 | 6ca6c8afe4ae58ca0a3ad32e0c472a2b |
|
BLAKE2b-256 | ef3b643c6bc5d3655d9b80153c5666e10fa92bc12b213a55f6436f3bca07cafd |