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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0fd9d9ba6cda802b0bb7542abbb82f20e7c804c418c93d8dc383b924470db87 |
|
MD5 | 63256379d28a60f8d015b5e10e9beb8c |
|
BLAKE2b-256 | a1d95c4f84e1add879fbddd84a5c36abbb7fe3ad0c548dc577a98379439a3b64 |
Close
Hashes for sparkautomapper.fhir-1.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9e30fb556df6f592c62900caebc5f5a0ce3a3e738c5cbc8794ad70eb646f388 |
|
MD5 | 69adef2c83c52415466b179df455b113 |
|
BLAKE2b-256 | de6f6a89570be04a593d64bd302b80a7fd787d1433fe8f1fbca4b73800fd6ee2 |