|
1 | 1 | # MIMIC-IV Concepts
|
2 | 2 |
|
| 3 | +This folder contains scripts to generate useful abstractions of raw MIMIC-IV data ("concepts"). |
| 4 | +The scripts are written using the **BigQuery Standard SQL Dialect**. Concepts are categorized into folders if possible, otherwise they remain in the top-level directory. The [postgres](/mimic-iv/concepts_postgres) subfolder contains automatically generated PostgreSQL versions of these scripts; [see below for how these were generated](#postgresql-concepts). Concepts are categorized into folders if possible, otherwise they remain in the top-level directory. |
| 5 | + |
| 6 | +The concepts are organized into individual SQL scripts, with each script generating a table. The BigQuery `mimiciv_derived` dataset under `physionet-data` contains the concepts pregenerated. Access to this dataset is available to MIMIC-IV approved users: see the [cloud instructions](https://mimic.mit.edu/docs/gettingstarted/cloud/) on how to access MIMIC-IV on BigQuery (which includes the derived concepts). |
| 7 | + |
| 8 | +See the [top-level readme](mimic-iv/README.md) for more information about generating the concepts. |
| 9 | + |
| 10 | +## Concept Index |
| 11 | + |
3 | 12 | Concepts in this folder:
|
4 | 13 |
|
| 14 | +``` |
5 | 15 | ├── comorbidity
|
6 |
| -│ └── charlson.sql |
| 16 | +│ └── charlson.sql |
7 | 17 | ├── demographics
|
8 |
| -│ ├── age.sql |
9 |
| -│ ├── icustay_detail.sql |
10 |
| -│ ├── icustay_hourly.sql |
11 |
| -│ ├── icustay_times.sql |
12 |
| -│ └── weight_durations.sql |
| 18 | +│ ├── age.sql |
| 19 | +│ ├── icustay_detail.sql |
| 20 | +│ ├── icustay_hourly.sql |
| 21 | +│ ├── icustay_times.sql |
| 22 | +│ └── weight_durations.sql |
13 | 23 | ├── firstday
|
14 |
| -│ ├── first_day_bg.sql |
15 |
| -│ ├── first_day_bg_art.sql |
16 |
| -│ ├── first_day_gcs.sql |
17 |
| -│ ├── first_day_height.sql |
18 |
| -│ ├── first_day_lab.sql |
19 |
| -│ ├── first_day_rrt.sql |
20 |
| -│ ├── first_day_sofa.sql |
21 |
| -│ ├── first_day_urine_output.sql |
22 |
| -│ ├── first_day_vitalsign.sql |
23 |
| -│ └── first_day_weight.sql |
| 24 | +│ ├── first_day_bg.sql |
| 25 | +│ ├── first_day_bg_art.sql |
| 26 | +│ ├── first_day_gcs.sql |
| 27 | +│ ├── first_day_height.sql |
| 28 | +│ ├── first_day_lab.sql |
| 29 | +│ ├── first_day_rrt.sql |
| 30 | +│ ├── first_day_sofa.sql |
| 31 | +│ ├── first_day_urine_output.sql |
| 32 | +│ ├── first_day_vitalsign.sql |
| 33 | +│ └── first_day_weight.sql |
24 | 34 | ├── measurement
|
25 |
| -│ ├── bg.sql |
26 |
| -│ ├── blood_differential.sql |
27 |
| -│ ├── cardiac_marker.sql |
28 |
| -│ ├── chemistry.sql |
29 |
| -│ ├── coagulation.sql |
30 |
| -│ ├── complete_blood_count.sql |
31 |
| -│ ├── creatinine_baseline.sql |
32 |
| -│ ├── enzyme.sql |
33 |
| -│ ├── gcs.sql |
34 |
| -│ ├── height.sql |
35 |
| -│ ├── icp.sql |
36 |
| -│ ├── inflammation.sql |
37 |
| -│ ├── oxygen_delivery.sql |
38 |
| -│ ├── rhythm.sql |
39 |
| -│ ├── urine_output.sql |
40 |
| -│ ├── urine_output_rate.sql |
41 |
| -│ ├── ventilator_setting.sql |
42 |
| -│ └── vitalsign.sql |
| 35 | +│ ├── bg.sql |
| 36 | +│ ├── blood_differential.sql |
| 37 | +│ ├── cardiac_marker.sql |
| 38 | +│ ├── chemistry.sql |
| 39 | +│ ├── coagulation.sql |
| 40 | +│ ├── complete_blood_count.sql |
| 41 | +│ ├── creatinine_baseline.sql |
| 42 | +│ ├── enzyme.sql |
| 43 | +│ ├── gcs.sql |
| 44 | +│ ├── height.sql |
| 45 | +│ ├── icp.sql |
| 46 | +│ ├── inflammation.sql |
| 47 | +│ ├── oxygen_delivery.sql |
| 48 | +│ ├── rhythm.sql |
| 49 | +│ ├── urine_output.sql |
| 50 | +│ ├── urine_output_rate.sql |
| 51 | +│ ├── ventilator_setting.sql |
| 52 | +│ └── vitalsign.sql |
43 | 53 | ├── medication
|
44 |
| -│ ├── acei.sql |
45 |
| -│ ├── antibiotic.sql |
46 |
| -│ ├── dobutamine.sql |
47 |
| -│ ├── dopamine.sql |
48 |
| -│ ├── epinephrine.sql |
49 |
| -│ ├── milrinone.sql |
50 |
| -│ ├── neuroblock.sql |
51 |
| -│ ├── norepinephrine.sql |
52 |
| -│ ├── norepinephrine_equivalent_dose.sql |
53 |
| -│ ├── nsaid.sql |
54 |
| -│ ├── phenylephrine.sql |
55 |
| -│ ├── vasoactive_agent.sql |
56 |
| -│ └── vasopressin.sql |
| 54 | +│ ├── acei.sql |
| 55 | +│ ├── antibiotic.sql |
| 56 | +│ ├── arb.sql |
| 57 | +│ ├── dobutamine.sql |
| 58 | +│ ├── dopamine.sql |
| 59 | +│ ├── epinephrine.sql |
| 60 | +│ ├── milrinone.sql |
| 61 | +│ ├── neuroblock.sql |
| 62 | +│ ├── norepinephrine.sql |
| 63 | +│ ├── norepinephrine_equivalent_dose.sql |
| 64 | +│ ├── nsaid.sql |
| 65 | +│ ├── phenylephrine.sql |
| 66 | +│ ├── vasoactive_agent.sql |
| 67 | +│ └── vasopressin.sql |
57 | 68 | ├── organfailure
|
58 |
| -│ ├── kdigo_creatinine.sql |
59 |
| -│ ├── kdigo_stages.sql |
60 |
| -│ ├── kdigo_uo.sql |
61 |
| -│ └── meld.sql |
| 69 | +│ ├── kdigo_creatinine.sql |
| 70 | +│ ├── kdigo_stages.sql |
| 71 | +│ ├── kdigo_uo.sql |
| 72 | +│ └── meld.sql |
62 | 73 | ├── score
|
63 |
| -│ ├── apsiii.sql |
64 |
| -│ ├── lods.sql |
65 |
| -│ ├── oasis.sql |
66 |
| -│ ├── sapsii.sql |
67 |
| -│ ├── sirs.sql |
68 |
| -│ └── sofa.sql |
| 74 | +│ ├── apsiii.sql |
| 75 | +│ ├── lods.sql |
| 76 | +│ ├── oasis.sql |
| 77 | +│ ├── sapsii.sql |
| 78 | +│ ├── sirs.sql |
| 79 | +│ └── sofa.sql |
69 | 80 | ├── sepsis
|
70 |
| -│ ├── sepsis3.sql |
71 |
| -│ └── suspicion_of_infection.sql |
| 81 | +│ ├── sepsis3.sql |
| 82 | +│ └── suspicion_of_infection.sql |
72 | 83 | └── treatment
|
73 | 84 | ├── code_status.sql
|
74 | 85 | ├── crrt.sql
|
75 | 86 | ├── invasive_line.sql
|
76 | 87 | ├── rrt.sql
|
77 |
| - └── ventilation.sql |
| 88 | + └── ventilation.sql |
| 89 | +``` |
0 commit comments