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.21b6.tar.gz
(135.0 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.21b6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8017194894ee689f2ee91347b73bece03bf13183f98d5b7d130921a9257e74 |
|
MD5 | 0beb7f903e050502ece4a4cfec62ce51 |
|
BLAKE2b-256 | 6a8b2a9e28e08dd21028b980e5a58a91ed66e81f61a8de2ccab3a7e6b0627fb6 |
Close
Hashes for sparkautomapper.fhir-0.2.21b6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875405c82c86a428bd3efaf93fd3d2a21a794f07852dffb8a92767aa6ff58ea5 |
|
MD5 | 64b23dc8c4f6559de2ca923bc3aa7386 |
|
BLAKE2b-256 | 137dd85ac5d364b438cce4f51ddd2f367ddf062aaae275681c7b87144fe15be2 |