Skip to main content

FHIR extensions for SparkAutoMapper

Project description

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 = AutoMapperFhir(
    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-0.1.46.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sparkautomapper.fhir-0.1.46-py3-none-any.whl (181.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sparkautomapper.fhir-0.1.46.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for sparkautomapper.fhir-0.1.46.tar.gz
Algorithm Hash digest
SHA256 30f886c561030018f31bec6018785a61a01c00f4682074faecbfdd994a52ad59
MD5 e9d833d595e8e2c8d195d136316eb9fb
BLAKE2b-256 a367eb33fc2849a3db28ccd7b906f316957961fea057348e0ec689022a1635a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sparkautomapper.fhir-0.1.46-py3-none-any.whl
  • Upload date:
  • Size: 181.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for sparkautomapper.fhir-0.1.46-py3-none-any.whl
Algorithm Hash digest
SHA256 763b11df89c427fd96247a6b24bc345abfdf63313efd888f9093032f0cddb407
MD5 ca11dd5fcd13f78f17880bd6cd53f435
BLAKE2b-256 00a89c58b4c5100f83576273ef421ec4a471d7f87bddb571063f8d603b3ec2b3

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