Skip to main content

FHIR extensions for SparkAutoMapper

Project description

Build and Test

Upload Python Package

Known Vulnerabilities

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

  1. Create a new release
  2. The GitHub Action should automatically kick in and publish the package
  3. 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-3.0.3.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sparkautomapper_fhir-3.0.3-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file sparkautomapper_fhir-3.0.3.tar.gz.

File metadata

  • Download URL: sparkautomapper_fhir-3.0.3.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for sparkautomapper_fhir-3.0.3.tar.gz
Algorithm Hash digest
SHA256 5c3b514c73c455b52a7cb66819cd070299761cb1d37e1547341d6910200c6104
MD5 fc1109fb8323e1924cf08ca7b3ebc18f
BLAKE2b-256 9b235e77efe50e840193cddc378053e2d14b647ffc9544805ec8abbf3f11cf01

See more details on using hashes here.

File details

Details for the file sparkautomapper_fhir-3.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sparkautomapper_fhir-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d152ccad5980f84a95d6bbc0062bf2536a33fb1f6f4b2bf8bc81f446f4d2be59
MD5 904682845998c8b57108b3f3851e51cc
BLAKE2b-256 de896f6c94790a9052c0c7d7784ab7c4b2fed0e0feefa7829a1e215739259bd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page