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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sparkautomapper.fhir-1.0.26.tar.gz
Algorithm Hash digest
SHA256 1ae3c544e83977c9abd5031f0ae49da747ccad00a66cb5fbd115e939bbb7a7a2
MD5 d92eeab390c3d10f7f9bc7da47cc7520
BLAKE2b-256 9489798d4b961ef0d9a233dd4f555e5bdad42548b2e3b8899de6e7a45b6d755d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sparkautomapper.fhir-1.0.26-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.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.11

File hashes

Hashes for sparkautomapper.fhir-1.0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1bf20ddbfe6b57a188c5bdf38e79887e6319bb2f7cf6411efa30f33b32990a
MD5 28f68955bf6424d75e1a3d51ae09e89c
BLAKE2b-256 737942df6684632dcf895d650a58c5f8f942b2bf2feeeb317acc355d711a0558

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