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.91.tar.gz
(101.7 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a5a574d5a0678c2f51c865d617ecc3dba4f141af4ff1f7d7623195b960828c |
|
MD5 | e57bc188a483e9ec9a2e3042c265beae |
|
BLAKE2b-256 | d4c49fbc3947283bbd9b044ef09a197d273c98528d48c56a5ce9c2df2f997e76 |
Close
Hashes for sparkautomapper.fhir-0.1.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bcb3d4ac15af5f619161ebbc82dbbbd8a3e0d1157b996e494d80eb6b5d99d11 |
|
MD5 | 1d9d16abfe8b8b7a0fd6ffe8ea1c08cc |
|
BLAKE2b-256 | 927f90778dd021ec899954d3ae6da05608911c2e598e88d2fe5d23d34d2ddd78 |