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-1.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3408c692a41fd84e802568cce2d644e94aade04bbe408d1045d354d36b612333 |
|
MD5 | 27232de2d6dfe24e519acf2347b0ad2b |
|
BLAKE2b-256 | ca7ab1dae7c424869683b0078ba53a5ca165eb254e340a34784cf9774b0d5e30 |
Close
Hashes for sparkautomapper.fhir-1.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 480d44243c4239e882b0f3c3a2b3245b2f1485925101d9889209e4ec9cb3f761 |
|
MD5 | bcb42587d3a00d556acae7a48bb494f0 |
|
BLAKE2b-256 | 919bf4668940cd805b691b2b26e8c984b6be1d6896839d83800675ea8d60e0f4 |