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.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c030406df63d71b5f48f16cad28be41614aa1eff1b7bff2300382b60aeefda56 |
|
MD5 | ca6ab32dceefa0d605c73a1f44d5be4e |
|
BLAKE2b-256 | 71cc0548d995a3d9ee5c46bb155171e534547cbb712c618e0baef33d3b2ac443 |
Close
Hashes for sparkautomapper.fhir-0.1.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96893289d2628f68b6fdda69d5c76c76b7acce2fae5bfa0cc23d5139bc99a05a |
|
MD5 | 0c5fc3bb582e3e4eebbaf3d9075b2391 |
|
BLAKE2b-256 | b85cfb4ce6872c9f7a67d1fee4fa5911a8286a9b1a99fca8254ff15331383c19 |