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
sparkautomapper.fhir-0.2.4.tar.gz
(103.4 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 895350a436ae83034df73f4b783d40dec1bc9875ea2cde667cfbd209f9fde0ed |
|
MD5 | f66b9914d8e2384b038138188464893e |
|
BLAKE2b-256 | e7601b69bd6d403d62ac0541a3af463f5784ab45b40c586bce40712cb90d2786 |
Close
Hashes for sparkautomapper.fhir-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2eb6a4b418189d43787f6ca980276208af309211c316956e02df16d3f71ad49 |
|
MD5 | 935a5181766a43b4714fa18fe5bfe7de |
|
BLAKE2b-256 | 724c455af935a1161a599fcf159dfa6b3f63fdd511c26ed403097e6c64bcbb92 |