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-1.0.32.tar.gz (1.2 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-1.0.32-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

Details for the file sparkautomapper.fhir-1.0.32.tar.gz.

File metadata

  • Download URL: sparkautomapper.fhir-1.0.32.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for sparkautomapper.fhir-1.0.32.tar.gz
Algorithm Hash digest
SHA256 d8db65ee7627d6b2c21b37289279a31efbfdb522665321503d8010f8cb662484
MD5 cfa83c9e73cdff33cc8bed284548daf6
BLAKE2b-256 f62cda305beea23b3381c29d035fb1f2170dea9798ac0cd35074beaba48867dc

See more details on using hashes here.

File details

Details for the file sparkautomapper.fhir-1.0.32-py3-none-any.whl.

File metadata

File hashes

Hashes for sparkautomapper.fhir-1.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 5adc462b210045193890398a77ac5d2aad1268ebe9a22eab0aef5ff729620602
MD5 9345296518df2d6dcbde227a858509ad
BLAKE2b-256 137e6a5e1be28e98ffded1f74bec8ca16e91be1ead832e66b54eddab1c98f4e1

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