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.21b15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2cf2cdaa81871ba529ab079c6da43308aab89dbbbb8281e107ee38418cf57a |
|
MD5 | 4bf568b80e0a7db25a21288f67bcabcd |
|
BLAKE2b-256 | 537658abaa9bdeb068c25fb2a3950bb72f1a40ba70e4c922f16324e181d5bf14 |
Close
Hashes for sparkautomapper.fhir-0.2.21b15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e65cfd94ec563f9bcf90f17f59d0a1f8349329f5d57bcd71981d21de8252f9f |
|
MD5 | 7830d6b64aa97ec240546187af5df634 |
|
BLAKE2b-256 | 6473b85f7ad8c60f79785780d4700dd4a94f19a02bdc10ae7e3fb88b95703605 |