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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf841e467de209d34bb03690ed3248736694ee0fb36927c57faf17db877a2c02 |
|
MD5 | 78217b717d921b1a3c6ef68fc79a7887 |
|
BLAKE2b-256 | 55c066b8c414682baf372e4402afa5e436328dfb0dd7ea10e00b71685cdc3c42 |
Close
Hashes for sparkautomapper.fhir-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb2cd35362b7addb2b95b850b8531fedc0062c0a4a61ec9bc38de19658d040a |
|
MD5 | 76838b85caaec2b8b4f48c5ee75cd222 |
|
BLAKE2b-256 | f14fc2e4d063b52d5cdf1b0eef14b0992218613666d1730efb914919b62e0fb6 |