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.21b11.tar.gz
(135.2 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c933bcb5db0c83ef35799f3e6af9bb19b0b617f4d6f699d3a5499f1174a5a3b |
|
MD5 | 656831ba30e539985838abc591558d5a |
|
BLAKE2b-256 | 058a56fbd617e33761e881495fedc7b421f99099c6376dafbe1e9a31b4d2f16e |
Close
Hashes for sparkautomapper.fhir-0.2.21b11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1337aa6bff5db8ac450f73ce4c9eeefe294433614a3bfc587f3db602e1daa65f |
|
MD5 | 1ef846360e3d530a5d311cf1a1e81064 |
|
BLAKE2b-256 | 5c18b848a8e18b25cb3c35e8128179b314b1d7dd8605c3418af36abc48de7a89 |