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.58.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a4c5c25c527815ad0312419ade98ae7bf82e147ea3a3a7a85382750940bf87 |
|
MD5 | 691c18edacaaeefccf803579b04bdaf5 |
|
BLAKE2b-256 | 40f6d4ad17614d90961ba9d4772f6572894fbd4d6c0cd1496614b8118d43e30b |
Close
Hashes for sparkautomapper.fhir-0.1.58-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d3f0d2ba88886d9f184a2cc147923001580ca64626636edb49fddc6862bd1a |
|
MD5 | fd7d5904376c53c33a7a392d8fe77394 |
|
BLAKE2b-256 | 6fe404921a494aabd70ebcfc24491471f828d455174ace5b3317f9ecf2e29be3 |