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.64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4d59c37acd6874672e56ae2390ee1e9cd8ac894d475219feea5d954a678a11 |
|
MD5 | d94c61b5c77e5505bb28d4fd60a8f5af |
|
BLAKE2b-256 | db5461e945c8f5675905c99c03f4d6330af60ce20fb294d26d9a3235ad9836a7 |
Close
Hashes for sparkautomapper.fhir-0.1.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e13da76f1883ed976320c1bd05bb01aac1007d89ef6dffafa98bd2643bf49e13 |
|
MD5 | 99d54bf9f53dabe45664a60f8154951d |
|
BLAKE2b-256 | eb09f72f5837d39dc6ff12188ffbccf3dd7184376aa91d4b6563490301ebe346 |