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-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4d64452c20c7b30e90fdda3de111613a3d2bbb62732ca516c6a89fb9661990 |
|
MD5 | 90b10f1277eccc8bef29f2b7ff0c1dfb |
|
BLAKE2b-256 | f81c7062f9dbf9cb736e163f677855eb4c6eef6507c0f39ad989b8798adecc5d |
Close
Hashes for sparkautomapper.fhir-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a849fcc100b0f09187d889e5cb6c8788d21287f2c6aafb56ceb7b6c65955c8 |
|
MD5 | 8b75bda35e581648357e5f46d5608b4c |
|
BLAKE2b-256 | fa48c6dc033147e62ba2460877cdd2a939add802b3e0ff9407e6a4bd268a2154 |