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.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16dcfea9e84d5193c73e734a64471f6f7067212b7d753b2b817c70475390890c |
|
MD5 | f5cf8eacdb674f4c3ba0c0a1c9653e73 |
|
BLAKE2b-256 | 64384b4100ddd2de6ceda2c7b2fbf64d1605f9e0ac6b40a51748a807a4e33d1f |
Close
Hashes for sparkautomapper.fhir-0.1.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612fa07df2f60eb048184037a27a2fda90d7d20959e74da682d89507991ff032 |
|
MD5 | 5cab845ead3df2ef309635bf00282dc3 |
|
BLAKE2b-256 | d9141e8d9c1000b24bdfc3c9bffc3773993871dfd2790ac9ff53d386354758e5 |