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.72.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289d66e36c3d1ae7bc3b31273da832975db7ddb965ab7e26ec61b40cb840ec6a |
|
MD5 | b4d5f487373be6978e56e0664b682003 |
|
BLAKE2b-256 | 6c63d7c06731f5efdeebd963c50c48b463e6e5ead7381916879a78c02de0ae79 |
Close
Hashes for sparkautomapper.fhir-0.1.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca713bf372fe55c0453f235205d854e0f61672cefc21a83783dc45d3c6db1eb |
|
MD5 | f44947a9f07ff0be3438a20ddcd5d837 |
|
BLAKE2b-256 | 5ffcd3474782a00a96a2d3aac3876c2b637e01341fde602c7cc0a1a0ab9b3c0b |