Skip to main content

An ETL to convert OMOP data to the MEDS format.

Project description

MEDS OMOP ETL with MEDS-Transforms

codecov tests code-quality python license PRs contributors

An ETL pipeline for transforming OMOP datasets into the MEDS format using the MEDS-Transforms library. Thanks to the developers of the first OMOP MEDS ETL, from which we took inspiration, which can be found here: https://github.com/Medical-Event-Data-Standard/meds_etl. We currently support OMOP 5.3 and 5.4 datasets.

pip install OMOP_MEDS # you can do this locally or via PyPI
# Download your data or set download credentials
OMOP_MEDS root_output_dir=$ROOT_OUTPUT_DIR

Example config:

dataset_name: MIMIC_IV_OMOP
raw_dataset_version: 1.0
omop_version: 5.3

urls:
  dataset:
    - https://physionet.org/content/mimic-iv-demo-omop/0.9/
    - url: EXAMPLE_CONTROLLED_URL
      username: ${oc.env:DATASET_DOWNLOAD_USERNAME}
      password: ${oc.env:DATASET_DOWNLOAD_PASSWORD}
  demo:
    - https://physionet.org/content/mimic-iv-demo-omop/0.9/
  common:
    - EXAMPLE_SHARED_URL # Often used for shared metadata files

Citation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omop_meds-0.0.4.tar.gz (131.4 kB view details)

Uploaded Source

Built Distribution

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

omop_meds-0.0.4-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file omop_meds-0.0.4.tar.gz.

File metadata

  • Download URL: omop_meds-0.0.4.tar.gz
  • Upload date:
  • Size: 131.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for omop_meds-0.0.4.tar.gz
Algorithm Hash digest
SHA256 631ded8961970135fee5c7000c021e62c1363b5553bed4eaecd8bcc128ddf59b
MD5 630c59ea3d353f450c523e7d5ee26dc6
BLAKE2b-256 0c3cd0a4f74d473cec024a9371f26fdfab2e90c25da2926cc278e4f313a8dab7

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_meds-0.0.4.tar.gz:

Publisher: python-build.yaml on rvandewater/OMOP_MEDS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file omop_meds-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: omop_meds-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for omop_meds-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 99c911582f725e2b9902540dbec15d18e22944c9095fa8b1dda02fad1eabfdb9
MD5 dcd25d4c7da79056d07dd671f70ca6e3
BLAKE2b-256 da15548b34f53c40d024df12e63986d2a30f65cbef5362c928fa2904d04bce88

See more details on using hashes here.

Provenance

The following attestation bundles were made for omop_meds-0.0.4-py3-none-any.whl:

Publisher: python-build.yaml on rvandewater/OMOP_MEDS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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