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 = AutoMapper(
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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a17206f57b7f34a07565be4af78691dff0cc2ef297bf2cb709e92704fcda6c78 |
|
MD5 | 8d38b44f8e8e6774d5d19ddde6256df6 |
|
BLAKE2b-256 | de305c43107b603118f5616b008e6172b22be60165aa48ede46c36b3d536b1a8 |
Close
Hashes for sparkautomapper.fhir-1.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e1ecff0dae1e1ed39b3869dc1a3d2af9bda1861fd0531b8841cc6c9a12ac9b |
|
MD5 | c69b65986ddf9ac0b9cf6296c83e75a0 |
|
BLAKE2b-256 | f90cb58234ac430bfef3f9c9af5cc5b2ea76b69bf9648b050381f5be7ed31e86 |