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-1.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c1afb672299786301a930ea1b9cf6c81a61920424a32b6974b549578b7df60 |
|
MD5 | 108ffe7cbd2388545b5a0bfd1600445b |
|
BLAKE2b-256 | b0c03cdc742260b0b52f4896c1556dba35094c4b65242b8160e8a46894d1fff0 |
Close
Hashes for sparkautomapper.fhir-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b919ca9d932372c5474f670c49b46715a15cf64c86525d5dd0b8a5743966d99 |
|
MD5 | 78b6e81cf9681eeaab2fbf83847e20a5 |
|
BLAKE2b-256 | 73a02bd98ff50682e12a7982bf19949566475421b30ac2c5161fdecd82124ac6 |