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
Metadata
Release files for sparkautomapper.fhir 3.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sparkautomapper_fhir-3.0.4.tar.gz | 1.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sparkautomapper_fhir-3.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.3 MB
Release files / sparkautomapper_fhir-3.0.4.tar.gz
| Download URL | sparkautomapper_fhir-3.0.4.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6376ea2b84aa52808765709b309b78439203a37d7b00b1903ba72f5d6674e825
|
|
BLAKE2b-256 checksum How to use checksums |
daf351be55484d2905b2a7516837f0d315b0deea9057ded5ddb024e88a6e94eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / sparkautomapper_fhir-3.0.4-py3-none-any.whl
| Download URL | sparkautomapper_fhir-3.0.4-py3-none-any.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f930bde8d84d7bbe6302e822eb5dfa6d424689f3f84cc0e89d8a63ae2b86988
|
|
BLAKE2b-256 checksum How to use checksums |
320a18e0bc9e68097176c810ed6862cd410d258fadf2d3cdef028b566fa8efce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|