Skip to main content

MIMIC-IV MEDS Extraction ETL

PyPI - Version Documentation Status codecov tests code-quality python license PRs contributors

This pipeline extracts the MIMIC-IV dataset (from physionet) into the MEDS format.

Usage:

pip install MIMIC_IV_MEDS
export DATASET_DOWNLOAD_USERNAME=$PHYSIONET_USERNAME
export DATASET_DOWNLOAD_PASSWORD=$PHYSIONET_PASSWORD
MEDS_extract-MIMIC_IV root_output_dir=$ROOT_OUTPUT_DIR

When you run this, the program will:

  1. Download the needed raw MIMIC files for the currently supported version into $ROOT_OUTPUT_DIR/raw_input.
  2. Perform initial, pre-MEDS processing on the raw MIMIC files, saving the results in $ROOT_OUTPUT_DIR/pre_MEDS.
  3. Construct the final MEDS cohort, and save it to $ROOT_OUTPUT_DIR/MEDS_cohort.

You can also specify the target directories more directly, with

export DATASET_DOWNLOAD_USERNAME=$PHYSIONET_USERNAME
export DATASET_DOWNLOAD_PASSWORD=$PHYSIONET_PASSWORD
MEDS_extract-MIMIC_IV raw_input_dir=$RAW_INPUT_DIR pre_MEDS_dir=$PRE_MEDS_DIR MEDS_cohort_dir=$MEDS_COHORT_DIR

Examples and More Info:

You can run MEDS_extract-MIMIC_IV --help for more information on the arguments and options. You can also run

MEDS_extract-MIMIC_IV root_output_dir=$ROOT_OUTPUT_DIR do_demo=True

to run the entire pipeline over the publicly available, fully open MIMIC-IV demo dataset.

Download files

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

Source Distribution

mimic_iv_meds-0.0.2.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

mimic_iv_meds-0.0.2.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file mimic_iv_meds-0.0.2.1.tar.gz.

File metadata

  • Download URL: mimic_iv_meds-0.0.2.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mimic_iv_meds-0.0.2.1.tar.gz
Algorithm Hash digest
SHA256 8751340c21207f5c6e9eadcc00a01acb754793c73c303b3f0f4394f4f5980375
MD5 325ed4d43929e01ee0d9f3613c2cf748
BLAKE2b-256 4a9b49317bd5606ce02852ccb4de98299a1321b5132e5325d31886b45241a945

See more details on using hashes here.

Provenance

The following attestation bundles were made for mimic_iv_meds-0.0.2.1.tar.gz:

Publisher: python-build.yaml on Medical-Event-Data-Standard/MIMIC_IV_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 mimic_iv_meds-0.0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mimic_iv_meds-0.0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a81b1cf423db05b8f7c3584cb488b8a905833747c02b29b4ab0e138871f7af7
MD5 42524c62a8ca76e991d921e7a30138d9
BLAKE2b-256 1b1fa376ad70b17b1da445934645d07c92712f310ef3a36e0795ae9b73ef2135

See more details on using hashes here.

Provenance

The following attestation bundles were made for mimic_iv_meds-0.0.2.1-py3-none-any.whl:

Publisher: python-build.yaml on Medical-Event-Data-Standard/MIMIC_IV_MEDS

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

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1.1

2 files

0.1.1

2 files

0.1.0.1

2 files

0.1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4.1

2 files

0.0.4

2 files

0.0.3.1

2 files

0.0.3

2 files

This release

0.0.2.1 This release

2 files

0.0.2

2 files

0.0.1.1

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page