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.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ddb2949f5e616a487fbe913cc2bab275339d15750a31cf67052e620bd407b7 |
|
MD5 | 906b05edd581959446934d44a0904bcb |
|
BLAKE2b-256 | 67c3134727ea50e66e70a4bc3d30bcd33d55bd19ad32793a9a0d0fad87705a4b |
Close
Hashes for sparkautomapper.fhir-0.1.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a17827bd3ff7cd06aa1b29fbfd513cb8e4864926cff1867de348b6416bc5a644 |
|
MD5 | 7429dd11a52c20b900d944994d0f23ed |
|
BLAKE2b-256 | e12dcb1e69eaea251908802a0d2d4d8918dc2e6752a8b0d1172fe8724bf1e1b1 |