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.1.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

sparkautomapper.fhir-3.0.1-py3-none-any.whl (3.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sparkautomapper_fhir-3.0.1.tar.gz
Algorithm Hash digest
SHA256 6542ef163be46c2f3a3bd144eb281df883ea42f3e6603d12e5b277b0489f4093
MD5 02b82c3e0554a94184ceea877fb2ab63
BLAKE2b-256 aab01e979a455faa0bb5391ac85abf79ee5145857d3f3ec038f493135fdda11e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sparkautomapper.fhir-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0ced84730c19dc69f7787b560df6c7cae91cab88177bc61677979f9e00fe5a
MD5 c80246fc90333da736a65755e170e1ae
BLAKE2b-256 46841acd5e952377abf97d10e70486d35bdbb6c55faf04cc6b2689b28b1d2069

See more details on using hashes here.

Supported by

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