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.2.21b13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da25ee850ef0d4c3737bd7fbaec9efd3f98485de338e7d2a9a30f9ad144b35c |
|
MD5 | 563b2a2e7e9d74b1e96b650132f16da8 |
|
BLAKE2b-256 | 64a8d16c2a445d8a9458e25a777c9d16c71b0c59272e66ceb3f091bebb4833ef |
Close
Hashes for sparkautomapper.fhir-0.2.21b13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64c5b92d31fa67cbe3542087163530ccfac680fe94ef459b0e238d49e21a7b26 |
|
MD5 | 524b239b928d6a43f393f40ae3fc57d0 |
|
BLAKE2b-256 | 812878a03e1000da1388912bb4f6dc9a3ed6a104473c8fc969ccbefa4f160773 |