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.1.92.tar.gz
(101.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sparkautomapper.fhir-0.1.92.tar.gz.
File metadata
- Download URL: sparkautomapper.fhir-0.1.92.tar.gz
- Upload date:
- Size: 101.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82afaf70c07aae5f4623768431eee29e07b10c4e7757e67913f1dd8e4773660e
|
|
| MD5 |
7b40d130bf3f84ca47c9461865ddf822
|
|
| BLAKE2b-256 |
d7007277674241b0b971ff4fbb62ea39f7a18b8977943c1e42037dbc19339d8a
|
File details
Details for the file sparkautomapper.fhir-0.1.92-py3-none-any.whl.
File metadata
- Download URL: sparkautomapper.fhir-0.1.92-py3-none-any.whl
- Upload date:
- Size: 305.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d8669b2c4ef88bf9654b70dbcd2d91e50984aec0c5316bd1995f8377208864
|
|
| MD5 |
5c32fc8cfd45b42ec6a7ed87e270a9fb
|
|
| BLAKE2b-256 |
c25a959ce84661d0ad2def808ebafbef32da1332ac13c4b5f1abc91b08071bf1
|