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.28.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.28-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sparkautomapper.fhir-1.0.28.tar.gz
Algorithm Hash digest
SHA256 bb0a7ec69aed4b0fccdddf2d8320e8ab9c5e3d158495b828213f2f6662db60c6
MD5 fe1ebf3f3c9c98fb8be0cadd9cbc792c
BLAKE2b-256 ebf549ee0e7ffbcbd11c820d38b71f7c63baf5fbe9a6048cc48db2ca4319c24d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sparkautomapper.fhir-1.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 512337f27777dc294597bb2f87eb7947507b9a7cbe84bd226d672bbaa4b0be60
MD5 918529556114995f39a76969434ecd71
BLAKE2b-256 a21f58a48b9eed1f52ee77f9f303b3cd07615418a9e68c6c8d0b9f790d522ad5

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