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.99.tar.gz
(105.7 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.1.99.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3df0947f5dfe7792f7d3973a868e4839d89d302769135b612600613a60deeb |
|
MD5 | 5dd37624a46f62aabee2089d5f23ca02 |
|
BLAKE2b-256 | 4197b2dcc3520fc519cc65cc39db83f9de7a989ffec184ab4fb4ba9b3e011cf9 |
Close
Hashes for sparkautomapper.fhir-0.1.99-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f64ffd7a4304e643b5c858ec854d4c9fa15b35f6e564de87f2fddf75a153538 |
|
MD5 | 8434b6f3c8359cbe2f3b54b89b24b30e |
|
BLAKE2b-256 | 14f86ab03df1388fc6b525c5d5a307ed6424f71dc3cb424193b8387a3606ce6e |