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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d30b52022dde2d3c110d3d16ab9a1fd45bba34fd58050fa229054017dbbc946 |
|
MD5 | cec75b9c3a67c528b20f06a0710b089f |
|
BLAKE2b-256 | 02a819576731890aa12f2550d04d4a9e47e93aeb1582292a798d97e4f4710f05 |
Close
Hashes for sparkautomapper.fhir-1.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85df97469b0b88505e7013f91f4b97fd57739d2c60827600255e6211e3712062 |
|
MD5 | 3c45e168d746c60a0c0434b0ac8b6992 |
|
BLAKE2b-256 | 2eb7ac941253fc422962baa143f5421d21a0c9c9ddf17e71f975bf9bc639e53d |