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 = AutoMapper(
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-1.0.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d091db39895b815c7ee733569d3dfc1418f624f548d1cf215ec662d23998aae7 |
|
MD5 | d9c7ac497ae6b7d5861170095b03f11e |
|
BLAKE2b-256 | efe356bad0f21317f07493f186303ba2fd7869e76100b90a6cf5f2f2bd69665b |
Close
Hashes for sparkautomapper.fhir-1.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3da2e9859733d2f1356e168309a9b82b5f9c5a4e51504027a804110986c9592 |
|
MD5 | 2e1322985da71cc3e4a86d5eca4c380d |
|
BLAKE2b-256 | 5348b2ffd7c9f96d279182de8fabf794ad0fa0ce923c897349d9fb2e19670b6a |