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.1.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23b5539afb78b510997d3c17d546afc7ce3647b6f9f1f41386c4405a149a06d |
|
MD5 | 1a52b2ff93de09fa2ff9fdffd9f75af9 |
|
BLAKE2b-256 | cbb3f6072eb3bac01527d5133548bd24e3c5685c857d7c0267da2e02d02b05fa |
Close
Hashes for sparkautomapper.fhir-0.1.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed7ba7d00d098c7fc012a89b1374397b05051141458610499d851f0e53f3bf27 |
|
MD5 | 529be2564fe5b65779307af3397b53a1 |
|
BLAKE2b-256 | 8b2b71c24182bb334635a5235bd4c369e78a05ea0025eea7043f31217d5b4fc1 |