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.21b18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f615e3fb89f8eac96417344ca358a0e81bdbf452627bb7b114c1c02419d5ff |
|
MD5 | 3cac57a056607e529924a8b73cb5491b |
|
BLAKE2b-256 | e46fea6ab6c97fa794728b49f0eab3737289fb7170b136af746457e07686726b |
Close
Hashes for sparkautomapper.fhir-0.2.21b18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a64ed1ea5220d0f69c97ab99a72f81990894fe646b3a676617eb46552bcbdc8 |
|
MD5 | 44823260390ed751b4cf548b3eb691fe |
|
BLAKE2b-256 | 50d0090b824f1d5aa306e7a853f7d4b36e11477cbc46cfc5d6ffa94f1310ba30 |