Skip to content

Commit

Permalink
Added starter code for datasets information.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcdermott committed Aug 27, 2024
1 parent 030babe commit 7621f1d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/MEDS-DEV/datasets/MIMIC-IV/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# MIMIC-IV

TODO: Summarize MIMIC-IV

TODO: Add citations properly somehow.

## URLs

1. https://physionet.org/content/mimiciv/
2. https://www.nature.com/articles/s41597-022-01899-x
5 changes: 5 additions & 0 deletions src/MEDS-DEV/datasets/MIMIC-IV/predicates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Custom MIMIC-IV Predicates

MIMIC-IV uses several coding schemes that are captured in these predicates.

TODO: info
17 changes: 17 additions & 0 deletions src/MEDS-DEV/datasets/MIMIC-IV/predicates/defaults.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
hospital_admission:
code: { regex: "^HOSPITAL_ADMISSION//.*" }
hospital_discharge:
code: { regex: "^HOSPITAL_DISCHARGE//.*" }

ED_registration:
code: { regex: "^ED_REGISTRATION//.*" }
ED_discharge:
code: { regex: "^ED_OUT//.*" }

icu_admission:
code: { regex: "^ICU_ADMISSION//.*" }
icu_discharge:
code: { regex: "^ICU_DISCHARGE//.*" }

death:
code: MEDS_DEATH
11 changes: 11 additions & 0 deletions src/MEDS-DEV/datasets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Datasets

This folder contains details for datasets currently included in the MEDS-DEV effort.

TODO: More details.

## Notes

If you have a version of a task configuration file that is more specialized to a dataset than can be achieved
with overwriting the predicates alone, then (1) make a GitHub issue explaining why the existing file is not
used, and (2) add a file here `../tasks/$DATASET_NAME/$TASK_NAME.yaml` with that configuration.

0 comments on commit 7621f1d

Please sign in to comment.