MIMIC-Note-Extract: A Large-Scale Structured Dataset Extracted from MIMIC-IV-Note Discharge Summaries
Organizations: Chair for AI in Healthcare and Medicine, TU Munich (TUM) and TUM University Hospital, Germany · Department for Trauma Surgery, TUM University Hospital and TU Munich, Germany · Department for Diagnostic and Interventional Radiology, TUM University Hospital and TU Munich, Germany · Chair for AI in Healthcare and Medicine, TU Munich and TUM University Hospital, Germany ·
Abstract
MIMIC is one of the most widely used public hospital datasets for machine learning on electronic health records, yet clinically important information, such as past medical history, allergies, and diagnostic findings, remains confined to free-text discharge summaries. Studies requiring this information must therefore build their own extraction pipelines, duplicating substantial effort across projects. We release MIMIC-Note-Extract (MNE), a large-scale dataset that uses a hybrid extraction pipeline combining deterministic parsing with schema-guided large language model generation to transform 16 sections from 300,720 discharge summaries into structured tables. MNE adds information that has no structured MIMIC counterpart and enriches related tables with broader coverage and greater clinical detail, including 10 times more patient-history entries and medication histories for more than twice as many admissions. Validation by medical doctors confirms extraction accuracy above 92% across sections. Using MNE, we construct a clinical decision-making benchmark for LLM agents, demonstrating how reusable structured representations of clinical narratives reduce data curation effort.
Figures & tables
| Clinical Section | Key Fields | Method | Admissions | Coverage |
|---|---|---|---|---|
| Gender | Patient sex assigned at birth | Rule | 300,720 | 100.0% |
| Services | Clinical service at discharge | Rule | 300,720 | 100.0% |
| Chief Complaint | Symptom category and clinical description | Hybrid | 296,132 | 98.5% |
| History of Present Illness | Chronological narrative of events prior to admission | Verbatim | 296,620 | 98.6% |
| Past Medical History | Prior conditions and interventions by category, chronicity, and subject | LLM | 290,212 | 96.5% |
| Medications on Admission | Active home medications with dose, route, frequency, and strength | LLM | 275,035 | 91.5% |
| Section | Acc. (%) | AC1 |
|---|---|---|
| Allergies | 99.8 0.32 | 99.8 |
| Chief Complaint | 97.6 2.37 | 98.0 |
| Discharge Condition | 97.4 3.15 | 98.0 |
| Discharge Diagnosis | 97.1 2.65 | 95.8 |
| Major Procedures | 98.3 2.04 | 98.0 |
| Past Medical History | 95.2 1.48 | 90.1 |
| Section | Contribution |
|---|---|
| Already exists in MIMIC, but can flag mismatches | |
| Gender | Flag mismatches |
| Services | Flag mismatches |
| Discharge Disposition | Flag mismatches; adds k missing values |
| Related to MIMIC information, but broader or richer | |
| Discharge Diagnosis | Clinician-written diagnoses with primary/secondary structure |
| Model | Reasoning | Full info | Agentic |
|---|---|---|---|
| Gemini 3.5 Flash | minimal | 88.7 (+0.1) | 87.9 |
| Gemini 3.1 Flash Lite | minimal | 87.4 (+0.7) | 81.9 |
| Gemini 3.1 Flash Lite | high | 88.6 (+0.0) | 84.2 |
| Gemma 4 31B | 86.7 (+0.3) | 83.7 | |
| Qwen3.6 35B-A3B | 90.4 (+0.3) | 83.6 | |
| Qwen3.6 35B-A3B | 89.3 (+0.2) | 82.6 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Table | Cardinality | Key fields |
| Hub | ||
| admissions | 1 | subject_id , hadm_id , note_id |
| Single-row attributes | ||
| gender | 0–1 | enum |
| services | 0–1 | enum (20 services) |
| discharge_disposition | 0–1 | enum |
| Clinical Section | Operational Mode | Production Model | LLM Baseline (€) | Production Cost (€) | Optimized Savings (€) |
|---|---|---|---|---|---|
| LLM-Only Extraction | |||||
| Past Medical History | LLM | Gemini 3.1 Flash-Lite | 138.07 | 138.07 | — |
| Medications on Admission | LLM | Gemini 3.1 Flash-Lite | 487.00 | 487.00 | — |
| Physical Examination | LLM | Gemini 3.1 Flash-Lite | 345.00 | 345.00 | — |
| Pertinent Results | LLM | Gemini 3.1 Flash-Lite | 179.00 | 179.00 | — |
| Discharge Medications | LLM | Gemini 3.1 Flash-Lite | 581.00 | 581.00 | — |
| Category / section | Source excerpt | Extracted fields | Error explanation |
|---|---|---|---|
| Ambiguous Medications on admission | Simethicone 40-80 mg PO QID:PRN abd pain | strength : range 40–80 mg dose : 80 mg | The source gives a 40–80 mg range without separately specifying strength and administered dose. The extraction records both a strength range and a single 80 mg dose. |
| Fabrication Past medical history | R THA / L THA / Stents x2 | concept_name : Coronary Artery Stents | The extraction adds a coronary location to the stents, although their anatomical location is not specified in the source. |
| Omission Medications on admission | 18. Insulin SC / Sliding Scale Insulin SC Sliding Scale using HUM Insulin | medications : no insulin entry | Sliding-scale insulin is explicitly listed in the source but is absent from the complete extracted medication list. |
| Clinically altered meaning Discharge medications | Calcium 500 + D (calcium carbonate-vitamin D3) 500 mg (1,250mg) -400 unit oral DAILY | strength : [500 mg, 400 units] dose : 1,250 mg | The parenthetical 1,250 mg quantity is incorrectly interpreted as the administered dose. |
| Incorrect attribute / classification Discharge medications | furosemide 40 mg Tablet ___: One (1) Tablet PO ONCE (Once) for 1 doses . | name : furosemide frequency : 1 per DAY duration : null | A one-time dose is incorrectly represented as daily administration without a duration limit. |
| Incorrect boundaries Pertinent results | 19: collection. 20: Findings were concerning for early or partial small bowel 21: obstruction. The NG tube was kept in place, and medications were | start_line : 6 end_line : 19 Clinician span: 6–21 | The extracted span ends at line 19 instead of line 21, omitting the following finding of suspected small-bowel obstruction. |
| Section | Judged Items | Omiss. | Attr. | Alter. | Fabr. | Bound. | Ambig. |
|---|---|---|---|---|---|---|---|
| Allergies | 1,488 | 0 (0.0%) | 0 (0.0%) | 1 (0.1%) | 2 (0.1%) | 0 (0.0%) | 6 (0.4%) |
| Chief Complaint | 222 | 1 (0.5%) | 4 (1.8%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) | 3 (1.4%) |
| Discharge Condition | 222 | 4 (1.8%) | 0 (0.0%) | 0 (0.0%) | 1 (0.5%) | 0 (0.0%) | 1 (0.5%) |
| Discharge Diagnosis | 222 | 1 (0.5%) | 5 (2.3%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) |
| Major Procedures | 222 | 1 (0.5%) | 1 (0.5%) | 2 (0.9%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) |
| Past Medical History | 2,761 | 66 (2.4%) | 46 (1.7%) | 26 (0.9%) | 3 (0.1%) | 0 (0.0%) | 36 (1.3%) |
| Ambiguity-excluded Case-level (%) | ||||
|---|---|---|---|---|
| Section | Acc. | Prec. | Rec. | F1 |
| Allergies | 98.5 2.06 | 99.6 | 100.0 | 99.8 |
| Chief Complaint | 97.6 2.37 | 97.9 | 97.8 | 97.8 |
| Discharge Condition | 97.9 2.35 | 97.9 | 97.9 | 97.9 |
| Discharge Diagnosis | 97.1 2.63 | 97.7 | 97.4 | 97.5 |
| Major Procedures | 98.2 2.05 | 98.5 | 98.4 | 98.4 |
| Ambiguity-excluded Item-level (%) | ||||
|---|---|---|---|---|
| Section | Acc. | Prec. | Rec. | F1 |
| Allergies | 99.8 0.32 | 99.8 | 100.0 | 99.9 |
| Chief Complaint | 97.6 2.37 | 97.9 | 99.7 | 98.8 |
| Discharge Condition | 97.4 3.15 | 99.4 | 97.9 | 98.7 |
| Discharge Diagnosis | 97.1 2.65 | 97.7 | 99.4 | 98.5 |
| Major Procedures | 98.3 2.04 | 98.5 | 99.7 | 99.1 |
| Section | Case IAA (tolerant) | Item IAA (tolerant) | AC1 (tolerant) |
|---|---|---|---|
| Allergies | 98.0 | 99.8 | 99.8 |
| Chief Complaint | 96.0 | 98.0 | 98.0 |
| Discharge Condition | 98.0 | 98.0 | 98.0 |
| Discharge Diagnosis | 96.0 | 96.0 | 95.8 |
| Major Procedures | 96.0 | 98.0 | 98.0 |
| Past Medical History | 56.0 | 90.4 | 90.1 |
| Section | Related MIMIC table(s) | Contribution |
|---|---|---|
| Already exists in MIMIC, but can flag mismatches | ||
| Gender | h.patients.gender | Flag mismatches |
| Services | h.services.curr_service | Flag mismatches |
| Discharge Disposition | h.admissions.discharge_location | Flag mismatches; adds k missing values |
| Related to MIMIC information, but broader or richer | ||
| Discharge Diagnosis | h.diagnoses_icd | Concise clinician-written diagnoses with primary/secondary structure, preserving note wording instead of dense, generic ICD codes |
| Model | Reasoning | Full information | Agentic |
|---|---|---|---|
| Gemini 3.5 Flash | minimal | 88.7 [87.4, 89.9] | 87.9 [87.2, 88.5] |
| Gemini 3.1 Flash Lite | minimal | 87.4 [86.1, 88.7] | 81.9 [81.2, 82.7] |
| Gemini 3.1 Flash Lite | high | 88.6 [87.3, 89.8] | 84.2 [83.5, 84.9] |
| Gemma 4 31B | 86.7 [85.3, 88.0] | 83.7 [82.9, 84.4] | |
| Qwen3.6 35B-A3B | 90.4 [89.1, 91.5] | 83.6 [82.9, 84.3] | |
| Qwen3.6 35B-A3B | 89.3 [88.0, 90.5] | 82.6 [81.8, 83.3] |
| Class | Cases | Class | Cases |
|---|---|---|---|
| Heart failure exacerbation | 731 | Acute cholecystitis | 646 |
| Gastrointestinal bleeding | 731 | Appendicitis | 566 |
| Cellulitis | 731 | Pancreatitis | 434 |
| Small bowel obstruction | 731 | Cholangitis | 346 |
| Pneumonia | 731 | Diverticulitis | 219 |
| Urinary tract infection | 731 | Diabetic ketoacidosis | 172 |
| Tool | Source | Requestable items |
|---|---|---|
| Physical examination | MNE | Six examination groups: vital signs, general, cardiopulmonary, abdominal, neurologic, and skin/extremities. |
| Patient record | MNE | Eight sections: history of present illness, conditions, interventions, substance history, functional status, family history, allergies, and admission medications. |
| Laboratory | MIMIC | Panels (CBC, basic metabolic, liver function, coagulation, urinalysis, blood gas, urine electrolytes), body-fluid analyses (CSF, ascitic, synovial, pleural), or individual tests from a catalog. |
| Imaging | MIMIC + MNE | A region (abdomen, chest, head, neck, spine, extremity, venous) paired with a modality (CT, MRI, ultrasound, radiograph, nuclear medicine, fluoroscopy, ERCP). |
| Clinical study | MNE | One study: echocardiogram, cardiac catheterization, electrocardiogram, stress test, upper endoscopy, or colonoscopy. |
| Calls per case | Requests (%) | ||||
|---|---|---|---|---|---|
| Model | Reasoning | Mean | Median | Malformed | Excessive |
| Gemini 3.5 Flash | minimal | 6.95 | 7 | 2.01 | 1.85 |
| Gemini 3.1 Flash Lite | minimal | 7.21 | 7 | 1.89 | 10.16 |
| Gemini 3.1 Flash Lite | high | 3.73 | 4 | 0.92 | 0.39 |
| Gemma 4 31B | 5.54 | 5 | 0.56 | 0.59 | |
| Qwen3.6 35B-A3B | 3.61 | 4 | 2.75 | 0.72 | |
| Model | Reasoning | Appendicitis ( ) | Acute cholecystitis ( ) | Diverticulitis ( ) | Pancreatitis ( ) |
|---|---|---|---|---|---|
| Gemini 3.5 Flash | minimal | 99.1 | 98.8 | 99.1 | 94.4 |
| Gemini 3.1 Flash Lite | minimal | 94.5 | 97.7 | 94.9 | 78.7 |
| Gemini 3.1 Flash Lite | high | 90.4 | 84.8 | 83.3 | 47.1 |
| Gemma 4 31B | 89.6 | 87.7 | 81.9 | 57.9 | |
| Qwen3.6 35B-A3B | 88.4 | 80.3 | 76.4 | 52.3 | |
| Qwen3.6 35B-A3B | 63.8 | 69.5 | 57.9 | 19.9 |
Clinical Information Extraction
Clinical Information Extraction turns clinical notes, reports, and patient narratives into structured, searchable facts and relations.
See all 113 papers