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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ae3c544e83977c9abd5031f0ae49da747ccad00a66cb5fbd115e939bbb7a7a2 |
|
MD5 | d92eeab390c3d10f7f9bc7da47cc7520 |
|
BLAKE2b-256 | 9489798d4b961ef0d9a233dd4f555e5bdad42548b2e3b8899de6e7a45b6d755d |
Close
Hashes for sparkautomapper.fhir-1.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a1bf20ddbfe6b57a188c5bdf38e79887e6319bb2f7cf6411efa30f33b32990a |
|
MD5 | 28f68955bf6424d75e1a3d51ae09e89c |
|
BLAKE2b-256 | 737942df6684632dcf895d650a58c5f8f942b2bf2feeeb317acc355d711a0558 |