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.42.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 589597f741726503b3d567ae62027412010aec4c1143dc73adc7c74c19af0b6a |
|
MD5 | 12205196306b814cc3a441482b5cb261 |
|
BLAKE2b-256 | 8faaca76c13240a9f220f2cf5269587c1b8e353627fdf7945be4bb679f9eed49 |
Close
Hashes for sparkautomapper.fhir-0.1.42-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 099a30d3017e522f6a911736c5c3219938ae92a0bd047019b8a310ff5a7a79e1 |
|
MD5 | 61ec4dcd17a1e57df5793f503d590225 |
|
BLAKE2b-256 | eb009d1758c12780eb46e0385ec52bf3f517664343c1b76c454d1de89767c5cb |