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
sparkautomapper.fhir-0.2.10.tar.gz
(112.9 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbf5b67f5d69bbe46cc39febde2651efa41d7bb76f92916dee99cdcb4ae39276 |
|
MD5 | 789a65192eb5d27833da5c237d2a6dd0 |
|
BLAKE2b-256 | f241a574a3093afbcd889fe71d0e8b78596538c912a9d015eb71b698c446a53b |
Close
Hashes for sparkautomapper.fhir-0.2.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a7f59c6407e490ed26846994731971106a8257e9df0024e1980a07674bf85e |
|
MD5 | ec3f561b27a72f54f6f44cae91650110 |
|
BLAKE2b-256 | b599b867287a75898a1dc56f760b2938ae0783145c4e827fa541e7481cf20db0 |