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.19.tar.gz
(133.6 kB
view hashes)
Built Distribution
Close
Hashes for sparkautomapper.fhir-0.2.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1dd17adeaeb4cc196b9ee8d5fe16af03fed45dff692e9c7f6faf4328aea2cd8 |
|
MD5 | 87968b965b36cf4bf63d46446d56b4e1 |
|
BLAKE2b-256 | acc7eb1c3e857fae6b72df1cce0beb68558316c29f66d9d7633c3d26f365ae61 |
Close
Hashes for sparkautomapper.fhir-0.2.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb4be97dc6949aefce856dae4112da346e157228271aa5aa8bf5ee248804719 |
|
MD5 | 7db65dc73c6427739f388eb064575ca9 |
|
BLAKE2b-256 | c3fe8083145aa359f8ca411cec914c935c30a3ebc445081c8d04601347090bd5 |