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.1.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72aa62787a1bba9aa699d2baceb14161df86c9394a92c6800dcf060d4f44efad |
|
MD5 | 457f59721b10229cb80d5f0726719bcf |
|
BLAKE2b-256 | c3f4dae4e1f5d796accfba813f47a7f8de62b54f971f8a8dd3c9323890215c8c |
Close
Hashes for sparkautomapper.fhir-0.1.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e606898158f0475f65be84be419320f979c9e59cf1ddf0d90ccff9f91a12eba |
|
MD5 | 7424a2fd181714477838e137893e68d8 |
|
BLAKE2b-256 | 98638135f7d87b449ed670fa62a15eb0582fcc0a857ee302e628290bae19af84 |