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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sparkautomapper.fhir-1.0.22.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.11

File hashes

Hashes for sparkautomapper.fhir-1.0.22.tar.gz
Algorithm Hash digest
SHA256 3193ec3b28b1f9051ade808eb97d80822fe195b4bc2b788bde5165ab8ebf25d4
MD5 be5b0735f31d747b92171133773c1a64
BLAKE2b-256 605466e41a9a3b6594d1f09b88798015609a4997f161447ea218ae7688407cf2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sparkautomapper.fhir-1.0.22-py3-none-any.whl
  • Upload date:
  • Size: 3.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.11

File hashes

Hashes for sparkautomapper.fhir-1.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 4ffd691b5ec4540043bd3cade39ce38efc9f15c5749000074e6f237ea2fe0591
MD5 cb2a7eaa33420040f1ccb59dbe0e3218
BLAKE2b-256 c300ff130b58bf0f347e978dd2de02a27da8beadd2eecd85ae04da58de41dbe9

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