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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c097e31ef53d1c493197cc35fe8ffe000029467a7e52af4fcece30f091b6c7 |
|
MD5 | 0675d3befad2d1b0228ddc64ef14bd05 |
|
BLAKE2b-256 | 8c3bd4523044f8871e41be4f9324f571c4c0e724e12931a7a41b331a40ebb503 |
Close
Hashes for sparkautomapper.fhir-1.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b4cdff92fcf198741f9a5e8c4eeb86806bb2cbfee8fc9fdb0f5bfc7cb88e0a8 |
|
MD5 | bf6607b63d8a455c19974ad425b1a258 |
|
BLAKE2b-256 | 956e8eddcbb8b2c7fc3216bc879ec5635d4d818b45812c2f0728aaa5bc81ede8 |