leoshen commited on
Commit
cdeefee
·
verified ·
1 Parent(s): 4779d31

Add RealICU synthetic sample and Croissant metadata

Browse files
README.md ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: RealICU
3
+ license: other
4
+ license_name: physionet-credentialed-health-data-license-1.5.0
5
+ license_link: https://physionet.org/about/licenses/physionet-credentialed-health-data-license-150/
6
+ language:
7
+ - en
8
+ tags:
9
+ - medical
10
+ - clinical
11
+ - intensive-care
12
+ - electronic-health-records
13
+ - benchmark
14
+ - llm-agents
15
+ size_categories:
16
+ - n<1K
17
+ configs:
18
+ - config_name: icu_stays
19
+ data_files: trajectories/icu_stay.parquet
20
+ - config_name: events
21
+ data_files: trajectories/events.parquet
22
+ ---
23
+
24
+ # RealICU
25
+
26
+ [Paper](https://arxiv.org/abs/2605.13542) · [Code](https://github.com/chengzhi-leo/RealICU-Bench) · [Project page](https://chengzhi-leo.github.io/RealICU-Bench/)
27
+
28
+ > [!IMPORTANT]
29
+ > **This repository contains a synthetic sample, not the benchmark data.** The files here describe 5
30
+ > synthetic patients in exactly the same file layout, Parquet schemas, and label JSON format as the full
31
+ > dataset. They contain no patient data: every identifier, date, measurement, note, and label was generated
32
+ > from hand-written scenarios, not from MIMIC records. Use the sample to inspect the format and to test data
33
+ > pipelines; do not use it to evaluate models.
34
+ >
35
+ > **The full dataset is distributed through PhysioNet.** RealICU is derived from MIMIC-IV, so it is released
36
+ > under PhysioNet credentialed access: a credentialed PhysioNet account, completed human-subjects research
37
+ > training (CITI), and a signed data use agreement. It has been submitted to PhysioNet as
38
+ > *MIMIC-IV-Ext-RealICU* and is under review. The PhysioNet link will be added here once it is published.
39
+
40
+ RealICU is a benchmark for evaluating language models and agents on ICU decision support. For each
41
+ evaluation window, it provides clinical events for constructing model inputs and aligned reference labels
42
+ for four tasks: patient status, acute problems, recommended actions, and red flag actions.
43
+
44
+ The full dataset (version 1.0.0) contains 94 MIMIC-derived patients, one target ICU stay per patient, and
45
+ 2,989,158 clinical events. The trajectories include available records before, during, and after the target
46
+ ICU stay.
47
+
48
+ | Annotation set | Reference source | Windows | Action ratings |
49
+ | --- | --- | ---: | ---: |
50
+ | RealICU-Gold | Paired physician consensus on Oracle candidates | 930 | 2,189 |
51
+ | RealICU-Scale | Oracle, an LLM hindsight annotator | 11,862 | 25,387 |
52
+
53
+ Gold and Scale share the same patients and have partially overlapping windows; Gold is not a window subset
54
+ of Scale. Both are evaluation sets and should not be used as separate training and test cohorts. Windows
55
+ generally span 30 minutes, with shorter intervals at the end of a stay when needed.
56
+
57
+ ## Synthetic sample in this repository
58
+
59
+ | Content | Sample | Full dataset |
60
+ | --- | ---: | ---: |
61
+ | Patients (one target ICU stay each) | 5 | 94 |
62
+ | Clinical events | 1,743 | 2,989,158 |
63
+ | Gold windows / action ratings | 35 / 46 | 930 / 2,189 |
64
+ | Scale windows / action ratings | 198 / 219 | 11,862 / 25,387 |
65
+
66
+ The five synthetic stays cover septic shock, hypoxemic respiratory failure, diabetic ketoacidosis, upper
67
+ gastrointestinal bleeding, and decompensated heart failure. They also reproduce the format's edge cases: a
68
+ truncated final window, a Gold window with an unavailable patient-status label, a Scale window without
69
+ acute-problem references, an `insufficient_data` window, an ICU readmission, and in-hospital deaths after
70
+ ICU discharge. Synthetic identifiers start with 9 (for example `90000001_99000001`) and do not overlap
71
+ MIMIC-IV identifier ranges.
72
+
73
+ ## Quick start
74
+
75
+ The standalone loader requires Python 3.10 or later, `pandas`, and `pyarrow`:
76
+
77
+ ```bash
78
+ python -m pip install pandas pyarrow huggingface_hub
79
+ hf download leoshen/RealICU --repo-type dataset --local-dir realicu
80
+ cd realicu
81
+ ```
82
+
83
+ Load one Gold window:
84
+
85
+ ```python
86
+ from loader import RealICULoader
87
+
88
+ loader = RealICULoader(".", "gold", "90000001_99000001")
89
+ sample = loader.load_window(
90
+ loader.window_indices[0],
91
+ icu_history_hours=None,
92
+ pre_icu_history_hours=48,
93
+ excluded_event_codes=("NOTE_DISCHARGESUMMARY", "META_DEATH"),
94
+ )
95
+
96
+ model_input = sample["input"]
97
+ labels = sample["labels"]
98
+ current_events = model_input["current_events"]
99
+ references = labels["reference_labels"]
100
+ availability = labels["label_availability"]
101
+
102
+ print(current_events.head())
103
+ if availability["patient_status"]:
104
+ print(references["patient_assessment"]["overall"]["label"])
105
+ ```
106
+
107
+ Use `"scale"` instead of `"gold"` to read Oracle annotations. The loader reads a stay once; call
108
+ `load_window` for any ID in `loader.window_indices`. These IDs may be nonconsecutive. List available stays
109
+ with `pandas.read_parquet("trajectories/icu_stay.parquet")["stay_id"]`.
110
+
111
+ Each sample has two parts:
112
+
113
+ - `input`: sample and stay identifiers, actual window timestamps, and the three event tables below.
114
+ - `labels`: the four tasks under `reference_labels`, plus `label_availability` indicating which references
115
+ can be used for evaluation.
116
+
117
+ | Input event table | Included observations |
118
+ | --- | --- |
119
+ | `pre_icu_events` | Before target ICU admission, within the chosen pre-ICU lookback |
120
+ | `history_events` | During the target ICU stay, before the window, within the chosen ICU lookback |
121
+ | `current_events` | Within the actual half-open interval `[window_start_time, window_end_time)` |
122
+
123
+ Both lookbacks and `excluded_event_codes` are required choices. Use a number of hours, `None` for all
124
+ available history, or `0` for no history. The pre-ICU lookback is measured from ICU admission; the ICU
125
+ lookback is measured from the window start. An empty tuple retains all event categories. The example's
126
+ 48-hour lookback and exclusions are illustrative, not benchmark defaults.
127
+
128
+ The same example is available from the command line:
129
+
130
+ ```bash
131
+ python loader.py --root . --label-set gold --stay-id 90000001_99000001 \
132
+ --window-index 0 --icu-history-hours all --pre-icu-history-hours 48 \
133
+ --excluded-event-codes NOTE_DISCHARGESUMMARY META_DEATH
134
+ ```
135
+
136
+ The prediction and evaluation code in [RealICU-Bench](https://github.com/chengzhi-leo/RealICU-Bench) reads
137
+ this layout directly; set `data.root` to the downloaded directory.
138
+
139
+ ## Tasks and reference labels
140
+
141
+ The paths below are relative to `reference_labels`:
142
+
143
+ | Task | JSON path | Reference content |
144
+ | --- | --- | --- |
145
+ | Patient Status | `patient_assessment.overall` | `stable`, `improving`, `deteriorating`, or `insufficient_data`, with a rationale |
146
+ | Acute Problems | `patient_assessment.active_risks` | Active clinical problems or emerging risks, with supporting evidence |
147
+ | Recommended Actions | `action_review.evaluations` | Recorded actions rated `best_practice`, `acceptable`, `potentially_harmful`, or `insufficient_data` |
148
+ | Red Flag Actions | `action_review.red_flags` | Actions to avoid, with a rationale and supporting evidence |
149
+
150
+ Actions rated `best_practice` or `acceptable` form the positive reference set for recommendation
151
+ evaluation. Every retained action refers to an event within its assigned window. Numeric action and
152
+ evidence IDs refer to `icu_event_index` within the same target stay.
153
+
154
+ Check `label_availability` for each task before scoring. Its keys are `patient_status`, `active_risks`,
155
+ `recommended_action`, and `red_flags`. A false value means the reference is unavailable. An unavailable
156
+ patient-status label is stored as `unavailable`; this is not a clinical class. An available
157
+ `insufficient_data` label remains a valid reference. An available empty list means no retained reference
158
+ items, not a comprehensive finding that no clinical problems or contraindications exist.
159
+
160
+ In the full dataset, Gold contains physician-consensus labels and selected items from Oracle candidates;
161
+ its `rationale` and `key_evidence` were retained from Oracle. Scale labels and explanations are Oracle
162
+ outputs. Annotations use retrospective context, so evidence may refer to events before or after the
163
+ observation window, or to pre-ICU history and discharge summaries.
164
+
165
+ ## Files and alignment
166
+
167
+ ```text
168
+ README.md
169
+ loader.py
170
+ croissant.jsonld
171
+ trajectories/
172
+ events.parquet
173
+ icu_stay.parquet
174
+ gold/labels/<stay_id>.json
175
+ scale/labels/<stay_id>.json
176
+ ```
177
+
178
+ `events.parquet` contains one clinical event per row. `icu_stay.parquet` contains one target ICU stay per
179
+ row, including admission/discharge times, trajectory bounds, event counts, and outcomes. Join trajectories
180
+ and annotations using `stay_id`, formatted as `<subject_id>_<icu_stay_id>`. An event's own `icu_stay_id`
181
+ may refer to a different encounter; use the added `stay_id` for joins.
182
+
183
+ Each annotation set has one JSON file per target stay. The file contains stay identifiers,
184
+ `trajectory_metadata`, and a `window_outputs` list. Each window has `sample_id`, `window_index`,
185
+ `window_key`, `window_metadata`, `reference_labels`, and `label_availability`. Use the actual timestamps in
186
+ `window_metadata` to align events; `window_key` gives nominal hours relative to ICU admission.
187
+
188
+ | Event identifier | Meaning |
189
+ | --- | --- |
190
+ | `event_idx`, `source_event_index` | Original source event identifier |
191
+ | `event_index` | Zero-based position in the published trajectory |
192
+ | `icu_event_index` | Zero-based chronological event ID within the target ICU stay; null outside it |
193
+
194
+ `croissant.jsonld` provides Croissant 1.1 metadata with field descriptions and Responsible AI documentation.
195
+ Its record sets expose ICU stays, events, windows, action evaluations, active risks, and red flags; each
196
+ label record set covers Gold and Scale, distinguished by `label_set`. Its file URLs point to this
197
+ repository, so it can be loaded directly with `mlcroissant`.
198
+
199
+ ## Evaluation input construction
200
+
201
+ Keep reference answers and retrospective outcomes out of model inputs. For Action Recommendation, the paper
202
+ removes recorded actions from the current window before prediction to prevent answer leakage (Appendix
203
+ A.1); the loader does not perform this masking automatically.
204
+
205
+ ## Citation
206
+
207
+ ```bibtex
208
+ @article{shen2026realicu,
209
+ title={RealICU: Do LLM Agents Understand Long-Context ICU Data? A Benchmark Beyond Behavior Imitation},
210
+ author={Shen, Chengzhi and Shen, Weixiang and Susetzky, Tobias and Chen, Chen (Cherise) and Li, Jun and Liu, Yuyuan and Zhang, Xuepeng and Gong, Zhenyu and Rueckert, Daniel and Pan, Jiazhen},
211
+ journal={arXiv preprint arXiv:2605.13542},
212
+ year={2026}
213
+ }
214
+ ```
croissant.jsonld ADDED
@@ -0,0 +1,1469 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "sc": "https://schema.org/",
6
+ "cr": "http://mlcommons.org/croissant/",
7
+ "rai": "http://mlcommons.org/croissant/RAI/",
8
+ "prov": "http://www.w3.org/ns/prov#",
9
+ "dct": "http://purl.org/dc/terms/",
10
+ "citeAs": "cr:citeAs",
11
+ "column": "cr:column",
12
+ "conformsTo": "dct:conformsTo",
13
+ "containedIn": "cr:containedIn",
14
+ "data": {
15
+ "@id": "cr:data",
16
+ "@type": "@json"
17
+ },
18
+ "dataType": {
19
+ "@id": "cr:dataType",
20
+ "@type": "@vocab"
21
+ },
22
+ "equivalentProperty": "cr:equivalentProperty",
23
+ "examples": {
24
+ "@id": "cr:examples",
25
+ "@type": "@json"
26
+ },
27
+ "extract": "cr:extract",
28
+ "field": "cr:field",
29
+ "fileObject": "cr:fileObject",
30
+ "fileProperty": "cr:fileProperty",
31
+ "fileSet": "cr:fileSet",
32
+ "format": "cr:format",
33
+ "includes": "cr:includes",
34
+ "isArray": "cr:isArray",
35
+ "isLiveDataset": "cr:isLiveDataset",
36
+ "jsonPath": "cr:jsonPath",
37
+ "key": "cr:key",
38
+ "md5": "cr:md5",
39
+ "parentField": "cr:parentField",
40
+ "path": "cr:path",
41
+ "recordSet": "cr:recordSet",
42
+ "references": "cr:references",
43
+ "regex": "cr:regex",
44
+ "repeated": "cr:repeated",
45
+ "replace": "cr:replace",
46
+ "samplingRate": "cr:samplingRate",
47
+ "separator": "cr:separator",
48
+ "source": "cr:source",
49
+ "subField": "cr:subField",
50
+ "transform": "cr:transform"
51
+ },
52
+ "@type": "sc:Dataset",
53
+ "conformsTo": [
54
+ "http://mlcommons.org/croissant/1.1",
55
+ "http://mlcommons.org/croissant/RAI/1.0"
56
+ ],
57
+ "name": "MIMIC-IV-Ext-RealICU",
58
+ "alternateName": [
59
+ "RealICU"
60
+ ],
61
+ "description": "RealICU is a benchmark for evaluating language models and agents on ICU decision support. It contains MIMIC-IV-derived clinical event trajectories for 94 patients, one target ICU stay per patient and 2,989,158 events, and two annotation sets aligned to 30-minute evaluation windows for four tasks: Patient Status, Acute Problems, Recommended Actions, and Red Flag Actions. RealICU-Gold (930 windows, 2,189 action ratings) contains physician-consensus labels selected from Oracle candidates; RealICU-Scale (11,862 windows, 25,387 action ratings) contains labels from Oracle, a physician-validated LLM hindsight annotator. Both annotation sets are evaluation-only.",
62
+ "url": "https://huggingface.co/datasets/leoshen/RealICU",
63
+ "version": "1.0.0",
64
+ "datePublished": "2026-11-03",
65
+ "license": "https://physionet.org/about/licenses/physionet-credentialed-health-data-license-150/",
66
+ "conditionsOfAccess": "Credentialed access on PhysioNet: a credentialed PhysioNet account, completed human-subjects research training, and a signed data use agreement.",
67
+ "isAccessibleForFree": true,
68
+ "creator": [
69
+ {
70
+ "@type": "sc:Person",
71
+ "name": "Chengzhi Shen"
72
+ },
73
+ {
74
+ "@type": "sc:Person",
75
+ "name": "Weixiang Shen"
76
+ },
77
+ {
78
+ "@type": "sc:Person",
79
+ "name": "Tobias Susetzky"
80
+ },
81
+ {
82
+ "@type": "sc:Person",
83
+ "name": "Chen (Cherise) Chen"
84
+ },
85
+ {
86
+ "@type": "sc:Person",
87
+ "name": "Jun Li"
88
+ },
89
+ {
90
+ "@type": "sc:Person",
91
+ "name": "Yuyuan Liu"
92
+ },
93
+ {
94
+ "@type": "sc:Person",
95
+ "name": "Xuepeng Zhang"
96
+ },
97
+ {
98
+ "@type": "sc:Person",
99
+ "name": "Zhenyu Gong"
100
+ },
101
+ {
102
+ "@type": "sc:Person",
103
+ "name": "Daniel Rueckert"
104
+ },
105
+ {
106
+ "@type": "sc:Person",
107
+ "name": "Jiazhen Pan"
108
+ }
109
+ ],
110
+ "citeAs": "@article{shen2026realicu,\n title={RealICU: Do LLM Agents Understand Long-Context ICU Data? A Benchmark Beyond Behavior Imitation},\n author={Shen, Chengzhi and Shen, Weixiang and Susetzky, Tobias and Chen, Chen (Cherise) and Li, Jun and Liu, Yuyuan and Zhang, Xuepeng and Gong, Zhenyu and Rueckert, Daniel and Pan, Jiazhen},\n journal={arXiv preprint arXiv:2605.13542},\n year={2026}\n}",
111
+ "keywords": [
112
+ "intensive care",
113
+ "clinical decision support",
114
+ "electronic health records",
115
+ "LLM agents",
116
+ "benchmark",
117
+ "MIMIC-IV"
118
+ ],
119
+ "inLanguage": "en",
120
+ "rai:dataLimitations": "The dataset is derived exclusively from the MIMIC-IV cohort, meaning the demographic and clinical care-pattern distributions are limited to a single-center academic medical center in the United States. These patterns may not generalize to ICUs with different staffing models, documentation conventions, or international healthcare standards. Additionally, the current version focuses on textual and numerical data, omitting high-fidelity multimodal signals like bedside imaging or raw waveforms. This dataset is explicitly not recommended for training autonomous clinical decision systems; it is designed as a benchmark for evaluative \"co-pilot\" assistance only.",
121
+ "rai:dataBiases": "Known biases include institutional and geographic bias inherent to the Beth Israel Deaconess Medical Center's patient population. There is a potential labeling bias in the RealICU-Scale subset; while validated, the \"Oracle\" LLM hindsight evaluator showed minor granularity mismatches compared to human physicians, such as favoring broad descriptors over specific complications. Furthermore, the dataset reflects decisions made under the specific clinical heuristics of the source institution's staff, which may influence \"acceptable\" action labels.",
122
+ "rai:personalSensitiveInformation": "The dataset contains sensitive health and medical data. Categories include: Gender, Age, Language, Marital Status, Insurance Status, Ethnicity, Health or medical data (including vital signs, laboratory results, medications, and clinical notes), Geography (implied via source institution)",
123
+ "rai:dataUseCases": "The dataset is intended to measure sequential clinical reasoning and bedside situational awareness. It represents the ability of an agent to integrate evolving information streams into structured reassessments. Validated Use Cases: Patient status assessment (improving/stable/deteriorating), Active clinical problem identification, Short-term treatment recommendation, Safety-critical \"Red Flag\" action avoidance; Validation Gaps: These use cases have not been validated for real-world bedside deployment or for predicting outcomes beyond the specific 30-minute windowing logic used in the benchmark.",
124
+ "rai:dataSocialImpact": "Positive Impact: RealICU provides a safety-first methodology for evaluating clinical AI, helping to identify \"recall-safety tradeoffs\" and \"premature anchoring\" before such systems reach patients.\nNegative Impact/Risks: There is a risk of over-reliance if developers optimize solely for \"Hit@k\" metrics while ignoring the Harmful Recommendation Rate (HRR).\nMitigations: The benchmark includes explicit Red Flag labels and HRR metrics to penalize unsafe logic. The benchmark is released \"test-only\" to prevent data leakage into LLM training sets.",
125
+ "rai:hasSyntheticData": true,
126
+ "prov:wasDerivedFrom": [
127
+ {
128
+ "@id": "https://physionet.org/content/mimiciv/2.2/",
129
+ "prov:label": "MIMIC-IV",
130
+ "sc:license": "physionet-credentialed-health-data-license-1.5.0"
131
+ },
132
+ {
133
+ "@id": "https://physionet.org/content/mimic-iv-ed/2.2/",
134
+ "prov:label": "MIMIC-IV-ED",
135
+ "sc:license": "physionet-credentialed-health-data-license-1.5.0"
136
+ },
137
+ {
138
+ "@id": "https://physionet.org/content/mimic-iv-echo/1.0/",
139
+ "prov:label": "MIMIC-IV-ECHO",
140
+ "sc:license": "physionet-credentialed-health-data-license-1.5.0"
141
+ },
142
+ {
143
+ "@id": "https://www.physionet.org/content/mimic-iv-note/2.2/",
144
+ "prov:label": "MIMIC-IV-NOTE",
145
+ "sc:license": "physionet-credentialed-health-data-license-1.5.0"
146
+ },
147
+ {
148
+ "@id": "https://physionet.org/content/mimic-cxr-jpg/2.1.0/",
149
+ "prov:label": "MIMIC-CXR-JPG",
150
+ "sc:license": "physionet-credentialed-health-data-license-1.5.0"
151
+ }
152
+ ],
153
+ "prov:wasGeneratedBy": [
154
+ {
155
+ "@type": "prov:Activity",
156
+ "prov:type": {
157
+ "@id": "https://www.wikidata.org/wiki/Q5227332"
158
+ },
159
+ "prov:label": "Preprocessing",
160
+ "sc:description": "Merging multiple MIMIC modules into a holistic timeline. Numerical data was textualized with units; categorical codes (ICD/GSN) were resolved to full-text descriptions."
161
+ },
162
+ {
163
+ "@type": "prov:Activity",
164
+ "prov:type": {
165
+ "@id": "https://www.wikidata.org/wiki/Q109719325"
166
+ },
167
+ "prov:label": "Semi-automated annotation",
168
+ "sc:description": "RealICU-Gold: Independent labeling by 5 senior ICU physicians with a cross-validation check for consensus. RealICU-Scale: Synthetic annotation using Oracle, a physician-validated LLM-based hindsight evaluator."
169
+ }
170
+ ],
171
+ "distribution": [
172
+ {
173
+ "@type": "cr:FileObject",
174
+ "@id": "repo",
175
+ "name": "repo",
176
+ "description": "The Hugging Face git repository that hosts the dataset files.",
177
+ "contentUrl": "https://huggingface.co/datasets/leoshen/RealICU",
178
+ "encodingFormat": "git+https",
179
+ "sha256": "https://github.com/mlcommons/croissant/issues/80"
180
+ },
181
+ {
182
+ "@type": "cr:FileObject",
183
+ "@id": "readme",
184
+ "name": "README.md",
185
+ "description": "Dataset documentation: tasks, label semantics, file alignment, and evaluation guidance.",
186
+ "contentUrl": "https://huggingface.co/datasets/leoshen/RealICU/resolve/main/README.md",
187
+ "encodingFormat": "text/markdown",
188
+ "contentSize": "10240 B",
189
+ "sha256": "f4887d0deadf93f54f3b8aeb7a4f471f5fae32dd0cb705c41152fe5ae32a4f54"
190
+ },
191
+ {
192
+ "@type": "cr:FileObject",
193
+ "@id": "loader",
194
+ "name": "loader.py",
195
+ "description": "Standalone Python loader that aligns window events with reference labels.",
196
+ "contentUrl": "https://huggingface.co/datasets/leoshen/RealICU/resolve/main/loader.py",
197
+ "encodingFormat": "text/x-python",
198
+ "contentSize": "6491 B",
199
+ "sha256": "e1dac91cfeb237ad0e396f832b6c13281f61f7224e990e77f8c69d182697ca1e"
200
+ },
201
+ {
202
+ "@type": "cr:FileObject",
203
+ "@id": "icu_stays-parquet",
204
+ "name": "trajectories/icu_stay.parquet",
205
+ "description": "One target ICU stay per row with admission and discharge times, trajectory bounds, event counts, and outcomes.",
206
+ "contentUrl": "https://huggingface.co/datasets/leoshen/RealICU/resolve/main/trajectories/icu_stay.parquet",
207
+ "encodingFormat": "application/x-parquet",
208
+ "contentSize": "12883 B",
209
+ "sha256": "908e974eb70772cfa0712cff50def7e0feb5394542cb685c207edc8c4b9641cc"
210
+ },
211
+ {
212
+ "@type": "cr:FileObject",
213
+ "@id": "events-parquet",
214
+ "name": "trajectories/events.parquet",
215
+ "description": "One clinical event per row across each patient's published trajectory, sorted by time and source event index within a stay.",
216
+ "contentUrl": "https://huggingface.co/datasets/leoshen/RealICU/resolve/main/trajectories/events.parquet",
217
+ "encodingFormat": "application/x-parquet",
218
+ "contentSize": "69778 B",
219
+ "sha256": "a72f1b94070651eb64f7abeb87ec8fa82da4b493ac46f0a8336fccfb6fbe2a09"
220
+ },
221
+ {
222
+ "@type": "cr:FileSet",
223
+ "@id": "labels-windows",
224
+ "name": "labels-windows",
225
+ "description": "Gold and Scale label files, one JSON file per target stay, read for the windows record set.",
226
+ "encodingFormat": "application/json",
227
+ "includes": [
228
+ "gold/labels/*.json",
229
+ "scale/labels/*.json"
230
+ ],
231
+ "containedIn": {
232
+ "@id": "repo"
233
+ }
234
+ },
235
+ {
236
+ "@type": "cr:FileSet",
237
+ "@id": "labels-action_evaluations",
238
+ "name": "labels-action_evaluations",
239
+ "description": "Gold and Scale label files, one JSON file per target stay, read for the action_evaluations record set.",
240
+ "encodingFormat": "application/json",
241
+ "includes": [
242
+ "gold/labels/*.json",
243
+ "scale/labels/*.json"
244
+ ],
245
+ "containedIn": {
246
+ "@id": "repo"
247
+ }
248
+ },
249
+ {
250
+ "@type": "cr:FileSet",
251
+ "@id": "labels-active_risks",
252
+ "name": "labels-active_risks",
253
+ "description": "Gold and Scale label files, one JSON file per target stay, read for the active_risks record set.",
254
+ "encodingFormat": "application/json",
255
+ "includes": [
256
+ "gold/labels/*.json",
257
+ "scale/labels/*.json"
258
+ ],
259
+ "containedIn": {
260
+ "@id": "repo"
261
+ }
262
+ },
263
+ {
264
+ "@type": "cr:FileSet",
265
+ "@id": "labels-red_flags",
266
+ "name": "labels-red_flags",
267
+ "description": "Gold and Scale label files, one JSON file per target stay, read for the red_flags record set.",
268
+ "encodingFormat": "application/json",
269
+ "includes": [
270
+ "gold/labels/*.json",
271
+ "scale/labels/*.json"
272
+ ],
273
+ "containedIn": {
274
+ "@id": "repo"
275
+ }
276
+ }
277
+ ],
278
+ "recordSet": [
279
+ {
280
+ "@type": "cr:RecordSet",
281
+ "@id": "icu_stays",
282
+ "name": "icu_stays",
283
+ "description": "One target ICU stay per row with admission and discharge times, trajectory bounds, event counts, and outcomes.",
284
+ "key": [
285
+ {
286
+ "@id": "icu_stays/stay_id"
287
+ }
288
+ ],
289
+ "field": [
290
+ {
291
+ "@type": "cr:Field",
292
+ "@id": "icu_stays/subject_id",
293
+ "name": "subject_id",
294
+ "description": "MIMIC-IV patient identifier.",
295
+ "dataType": "sc:Integer",
296
+ "source": {
297
+ "fileObject": {
298
+ "@id": "icu_stays-parquet"
299
+ },
300
+ "extract": {
301
+ "column": "subject_id"
302
+ }
303
+ }
304
+ },
305
+ {
306
+ "@type": "cr:Field",
307
+ "@id": "icu_stays/icu_stay_id",
308
+ "name": "icu_stay_id",
309
+ "description": "MIMIC-IV ICU stay identifier of the target stay.",
310
+ "dataType": "sc:Integer",
311
+ "source": {
312
+ "fileObject": {
313
+ "@id": "icu_stays-parquet"
314
+ },
315
+ "extract": {
316
+ "column": "icu_stay_id"
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "@type": "cr:Field",
322
+ "@id": "icu_stays/enter_time",
323
+ "name": "enter_time",
324
+ "description": "ICU admission time (shifted MIMIC time).",
325
+ "dataType": "sc:DateTime",
326
+ "source": {
327
+ "fileObject": {
328
+ "@id": "icu_stays-parquet"
329
+ },
330
+ "extract": {
331
+ "column": "enter_time"
332
+ }
333
+ }
334
+ },
335
+ {
336
+ "@type": "cr:Field",
337
+ "@id": "icu_stays/leave_time",
338
+ "name": "leave_time",
339
+ "description": "ICU discharge time.",
340
+ "dataType": "sc:DateTime",
341
+ "source": {
342
+ "fileObject": {
343
+ "@id": "icu_stays-parquet"
344
+ },
345
+ "extract": {
346
+ "column": "leave_time"
347
+ }
348
+ }
349
+ },
350
+ {
351
+ "@type": "cr:Field",
352
+ "@id": "icu_stays/enter_event_idx",
353
+ "name": "enter_event_idx",
354
+ "description": "Source event index of the ICU admission event.",
355
+ "dataType": "sc:Integer",
356
+ "source": {
357
+ "fileObject": {
358
+ "@id": "icu_stays-parquet"
359
+ },
360
+ "extract": {
361
+ "column": "enter_event_idx"
362
+ }
363
+ }
364
+ },
365
+ {
366
+ "@type": "cr:Field",
367
+ "@id": "icu_stays/death_time",
368
+ "name": "death_time",
369
+ "description": "Time of death; null for patients without a recorded death.",
370
+ "dataType": "sc:DateTime",
371
+ "source": {
372
+ "fileObject": {
373
+ "@id": "icu_stays-parquet"
374
+ },
375
+ "extract": {
376
+ "column": "death_time"
377
+ }
378
+ }
379
+ },
380
+ {
381
+ "@type": "cr:Field",
382
+ "@id": "icu_stays/death_event_idx",
383
+ "name": "death_event_idx",
384
+ "description": "Source event index of the death event; null without a recorded death.",
385
+ "dataType": "sc:Integer",
386
+ "source": {
387
+ "fileObject": {
388
+ "@id": "icu_stays-parquet"
389
+ },
390
+ "extract": {
391
+ "column": "death_event_idx"
392
+ }
393
+ }
394
+ },
395
+ {
396
+ "@type": "cr:Field",
397
+ "@id": "icu_stays/birth_time",
398
+ "name": "birth_time",
399
+ "description": "Shifted birth time used to derive age.",
400
+ "dataType": "sc:DateTime",
401
+ "source": {
402
+ "fileObject": {
403
+ "@id": "icu_stays-parquet"
404
+ },
405
+ "extract": {
406
+ "column": "birth_time"
407
+ }
408
+ }
409
+ },
410
+ {
411
+ "@type": "cr:Field",
412
+ "@id": "icu_stays/birth_event_idx",
413
+ "name": "birth_event_idx",
414
+ "description": "Source event index of the birth event.",
415
+ "dataType": "sc:Integer",
416
+ "source": {
417
+ "fileObject": {
418
+ "@id": "icu_stays-parquet"
419
+ },
420
+ "extract": {
421
+ "column": "birth_event_idx"
422
+ }
423
+ }
424
+ },
425
+ {
426
+ "@type": "cr:Field",
427
+ "@id": "icu_stays/min_event_idx",
428
+ "name": "min_event_idx",
429
+ "description": "First source event index of the published trajectory.",
430
+ "dataType": "sc:Integer",
431
+ "source": {
432
+ "fileObject": {
433
+ "@id": "icu_stays-parquet"
434
+ },
435
+ "extract": {
436
+ "column": "min_event_idx"
437
+ }
438
+ }
439
+ },
440
+ {
441
+ "@type": "cr:Field",
442
+ "@id": "icu_stays/max_event_idx",
443
+ "name": "max_event_idx",
444
+ "description": "Last source event index of the published trajectory.",
445
+ "dataType": "sc:Integer",
446
+ "source": {
447
+ "fileObject": {
448
+ "@id": "icu_stays-parquet"
449
+ },
450
+ "extract": {
451
+ "column": "max_event_idx"
452
+ }
453
+ }
454
+ },
455
+ {
456
+ "@type": "cr:Field",
457
+ "@id": "icu_stays/n_events",
458
+ "name": "n_events",
459
+ "description": "Number of events in the published trajectory.",
460
+ "dataType": "sc:Integer",
461
+ "source": {
462
+ "fileObject": {
463
+ "@id": "icu_stays-parquet"
464
+ },
465
+ "extract": {
466
+ "column": "n_events"
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "@type": "cr:Field",
472
+ "@id": "icu_stays/icu_duration_hours",
473
+ "name": "icu_duration_hours",
474
+ "description": "Whole hours between ICU admission and discharge.",
475
+ "dataType": "sc:Integer",
476
+ "source": {
477
+ "fileObject": {
478
+ "@id": "icu_stays-parquet"
479
+ },
480
+ "extract": {
481
+ "column": "icu_duration_hours"
482
+ }
483
+ }
484
+ },
485
+ {
486
+ "@type": "cr:Field",
487
+ "@id": "icu_stays/survived",
488
+ "name": "survived",
489
+ "description": "Whether the patient survived the target ICU stay.",
490
+ "dataType": "sc:Boolean",
491
+ "source": {
492
+ "fileObject": {
493
+ "@id": "icu_stays-parquet"
494
+ },
495
+ "extract": {
496
+ "column": "survived"
497
+ }
498
+ }
499
+ },
500
+ {
501
+ "@type": "cr:Field",
502
+ "@id": "icu_stays/readm_time",
503
+ "name": "readm_time",
504
+ "description": "Time of ICU readmission; null without readmission.",
505
+ "dataType": "sc:DateTime",
506
+ "source": {
507
+ "fileObject": {
508
+ "@id": "icu_stays-parquet"
509
+ },
510
+ "extract": {
511
+ "column": "readm_time"
512
+ }
513
+ }
514
+ },
515
+ {
516
+ "@type": "cr:Field",
517
+ "@id": "icu_stays/readm_event_idx",
518
+ "name": "readm_event_idx",
519
+ "description": "Source event index of the readmission; null without readmission.",
520
+ "dataType": "sc:Integer",
521
+ "source": {
522
+ "fileObject": {
523
+ "@id": "icu_stays-parquet"
524
+ },
525
+ "extract": {
526
+ "column": "readm_event_idx"
527
+ }
528
+ }
529
+ },
530
+ {
531
+ "@type": "cr:Field",
532
+ "@id": "icu_stays/readm_duration_hours",
533
+ "name": "readm_duration_hours",
534
+ "description": "Hours from discharge to ICU readmission; null without readmission.",
535
+ "dataType": "sc:Float",
536
+ "source": {
537
+ "fileObject": {
538
+ "@id": "icu_stays-parquet"
539
+ },
540
+ "extract": {
541
+ "column": "readm_duration_hours"
542
+ }
543
+ }
544
+ },
545
+ {
546
+ "@type": "cr:Field",
547
+ "@id": "icu_stays/shard_idx",
548
+ "name": "shard_idx",
549
+ "description": "Shard of the upstream preprocessing pipeline; not used by RealICU.",
550
+ "dataType": "sc:Integer",
551
+ "source": {
552
+ "fileObject": {
553
+ "@id": "icu_stays-parquet"
554
+ },
555
+ "extract": {
556
+ "column": "shard_idx"
557
+ }
558
+ }
559
+ },
560
+ {
561
+ "@type": "cr:Field",
562
+ "@id": "icu_stays/split",
563
+ "name": "split",
564
+ "description": "Split inherited from upstream preprocessing; not a RealICU benchmark split.",
565
+ "dataType": "sc:Text",
566
+ "source": {
567
+ "fileObject": {
568
+ "@id": "icu_stays-parquet"
569
+ },
570
+ "extract": {
571
+ "column": "split"
572
+ }
573
+ }
574
+ },
575
+ {
576
+ "@type": "cr:Field",
577
+ "@id": "icu_stays/stay_id",
578
+ "name": "stay_id",
579
+ "description": "Target stay key formatted as <subject_id>_<icu_stay_id>; joins trajectories and labels.",
580
+ "dataType": "sc:Text",
581
+ "source": {
582
+ "fileObject": {
583
+ "@id": "icu_stays-parquet"
584
+ },
585
+ "extract": {
586
+ "column": "stay_id"
587
+ }
588
+ }
589
+ }
590
+ ]
591
+ },
592
+ {
593
+ "@type": "cr:RecordSet",
594
+ "@id": "events",
595
+ "name": "events",
596
+ "description": "One clinical event per row across each patient's published trajectory, sorted by time and source event index within a stay.",
597
+ "key": [
598
+ {
599
+ "@id": "events/stay_id"
600
+ },
601
+ {
602
+ "@id": "events/event_index"
603
+ }
604
+ ],
605
+ "field": [
606
+ {
607
+ "@type": "cr:Field",
608
+ "@id": "events/subject_id",
609
+ "name": "subject_id",
610
+ "description": "MIMIC-IV patient identifier.",
611
+ "dataType": "sc:Integer",
612
+ "source": {
613
+ "fileObject": {
614
+ "@id": "events-parquet"
615
+ },
616
+ "extract": {
617
+ "column": "subject_id"
618
+ }
619
+ }
620
+ },
621
+ {
622
+ "@type": "cr:Field",
623
+ "@id": "events/time",
624
+ "name": "time",
625
+ "description": "Event time (shifted MIMIC time).",
626
+ "dataType": "sc:DateTime",
627
+ "source": {
628
+ "fileObject": {
629
+ "@id": "events-parquet"
630
+ },
631
+ "extract": {
632
+ "column": "time"
633
+ }
634
+ }
635
+ },
636
+ {
637
+ "@type": "cr:Field",
638
+ "@id": "events/code",
639
+ "name": "code",
640
+ "description": "Harmonized event category, for example VITALS, LAB_TEST, DRUG_START, or NOTE_RADIOLOGYREPORT.",
641
+ "dataType": "sc:Text",
642
+ "source": {
643
+ "fileObject": {
644
+ "@id": "events-parquet"
645
+ },
646
+ "extract": {
647
+ "column": "code"
648
+ }
649
+ }
650
+ },
651
+ {
652
+ "@type": "cr:Field",
653
+ "@id": "events/numeric_value",
654
+ "name": "numeric_value",
655
+ "description": "Numeric measurement, when available.",
656
+ "dataType": "sc:Float",
657
+ "source": {
658
+ "fileObject": {
659
+ "@id": "events-parquet"
660
+ },
661
+ "extract": {
662
+ "column": "numeric_value"
663
+ }
664
+ }
665
+ },
666
+ {
667
+ "@type": "cr:Field",
668
+ "@id": "events/event_idx",
669
+ "name": "event_idx",
670
+ "description": "Original source event identifier; equal to source_event_index.",
671
+ "dataType": "sc:Integer",
672
+ "source": {
673
+ "fileObject": {
674
+ "@id": "events-parquet"
675
+ },
676
+ "extract": {
677
+ "column": "event_idx"
678
+ }
679
+ }
680
+ },
681
+ {
682
+ "@type": "cr:Field",
683
+ "@id": "events/code_specifics",
684
+ "name": "code_specifics",
685
+ "description": "Event description, such as the measurement, drug, or procedure name.",
686
+ "dataType": "sc:Text",
687
+ "source": {
688
+ "fileObject": {
689
+ "@id": "events-parquet"
690
+ },
691
+ "extract": {
692
+ "column": "code_specifics"
693
+ }
694
+ }
695
+ },
696
+ {
697
+ "@type": "cr:Field",
698
+ "@id": "events/ed_stay_id",
699
+ "name": "ed_stay_id",
700
+ "description": "MIMIC-IV-ED stay identifier of the event's own encounter, when applicable.",
701
+ "dataType": "sc:Float",
702
+ "source": {
703
+ "fileObject": {
704
+ "@id": "events-parquet"
705
+ },
706
+ "extract": {
707
+ "column": "ed_stay_id"
708
+ }
709
+ }
710
+ },
711
+ {
712
+ "@type": "cr:Field",
713
+ "@id": "events/end",
714
+ "name": "end",
715
+ "description": "End time for interval events, when applicable.",
716
+ "dataType": "sc:DateTime",
717
+ "source": {
718
+ "fileObject": {
719
+ "@id": "events-parquet"
720
+ },
721
+ "extract": {
722
+ "column": "end"
723
+ }
724
+ }
725
+ },
726
+ {
727
+ "@type": "cr:Field",
728
+ "@id": "events/hosp_stay_id",
729
+ "name": "hosp_stay_id",
730
+ "description": "MIMIC-IV hospital admission identifier of the event's own encounter, when applicable.",
731
+ "dataType": "sc:Float",
732
+ "source": {
733
+ "fileObject": {
734
+ "@id": "events-parquet"
735
+ },
736
+ "extract": {
737
+ "column": "hosp_stay_id"
738
+ }
739
+ }
740
+ },
741
+ {
742
+ "@type": "cr:Field",
743
+ "@id": "events/icu_stay_id",
744
+ "name": "icu_stay_id",
745
+ "description": "ICU stay identifier of the event's own encounter; may differ from the target stay.",
746
+ "dataType": "sc:Float",
747
+ "source": {
748
+ "fileObject": {
749
+ "@id": "events-parquet"
750
+ },
751
+ "extract": {
752
+ "column": "icu_stay_id"
753
+ }
754
+ }
755
+ },
756
+ {
757
+ "@type": "cr:Field",
758
+ "@id": "events/orig_code",
759
+ "name": "orig_code",
760
+ "description": "Original source code, such as an ICD or GSN code, when applicable.",
761
+ "dataType": "sc:Text",
762
+ "source": {
763
+ "fileObject": {
764
+ "@id": "events-parquet"
765
+ },
766
+ "extract": {
767
+ "column": "orig_code"
768
+ }
769
+ }
770
+ },
771
+ {
772
+ "@type": "cr:Field",
773
+ "@id": "events/orig_coding_system",
774
+ "name": "orig_coding_system",
775
+ "description": "Coding system of orig_code, such as ICD9, ICD10, or GSN.",
776
+ "dataType": "sc:Text",
777
+ "source": {
778
+ "fileObject": {
779
+ "@id": "events-parquet"
780
+ },
781
+ "extract": {
782
+ "column": "orig_coding_system"
783
+ }
784
+ }
785
+ },
786
+ {
787
+ "@type": "cr:Field",
788
+ "@id": "events/seq_num",
789
+ "name": "seq_num",
790
+ "description": "Source sequence number, such as diagnosis priority, when applicable.",
791
+ "dataType": "sc:Text",
792
+ "source": {
793
+ "fileObject": {
794
+ "@id": "events-parquet"
795
+ },
796
+ "extract": {
797
+ "column": "seq_num"
798
+ }
799
+ }
800
+ },
801
+ {
802
+ "@type": "cr:Field",
803
+ "@id": "events/table",
804
+ "name": "table",
805
+ "description": "Source MIMIC module and table, such as icu/chartevents or note/radiology.",
806
+ "dataType": "sc:Text",
807
+ "source": {
808
+ "fileObject": {
809
+ "@id": "events-parquet"
810
+ },
811
+ "extract": {
812
+ "column": "table"
813
+ }
814
+ }
815
+ },
816
+ {
817
+ "@type": "cr:Field",
818
+ "@id": "events/text_value",
819
+ "name": "text_value",
820
+ "description": "Textual value, including note text and record references.",
821
+ "dataType": "sc:Text",
822
+ "source": {
823
+ "fileObject": {
824
+ "@id": "events-parquet"
825
+ },
826
+ "extract": {
827
+ "column": "text_value"
828
+ }
829
+ }
830
+ },
831
+ {
832
+ "@type": "cr:Field",
833
+ "@id": "events/text_value_hash",
834
+ "name": "text_value_hash",
835
+ "description": "Upstream hash of text_value; null when text_value is absent.",
836
+ "dataType": "sc:Float",
837
+ "source": {
838
+ "fileObject": {
839
+ "@id": "events-parquet"
840
+ },
841
+ "extract": {
842
+ "column": "text_value_hash"
843
+ }
844
+ }
845
+ },
846
+ {
847
+ "@type": "cr:Field",
848
+ "@id": "events/age",
849
+ "name": "age",
850
+ "description": "Patient age in years at the event.",
851
+ "dataType": "sc:Float",
852
+ "source": {
853
+ "fileObject": {
854
+ "@id": "events-parquet"
855
+ },
856
+ "extract": {
857
+ "column": "age"
858
+ }
859
+ }
860
+ },
861
+ {
862
+ "@type": "cr:Field",
863
+ "@id": "events/time_delta_prev",
864
+ "name": "time_delta_prev",
865
+ "description": "Hours since the previous event in the trajectory.",
866
+ "dataType": "sc:Float",
867
+ "source": {
868
+ "fileObject": {
869
+ "@id": "events-parquet"
870
+ },
871
+ "extract": {
872
+ "column": "time_delta_prev"
873
+ }
874
+ }
875
+ },
876
+ {
877
+ "@type": "cr:Field",
878
+ "@id": "events/stay_id",
879
+ "name": "stay_id",
880
+ "description": "Target stay key formatted as <subject_id>_<icu_stay_id>; use it for joins.",
881
+ "dataType": "sc:Text",
882
+ "source": {
883
+ "fileObject": {
884
+ "@id": "events-parquet"
885
+ },
886
+ "extract": {
887
+ "column": "stay_id"
888
+ }
889
+ }
890
+ },
891
+ {
892
+ "@type": "cr:Field",
893
+ "@id": "events/source_event_index",
894
+ "name": "source_event_index",
895
+ "description": "Original source event identifier.",
896
+ "dataType": "sc:Integer",
897
+ "source": {
898
+ "fileObject": {
899
+ "@id": "events-parquet"
900
+ },
901
+ "extract": {
902
+ "column": "source_event_index"
903
+ }
904
+ }
905
+ },
906
+ {
907
+ "@type": "cr:Field",
908
+ "@id": "events/event_index",
909
+ "name": "event_index",
910
+ "description": "Zero-based position in the published trajectory.",
911
+ "dataType": "sc:Integer",
912
+ "source": {
913
+ "fileObject": {
914
+ "@id": "events-parquet"
915
+ },
916
+ "extract": {
917
+ "column": "event_index"
918
+ }
919
+ }
920
+ },
921
+ {
922
+ "@type": "cr:Field",
923
+ "@id": "events/icu_event_index",
924
+ "name": "icu_event_index",
925
+ "description": "Zero-based chronological event ID within the target ICU stay; null outside it. Label action and evidence IDs refer to it.",
926
+ "dataType": "sc:Integer",
927
+ "source": {
928
+ "fileObject": {
929
+ "@id": "events-parquet"
930
+ },
931
+ "extract": {
932
+ "column": "icu_event_index"
933
+ }
934
+ }
935
+ }
936
+ ]
937
+ },
938
+ {
939
+ "@type": "cr:RecordSet",
940
+ "@id": "windows",
941
+ "name": "windows",
942
+ "description": "One annotated evaluation window per record. Covers RealICU-Gold and RealICU-Scale; filter by label_set.",
943
+ "key": [
944
+ {
945
+ "@id": "windows/sample_id"
946
+ }
947
+ ],
948
+ "field": [
949
+ {
950
+ "@type": "cr:Field",
951
+ "@id": "windows/sample_id",
952
+ "name": "sample_id",
953
+ "description": "Window identifier formatted as <label_set>/<stay_id>/<window_key>.",
954
+ "dataType": "sc:Text",
955
+ "source": {
956
+ "fileSet": {
957
+ "@id": "labels-windows"
958
+ },
959
+ "extract": {
960
+ "jsonPath": "$.window_outputs[*].sample_id"
961
+ }
962
+ }
963
+ },
964
+ {
965
+ "@type": "cr:Field",
966
+ "@id": "windows/label_set",
967
+ "name": "label_set",
968
+ "description": "Annotation set: gold (RealICU-Gold) or scale (RealICU-Scale).",
969
+ "dataType": "sc:Text",
970
+ "source": {
971
+ "fileSet": {
972
+ "@id": "labels-windows"
973
+ },
974
+ "extract": {
975
+ "jsonPath": "$.window_outputs[*].sample_id"
976
+ },
977
+ "transform": {
978
+ "regex": "^([^/]+)/"
979
+ }
980
+ }
981
+ },
982
+ {
983
+ "@type": "cr:Field",
984
+ "@id": "windows/stay_id",
985
+ "name": "stay_id",
986
+ "description": "Target stay key; joins icu_stays and events.",
987
+ "dataType": "sc:Text",
988
+ "source": {
989
+ "fileSet": {
990
+ "@id": "labels-windows"
991
+ },
992
+ "extract": {
993
+ "jsonPath": "$.window_outputs[*].sample_id"
994
+ },
995
+ "transform": {
996
+ "regex": "^[^/]+/([^/]+)/"
997
+ }
998
+ }
999
+ },
1000
+ {
1001
+ "@type": "cr:Field",
1002
+ "@id": "windows/window_index",
1003
+ "name": "window_index",
1004
+ "description": "Window index within the stay's label file; may be nonconsecutive.",
1005
+ "dataType": "sc:Integer",
1006
+ "source": {
1007
+ "fileSet": {
1008
+ "@id": "labels-windows"
1009
+ },
1010
+ "extract": {
1011
+ "jsonPath": "$.window_outputs[*].window_index"
1012
+ }
1013
+ }
1014
+ },
1015
+ {
1016
+ "@type": "cr:Field",
1017
+ "@id": "windows/window_key",
1018
+ "name": "window_key",
1019
+ "description": "Nominal window bounds in hours since ICU admission, formatted as <start>|<end>.",
1020
+ "dataType": "sc:Text",
1021
+ "source": {
1022
+ "fileSet": {
1023
+ "@id": "labels-windows"
1024
+ },
1025
+ "extract": {
1026
+ "jsonPath": "$.window_outputs[*].window_key"
1027
+ }
1028
+ }
1029
+ },
1030
+ {
1031
+ "@type": "cr:Field",
1032
+ "@id": "windows/window_start_time",
1033
+ "name": "window_start_time",
1034
+ "description": "Inclusive window start used to select events.",
1035
+ "dataType": "sc:DateTime",
1036
+ "source": {
1037
+ "fileSet": {
1038
+ "@id": "labels-windows"
1039
+ },
1040
+ "extract": {
1041
+ "jsonPath": "$.window_outputs[*].window_metadata.window_start_time"
1042
+ }
1043
+ }
1044
+ },
1045
+ {
1046
+ "@type": "cr:Field",
1047
+ "@id": "windows/window_end_time",
1048
+ "name": "window_end_time",
1049
+ "description": "Exclusive window end used to select events.",
1050
+ "dataType": "sc:DateTime",
1051
+ "source": {
1052
+ "fileSet": {
1053
+ "@id": "labels-windows"
1054
+ },
1055
+ "extract": {
1056
+ "jsonPath": "$.window_outputs[*].window_metadata.window_end_time"
1057
+ }
1058
+ }
1059
+ },
1060
+ {
1061
+ "@type": "cr:Field",
1062
+ "@id": "windows/patient_status",
1063
+ "name": "patient_status",
1064
+ "description": "Patient Status reference: stable, improving, deteriorating, or insufficient_data; unavailable when patient_status_available is false.",
1065
+ "dataType": "sc:Text",
1066
+ "source": {
1067
+ "fileSet": {
1068
+ "@id": "labels-windows"
1069
+ },
1070
+ "extract": {
1071
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.overall.label"
1072
+ }
1073
+ }
1074
+ },
1075
+ {
1076
+ "@type": "cr:Field",
1077
+ "@id": "windows/patient_status_rationale",
1078
+ "name": "patient_status_rationale",
1079
+ "description": "Oracle rationale for the Patient Status label.",
1080
+ "dataType": "sc:Text",
1081
+ "source": {
1082
+ "fileSet": {
1083
+ "@id": "labels-windows"
1084
+ },
1085
+ "extract": {
1086
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.overall.rationale"
1087
+ }
1088
+ }
1089
+ },
1090
+ {
1091
+ "@type": "cr:Field",
1092
+ "@id": "windows/patient_status_available",
1093
+ "name": "patient_status_available",
1094
+ "description": "Whether the Patient Status reference can be used for evaluation.",
1095
+ "dataType": "sc:Boolean",
1096
+ "source": {
1097
+ "fileSet": {
1098
+ "@id": "labels-windows"
1099
+ },
1100
+ "extract": {
1101
+ "jsonPath": "$.window_outputs[*].label_availability.patient_status"
1102
+ }
1103
+ }
1104
+ },
1105
+ {
1106
+ "@type": "cr:Field",
1107
+ "@id": "windows/active_risks_available",
1108
+ "name": "active_risks_available",
1109
+ "description": "Whether the Acute Problems reference can be used for evaluation.",
1110
+ "dataType": "sc:Boolean",
1111
+ "source": {
1112
+ "fileSet": {
1113
+ "@id": "labels-windows"
1114
+ },
1115
+ "extract": {
1116
+ "jsonPath": "$.window_outputs[*].label_availability.active_risks"
1117
+ }
1118
+ }
1119
+ },
1120
+ {
1121
+ "@type": "cr:Field",
1122
+ "@id": "windows/recommended_action_available",
1123
+ "name": "recommended_action_available",
1124
+ "description": "Whether the Recommended Actions reference can be used for evaluation.",
1125
+ "dataType": "sc:Boolean",
1126
+ "source": {
1127
+ "fileSet": {
1128
+ "@id": "labels-windows"
1129
+ },
1130
+ "extract": {
1131
+ "jsonPath": "$.window_outputs[*].label_availability.recommended_action"
1132
+ }
1133
+ }
1134
+ },
1135
+ {
1136
+ "@type": "cr:Field",
1137
+ "@id": "windows/red_flags_available",
1138
+ "name": "red_flags_available",
1139
+ "description": "Whether the Red Flag Actions reference can be used for evaluation.",
1140
+ "dataType": "sc:Boolean",
1141
+ "source": {
1142
+ "fileSet": {
1143
+ "@id": "labels-windows"
1144
+ },
1145
+ "extract": {
1146
+ "jsonPath": "$.window_outputs[*].label_availability.red_flags"
1147
+ }
1148
+ }
1149
+ }
1150
+ ]
1151
+ },
1152
+ {
1153
+ "@type": "cr:RecordSet",
1154
+ "@id": "action_evaluations",
1155
+ "name": "action_evaluations",
1156
+ "description": "Recommended Actions task: one rated recorded action per record. Covers RealICU-Gold and RealICU-Scale; filter by label_set.",
1157
+ "field": [
1158
+ {
1159
+ "@type": "cr:Field",
1160
+ "@id": "action_evaluations/sample_id",
1161
+ "name": "sample_id",
1162
+ "description": "Window identifier formatted as <label_set>/<stay_id>/<window_key>.",
1163
+ "dataType": "sc:Text",
1164
+ "source": {
1165
+ "fileSet": {
1166
+ "@id": "labels-action_evaluations"
1167
+ },
1168
+ "extract": {
1169
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1170
+ }
1171
+ }
1172
+ },
1173
+ {
1174
+ "@type": "cr:Field",
1175
+ "@id": "action_evaluations/label_set",
1176
+ "name": "label_set",
1177
+ "description": "Annotation set: gold (RealICU-Gold) or scale (RealICU-Scale).",
1178
+ "dataType": "sc:Text",
1179
+ "source": {
1180
+ "fileSet": {
1181
+ "@id": "labels-action_evaluations"
1182
+ },
1183
+ "extract": {
1184
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1185
+ },
1186
+ "transform": {
1187
+ "regex": "^([^/]+)/"
1188
+ }
1189
+ }
1190
+ },
1191
+ {
1192
+ "@type": "cr:Field",
1193
+ "@id": "action_evaluations/stay_id",
1194
+ "name": "stay_id",
1195
+ "description": "Target stay key; joins icu_stays and events.",
1196
+ "dataType": "sc:Text",
1197
+ "source": {
1198
+ "fileSet": {
1199
+ "@id": "labels-action_evaluations"
1200
+ },
1201
+ "extract": {
1202
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1203
+ },
1204
+ "transform": {
1205
+ "regex": "^[^/]+/([^/]+)/"
1206
+ }
1207
+ }
1208
+ },
1209
+ {
1210
+ "@type": "cr:Field",
1211
+ "@id": "action_evaluations/action_id",
1212
+ "name": "action_id",
1213
+ "description": "icu_event_index of the rated action within the target stay, stored as a string.",
1214
+ "dataType": "sc:Text",
1215
+ "source": {
1216
+ "fileSet": {
1217
+ "@id": "labels-action_evaluations"
1218
+ },
1219
+ "extract": {
1220
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].action_id"
1221
+ }
1222
+ }
1223
+ },
1224
+ {
1225
+ "@type": "cr:Field",
1226
+ "@id": "action_evaluations/action_name",
1227
+ "name": "action_name",
1228
+ "description": "Event code and description of the rated action.",
1229
+ "dataType": "sc:Text",
1230
+ "source": {
1231
+ "fileSet": {
1232
+ "@id": "labels-action_evaluations"
1233
+ },
1234
+ "extract": {
1235
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].action_name"
1236
+ }
1237
+ }
1238
+ },
1239
+ {
1240
+ "@type": "cr:Field",
1241
+ "@id": "action_evaluations/label",
1242
+ "name": "label",
1243
+ "description": "best_practice, acceptable, potentially_harmful, or insufficient_data; best_practice and acceptable form the positive reference set.",
1244
+ "dataType": "sc:Text",
1245
+ "source": {
1246
+ "fileSet": {
1247
+ "@id": "labels-action_evaluations"
1248
+ },
1249
+ "extract": {
1250
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].label"
1251
+ }
1252
+ }
1253
+ },
1254
+ {
1255
+ "@type": "cr:Field",
1256
+ "@id": "action_evaluations/rationale",
1257
+ "name": "rationale",
1258
+ "description": "Oracle rationale for the rating.",
1259
+ "dataType": "sc:Text",
1260
+ "source": {
1261
+ "fileSet": {
1262
+ "@id": "labels-action_evaluations"
1263
+ },
1264
+ "extract": {
1265
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.evaluations[*].rationale"
1266
+ }
1267
+ }
1268
+ }
1269
+ ]
1270
+ },
1271
+ {
1272
+ "@type": "cr:RecordSet",
1273
+ "@id": "active_risks",
1274
+ "name": "active_risks",
1275
+ "description": "Acute Problems task: one active clinical problem or emerging risk per record. Covers RealICU-Gold and RealICU-Scale; filter by label_set.",
1276
+ "field": [
1277
+ {
1278
+ "@type": "cr:Field",
1279
+ "@id": "active_risks/sample_id",
1280
+ "name": "sample_id",
1281
+ "description": "Window identifier formatted as <label_set>/<stay_id>/<window_key>.",
1282
+ "dataType": "sc:Text",
1283
+ "source": {
1284
+ "fileSet": {
1285
+ "@id": "labels-active_risks"
1286
+ },
1287
+ "extract": {
1288
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.active_risks[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1289
+ }
1290
+ }
1291
+ },
1292
+ {
1293
+ "@type": "cr:Field",
1294
+ "@id": "active_risks/label_set",
1295
+ "name": "label_set",
1296
+ "description": "Annotation set: gold (RealICU-Gold) or scale (RealICU-Scale).",
1297
+ "dataType": "sc:Text",
1298
+ "source": {
1299
+ "fileSet": {
1300
+ "@id": "labels-active_risks"
1301
+ },
1302
+ "extract": {
1303
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.active_risks[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1304
+ },
1305
+ "transform": {
1306
+ "regex": "^([^/]+)/"
1307
+ }
1308
+ }
1309
+ },
1310
+ {
1311
+ "@type": "cr:Field",
1312
+ "@id": "active_risks/stay_id",
1313
+ "name": "stay_id",
1314
+ "description": "Target stay key; joins icu_stays and events.",
1315
+ "dataType": "sc:Text",
1316
+ "source": {
1317
+ "fileSet": {
1318
+ "@id": "labels-active_risks"
1319
+ },
1320
+ "extract": {
1321
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.active_risks[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1322
+ },
1323
+ "transform": {
1324
+ "regex": "^[^/]+/([^/]+)/"
1325
+ }
1326
+ }
1327
+ },
1328
+ {
1329
+ "@type": "cr:Field",
1330
+ "@id": "active_risks/risk_name",
1331
+ "name": "risk_name",
1332
+ "description": "Name of the active problem or risk.",
1333
+ "dataType": "sc:Text",
1334
+ "source": {
1335
+ "fileSet": {
1336
+ "@id": "labels-active_risks"
1337
+ },
1338
+ "extract": {
1339
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.active_risks[*].risk_name"
1340
+ }
1341
+ }
1342
+ },
1343
+ {
1344
+ "@type": "cr:Field",
1345
+ "@id": "active_risks/key_evidence",
1346
+ "name": "key_evidence",
1347
+ "description": "Supporting evidence; numeric strings are icu_event_index values, other entries name summaries such as pre-ICU history.",
1348
+ "dataType": "sc:Text",
1349
+ "source": {
1350
+ "fileSet": {
1351
+ "@id": "labels-active_risks"
1352
+ },
1353
+ "extract": {
1354
+ "jsonPath": "$.window_outputs[*].reference_labels.patient_assessment.active_risks[*].key_evidence"
1355
+ }
1356
+ },
1357
+ "isArray": true,
1358
+ "arrayShape": "-1"
1359
+ }
1360
+ ]
1361
+ },
1362
+ {
1363
+ "@type": "cr:RecordSet",
1364
+ "@id": "red_flags",
1365
+ "name": "red_flags",
1366
+ "description": "Red Flag Actions task: one action to avoid per record. Covers RealICU-Gold and RealICU-Scale; filter by label_set.",
1367
+ "field": [
1368
+ {
1369
+ "@type": "cr:Field",
1370
+ "@id": "red_flags/sample_id",
1371
+ "name": "sample_id",
1372
+ "description": "Window identifier formatted as <label_set>/<stay_id>/<window_key>.",
1373
+ "dataType": "sc:Text",
1374
+ "source": {
1375
+ "fileSet": {
1376
+ "@id": "labels-red_flags"
1377
+ },
1378
+ "extract": {
1379
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1380
+ }
1381
+ }
1382
+ },
1383
+ {
1384
+ "@type": "cr:Field",
1385
+ "@id": "red_flags/label_set",
1386
+ "name": "label_set",
1387
+ "description": "Annotation set: gold (RealICU-Gold) or scale (RealICU-Scale).",
1388
+ "dataType": "sc:Text",
1389
+ "source": {
1390
+ "fileSet": {
1391
+ "@id": "labels-red_flags"
1392
+ },
1393
+ "extract": {
1394
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1395
+ },
1396
+ "transform": {
1397
+ "regex": "^([^/]+)/"
1398
+ }
1399
+ }
1400
+ },
1401
+ {
1402
+ "@type": "cr:Field",
1403
+ "@id": "red_flags/stay_id",
1404
+ "name": "stay_id",
1405
+ "description": "Target stay key; joins icu_stays and events.",
1406
+ "dataType": "sc:Text",
1407
+ "source": {
1408
+ "fileSet": {
1409
+ "@id": "labels-red_flags"
1410
+ },
1411
+ "extract": {
1412
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].`parent`.`parent`.`parent`.`parent`.sample_id"
1413
+ },
1414
+ "transform": {
1415
+ "regex": "^[^/]+/([^/]+)/"
1416
+ }
1417
+ }
1418
+ },
1419
+ {
1420
+ "@type": "cr:Field",
1421
+ "@id": "red_flags/contraindicated_action",
1422
+ "name": "contraindicated_action",
1423
+ "description": "Action to avoid in this window.",
1424
+ "dataType": "sc:Text",
1425
+ "source": {
1426
+ "fileSet": {
1427
+ "@id": "labels-red_flags"
1428
+ },
1429
+ "extract": {
1430
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].contraindicated_action"
1431
+ }
1432
+ }
1433
+ },
1434
+ {
1435
+ "@type": "cr:Field",
1436
+ "@id": "red_flags/rationale",
1437
+ "name": "rationale",
1438
+ "description": "Oracle rationale for the red flag.",
1439
+ "dataType": "sc:Text",
1440
+ "source": {
1441
+ "fileSet": {
1442
+ "@id": "labels-red_flags"
1443
+ },
1444
+ "extract": {
1445
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].rationale"
1446
+ }
1447
+ }
1448
+ },
1449
+ {
1450
+ "@type": "cr:Field",
1451
+ "@id": "red_flags/key_evidence",
1452
+ "name": "key_evidence",
1453
+ "description": "Supporting evidence; numeric strings are icu_event_index values, other entries name summaries such as pre-ICU history.",
1454
+ "dataType": "sc:Text",
1455
+ "source": {
1456
+ "fileSet": {
1457
+ "@id": "labels-red_flags"
1458
+ },
1459
+ "extract": {
1460
+ "jsonPath": "$.window_outputs[*].reference_labels.action_review.red_flags[*].key_evidence"
1461
+ }
1462
+ },
1463
+ "isArray": true,
1464
+ "arrayShape": "-1"
1465
+ }
1466
+ ]
1467
+ }
1468
+ ]
1469
+ }
gold/labels/90000001_99000001.json ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000001,
3
+ "icu_stay_id": 99000001,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2151-03-14T06:42:17",
6
+ "leave_time": "2151-03-15T09:27:17",
7
+ "age": 68.40049107029685,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 26,
10
+ "icu_duration_hours": 26,
11
+ "survived": true,
12
+ "icu_outcome": "Survived after ICU",
13
+ "death_time": null,
14
+ "total_events": 390
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2151-03-14T06:42:17",
21
+ "window_end_time": "2151-03-14T07:12:17",
22
+ "hours_since_admission": 0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 13
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "deteriorating",
30
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 66 mmHg, HR 109 bpm, SpO2 90%."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Septic shock",
35
+ "key_evidence": [
36
+ "3",
37
+ "16"
38
+ ]
39
+ },
40
+ {
41
+ "risk_name": "Hypoxemic respiratory failure",
42
+ "key_evidence": [
43
+ "4",
44
+ "7"
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ "action_review": {
50
+ "evaluations": [
51
+ {
52
+ "action_id": "9",
53
+ "action_name": "Head of Bed 30 Degrees",
54
+ "label": "best_practice",
55
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Escalating vasopressor need and rising lactate indicate worsening septic shock."
56
+ },
57
+ {
58
+ "action_id": "12",
59
+ "action_name": "BODY_INPUT NaCl 0.9%",
60
+ "label": "best_practice",
61
+ "rationale": "NaCl 0.9% is appropriate for septic shock from right lower lobe pneumonia."
62
+ }
63
+ ],
64
+ "red_flags": []
65
+ }
66
+ },
67
+ "sample_id": "gold/90000001_99000001/0.000000|0.500000",
68
+ "label_availability": {
69
+ "patient_status": true,
70
+ "recommended_action": true,
71
+ "active_risks": true,
72
+ "red_flags": true
73
+ },
74
+ "window_key": "0.000000|0.500000",
75
+ "window_duration_hours": 0.5
76
+ },
77
+ {
78
+ "window_index": 2,
79
+ "window_metadata": {
80
+ "window_start_time": "2151-03-14T07:42:17",
81
+ "window_end_time": "2151-03-14T08:12:17",
82
+ "hours_since_admission": 1,
83
+ "current_window_hours": 0.5,
84
+ "num_current_events": 9
85
+ },
86
+ "reference_labels": {
87
+ "patient_assessment": {
88
+ "overall": {
89
+ "label": "deteriorating",
90
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 63 mmHg, HR 115 bpm, SpO2 90%; latest lactate 3.32."
91
+ },
92
+ "active_risks": [
93
+ {
94
+ "risk_name": "Septic shock",
95
+ "key_evidence": [
96
+ "25",
97
+ "16"
98
+ ]
99
+ },
100
+ {
101
+ "risk_name": "Hypoxemic respiratory failure",
102
+ "key_evidence": [
103
+ "26",
104
+ "29"
105
+ ]
106
+ }
107
+ ]
108
+ },
109
+ "action_review": {
110
+ "evaluations": [
111
+ {
112
+ "action_id": "22",
113
+ "action_name": "Piperacillin-Tazobactam",
114
+ "label": "best_practice",
115
+ "rationale": "Piperacillin-Tazobactam is appropriate for septic shock from right lower lobe pneumonia."
116
+ },
117
+ {
118
+ "action_id": "23",
119
+ "action_name": "Vancomycin",
120
+ "label": "best_practice",
121
+ "rationale": "Vancomycin is appropriate for septic shock from right lower lobe pneumonia."
122
+ }
123
+ ],
124
+ "red_flags": []
125
+ }
126
+ },
127
+ "sample_id": "gold/90000001_99000001/1.000000|1.500000",
128
+ "label_availability": {
129
+ "patient_status": true,
130
+ "recommended_action": true,
131
+ "active_risks": true,
132
+ "red_flags": true
133
+ },
134
+ "window_key": "1.000000|1.500000",
135
+ "window_duration_hours": 0.5
136
+ },
137
+ {
138
+ "window_index": 5,
139
+ "window_metadata": {
140
+ "window_start_time": "2151-03-14T09:12:17",
141
+ "window_end_time": "2151-03-14T09:42:17",
142
+ "hours_since_admission": 2.5,
143
+ "current_window_hours": 0.5,
144
+ "num_current_events": 3
145
+ },
146
+ "reference_labels": {
147
+ "patient_assessment": {
148
+ "overall": {
149
+ "label": "unavailable",
150
+ "rationale": ""
151
+ },
152
+ "active_risks": [
153
+ {
154
+ "risk_name": "Septic shock",
155
+ "key_evidence": [
156
+ "46",
157
+ "16"
158
+ ]
159
+ },
160
+ {
161
+ "risk_name": "Hypoxemic respiratory failure",
162
+ "key_evidence": [
163
+ "47",
164
+ "42"
165
+ ]
166
+ }
167
+ ]
168
+ },
169
+ "action_review": {
170
+ "evaluations": [],
171
+ "red_flags": []
172
+ }
173
+ },
174
+ "sample_id": "gold/90000001_99000001/2.500000|3.000000",
175
+ "label_availability": {
176
+ "patient_status": false,
177
+ "recommended_action": true,
178
+ "active_risks": true,
179
+ "red_flags": true
180
+ },
181
+ "window_key": "2.500000|3.000000",
182
+ "window_duration_hours": 0.5
183
+ },
184
+ {
185
+ "window_index": 17,
186
+ "window_metadata": {
187
+ "window_start_time": "2151-03-14T15:12:17",
188
+ "window_end_time": "2151-03-14T15:42:17",
189
+ "hours_since_admission": 8.5,
190
+ "current_window_hours": 0.5,
191
+ "num_current_events": 3
192
+ },
193
+ "reference_labels": {
194
+ "patient_assessment": {
195
+ "overall": {
196
+ "label": "stable",
197
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 63 mmHg, HR 119 bpm, SpO2 94%; latest lactate 4.34."
198
+ },
199
+ "active_risks": [
200
+ {
201
+ "risk_name": "Septic shock",
202
+ "key_evidence": [
203
+ "125",
204
+ "85"
205
+ ]
206
+ },
207
+ {
208
+ "risk_name": "Acute kidney injury",
209
+ "key_evidence": [
210
+ "86",
211
+ "123"
212
+ ]
213
+ }
214
+ ]
215
+ },
216
+ "action_review": {
217
+ "evaluations": [],
218
+ "red_flags": [
219
+ {
220
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
221
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
222
+ "key_evidence": [
223
+ "126"
224
+ ]
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ "sample_id": "gold/90000001_99000001/8.500000|9.000000",
230
+ "label_availability": {
231
+ "patient_status": true,
232
+ "recommended_action": true,
233
+ "active_risks": true,
234
+ "red_flags": true
235
+ },
236
+ "window_key": "8.500000|9.000000",
237
+ "window_duration_hours": 0.5
238
+ },
239
+ {
240
+ "window_index": 26,
241
+ "window_metadata": {
242
+ "window_start_time": "2151-03-14T19:42:17",
243
+ "window_end_time": "2151-03-14T20:12:17",
244
+ "hours_since_admission": 13,
245
+ "current_window_hours": 0.5,
246
+ "num_current_events": 9
247
+ },
248
+ "reference_labels": {
249
+ "patient_assessment": {
250
+ "overall": {
251
+ "label": "stable",
252
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 68 mmHg, HR 107 bpm, SpO2 96%; latest lactate 2.62."
253
+ },
254
+ "active_risks": [
255
+ {
256
+ "risk_name": "Septic shock",
257
+ "key_evidence": [
258
+ "181",
259
+ "171"
260
+ ]
261
+ },
262
+ {
263
+ "risk_name": "Acute kidney injury",
264
+ "key_evidence": [
265
+ "172",
266
+ "187"
267
+ ]
268
+ }
269
+ ]
270
+ },
271
+ "action_review": {
272
+ "evaluations": [
273
+ {
274
+ "action_id": "179",
275
+ "action_name": "Ibuprofen",
276
+ "label": "potentially_harmful",
277
+ "rationale": "Ibuprofen risks worsening acute kidney injury in a patient with shock."
278
+ },
279
+ {
280
+ "action_id": "186",
281
+ "action_name": "BODY_INPUT Norepinephrine",
282
+ "label": "best_practice",
283
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
284
+ }
285
+ ],
286
+ "red_flags": [
287
+ {
288
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
289
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
290
+ "key_evidence": [
291
+ "182"
292
+ ]
293
+ }
294
+ ]
295
+ }
296
+ },
297
+ "sample_id": "gold/90000001_99000001/13.000000|13.500000",
298
+ "label_availability": {
299
+ "patient_status": true,
300
+ "recommended_action": true,
301
+ "active_risks": true,
302
+ "red_flags": true
303
+ },
304
+ "window_key": "13.000000|13.500000",
305
+ "window_duration_hours": 0.5
306
+ },
307
+ {
308
+ "window_index": 35,
309
+ "window_metadata": {
310
+ "window_start_time": "2151-03-15T00:12:17",
311
+ "window_end_time": "2151-03-15T00:42:17",
312
+ "hours_since_admission": 17.5,
313
+ "current_window_hours": 0.5,
314
+ "num_current_events": 3
315
+ },
316
+ "reference_labels": {
317
+ "patient_assessment": {
318
+ "overall": {
319
+ "label": "improving",
320
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 69 mmHg, HR 98 bpm, SpO2 94%; latest lactate 2.62."
321
+ },
322
+ "active_risks": [
323
+ {
324
+ "risk_name": "Septic shock",
325
+ "key_evidence": [
326
+ "236",
327
+ "171"
328
+ ]
329
+ },
330
+ {
331
+ "risk_name": "Acute kidney injury",
332
+ "key_evidence": [
333
+ "172",
334
+ "234"
335
+ ]
336
+ }
337
+ ]
338
+ },
339
+ "action_review": {
340
+ "evaluations": [],
341
+ "red_flags": [
342
+ {
343
+ "contraindicated_action": "NSAIDs for fever control",
344
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
345
+ "key_evidence": [
346
+ "172"
347
+ ]
348
+ }
349
+ ]
350
+ }
351
+ },
352
+ "sample_id": "gold/90000001_99000001/17.500000|18.000000",
353
+ "label_availability": {
354
+ "patient_status": true,
355
+ "recommended_action": true,
356
+ "active_risks": true,
357
+ "red_flags": true
358
+ },
359
+ "window_key": "17.500000|18.000000",
360
+ "window_duration_hours": 0.5
361
+ },
362
+ {
363
+ "window_index": 52,
364
+ "window_metadata": {
365
+ "window_start_time": "2151-03-15T08:42:17",
366
+ "window_end_time": "2151-03-15T09:12:17",
367
+ "hours_since_admission": 26,
368
+ "current_window_hours": 0.5,
369
+ "num_current_events": 7
370
+ },
371
+ "reference_labels": {
372
+ "patient_assessment": {
373
+ "overall": {
374
+ "label": "improving",
375
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 76 mmHg, HR 87 bpm, SpO2 97%; latest lactate 1.5."
376
+ },
377
+ "active_risks": [
378
+ {
379
+ "risk_name": "Acute kidney injury",
380
+ "key_evidence": [
381
+ "323",
382
+ "346"
383
+ ]
384
+ }
385
+ ]
386
+ },
387
+ "action_review": {
388
+ "evaluations": [],
389
+ "red_flags": [
390
+ {
391
+ "contraindicated_action": "NSAIDs for fever control",
392
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
393
+ "key_evidence": [
394
+ "323"
395
+ ]
396
+ }
397
+ ]
398
+ }
399
+ },
400
+ "sample_id": "gold/90000001_99000001/26.000000|26.500000",
401
+ "label_availability": {
402
+ "patient_status": true,
403
+ "recommended_action": true,
404
+ "active_risks": true,
405
+ "red_flags": true
406
+ },
407
+ "window_key": "26.000000|26.500000",
408
+ "window_duration_hours": 0.5
409
+ }
410
+ ],
411
+ "stay_id": "90000001_99000001"
412
+ }
gold/labels/90000002_99000002.json ADDED
@@ -0,0 +1,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000002,
3
+ "icu_stay_id": 99000002,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2163-11-02T21:15:40",
6
+ "leave_time": "2163-11-04T03:39:40",
7
+ "age": 59.20297297639871,
8
+ "gender": "Male",
9
+ "total_icu_stay_hours": 30,
10
+ "icu_duration_hours": 30,
11
+ "survived": true,
12
+ "icu_outcome": "Survived after ICU",
13
+ "death_time": null,
14
+ "total_events": 458
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2163-11-02T21:15:40",
21
+ "window_end_time": "2163-11-02T21:45:40",
22
+ "hours_since_admission": 0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 18
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "deteriorating",
30
+ "rationale": "Hypoxemia worsens despite high-flow oxygen with rising work of breathing. Current window: MAP 83 mmHg, HR 118 bpm, SpO2 86%; latest ph 7.28."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Acute hypoxemic respiratory failure",
35
+ "key_evidence": [
36
+ "4",
37
+ "13"
38
+ ]
39
+ }
40
+ ]
41
+ },
42
+ "action_review": {
43
+ "evaluations": [
44
+ {
45
+ "action_id": "9",
46
+ "action_name": "Head of Bed 30 Degrees",
47
+ "label": "best_practice",
48
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hypoxemia worsens despite high-flow oxygen with rising work of breathing."
49
+ },
50
+ {
51
+ "action_id": "12",
52
+ "action_name": "LAB_TEST pH",
53
+ "label": "acceptable",
54
+ "rationale": "pH is reasonable monitoring or support in this context. Hypoxemia worsens despite high-flow oxygen with rising work of breathing."
55
+ },
56
+ {
57
+ "action_id": "13",
58
+ "action_name": "LAB_TEST pO2",
59
+ "label": "best_practice",
60
+ "rationale": "pO2 is reasonable monitoring or support in this context. Hypoxemia worsens despite high-flow oxygen with rising work of breathing."
61
+ },
62
+ {
63
+ "action_id": "17",
64
+ "action_name": "High Flow Nasal Cannula 60 L/min, FiO2 0.8",
65
+ "label": "best_practice",
66
+ "rationale": "High Flow Nasal Cannula is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
67
+ }
68
+ ],
69
+ "red_flags": []
70
+ }
71
+ },
72
+ "sample_id": "gold/90000002_99000002/0.000000|0.500000",
73
+ "label_availability": {
74
+ "patient_status": true,
75
+ "recommended_action": true,
76
+ "active_risks": true,
77
+ "red_flags": true
78
+ },
79
+ "window_key": "0.000000|0.500000",
80
+ "window_duration_hours": 0.5
81
+ },
82
+ {
83
+ "window_index": 2,
84
+ "window_metadata": {
85
+ "window_start_time": "2163-11-02T22:15:40",
86
+ "window_end_time": "2163-11-02T22:45:40",
87
+ "hours_since_admission": 1,
88
+ "current_window_hours": 0.5,
89
+ "num_current_events": 7
90
+ },
91
+ "reference_labels": {
92
+ "patient_assessment": {
93
+ "overall": {
94
+ "label": "deteriorating",
95
+ "rationale": "Hypoxemia worsens despite high-flow oxygen with rising work of breathing. Current window: MAP 78 mmHg, HR 120 bpm, SpO2 86%; latest ph 7.28."
96
+ },
97
+ "active_risks": [
98
+ {
99
+ "risk_name": "Acute hypoxemic respiratory failure",
100
+ "key_evidence": [
101
+ "23",
102
+ "13"
103
+ ]
104
+ }
105
+ ]
106
+ },
107
+ "action_review": {
108
+ "evaluations": [],
109
+ "red_flags": []
110
+ }
111
+ },
112
+ "sample_id": "gold/90000002_99000002/1.000000|1.500000",
113
+ "label_availability": {
114
+ "patient_status": true,
115
+ "recommended_action": true,
116
+ "active_risks": true,
117
+ "red_flags": true
118
+ },
119
+ "window_key": "1.000000|1.500000",
120
+ "window_duration_hours": 0.5
121
+ },
122
+ {
123
+ "window_index": 5,
124
+ "window_metadata": {
125
+ "window_start_time": "2163-11-02T23:45:40",
126
+ "window_end_time": "2163-11-03T00:15:40",
127
+ "hours_since_admission": 2.5,
128
+ "current_window_hours": 0.5,
129
+ "num_current_events": 3
130
+ },
131
+ "reference_labels": {
132
+ "patient_assessment": {
133
+ "overall": {
134
+ "label": "deteriorating",
135
+ "rationale": "Hypoxemia worsens despite high-flow oxygen with rising work of breathing. Current window: MAP 72 mmHg, HR 127 bpm, SpO2 85%; latest ph 7.28."
136
+ },
137
+ "active_risks": [
138
+ {
139
+ "risk_name": "Acute hypoxemic respiratory failure",
140
+ "key_evidence": [
141
+ "40",
142
+ "13"
143
+ ]
144
+ }
145
+ ]
146
+ },
147
+ "action_review": {
148
+ "evaluations": [],
149
+ "red_flags": []
150
+ }
151
+ },
152
+ "sample_id": "gold/90000002_99000002/2.500000|3.000000",
153
+ "label_availability": {
154
+ "patient_status": true,
155
+ "recommended_action": true,
156
+ "active_risks": true,
157
+ "red_flags": true
158
+ },
159
+ "window_key": "2.500000|3.000000",
160
+ "window_duration_hours": 0.5
161
+ },
162
+ {
163
+ "window_index": 20,
164
+ "window_metadata": {
165
+ "window_start_time": "2163-11-03T07:15:40",
166
+ "window_end_time": "2163-11-03T07:45:40",
167
+ "hours_since_admission": 10,
168
+ "current_window_hours": 0.5,
169
+ "num_current_events": 14
170
+ },
171
+ "reference_labels": {
172
+ "patient_assessment": {
173
+ "overall": {
174
+ "label": "stable",
175
+ "rationale": "Oxygenation is stable on invasive ventilation with unchanged sedation. Current window: MAP 72 mmHg, HR 99 bpm, SpO2 94%; latest ph 7.4."
176
+ },
177
+ "active_risks": [
178
+ {
179
+ "risk_name": "Acute hypoxemic respiratory failure",
180
+ "key_evidence": [
181
+ "148",
182
+ "142"
183
+ ]
184
+ },
185
+ {
186
+ "risk_name": "Ventilator-induced lung injury",
187
+ "key_evidence": [
188
+ "75"
189
+ ]
190
+ }
191
+ ]
192
+ },
193
+ "action_review": {
194
+ "evaluations": [
195
+ {
196
+ "action_id": "141",
197
+ "action_name": "LAB_TEST pH",
198
+ "label": "best_practice",
199
+ "rationale": "pH is reasonable monitoring or support in this context. Oxygenation is stable on invasive ventilation with unchanged sedation."
200
+ },
201
+ {
202
+ "action_id": "142",
203
+ "action_name": "LAB_TEST pO2",
204
+ "label": "acceptable",
205
+ "rationale": "pO2 is reasonable monitoring or support in this context. Oxygenation is stable on invasive ventilation with unchanged sedation."
206
+ },
207
+ {
208
+ "action_id": "152",
209
+ "action_name": "BODY_INPUT Propofol",
210
+ "label": "best_practice",
211
+ "rationale": "Propofol is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
212
+ },
213
+ {
214
+ "action_id": "153",
215
+ "action_name": "BODY_INPUT Fentanyl Citrate",
216
+ "label": "best_practice",
217
+ "rationale": "Fentanyl Citrate is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
218
+ }
219
+ ],
220
+ "red_flags": [
221
+ {
222
+ "contraindicated_action": "Tidal volumes above 8 mL/kg predicted body weight",
223
+ "rationale": "Lung-protective ventilation is required for multifocal pneumonia with hypoxemia.",
224
+ "key_evidence": [
225
+ "75"
226
+ ]
227
+ }
228
+ ]
229
+ }
230
+ },
231
+ "sample_id": "gold/90000002_99000002/10.000000|10.500000",
232
+ "label_availability": {
233
+ "patient_status": true,
234
+ "recommended_action": true,
235
+ "active_risks": true,
236
+ "red_flags": true
237
+ },
238
+ "window_key": "10.000000|10.500000",
239
+ "window_duration_hours": 0.5
240
+ },
241
+ {
242
+ "window_index": 30,
243
+ "window_metadata": {
244
+ "window_start_time": "2163-11-03T12:15:40",
245
+ "window_end_time": "2163-11-03T12:45:40",
246
+ "hours_since_admission": 15,
247
+ "current_window_hours": 0.5,
248
+ "num_current_events": 9
249
+ },
250
+ "reference_labels": {
251
+ "patient_assessment": {
252
+ "overall": {
253
+ "label": "improving",
254
+ "rationale": "Ventilator support and sedation are decreasing while oxygenation remains adequate. Current window: MAP 76 mmHg, HR 95 bpm, SpO2 95%; latest ph 7.4."
255
+ },
256
+ "active_risks": [
257
+ {
258
+ "risk_name": "Acute hypoxemic respiratory failure",
259
+ "key_evidence": [
260
+ "213",
261
+ "142"
262
+ ]
263
+ },
264
+ {
265
+ "risk_name": "Ventilator-induced lung injury",
266
+ "key_evidence": [
267
+ "171"
268
+ ]
269
+ }
270
+ ]
271
+ },
272
+ "action_review": {
273
+ "evaluations": [
274
+ {
275
+ "action_id": "217",
276
+ "action_name": "BODY_INPUT Propofol",
277
+ "label": "best_practice",
278
+ "rationale": "Propofol is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
279
+ },
280
+ {
281
+ "action_id": "218",
282
+ "action_name": "BODY_INPUT Fentanyl Citrate",
283
+ "label": "best_practice",
284
+ "rationale": "Fentanyl Citrate is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
285
+ }
286
+ ],
287
+ "red_flags": [
288
+ {
289
+ "contraindicated_action": "Tidal volumes above 8 mL/kg predicted body weight",
290
+ "rationale": "Lung-protective ventilation is required for multifocal pneumonia with hypoxemia.",
291
+ "key_evidence": [
292
+ "171"
293
+ ]
294
+ }
295
+ ]
296
+ }
297
+ },
298
+ "sample_id": "gold/90000002_99000002/15.000000|15.500000",
299
+ "label_availability": {
300
+ "patient_status": true,
301
+ "recommended_action": true,
302
+ "active_risks": true,
303
+ "red_flags": true
304
+ },
305
+ "window_key": "15.000000|15.500000",
306
+ "window_duration_hours": 0.5
307
+ },
308
+ {
309
+ "window_index": 40,
310
+ "window_metadata": {
311
+ "window_start_time": "2163-11-03T17:15:40",
312
+ "window_end_time": "2163-11-03T17:45:40",
313
+ "hours_since_admission": 20,
314
+ "current_window_hours": 0.5,
315
+ "num_current_events": 12
316
+ },
317
+ "reference_labels": {
318
+ "patient_assessment": {
319
+ "overall": {
320
+ "label": "improving",
321
+ "rationale": "Ventilator support and sedation are decreasing while oxygenation remains adequate. Current window: MAP 76 mmHg, HR 92 bpm, SpO2 96%; latest ph 7.32."
322
+ },
323
+ "active_risks": [
324
+ {
325
+ "risk_name": "Ventilator-induced lung injury",
326
+ "key_evidence": [
327
+ "171"
328
+ ]
329
+ }
330
+ ]
331
+ },
332
+ "action_review": {
333
+ "evaluations": [
334
+ {
335
+ "action_id": "286",
336
+ "action_name": "Head of Bed 30 Degrees",
337
+ "label": "best_practice",
338
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Ventilator support and sedation are decreasing while oxygenation remains adequate."
339
+ },
340
+ {
341
+ "action_id": "288",
342
+ "action_name": "BODY_INPUT Propofol",
343
+ "label": "best_practice",
344
+ "rationale": "Propofol is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
345
+ },
346
+ {
347
+ "action_id": "289",
348
+ "action_name": "BODY_INPUT Fentanyl Citrate",
349
+ "label": "best_practice",
350
+ "rationale": "Fentanyl Citrate is appropriate for acute hypoxemic respiratory failure from multifocal pneumonia."
351
+ }
352
+ ],
353
+ "red_flags": [
354
+ {
355
+ "contraindicated_action": "Tidal volumes above 8 mL/kg predicted body weight",
356
+ "rationale": "Lung-protective ventilation is required for multifocal pneumonia with hypoxemia.",
357
+ "key_evidence": [
358
+ "171"
359
+ ]
360
+ }
361
+ ]
362
+ }
363
+ },
364
+ "sample_id": "gold/90000002_99000002/20.000000|20.500000",
365
+ "label_availability": {
366
+ "patient_status": true,
367
+ "recommended_action": true,
368
+ "active_risks": true,
369
+ "red_flags": true
370
+ },
371
+ "window_key": "20.000000|20.500000",
372
+ "window_duration_hours": 0.5
373
+ },
374
+ {
375
+ "window_index": 59,
376
+ "window_metadata": {
377
+ "window_start_time": "2163-11-04T02:45:40",
378
+ "window_end_time": "2163-11-04T03:15:40",
379
+ "hours_since_admission": 29.5,
380
+ "current_window_hours": 0.5,
381
+ "num_current_events": 3
382
+ },
383
+ "reference_labels": {
384
+ "patient_assessment": {
385
+ "overall": {
386
+ "label": "improving",
387
+ "rationale": "Ventilator support and sedation are decreasing while oxygenation remains adequate. Current window: MAP 80 mmHg, HR 85 bpm, SpO2 98%; latest ph 7.53."
388
+ },
389
+ "active_risks": []
390
+ },
391
+ "action_review": {
392
+ "evaluations": [],
393
+ "red_flags": []
394
+ }
395
+ },
396
+ "sample_id": "gold/90000002_99000002/29.500000|30.000000",
397
+ "label_availability": {
398
+ "patient_status": true,
399
+ "recommended_action": true,
400
+ "active_risks": true,
401
+ "red_flags": true
402
+ },
403
+ "window_key": "29.500000|30.000000",
404
+ "window_duration_hours": 0.5
405
+ }
406
+ ],
407
+ "stay_id": "90000002_99000002"
408
+ }
gold/labels/90000003_99000003.json ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000003,
3
+ "icu_stay_id": 99000003,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2142-07-21T13:05:52",
6
+ "leave_time": "2142-07-22T07:41:52",
7
+ "age": 34.701015032828856,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 18,
10
+ "icu_duration_hours": 18,
11
+ "survived": true,
12
+ "icu_outcome": "Survived after ICU",
13
+ "death_time": null,
14
+ "total_events": 306
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2142-07-21T13:05:52",
21
+ "window_end_time": "2142-07-21T13:35:52",
22
+ "hours_since_admission": 0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 18
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "stable",
30
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 77 mmHg, HR 115 bpm, SpO2 100%; latest glucose 449.79."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Diabetic ketoacidosis",
35
+ "key_evidence": [
36
+ "14",
37
+ "16",
38
+ "Pre-ICU summary"
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "action_review": {
44
+ "evaluations": [
45
+ {
46
+ "action_id": "9",
47
+ "action_name": "Head of Bed 30 Degrees",
48
+ "label": "best_practice",
49
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
50
+ },
51
+ {
52
+ "action_id": "12",
53
+ "action_name": "BODY_INPUT NaCl 0.9%",
54
+ "label": "best_practice",
55
+ "rationale": "NaCl 0.9% is appropriate for diabetic ketoacidosis."
56
+ },
57
+ {
58
+ "action_id": "13",
59
+ "action_name": "LAB_TEST Glucose",
60
+ "label": "best_practice",
61
+ "rationale": "Glucose is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
62
+ },
63
+ {
64
+ "action_id": "14",
65
+ "action_name": "LAB_TEST Anion Gap",
66
+ "label": "acceptable",
67
+ "rationale": "Anion Gap is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
68
+ }
69
+ ],
70
+ "red_flags": [
71
+ {
72
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
73
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
74
+ "key_evidence": [
75
+ "14"
76
+ ]
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "sample_id": "gold/90000003_99000003/0.000000|0.500000",
82
+ "label_availability": {
83
+ "patient_status": true,
84
+ "recommended_action": true,
85
+ "active_risks": true,
86
+ "red_flags": true
87
+ },
88
+ "window_key": "0.000000|0.500000",
89
+ "window_duration_hours": 0.5
90
+ },
91
+ {
92
+ "window_index": 2,
93
+ "window_metadata": {
94
+ "window_start_time": "2142-07-21T14:05:52",
95
+ "window_end_time": "2142-07-21T14:35:52",
96
+ "hours_since_admission": 1,
97
+ "current_window_hours": 0.5,
98
+ "num_current_events": 8
99
+ },
100
+ "reference_labels": {
101
+ "patient_assessment": {
102
+ "overall": {
103
+ "label": "stable",
104
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 81 mmHg, HR 114 bpm, SpO2 97%; latest glucose 449.79."
105
+ },
106
+ "active_risks": [
107
+ {
108
+ "risk_name": "Diabetic ketoacidosis",
109
+ "key_evidence": [
110
+ "14",
111
+ "16",
112
+ "Pre-ICU summary"
113
+ ]
114
+ }
115
+ ]
116
+ },
117
+ "action_review": {
118
+ "evaluations": [
119
+ {
120
+ "action_id": "27",
121
+ "action_name": "BODY_INPUT Insulin - Regular",
122
+ "label": "best_practice",
123
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
124
+ }
125
+ ],
126
+ "red_flags": [
127
+ {
128
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
129
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
130
+ "key_evidence": [
131
+ "14"
132
+ ]
133
+ }
134
+ ]
135
+ }
136
+ },
137
+ "sample_id": "gold/90000003_99000003/1.000000|1.500000",
138
+ "label_availability": {
139
+ "patient_status": true,
140
+ "recommended_action": true,
141
+ "active_risks": true,
142
+ "red_flags": true
143
+ },
144
+ "window_key": "1.000000|1.500000",
145
+ "window_duration_hours": 0.5
146
+ },
147
+ {
148
+ "window_index": 5,
149
+ "window_metadata": {
150
+ "window_start_time": "2142-07-21T15:35:52",
151
+ "window_end_time": "2142-07-21T16:05:52",
152
+ "hours_since_admission": 2.5,
153
+ "current_window_hours": 0.5,
154
+ "num_current_events": 3
155
+ },
156
+ "reference_labels": {
157
+ "patient_assessment": {
158
+ "overall": {
159
+ "label": "stable",
160
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 111 bpm, SpO2 101%; latest glucose 377.22."
161
+ },
162
+ "active_risks": [
163
+ {
164
+ "risk_name": "Diabetic ketoacidosis",
165
+ "key_evidence": [
166
+ "41",
167
+ "43",
168
+ "Pre-ICU summary"
169
+ ]
170
+ }
171
+ ]
172
+ },
173
+ "action_review": {
174
+ "evaluations": [],
175
+ "red_flags": [
176
+ {
177
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
178
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
179
+ "key_evidence": [
180
+ "41"
181
+ ]
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ "sample_id": "gold/90000003_99000003/2.500000|3.000000",
187
+ "label_availability": {
188
+ "patient_status": true,
189
+ "recommended_action": true,
190
+ "active_risks": true,
191
+ "red_flags": true
192
+ },
193
+ "window_key": "2.500000|3.000000",
194
+ "window_duration_hours": 0.5
195
+ },
196
+ {
197
+ "window_index": 12,
198
+ "window_metadata": {
199
+ "window_start_time": "2142-07-21T19:05:52",
200
+ "window_end_time": "2142-07-21T19:35:52",
201
+ "hours_since_admission": 6,
202
+ "current_window_hours": 0.5,
203
+ "num_current_events": 14
204
+ },
205
+ "reference_labels": {
206
+ "patient_assessment": {
207
+ "overall": {
208
+ "label": "improving",
209
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 101 bpm, SpO2 100%; latest glucose 247.13."
210
+ },
211
+ "active_risks": [
212
+ {
213
+ "risk_name": "Diabetic ketoacidosis",
214
+ "key_evidence": [
215
+ "100",
216
+ "102",
217
+ "Pre-ICU summary"
218
+ ]
219
+ },
220
+ {
221
+ "risk_name": "Hypokalemia during insulin therapy",
222
+ "key_evidence": [
223
+ "101"
224
+ ]
225
+ }
226
+ ]
227
+ },
228
+ "action_review": {
229
+ "evaluations": [
230
+ {
231
+ "action_id": "96",
232
+ "action_name": "BODY_INPUT Insulin - Regular",
233
+ "label": "best_practice",
234
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
235
+ },
236
+ {
237
+ "action_id": "97",
238
+ "action_name": "BODY_INPUT Dextrose 5%",
239
+ "label": "best_practice",
240
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
241
+ },
242
+ {
243
+ "action_id": "99",
244
+ "action_name": "LAB_TEST Glucose",
245
+ "label": "best_practice",
246
+ "rationale": "Glucose is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
247
+ },
248
+ {
249
+ "action_id": "100",
250
+ "action_name": "LAB_TEST Anion Gap",
251
+ "label": "acceptable",
252
+ "rationale": "Anion Gap is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
253
+ }
254
+ ],
255
+ "red_flags": [
256
+ {
257
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
258
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
259
+ "key_evidence": [
260
+ "100"
261
+ ]
262
+ }
263
+ ]
264
+ }
265
+ },
266
+ "sample_id": "gold/90000003_99000003/6.000000|6.500000",
267
+ "label_availability": {
268
+ "patient_status": true,
269
+ "recommended_action": true,
270
+ "active_risks": true,
271
+ "red_flags": true
272
+ },
273
+ "window_key": "6.000000|6.500000",
274
+ "window_duration_hours": 0.5
275
+ },
276
+ {
277
+ "window_index": 18,
278
+ "window_metadata": {
279
+ "window_start_time": "2142-07-21T22:05:52",
280
+ "window_end_time": "2142-07-21T22:35:52",
281
+ "hours_since_admission": 9,
282
+ "current_window_hours": 0.5,
283
+ "num_current_events": 2
284
+ },
285
+ "reference_labels": {
286
+ "patient_assessment": {
287
+ "overall": {
288
+ "label": "insufficient_data",
289
+ "rationale": "The patient was off the unit for imaging and no vital signs were documented in this window."
290
+ },
291
+ "active_risks": [
292
+ {
293
+ "risk_name": "Diabetic ketoacidosis",
294
+ "key_evidence": [
295
+ "134",
296
+ "136",
297
+ "Pre-ICU summary"
298
+ ]
299
+ },
300
+ {
301
+ "risk_name": "Hypokalemia during insulin therapy",
302
+ "key_evidence": [
303
+ "135"
304
+ ]
305
+ }
306
+ ]
307
+ },
308
+ "action_review": {
309
+ "evaluations": [
310
+ {
311
+ "action_id": "141",
312
+ "action_name": "CT scan",
313
+ "label": "best_practice",
314
+ "rationale": "CT scan is appropriate for diabetic ketoacidosis."
315
+ }
316
+ ],
317
+ "red_flags": [
318
+ {
319
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
320
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
321
+ "key_evidence": [
322
+ "134"
323
+ ]
324
+ }
325
+ ]
326
+ }
327
+ },
328
+ "sample_id": "gold/90000003_99000003/9.000000|9.500000",
329
+ "label_availability": {
330
+ "patient_status": true,
331
+ "recommended_action": true,
332
+ "active_risks": true,
333
+ "red_flags": true
334
+ },
335
+ "window_key": "9.000000|9.500000",
336
+ "window_duration_hours": 0.5
337
+ },
338
+ {
339
+ "window_index": 24,
340
+ "window_metadata": {
341
+ "window_start_time": "2142-07-22T01:05:52",
342
+ "window_end_time": "2142-07-22T01:35:52",
343
+ "hours_since_admission": 12,
344
+ "current_window_hours": 0.5,
345
+ "num_current_events": 17
346
+ },
347
+ "reference_labels": {
348
+ "patient_assessment": {
349
+ "overall": {
350
+ "label": "improving",
351
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 93 bpm, SpO2 98%; latest glucose 187.26."
352
+ },
353
+ "active_risks": []
354
+ },
355
+ "action_review": {
356
+ "evaluations": [
357
+ {
358
+ "action_id": "170",
359
+ "action_name": "LAB_TEST Glucose",
360
+ "label": "best_practice",
361
+ "rationale": "Glucose is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
362
+ },
363
+ {
364
+ "action_id": "182",
365
+ "action_name": "Head of Bed 30 Degrees",
366
+ "label": "acceptable",
367
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
368
+ },
369
+ {
370
+ "action_id": "184",
371
+ "action_name": "BODY_INPUT Insulin - Regular",
372
+ "label": "best_practice",
373
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
374
+ },
375
+ {
376
+ "action_id": "185",
377
+ "action_name": "BODY_INPUT Dextrose 5%",
378
+ "label": "best_practice",
379
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
380
+ }
381
+ ],
382
+ "red_flags": []
383
+ }
384
+ },
385
+ "sample_id": "gold/90000003_99000003/12.000000|12.500000",
386
+ "label_availability": {
387
+ "patient_status": true,
388
+ "recommended_action": true,
389
+ "active_risks": true,
390
+ "red_flags": true
391
+ },
392
+ "window_key": "12.000000|12.500000",
393
+ "window_duration_hours": 0.5
394
+ },
395
+ {
396
+ "window_index": 36,
397
+ "window_metadata": {
398
+ "window_start_time": "2142-07-22T07:05:52",
399
+ "window_end_time": "2142-07-22T07:35:52",
400
+ "hours_since_admission": 18,
401
+ "current_window_hours": 0.5,
402
+ "num_current_events": 7
403
+ },
404
+ "reference_labels": {
405
+ "patient_assessment": {
406
+ "overall": {
407
+ "label": "improving",
408
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 83 mmHg, HR 86 bpm, SpO2 97%; latest glucose 174.36."
409
+ },
410
+ "active_risks": []
411
+ },
412
+ "action_review": {
413
+ "evaluations": [],
414
+ "red_flags": []
415
+ }
416
+ },
417
+ "sample_id": "gold/90000003_99000003/18.000000|18.500000",
418
+ "label_availability": {
419
+ "patient_status": true,
420
+ "recommended_action": true,
421
+ "active_risks": true,
422
+ "red_flags": true
423
+ },
424
+ "window_key": "18.000000|18.500000",
425
+ "window_duration_hours": 0.5
426
+ }
427
+ ],
428
+ "stay_id": "90000003_99000003"
429
+ }
gold/labels/90000004_99000004.json ADDED
@@ -0,0 +1,412 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000004,
3
+ "icu_stay_id": 99000004,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2177-01-09T02:31:08",
6
+ "leave_time": "2177-01-10T00:49:08",
7
+ "age": 81.30076647146805,
8
+ "gender": "Male",
9
+ "total_icu_stay_hours": 22,
10
+ "icu_duration_hours": 22,
11
+ "survived": false,
12
+ "icu_outcome": "Died after ICU",
13
+ "death_time": "2177-01-12T23:49:00",
14
+ "total_events": 353
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2177-01-09T02:31:08",
21
+ "window_end_time": "2177-01-09T03:01:08",
22
+ "hours_since_admission": 0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 17
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "deteriorating",
30
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 57 mmHg, HR 122 bpm, SpO2 95%; latest hemoglobin 6.44."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Hemorrhagic shock",
35
+ "key_evidence": [
36
+ "3",
37
+ "12"
38
+ ]
39
+ },
40
+ {
41
+ "risk_name": "Anticoagulation-associated coagulopathy",
42
+ "key_evidence": [
43
+ "14",
44
+ "Pre-ICU summary"
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ "action_review": {
50
+ "evaluations": [
51
+ {
52
+ "action_id": "9",
53
+ "action_name": "Head of Bed 30 Degrees",
54
+ "label": "best_practice",
55
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
56
+ },
57
+ {
58
+ "action_id": "12",
59
+ "action_name": "LAB_TEST Hemoglobin",
60
+ "label": "acceptable",
61
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
62
+ },
63
+ {
64
+ "action_id": "13",
65
+ "action_name": "LAB_TEST Lactate",
66
+ "label": "best_practice",
67
+ "rationale": "Lactate is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
68
+ }
69
+ ],
70
+ "red_flags": [
71
+ {
72
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
73
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
74
+ "key_evidence": [
75
+ "12"
76
+ ]
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "sample_id": "gold/90000004_99000004/0.000000|0.500000",
82
+ "label_availability": {
83
+ "patient_status": true,
84
+ "recommended_action": true,
85
+ "active_risks": true,
86
+ "red_flags": true
87
+ },
88
+ "window_key": "0.000000|0.500000",
89
+ "window_duration_hours": 0.5
90
+ },
91
+ {
92
+ "window_index": 2,
93
+ "window_metadata": {
94
+ "window_start_time": "2177-01-09T03:31:08",
95
+ "window_end_time": "2177-01-09T04:01:08",
96
+ "hours_since_admission": 1,
97
+ "current_window_hours": 0.5,
98
+ "num_current_events": 10
99
+ },
100
+ "reference_labels": {
101
+ "patient_assessment": {
102
+ "overall": {
103
+ "label": "deteriorating",
104
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 58 mmHg, HR 127 bpm, SpO2 96%; latest hemoglobin 6.44."
105
+ },
106
+ "active_risks": [
107
+ {
108
+ "risk_name": "Hemorrhagic shock",
109
+ "key_evidence": [
110
+ "23",
111
+ "12"
112
+ ]
113
+ },
114
+ {
115
+ "risk_name": "Anticoagulation-associated coagulopathy",
116
+ "key_evidence": [
117
+ "14",
118
+ "Pre-ICU summary"
119
+ ]
120
+ }
121
+ ]
122
+ },
123
+ "action_review": {
124
+ "evaluations": [
125
+ {
126
+ "action_id": "21",
127
+ "action_name": "BODY_INPUT Packed Red Blood Cells",
128
+ "label": "best_practice",
129
+ "rationale": "Packed Red Blood Cells is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
130
+ },
131
+ {
132
+ "action_id": "28",
133
+ "action_name": "BODY_INPUT Pantoprazole",
134
+ "label": "best_practice",
135
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
136
+ },
137
+ {
138
+ "action_id": "29",
139
+ "action_name": "Prothrombin Complex Concentrate",
140
+ "label": "best_practice",
141
+ "rationale": "Prothrombin Complex Concentrate is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
142
+ }
143
+ ],
144
+ "red_flags": [
145
+ {
146
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
147
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
148
+ "key_evidence": [
149
+ "12"
150
+ ]
151
+ }
152
+ ]
153
+ }
154
+ },
155
+ "sample_id": "gold/90000004_99000004/1.000000|1.500000",
156
+ "label_availability": {
157
+ "patient_status": true,
158
+ "recommended_action": true,
159
+ "active_risks": true,
160
+ "red_flags": true
161
+ },
162
+ "window_key": "1.000000|1.500000",
163
+ "window_duration_hours": 0.5
164
+ },
165
+ {
166
+ "window_index": 5,
167
+ "window_metadata": {
168
+ "window_start_time": "2177-01-09T05:01:08",
169
+ "window_end_time": "2177-01-09T05:31:08",
170
+ "hours_since_admission": 2.5,
171
+ "current_window_hours": 0.5,
172
+ "num_current_events": 3
173
+ },
174
+ "reference_labels": {
175
+ "patient_assessment": {
176
+ "overall": {
177
+ "label": "deteriorating",
178
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 60 mmHg, HR 123 bpm, SpO2 97%; latest hemoglobin 6.44."
179
+ },
180
+ "active_risks": [
181
+ {
182
+ "risk_name": "Hemorrhagic shock",
183
+ "key_evidence": [
184
+ "43",
185
+ "12"
186
+ ]
187
+ },
188
+ {
189
+ "risk_name": "Anticoagulation-associated coagulopathy",
190
+ "key_evidence": [
191
+ "14",
192
+ "Pre-ICU summary"
193
+ ]
194
+ }
195
+ ]
196
+ },
197
+ "action_review": {
198
+ "evaluations": [],
199
+ "red_flags": [
200
+ {
201
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
202
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
203
+ "key_evidence": [
204
+ "12"
205
+ ]
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ "sample_id": "gold/90000004_99000004/2.500000|3.000000",
211
+ "label_availability": {
212
+ "patient_status": true,
213
+ "recommended_action": true,
214
+ "active_risks": true,
215
+ "red_flags": true
216
+ },
217
+ "window_key": "2.500000|3.000000",
218
+ "window_duration_hours": 0.5
219
+ },
220
+ {
221
+ "window_index": 14,
222
+ "window_metadata": {
223
+ "window_start_time": "2177-01-09T09:31:08",
224
+ "window_end_time": "2177-01-09T10:01:08",
225
+ "hours_since_admission": 7,
226
+ "current_window_hours": 0.5,
227
+ "num_current_events": 8
228
+ },
229
+ "reference_labels": {
230
+ "patient_assessment": {
231
+ "overall": {
232
+ "label": "improving",
233
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 71 mmHg, HR 104 bpm, SpO2 95%; latest hemoglobin 7.45."
234
+ },
235
+ "active_risks": [
236
+ {
237
+ "risk_name": "Anticoagulation-associated coagulopathy",
238
+ "key_evidence": [
239
+ "59",
240
+ "Pre-ICU summary"
241
+ ]
242
+ }
243
+ ]
244
+ },
245
+ "action_review": {
246
+ "evaluations": [
247
+ {
248
+ "action_id": "104",
249
+ "action_name": "BODY_INPUT Pantoprazole",
250
+ "label": "best_practice",
251
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
252
+ }
253
+ ],
254
+ "red_flags": [
255
+ {
256
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
257
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
258
+ "key_evidence": [
259
+ "57"
260
+ ]
261
+ }
262
+ ]
263
+ }
264
+ },
265
+ "sample_id": "gold/90000004_99000004/7.000000|7.500000",
266
+ "label_availability": {
267
+ "patient_status": true,
268
+ "recommended_action": true,
269
+ "active_risks": true,
270
+ "red_flags": true
271
+ },
272
+ "window_key": "7.000000|7.500000",
273
+ "window_duration_hours": 0.5
274
+ },
275
+ {
276
+ "window_index": 22,
277
+ "window_metadata": {
278
+ "window_start_time": "2177-01-09T13:31:08",
279
+ "window_end_time": "2177-01-09T14:01:08",
280
+ "hours_since_admission": 11,
281
+ "current_window_hours": 0.5,
282
+ "num_current_events": 8
283
+ },
284
+ "reference_labels": {
285
+ "patient_assessment": {
286
+ "overall": {
287
+ "label": "stable",
288
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 72 mmHg, HR 101 bpm, SpO2 96%; latest hemoglobin 7.66."
289
+ },
290
+ "active_risks": []
291
+ },
292
+ "action_review": {
293
+ "evaluations": [
294
+ {
295
+ "action_id": "157",
296
+ "action_name": "BODY_INPUT Pantoprazole",
297
+ "label": "best_practice",
298
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
299
+ }
300
+ ],
301
+ "red_flags": [
302
+ {
303
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
304
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
305
+ "key_evidence": [
306
+ "120"
307
+ ]
308
+ }
309
+ ]
310
+ }
311
+ },
312
+ "sample_id": "gold/90000004_99000004/11.000000|11.500000",
313
+ "label_availability": {
314
+ "patient_status": true,
315
+ "recommended_action": true,
316
+ "active_risks": true,
317
+ "red_flags": true
318
+ },
319
+ "window_key": "11.000000|11.500000",
320
+ "window_duration_hours": 0.5
321
+ },
322
+ {
323
+ "window_index": 29,
324
+ "window_metadata": {
325
+ "window_start_time": "2177-01-09T17:01:08",
326
+ "window_end_time": "2177-01-09T17:31:08",
327
+ "hours_since_admission": 14.5,
328
+ "current_window_hours": 0.5,
329
+ "num_current_events": 3
330
+ },
331
+ "reference_labels": {
332
+ "patient_assessment": {
333
+ "overall": {
334
+ "label": "deteriorating",
335
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 71 mmHg, HR 97 bpm, SpO2 94%; latest hemoglobin 7.93."
336
+ },
337
+ "active_risks": []
338
+ },
339
+ "action_review": {
340
+ "evaluations": [],
341
+ "red_flags": [
342
+ {
343
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
344
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
345
+ "key_evidence": [
346
+ "169"
347
+ ]
348
+ }
349
+ ]
350
+ }
351
+ },
352
+ "sample_id": "gold/90000004_99000004/14.500000|15.000000",
353
+ "label_availability": {
354
+ "patient_status": true,
355
+ "recommended_action": true,
356
+ "active_risks": true,
357
+ "red_flags": true
358
+ },
359
+ "window_key": "14.500000|15.000000",
360
+ "window_duration_hours": 0.5
361
+ },
362
+ {
363
+ "window_index": 43,
364
+ "window_metadata": {
365
+ "window_start_time": "2177-01-10T00:01:08",
366
+ "window_end_time": "2177-01-10T00:31:08",
367
+ "hours_since_admission": 21.5,
368
+ "current_window_hours": 0.5,
369
+ "num_current_events": 3
370
+ },
371
+ "reference_labels": {
372
+ "patient_assessment": {
373
+ "overall": {
374
+ "label": "deteriorating",
375
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 62 mmHg, HR 113 bpm, SpO2 95%; latest hemoglobin 7.14."
376
+ },
377
+ "active_risks": [
378
+ {
379
+ "risk_name": "Recurrent upper GI bleeding",
380
+ "key_evidence": [
381
+ "289",
382
+ "302"
383
+ ]
384
+ }
385
+ ]
386
+ },
387
+ "action_review": {
388
+ "evaluations": [],
389
+ "red_flags": [
390
+ {
391
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
392
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
393
+ "key_evidence": [
394
+ "289"
395
+ ]
396
+ }
397
+ ]
398
+ }
399
+ },
400
+ "sample_id": "gold/90000004_99000004/21.500000|22.000000",
401
+ "label_availability": {
402
+ "patient_status": true,
403
+ "recommended_action": true,
404
+ "active_risks": true,
405
+ "red_flags": true
406
+ },
407
+ "window_key": "21.500000|22.000000",
408
+ "window_duration_hours": 0.5
409
+ }
410
+ ],
411
+ "stay_id": "90000004_99000004"
412
+ }
gold/labels/90000005_99000005.json ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000005,
3
+ "icu_stay_id": 99000005,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2128-05-30T17:48:33",
6
+ "leave_time": "2128-05-31T08:42:33",
7
+ "age": 76.90278452734049,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 14,
10
+ "icu_duration_hours": 14,
11
+ "survived": false,
12
+ "icu_outcome": "Died after ICU",
13
+ "death_time": "2128-06-02T00:42:00",
14
+ "total_events": 236
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2128-05-30T17:48:33",
21
+ "window_end_time": "2128-05-30T18:18:33",
22
+ "hours_since_admission": 0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 14
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "improving",
30
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 104 mmHg, HR 108 bpm, SpO2 85%; latest ntprobnp 14612.4."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Cardiogenic pulmonary edema",
35
+ "key_evidence": [
36
+ "4",
37
+ "13",
38
+ "Pre-ICU summary"
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "action_review": {
44
+ "evaluations": [
45
+ {
46
+ "action_id": "9",
47
+ "action_name": "Head of Bed 30 Degrees",
48
+ "label": "best_practice",
49
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
50
+ },
51
+ {
52
+ "action_id": "12",
53
+ "action_name": "Non-invasive Ventilation",
54
+ "label": "best_practice",
55
+ "rationale": "Non-invasive Ventilation is appropriate for acute decompensated heart failure with pulmonary edema."
56
+ },
57
+ {
58
+ "action_id": "13",
59
+ "action_name": "LAB_TEST NTproBNP",
60
+ "label": "best_practice",
61
+ "rationale": "NTproBNP is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
62
+ }
63
+ ],
64
+ "red_flags": [
65
+ {
66
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
67
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
68
+ "key_evidence": [
69
+ "4"
70
+ ]
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "sample_id": "gold/90000005_99000005/0.000000|0.500000",
76
+ "label_availability": {
77
+ "patient_status": true,
78
+ "recommended_action": true,
79
+ "active_risks": true,
80
+ "red_flags": true
81
+ },
82
+ "window_key": "0.000000|0.500000",
83
+ "window_duration_hours": 0.5
84
+ },
85
+ {
86
+ "window_index": 2,
87
+ "window_metadata": {
88
+ "window_start_time": "2128-05-30T18:48:33",
89
+ "window_end_time": "2128-05-30T19:18:33",
90
+ "hours_since_admission": 1,
91
+ "current_window_hours": 0.5,
92
+ "num_current_events": 9
93
+ },
94
+ "reference_labels": {
95
+ "patient_assessment": {
96
+ "overall": {
97
+ "label": "improving",
98
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 99 mmHg, HR 102 bpm, SpO2 89%; latest ntprobnp 14612.4."
99
+ },
100
+ "active_risks": [
101
+ {
102
+ "risk_name": "Cardiogenic pulmonary edema",
103
+ "key_evidence": [
104
+ "25",
105
+ "13",
106
+ "Pre-ICU summary"
107
+ ]
108
+ }
109
+ ]
110
+ },
111
+ "action_review": {
112
+ "evaluations": [
113
+ {
114
+ "action_id": "29",
115
+ "action_name": "BODY_INPUT Nitroglycerin",
116
+ "label": "best_practice",
117
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
118
+ }
119
+ ],
120
+ "red_flags": [
121
+ {
122
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
123
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
124
+ "key_evidence": [
125
+ "25"
126
+ ]
127
+ }
128
+ ]
129
+ }
130
+ },
131
+ "sample_id": "gold/90000005_99000005/1.000000|1.500000",
132
+ "label_availability": {
133
+ "patient_status": true,
134
+ "recommended_action": true,
135
+ "active_risks": true,
136
+ "red_flags": true
137
+ },
138
+ "window_key": "1.000000|1.500000",
139
+ "window_duration_hours": 0.5
140
+ },
141
+ {
142
+ "window_index": 5,
143
+ "window_metadata": {
144
+ "window_start_time": "2128-05-30T20:18:33",
145
+ "window_end_time": "2128-05-30T20:48:33",
146
+ "hours_since_admission": 2.5,
147
+ "current_window_hours": 0.5,
148
+ "num_current_events": 3
149
+ },
150
+ "reference_labels": {
151
+ "patient_assessment": {
152
+ "overall": {
153
+ "label": "improving",
154
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 92 mmHg, HR 99 bpm, SpO2 93%; latest ntprobnp 14612.4."
155
+ },
156
+ "active_risks": [
157
+ {
158
+ "risk_name": "Cardiogenic pulmonary edema",
159
+ "key_evidence": [
160
+ "44",
161
+ "13",
162
+ "Pre-ICU summary"
163
+ ]
164
+ }
165
+ ]
166
+ },
167
+ "action_review": {
168
+ "evaluations": [],
169
+ "red_flags": [
170
+ {
171
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
172
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
173
+ "key_evidence": [
174
+ "44"
175
+ ]
176
+ }
177
+ ]
178
+ }
179
+ },
180
+ "sample_id": "gold/90000005_99000005/2.500000|3.000000",
181
+ "label_availability": {
182
+ "patient_status": true,
183
+ "recommended_action": true,
184
+ "active_risks": true,
185
+ "red_flags": true
186
+ },
187
+ "window_key": "2.500000|3.000000",
188
+ "window_duration_hours": 0.5
189
+ },
190
+ {
191
+ "window_index": 9,
192
+ "window_metadata": {
193
+ "window_start_time": "2128-05-30T22:18:33",
194
+ "window_end_time": "2128-05-30T22:48:33",
195
+ "hours_since_admission": 4.5,
196
+ "current_window_hours": 0.5,
197
+ "num_current_events": 3
198
+ },
199
+ "reference_labels": {
200
+ "patient_assessment": {
201
+ "overall": {
202
+ "label": "improving",
203
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 84 mmHg, HR 98 bpm, SpO2 92%; latest ntprobnp 14612.4."
204
+ },
205
+ "active_risks": [
206
+ {
207
+ "risk_name": "Cardiogenic pulmonary edema",
208
+ "key_evidence": [
209
+ "69",
210
+ "13",
211
+ "Pre-ICU summary"
212
+ ]
213
+ }
214
+ ]
215
+ },
216
+ "action_review": {
217
+ "evaluations": [],
218
+ "red_flags": [
219
+ {
220
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
221
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
222
+ "key_evidence": [
223
+ "69"
224
+ ]
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ "sample_id": "gold/90000005_99000005/4.500000|5.000000",
230
+ "label_availability": {
231
+ "patient_status": true,
232
+ "recommended_action": true,
233
+ "active_risks": true,
234
+ "red_flags": true
235
+ },
236
+ "window_key": "4.500000|5.000000",
237
+ "window_duration_hours": 0.5
238
+ },
239
+ {
240
+ "window_index": 14,
241
+ "window_metadata": {
242
+ "window_start_time": "2128-05-31T00:48:33",
243
+ "window_end_time": "2128-05-31T01:18:33",
244
+ "hours_since_admission": 7,
245
+ "current_window_hours": 0.5,
246
+ "num_current_events": 8
247
+ },
248
+ "reference_labels": {
249
+ "patient_assessment": {
250
+ "overall": {
251
+ "label": "stable",
252
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 79 mmHg, HR 94 bpm, SpO2 94%; latest ntprobnp 14701."
253
+ },
254
+ "active_risks": [
255
+ {
256
+ "risk_name": "Cardiogenic pulmonary edema",
257
+ "key_evidence": [
258
+ "100",
259
+ "81",
260
+ "Pre-ICU summary"
261
+ ]
262
+ },
263
+ {
264
+ "risk_name": "Cardiorenal syndrome",
265
+ "key_evidence": [
266
+ "88",
267
+ "105"
268
+ ]
269
+ }
270
+ ]
271
+ },
272
+ "action_review": {
273
+ "evaluations": [
274
+ {
275
+ "action_id": "104",
276
+ "action_name": "BODY_INPUT Nitroglycerin",
277
+ "label": "best_practice",
278
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
279
+ }
280
+ ],
281
+ "red_flags": [
282
+ {
283
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
284
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
285
+ "key_evidence": [
286
+ "100"
287
+ ]
288
+ }
289
+ ]
290
+ }
291
+ },
292
+ "sample_id": "gold/90000005_99000005/7.000000|7.500000",
293
+ "label_availability": {
294
+ "patient_status": true,
295
+ "recommended_action": true,
296
+ "active_risks": true,
297
+ "red_flags": true
298
+ },
299
+ "window_key": "7.000000|7.500000",
300
+ "window_duration_hours": 0.5
301
+ },
302
+ {
303
+ "window_index": 19,
304
+ "window_metadata": {
305
+ "window_start_time": "2128-05-31T03:18:33",
306
+ "window_end_time": "2128-05-31T03:48:33",
307
+ "hours_since_admission": 9.5,
308
+ "current_window_hours": 0.5,
309
+ "num_current_events": 3
310
+ },
311
+ "reference_labels": {
312
+ "patient_assessment": {
313
+ "overall": {
314
+ "label": "stable",
315
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 75 mmHg, HR 94 bpm, SpO2 95%; latest ntprobnp 14701."
316
+ },
317
+ "active_risks": [
318
+ {
319
+ "risk_name": "Cardiogenic pulmonary edema",
320
+ "key_evidence": [
321
+ "133",
322
+ "81",
323
+ "Pre-ICU summary"
324
+ ]
325
+ },
326
+ {
327
+ "risk_name": "Cardiorenal syndrome",
328
+ "key_evidence": [
329
+ "88",
330
+ "130"
331
+ ]
332
+ }
333
+ ]
334
+ },
335
+ "action_review": {
336
+ "evaluations": [],
337
+ "red_flags": [
338
+ {
339
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
340
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
341
+ "key_evidence": [
342
+ "133"
343
+ ]
344
+ }
345
+ ]
346
+ }
347
+ },
348
+ "sample_id": "gold/90000005_99000005/9.500000|10.000000",
349
+ "label_availability": {
350
+ "patient_status": true,
351
+ "recommended_action": true,
352
+ "active_risks": true,
353
+ "red_flags": true
354
+ },
355
+ "window_key": "9.500000|10.000000",
356
+ "window_duration_hours": 0.5
357
+ },
358
+ {
359
+ "window_index": 28,
360
+ "window_metadata": {
361
+ "window_start_time": "2128-05-31T07:48:33",
362
+ "window_end_time": "2128-05-31T08:18:33",
363
+ "hours_since_admission": 14,
364
+ "current_window_hours": 0.5,
365
+ "num_current_events": 7
366
+ },
367
+ "reference_labels": {
368
+ "patient_assessment": {
369
+ "overall": {
370
+ "label": "deteriorating",
371
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 65 mmHg, HR 106 bpm, SpO2 91%; latest ntprobnp 14472.3."
372
+ },
373
+ "active_risks": [
374
+ {
375
+ "risk_name": "Cardiorenal syndrome",
376
+ "key_evidence": [
377
+ "166",
378
+ "193"
379
+ ]
380
+ },
381
+ {
382
+ "risk_name": "Cardiogenic shock",
383
+ "key_evidence": [
384
+ "188",
385
+ "169"
386
+ ]
387
+ }
388
+ ]
389
+ },
390
+ "action_review": {
391
+ "evaluations": [],
392
+ "red_flags": [
393
+ {
394
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
395
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
396
+ "key_evidence": [
397
+ "189"
398
+ ]
399
+ }
400
+ ]
401
+ }
402
+ },
403
+ "sample_id": "gold/90000005_99000005/14.000000|14.500000",
404
+ "label_availability": {
405
+ "patient_status": true,
406
+ "recommended_action": true,
407
+ "active_risks": true,
408
+ "red_flags": true
409
+ },
410
+ "window_key": "14.000000|14.500000",
411
+ "window_duration_hours": 0.5
412
+ }
413
+ ],
414
+ "stay_id": "90000005_99000005"
415
+ }
loader.py ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Load aligned RealICU inputs and reference labels without the experiment code."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ import json
7
+ import math
8
+ from collections.abc import Collection
9
+ from pathlib import Path
10
+ from typing import Any
11
+
12
+ import pandas as pd
13
+
14
+
15
+ EVENT_COLUMNS = [
16
+ "time",
17
+ "code",
18
+ "code_specifics",
19
+ "numeric_value",
20
+ "text_value",
21
+ "source_event_index",
22
+ "icu_event_index",
23
+ ]
24
+
25
+
26
+ class RealICULoader:
27
+ """Read one stay once, then select any of its published label windows."""
28
+
29
+ def __init__(self, root: str | Path, label_set: str, stay_id: str) -> None:
30
+ if label_set not in {"gold", "scale"}:
31
+ raise ValueError("label_set must be 'gold' or 'scale'")
32
+
33
+ root = Path(root)
34
+ stays = pd.read_parquet(
35
+ root / "trajectories/icu_stay.parquet",
36
+ filters=[("stay_id", "==", stay_id)],
37
+ columns=["stay_id", "enter_time", "leave_time"],
38
+ )
39
+ if len(stays) != 1:
40
+ raise ValueError(f"Expected one ICU stay for {stay_id}, found {len(stays)}")
41
+
42
+ with (root / label_set / "labels" / f"{stay_id}.json").open(encoding="utf-8") as handle:
43
+ payload = json.load(handle)
44
+ if payload["stay_id"] != stay_id:
45
+ raise ValueError(f"Label stay_id does not match {stay_id}")
46
+
47
+ self._windows = {window["window_index"]: window for window in payload["window_outputs"]}
48
+ if not self._windows or len(self._windows) != len(payload["window_outputs"]):
49
+ raise ValueError(f"Empty or duplicate label windows for {stay_id}")
50
+
51
+ self.stay_id = stay_id
52
+ self.enter_time = pd.Timestamp(stays.iloc[0]["enter_time"])
53
+ self.leave_time = pd.Timestamp(stays.iloc[0]["leave_time"])
54
+ self.window_indices = tuple(sorted(self._windows))
55
+ self._events = pd.read_parquet(
56
+ root / "trajectories/events.parquet",
57
+ filters=[("stay_id", "==", stay_id)],
58
+ columns=EVENT_COLUMNS,
59
+ ).sort_values(["time", "source_event_index"], kind="stable").reset_index(drop=True)
60
+
61
+ @staticmethod
62
+ def _history_start(anchor: pd.Timestamp, hours: float | None) -> pd.Timestamp | None:
63
+ if hours is None:
64
+ return None
65
+ if not math.isfinite(hours) or hours < 0:
66
+ raise ValueError("History hours must be finite and nonnegative, or None for all available history")
67
+ return anchor - pd.Timedelta(hours=hours)
68
+
69
+ def _slice_events(
70
+ self,
71
+ start: pd.Timestamp | None,
72
+ end: pd.Timestamp,
73
+ excluded_event_codes: Collection[str],
74
+ ) -> pd.DataFrame:
75
+ times = self._events["time"]
76
+ left = 0 if start is None else times.searchsorted(start, side="left")
77
+ right = times.searchsorted(end, side="left")
78
+ events = self._events.iloc[left:right]
79
+ return events.loc[~events["code"].isin(excluded_event_codes)].copy().reset_index(drop=True)
80
+
81
+ def load_window(
82
+ self,
83
+ window_index: int,
84
+ *,
85
+ icu_history_hours: float | None,
86
+ pre_icu_history_hours: float | None,
87
+ excluded_event_codes: Collection[str],
88
+ ) -> dict[str, Any]:
89
+ """Return input event tables and labels; None selects all history, zero selects none."""
90
+ window = self._windows[window_index]
91
+ metadata = window["window_metadata"]
92
+ start = pd.Timestamp(metadata["window_start_time"])
93
+ end = pd.Timestamp(metadata["window_end_time"])
94
+ if not self.enter_time <= start < end <= self.leave_time:
95
+ raise ValueError(f"Window {window_index} lies outside ICU stay {self.stay_id}")
96
+
97
+ history_start = self._history_start(start, icu_history_hours)
98
+ if history_start is None or history_start < self.enter_time:
99
+ history_start = self.enter_time
100
+ pre_icu_start = self._history_start(self.enter_time, pre_icu_history_hours)
101
+
102
+ return {
103
+ "input": {
104
+ "sample_id": window["sample_id"],
105
+ "stay_id": self.stay_id,
106
+ "window_start_time": start,
107
+ "window_end_time": end,
108
+ "pre_icu_events": self._slice_events(pre_icu_start, self.enter_time, excluded_event_codes),
109
+ "history_events": self._slice_events(history_start, start, excluded_event_codes),
110
+ "current_events": self._slice_events(start, end, excluded_event_codes),
111
+ },
112
+ "labels": {
113
+ "reference_labels": window["reference_labels"],
114
+ "label_availability": window["label_availability"],
115
+ },
116
+ }
117
+
118
+
119
+ def _parse_history_hours(value: str) -> float | None:
120
+ if value == "all":
121
+ return None
122
+ try:
123
+ hours = float(value)
124
+ except ValueError as error:
125
+ raise argparse.ArgumentTypeError("Use 'all' or a nonnegative number of hours") from error
126
+ if not math.isfinite(hours) or hours < 0:
127
+ raise argparse.ArgumentTypeError("Use 'all' or a finite, nonnegative number of hours")
128
+ return hours
129
+
130
+
131
+ def main() -> None:
132
+ parser = argparse.ArgumentParser(description=__doc__)
133
+ parser.add_argument("--root", type=Path, required=True)
134
+ parser.add_argument("--label-set", choices=["gold", "scale"], required=True)
135
+ parser.add_argument("--stay-id", required=True)
136
+ parser.add_argument("--window-index", type=int, required=True)
137
+ parser.add_argument("--icu-history-hours", type=_parse_history_hours, required=True)
138
+ parser.add_argument("--pre-icu-history-hours", type=_parse_history_hours, required=True)
139
+ parser.add_argument("--excluded-event-codes", nargs="*", required=True)
140
+ args = parser.parse_args()
141
+
142
+ loader = RealICULoader(args.root, args.label_set, args.stay_id)
143
+ sample = loader.load_window(
144
+ args.window_index,
145
+ icu_history_hours=args.icu_history_hours,
146
+ pre_icu_history_hours=args.pre_icu_history_hours,
147
+ excluded_event_codes=args.excluded_event_codes,
148
+ )
149
+ model_input = sample["input"]
150
+ print(json.dumps({
151
+ "sample_id": model_input["sample_id"],
152
+ "window_start_time": model_input["window_start_time"].isoformat(),
153
+ "window_end_time": model_input["window_end_time"].isoformat(),
154
+ "event_counts": {
155
+ key: len(model_input[key])
156
+ for key in ("pre_icu_events", "history_events", "current_events")
157
+ },
158
+ "label_availability": sample["labels"]["label_availability"],
159
+ }, indent=2))
160
+
161
+
162
+ if __name__ == "__main__":
163
+ main()
scale/labels/90000001_99000001.json ADDED
@@ -0,0 +1,2898 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000001,
3
+ "icu_stay_id": 99000001,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2151-03-14T06:42:17",
6
+ "leave_time": "2151-03-15T09:27:17",
7
+ "age": 68.40049107029685,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 26.0,
10
+ "icu_duration_hours": 26.0,
11
+ "survived": true,
12
+ "icu_outcome": "Survived after ICU",
13
+ "death_time": null,
14
+ "total_events": 390
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2151-03-14T06:42:17",
21
+ "window_end_time": "2151-03-14T07:12:17",
22
+ "hours_since_admission": 0.0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 13
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "deteriorating",
30
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 66 mmHg, HR 109 bpm, SpO2 90%."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Septic shock",
35
+ "key_evidence": [
36
+ "3",
37
+ "16"
38
+ ]
39
+ },
40
+ {
41
+ "risk_name": "Hypoxemic respiratory failure",
42
+ "key_evidence": [
43
+ "4",
44
+ "7"
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ "action_review": {
50
+ "evaluations": [
51
+ {
52
+ "action_id": "9",
53
+ "action_name": "Head of Bed 30 Degrees",
54
+ "label": "acceptable",
55
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Escalating vasopressor need and rising lactate indicate worsening septic shock."
56
+ },
57
+ {
58
+ "action_id": "12",
59
+ "action_name": "BODY_INPUT NaCl 0.9%",
60
+ "label": "best_practice",
61
+ "rationale": "NaCl 0.9% is appropriate for septic shock from right lower lobe pneumonia."
62
+ }
63
+ ],
64
+ "red_flags": []
65
+ }
66
+ },
67
+ "sample_id": "scale/90000001_99000001/0.000000|0.500000",
68
+ "label_availability": {
69
+ "patient_status": true,
70
+ "recommended_action": true,
71
+ "active_risks": true,
72
+ "red_flags": true
73
+ },
74
+ "window_key": "0.000000|0.500000",
75
+ "window_duration_hours": 0.5
76
+ },
77
+ {
78
+ "window_index": 1,
79
+ "window_metadata": {
80
+ "window_start_time": "2151-03-14T07:12:17",
81
+ "window_end_time": "2151-03-14T07:42:17",
82
+ "hours_since_admission": 0.5,
83
+ "current_window_hours": 0.5,
84
+ "num_current_events": 9
85
+ },
86
+ "reference_labels": {
87
+ "patient_assessment": {
88
+ "overall": {
89
+ "label": "deteriorating",
90
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 64 mmHg, HR 115 bpm, SpO2 92%; latest lactate 3.32."
91
+ },
92
+ "active_risks": [
93
+ {
94
+ "risk_name": "Septic shock",
95
+ "key_evidence": [
96
+ "14",
97
+ "16"
98
+ ]
99
+ },
100
+ {
101
+ "risk_name": "Hypoxemic respiratory failure",
102
+ "key_evidence": [
103
+ "15",
104
+ "7"
105
+ ]
106
+ }
107
+ ]
108
+ },
109
+ "action_review": {
110
+ "evaluations": [
111
+ {
112
+ "action_id": "16",
113
+ "action_name": "LAB_TEST Lactate",
114
+ "label": "acceptable",
115
+ "rationale": "Lactate is reasonable monitoring or support in this context. Escalating vasopressor need and rising lactate indicate worsening septic shock."
116
+ },
117
+ {
118
+ "action_id": "17",
119
+ "action_name": "LAB_TEST Creatinine",
120
+ "label": "acceptable",
121
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Escalating vasopressor need and rising lactate indicate worsening septic shock."
122
+ },
123
+ {
124
+ "action_id": "21",
125
+ "action_name": "MICROBIOLOGY_TEST BLOOD CULTURE",
126
+ "label": "best_practice",
127
+ "rationale": "BLOOD CULTURE is appropriate for septic shock from right lower lobe pneumonia."
128
+ }
129
+ ],
130
+ "red_flags": []
131
+ }
132
+ },
133
+ "sample_id": "scale/90000001_99000001/0.500000|1.000000",
134
+ "label_availability": {
135
+ "patient_status": true,
136
+ "recommended_action": true,
137
+ "active_risks": true,
138
+ "red_flags": true
139
+ },
140
+ "window_key": "0.500000|1.000000",
141
+ "window_duration_hours": 0.5
142
+ },
143
+ {
144
+ "window_index": 2,
145
+ "window_metadata": {
146
+ "window_start_time": "2151-03-14T07:42:17",
147
+ "window_end_time": "2151-03-14T08:12:17",
148
+ "hours_since_admission": 1.0,
149
+ "current_window_hours": 0.5,
150
+ "num_current_events": 9
151
+ },
152
+ "reference_labels": {
153
+ "patient_assessment": {
154
+ "overall": {
155
+ "label": "deteriorating",
156
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 63 mmHg, HR 115 bpm, SpO2 90%; latest lactate 3.32."
157
+ },
158
+ "active_risks": [
159
+ {
160
+ "risk_name": "Septic shock",
161
+ "key_evidence": [
162
+ "25",
163
+ "16"
164
+ ]
165
+ },
166
+ {
167
+ "risk_name": "Hypoxemic respiratory failure",
168
+ "key_evidence": [
169
+ "26",
170
+ "29"
171
+ ]
172
+ }
173
+ ]
174
+ },
175
+ "action_review": {
176
+ "evaluations": [
177
+ {
178
+ "action_id": "22",
179
+ "action_name": "Piperacillin-Tazobactam",
180
+ "label": "best_practice",
181
+ "rationale": "Piperacillin-Tazobactam is appropriate for septic shock from right lower lobe pneumonia."
182
+ },
183
+ {
184
+ "action_id": "23",
185
+ "action_name": "Vancomycin",
186
+ "label": "best_practice",
187
+ "rationale": "Vancomycin is appropriate for septic shock from right lower lobe pneumonia."
188
+ }
189
+ ],
190
+ "red_flags": []
191
+ }
192
+ },
193
+ "sample_id": "scale/90000001_99000001/1.000000|1.500000",
194
+ "label_availability": {
195
+ "patient_status": true,
196
+ "recommended_action": true,
197
+ "active_risks": true,
198
+ "red_flags": true
199
+ },
200
+ "window_key": "1.000000|1.500000",
201
+ "window_duration_hours": 0.5
202
+ },
203
+ {
204
+ "window_index": 3,
205
+ "window_metadata": {
206
+ "window_start_time": "2151-03-14T08:12:17",
207
+ "window_end_time": "2151-03-14T08:42:17",
208
+ "hours_since_admission": 1.5,
209
+ "current_window_hours": 0.5,
210
+ "num_current_events": 5
211
+ },
212
+ "reference_labels": {
213
+ "patient_assessment": {
214
+ "overall": {
215
+ "label": "deteriorating",
216
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 64 mmHg, HR 116 bpm, SpO2 92%; latest lactate 3.32."
217
+ },
218
+ "active_risks": [
219
+ {
220
+ "risk_name": "Septic shock",
221
+ "key_evidence": [
222
+ "32",
223
+ "16"
224
+ ]
225
+ },
226
+ {
227
+ "risk_name": "Hypoxemic respiratory failure",
228
+ "key_evidence": [
229
+ "33",
230
+ "29"
231
+ ]
232
+ }
233
+ ]
234
+ },
235
+ "action_review": {
236
+ "evaluations": [
237
+ {
238
+ "action_id": "34",
239
+ "action_name": "XRAY CHEST (PORTABLE AP)",
240
+ "label": "best_practice",
241
+ "rationale": "CHEST (PORTABLE AP) is appropriate for septic shock from right lower lobe pneumonia."
242
+ }
243
+ ],
244
+ "red_flags": []
245
+ }
246
+ },
247
+ "sample_id": "scale/90000001_99000001/1.500000|2.000000",
248
+ "label_availability": {
249
+ "patient_status": true,
250
+ "recommended_action": true,
251
+ "active_risks": true,
252
+ "red_flags": true
253
+ },
254
+ "window_key": "1.500000|2.000000",
255
+ "window_duration_hours": 0.5
256
+ },
257
+ {
258
+ "window_index": 4,
259
+ "window_metadata": {
260
+ "window_start_time": "2151-03-14T08:42:17",
261
+ "window_end_time": "2151-03-14T09:12:17",
262
+ "hours_since_admission": 2.0,
263
+ "current_window_hours": 0.5,
264
+ "num_current_events": 9
265
+ },
266
+ "reference_labels": {
267
+ "patient_assessment": {
268
+ "overall": {
269
+ "label": "deteriorating",
270
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 64 mmHg, HR 116 bpm, SpO2 93%; latest lactate 3.32."
271
+ },
272
+ "active_risks": [
273
+ {
274
+ "risk_name": "Septic shock",
275
+ "key_evidence": [
276
+ "38",
277
+ "16"
278
+ ]
279
+ },
280
+ {
281
+ "risk_name": "Hypoxemic respiratory failure",
282
+ "key_evidence": [
283
+ "39",
284
+ "42"
285
+ ]
286
+ }
287
+ ]
288
+ },
289
+ "action_review": {
290
+ "evaluations": [
291
+ {
292
+ "action_id": "36",
293
+ "action_name": "Arterial Line",
294
+ "label": "best_practice",
295
+ "rationale": "Arterial Line is appropriate for septic shock from right lower lobe pneumonia."
296
+ },
297
+ {
298
+ "action_id": "43",
299
+ "action_name": "BODY_INPUT Norepinephrine",
300
+ "label": "best_practice",
301
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
302
+ }
303
+ ],
304
+ "red_flags": []
305
+ }
306
+ },
307
+ "sample_id": "scale/90000001_99000001/2.000000|2.500000",
308
+ "label_availability": {
309
+ "patient_status": true,
310
+ "recommended_action": true,
311
+ "active_risks": true,
312
+ "red_flags": true
313
+ },
314
+ "window_key": "2.000000|2.500000",
315
+ "window_duration_hours": 0.5
316
+ },
317
+ {
318
+ "window_index": 6,
319
+ "window_metadata": {
320
+ "window_start_time": "2151-03-14T09:42:17",
321
+ "window_end_time": "2151-03-14T10:12:17",
322
+ "hours_since_admission": 3.0,
323
+ "current_window_hours": 0.5,
324
+ "num_current_events": 9
325
+ },
326
+ "reference_labels": {
327
+ "patient_assessment": {
328
+ "overall": {
329
+ "label": "deteriorating",
330
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 62 mmHg, HR 120 bpm, SpO2 89%; latest lactate 3.32."
331
+ },
332
+ "active_risks": [
333
+ {
334
+ "risk_name": "Septic shock",
335
+ "key_evidence": [
336
+ "49",
337
+ "16"
338
+ ]
339
+ },
340
+ {
341
+ "risk_name": "Hypoxemic respiratory failure",
342
+ "key_evidence": [
343
+ "50",
344
+ "53"
345
+ ]
346
+ }
347
+ ]
348
+ },
349
+ "action_review": {
350
+ "evaluations": [
351
+ {
352
+ "action_id": "54",
353
+ "action_name": "BODY_INPUT Norepinephrine",
354
+ "label": "best_practice",
355
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
356
+ },
357
+ {
358
+ "action_id": "56",
359
+ "action_name": "BODY_INPUT NaCl 0.9%",
360
+ "label": "best_practice",
361
+ "rationale": "NaCl 0.9% is appropriate for septic shock from right lower lobe pneumonia."
362
+ }
363
+ ],
364
+ "red_flags": [
365
+ {
366
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
367
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
368
+ "key_evidence": [
369
+ "50"
370
+ ]
371
+ }
372
+ ]
373
+ }
374
+ },
375
+ "sample_id": "scale/90000001_99000001/3.000000|3.500000",
376
+ "label_availability": {
377
+ "patient_status": true,
378
+ "recommended_action": true,
379
+ "active_risks": true,
380
+ "red_flags": true
381
+ },
382
+ "window_key": "3.000000|3.500000",
383
+ "window_duration_hours": 0.5
384
+ },
385
+ {
386
+ "window_index": 7,
387
+ "window_metadata": {
388
+ "window_start_time": "2151-03-14T10:12:17",
389
+ "window_end_time": "2151-03-14T10:42:17",
390
+ "hours_since_admission": 3.5,
391
+ "current_window_hours": 0.5,
392
+ "num_current_events": 3
393
+ },
394
+ "reference_labels": {
395
+ "patient_assessment": {
396
+ "overall": {
397
+ "label": "deteriorating",
398
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 59 mmHg, HR 120 bpm, SpO2 90%; latest lactate 3.32."
399
+ },
400
+ "active_risks": [
401
+ {
402
+ "risk_name": "Septic shock",
403
+ "key_evidence": [
404
+ "58",
405
+ "16"
406
+ ]
407
+ },
408
+ {
409
+ "risk_name": "Hypoxemic respiratory failure",
410
+ "key_evidence": [
411
+ "59",
412
+ "53"
413
+ ]
414
+ }
415
+ ]
416
+ },
417
+ "action_review": {
418
+ "evaluations": [],
419
+ "red_flags": [
420
+ {
421
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
422
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
423
+ "key_evidence": [
424
+ "59"
425
+ ]
426
+ }
427
+ ]
428
+ }
429
+ },
430
+ "sample_id": "scale/90000001_99000001/3.500000|4.000000",
431
+ "label_availability": {
432
+ "patient_status": true,
433
+ "recommended_action": true,
434
+ "active_risks": true,
435
+ "red_flags": true
436
+ },
437
+ "window_key": "3.500000|4.000000",
438
+ "window_duration_hours": 0.5
439
+ },
440
+ {
441
+ "window_index": 8,
442
+ "window_metadata": {
443
+ "window_start_time": "2151-03-14T10:42:17",
444
+ "window_end_time": "2151-03-14T11:12:17",
445
+ "hours_since_admission": 4.0,
446
+ "current_window_hours": 0.5,
447
+ "num_current_events": 11
448
+ },
449
+ "reference_labels": {
450
+ "patient_assessment": {
451
+ "overall": {
452
+ "label": "deteriorating",
453
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 62 mmHg, HR 119 bpm, SpO2 90%; latest lactate 3.32."
454
+ },
455
+ "active_risks": [
456
+ {
457
+ "risk_name": "Septic shock",
458
+ "key_evidence": [
459
+ "61",
460
+ "16"
461
+ ]
462
+ },
463
+ {
464
+ "risk_name": "Acute kidney injury",
465
+ "key_evidence": [
466
+ "17",
467
+ "70"
468
+ ]
469
+ },
470
+ {
471
+ "risk_name": "Hypoxemic respiratory failure",
472
+ "key_evidence": [
473
+ "62",
474
+ "65"
475
+ ]
476
+ }
477
+ ]
478
+ },
479
+ "action_review": {
480
+ "evaluations": [
481
+ {
482
+ "action_id": "67",
483
+ "action_name": "Head of Bed 30 Degrees",
484
+ "label": "acceptable",
485
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Escalating vasopressor need and rising lactate indicate worsening septic shock."
486
+ },
487
+ {
488
+ "action_id": "69",
489
+ "action_name": "BODY_INPUT Norepinephrine",
490
+ "label": "best_practice",
491
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
492
+ }
493
+ ],
494
+ "red_flags": [
495
+ {
496
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
497
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
498
+ "key_evidence": [
499
+ "62"
500
+ ]
501
+ },
502
+ {
503
+ "contraindicated_action": "NSAIDs for fever control",
504
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
505
+ "key_evidence": [
506
+ "17"
507
+ ]
508
+ }
509
+ ]
510
+ }
511
+ },
512
+ "sample_id": "scale/90000001_99000001/4.000000|4.500000",
513
+ "label_availability": {
514
+ "patient_status": true,
515
+ "recommended_action": true,
516
+ "active_risks": true,
517
+ "red_flags": true
518
+ },
519
+ "window_key": "4.000000|4.500000",
520
+ "window_duration_hours": 0.5
521
+ },
522
+ {
523
+ "window_index": 9,
524
+ "window_metadata": {
525
+ "window_start_time": "2151-03-14T11:12:17",
526
+ "window_end_time": "2151-03-14T11:42:17",
527
+ "hours_since_admission": 4.5,
528
+ "current_window_hours": 0.5,
529
+ "num_current_events": 3
530
+ },
531
+ "reference_labels": {
532
+ "patient_assessment": {
533
+ "overall": {
534
+ "label": "deteriorating",
535
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 60 mmHg, HR 121 bpm, SpO2 91%; latest lactate 3.32."
536
+ },
537
+ "active_risks": [
538
+ {
539
+ "risk_name": "Septic shock",
540
+ "key_evidence": [
541
+ "72",
542
+ "16"
543
+ ]
544
+ },
545
+ {
546
+ "risk_name": "Acute kidney injury",
547
+ "key_evidence": [
548
+ "17",
549
+ "70"
550
+ ]
551
+ },
552
+ {
553
+ "risk_name": "Hypoxemic respiratory failure",
554
+ "key_evidence": [
555
+ "73",
556
+ "65"
557
+ ]
558
+ }
559
+ ]
560
+ },
561
+ "action_review": {
562
+ "evaluations": [],
563
+ "red_flags": [
564
+ {
565
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
566
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
567
+ "key_evidence": [
568
+ "73"
569
+ ]
570
+ },
571
+ {
572
+ "contraindicated_action": "NSAIDs for fever control",
573
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
574
+ "key_evidence": [
575
+ "17"
576
+ ]
577
+ }
578
+ ]
579
+ }
580
+ },
581
+ "sample_id": "scale/90000001_99000001/4.500000|5.000000",
582
+ "label_availability": {
583
+ "patient_status": true,
584
+ "recommended_action": true,
585
+ "active_risks": true,
586
+ "red_flags": true
587
+ },
588
+ "window_key": "4.500000|5.000000",
589
+ "window_duration_hours": 0.5
590
+ },
591
+ {
592
+ "window_index": 10,
593
+ "window_metadata": {
594
+ "window_start_time": "2151-03-14T11:42:17",
595
+ "window_end_time": "2151-03-14T12:12:17",
596
+ "hours_since_admission": 5.0,
597
+ "current_window_hours": 0.5,
598
+ "num_current_events": 8
599
+ },
600
+ "reference_labels": {
601
+ "patient_assessment": {
602
+ "overall": {
603
+ "label": "deteriorating",
604
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 56 mmHg, HR 125 bpm, SpO2 89%; latest lactate 3.32."
605
+ },
606
+ "active_risks": [
607
+ {
608
+ "risk_name": "Septic shock",
609
+ "key_evidence": [
610
+ "75",
611
+ "16"
612
+ ]
613
+ },
614
+ {
615
+ "risk_name": "Acute kidney injury",
616
+ "key_evidence": [
617
+ "17",
618
+ "81"
619
+ ]
620
+ },
621
+ {
622
+ "risk_name": "Hypoxemic respiratory failure",
623
+ "key_evidence": [
624
+ "76",
625
+ "79"
626
+ ]
627
+ }
628
+ ]
629
+ },
630
+ "action_review": {
631
+ "evaluations": [
632
+ {
633
+ "action_id": "80",
634
+ "action_name": "BODY_INPUT Norepinephrine",
635
+ "label": "best_practice",
636
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
637
+ }
638
+ ],
639
+ "red_flags": [
640
+ {
641
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
642
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
643
+ "key_evidence": [
644
+ "76"
645
+ ]
646
+ },
647
+ {
648
+ "contraindicated_action": "NSAIDs for fever control",
649
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
650
+ "key_evidence": [
651
+ "17"
652
+ ]
653
+ }
654
+ ]
655
+ }
656
+ },
657
+ "sample_id": "scale/90000001_99000001/5.000000|5.500000",
658
+ "label_availability": {
659
+ "patient_status": true,
660
+ "recommended_action": true,
661
+ "active_risks": true,
662
+ "red_flags": true
663
+ },
664
+ "window_key": "5.000000|5.500000",
665
+ "window_duration_hours": 0.5
666
+ },
667
+ {
668
+ "window_index": 11,
669
+ "window_metadata": {
670
+ "window_start_time": "2151-03-14T12:12:17",
671
+ "window_end_time": "2151-03-14T12:42:17",
672
+ "hours_since_admission": 5.5,
673
+ "current_window_hours": 0.5,
674
+ "num_current_events": 3
675
+ },
676
+ "reference_labels": {
677
+ "patient_assessment": {
678
+ "overall": {
679
+ "label": "deteriorating",
680
+ "rationale": "Escalating vasopressor need and rising lactate indicate worsening septic shock. Current window: MAP 56 mmHg, HR 123 bpm, SpO2 89%; latest lactate 3.32."
681
+ },
682
+ "active_risks": [
683
+ {
684
+ "risk_name": "Septic shock",
685
+ "key_evidence": [
686
+ "83",
687
+ "16"
688
+ ]
689
+ },
690
+ {
691
+ "risk_name": "Acute kidney injury",
692
+ "key_evidence": [
693
+ "17",
694
+ "81"
695
+ ]
696
+ },
697
+ {
698
+ "risk_name": "Hypoxemic respiratory failure",
699
+ "key_evidence": [
700
+ "84",
701
+ "79"
702
+ ]
703
+ }
704
+ ]
705
+ },
706
+ "action_review": {
707
+ "evaluations": [],
708
+ "red_flags": [
709
+ {
710
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
711
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
712
+ "key_evidence": [
713
+ "84"
714
+ ]
715
+ },
716
+ {
717
+ "contraindicated_action": "NSAIDs for fever control",
718
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
719
+ "key_evidence": [
720
+ "17"
721
+ ]
722
+ }
723
+ ]
724
+ }
725
+ },
726
+ "sample_id": "scale/90000001_99000001/5.500000|6.000000",
727
+ "label_availability": {
728
+ "patient_status": true,
729
+ "recommended_action": true,
730
+ "active_risks": true,
731
+ "red_flags": true
732
+ },
733
+ "window_key": "5.500000|6.000000",
734
+ "window_duration_hours": 0.5
735
+ },
736
+ {
737
+ "window_index": 13,
738
+ "window_metadata": {
739
+ "window_start_time": "2151-03-14T13:12:17",
740
+ "window_end_time": "2151-03-14T13:42:17",
741
+ "hours_since_admission": 6.5,
742
+ "current_window_hours": 0.5,
743
+ "num_current_events": 3
744
+ },
745
+ "reference_labels": {
746
+ "patient_assessment": {
747
+ "overall": {
748
+ "label": "stable",
749
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 60 mmHg, HR 122 bpm, SpO2 92%; latest lactate 4.34."
750
+ },
751
+ "active_risks": [
752
+ {
753
+ "risk_name": "Septic shock",
754
+ "key_evidence": [
755
+ "100",
756
+ "85"
757
+ ]
758
+ },
759
+ {
760
+ "risk_name": "Acute kidney injury",
761
+ "key_evidence": [
762
+ "86",
763
+ "98"
764
+ ]
765
+ },
766
+ {
767
+ "risk_name": "Hypoxemic respiratory failure",
768
+ "key_evidence": [
769
+ "101",
770
+ "95"
771
+ ]
772
+ }
773
+ ]
774
+ },
775
+ "action_review": {
776
+ "evaluations": [],
777
+ "red_flags": [
778
+ {
779
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
780
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
781
+ "key_evidence": [
782
+ "101"
783
+ ]
784
+ },
785
+ {
786
+ "contraindicated_action": "NSAIDs for fever control",
787
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
788
+ "key_evidence": [
789
+ "86"
790
+ ]
791
+ }
792
+ ]
793
+ }
794
+ },
795
+ "sample_id": "scale/90000001_99000001/6.500000|7.000000",
796
+ "label_availability": {
797
+ "patient_status": true,
798
+ "recommended_action": true,
799
+ "active_risks": true,
800
+ "red_flags": true
801
+ },
802
+ "window_key": "6.500000|7.000000",
803
+ "window_duration_hours": 0.5
804
+ },
805
+ {
806
+ "window_index": 14,
807
+ "window_metadata": {
808
+ "window_start_time": "2151-03-14T13:42:17",
809
+ "window_end_time": "2151-03-14T14:12:17",
810
+ "hours_since_admission": 7.0,
811
+ "current_window_hours": 0.5,
812
+ "num_current_events": 8
813
+ },
814
+ "reference_labels": {
815
+ "patient_assessment": {
816
+ "overall": {
817
+ "label": "stable",
818
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 58 mmHg, HR 119 bpm, SpO2 92%; latest lactate 4.34."
819
+ },
820
+ "active_risks": [
821
+ {
822
+ "risk_name": "Septic shock",
823
+ "key_evidence": [
824
+ "103",
825
+ "85"
826
+ ]
827
+ },
828
+ {
829
+ "risk_name": "Acute kidney injury",
830
+ "key_evidence": [
831
+ "86",
832
+ "109"
833
+ ]
834
+ },
835
+ {
836
+ "risk_name": "Hypoxemic respiratory failure",
837
+ "key_evidence": [
838
+ "104",
839
+ "107"
840
+ ]
841
+ }
842
+ ]
843
+ },
844
+ "action_review": {
845
+ "evaluations": [
846
+ {
847
+ "action_id": "108",
848
+ "action_name": "BODY_INPUT Norepinephrine",
849
+ "label": "best_practice",
850
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
851
+ }
852
+ ],
853
+ "red_flags": [
854
+ {
855
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
856
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
857
+ "key_evidence": [
858
+ "104"
859
+ ]
860
+ },
861
+ {
862
+ "contraindicated_action": "NSAIDs for fever control",
863
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
864
+ "key_evidence": [
865
+ "86"
866
+ ]
867
+ }
868
+ ]
869
+ }
870
+ },
871
+ "sample_id": "scale/90000001_99000001/7.000000|7.500000",
872
+ "label_availability": {
873
+ "patient_status": true,
874
+ "recommended_action": true,
875
+ "active_risks": true,
876
+ "red_flags": true
877
+ },
878
+ "window_key": "7.000000|7.500000",
879
+ "window_duration_hours": 0.5
880
+ },
881
+ {
882
+ "window_index": 15,
883
+ "window_metadata": {
884
+ "window_start_time": "2151-03-14T14:12:17",
885
+ "window_end_time": "2151-03-14T14:42:17",
886
+ "hours_since_admission": 7.5,
887
+ "current_window_hours": 0.5,
888
+ "num_current_events": 3
889
+ },
890
+ "reference_labels": {
891
+ "patient_assessment": {
892
+ "overall": {
893
+ "label": "stable",
894
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 61 mmHg, HR 119 bpm, SpO2 89%; latest lactate 4.34."
895
+ },
896
+ "active_risks": [
897
+ {
898
+ "risk_name": "Septic shock",
899
+ "key_evidence": [
900
+ "111",
901
+ "85"
902
+ ]
903
+ },
904
+ {
905
+ "risk_name": "Acute kidney injury",
906
+ "key_evidence": [
907
+ "86",
908
+ "109"
909
+ ]
910
+ },
911
+ {
912
+ "risk_name": "Hypoxemic respiratory failure",
913
+ "key_evidence": [
914
+ "112",
915
+ "107"
916
+ ]
917
+ }
918
+ ]
919
+ },
920
+ "action_review": {
921
+ "evaluations": [],
922
+ "red_flags": [
923
+ {
924
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
925
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
926
+ "key_evidence": [
927
+ "112"
928
+ ]
929
+ },
930
+ {
931
+ "contraindicated_action": "NSAIDs for fever control",
932
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
933
+ "key_evidence": [
934
+ "86"
935
+ ]
936
+ }
937
+ ]
938
+ }
939
+ },
940
+ "sample_id": "scale/90000001_99000001/7.500000|8.000000",
941
+ "label_availability": {
942
+ "patient_status": true,
943
+ "recommended_action": true,
944
+ "active_risks": true,
945
+ "red_flags": true
946
+ },
947
+ "window_key": "7.500000|8.000000",
948
+ "window_duration_hours": 0.5
949
+ },
950
+ {
951
+ "window_index": 16,
952
+ "window_metadata": {
953
+ "window_start_time": "2151-03-14T14:42:17",
954
+ "window_end_time": "2151-03-14T15:12:17",
955
+ "hours_since_admission": 8.0,
956
+ "current_window_hours": 0.5,
957
+ "num_current_events": 11
958
+ },
959
+ "reference_labels": {
960
+ "patient_assessment": {
961
+ "overall": {
962
+ "label": "stable",
963
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 61 mmHg, HR 118 bpm, SpO2 92%; latest lactate 4.34."
964
+ },
965
+ "active_risks": [
966
+ {
967
+ "risk_name": "Septic shock",
968
+ "key_evidence": [
969
+ "114",
970
+ "85"
971
+ ]
972
+ },
973
+ {
974
+ "risk_name": "Acute kidney injury",
975
+ "key_evidence": [
976
+ "86",
977
+ "123"
978
+ ]
979
+ },
980
+ {
981
+ "risk_name": "Hypoxemic respiratory failure",
982
+ "key_evidence": [
983
+ "115",
984
+ "118"
985
+ ]
986
+ }
987
+ ]
988
+ },
989
+ "action_review": {
990
+ "evaluations": [
991
+ {
992
+ "action_id": "120",
993
+ "action_name": "Head of Bed 30 Degrees",
994
+ "label": "acceptable",
995
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamics are maintained on a stable norepinephrine dose without further escalation."
996
+ },
997
+ {
998
+ "action_id": "122",
999
+ "action_name": "BODY_INPUT Norepinephrine",
1000
+ "label": "best_practice",
1001
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1002
+ }
1003
+ ],
1004
+ "red_flags": [
1005
+ {
1006
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1007
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1008
+ "key_evidence": [
1009
+ "115"
1010
+ ]
1011
+ },
1012
+ {
1013
+ "contraindicated_action": "NSAIDs for fever control",
1014
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1015
+ "key_evidence": [
1016
+ "86"
1017
+ ]
1018
+ }
1019
+ ]
1020
+ }
1021
+ },
1022
+ "sample_id": "scale/90000001_99000001/8.000000|8.500000",
1023
+ "label_availability": {
1024
+ "patient_status": true,
1025
+ "recommended_action": true,
1026
+ "active_risks": true,
1027
+ "red_flags": true
1028
+ },
1029
+ "window_key": "8.000000|8.500000",
1030
+ "window_duration_hours": 0.5
1031
+ },
1032
+ {
1033
+ "window_index": 17,
1034
+ "window_metadata": {
1035
+ "window_start_time": "2151-03-14T15:12:17",
1036
+ "window_end_time": "2151-03-14T15:42:17",
1037
+ "hours_since_admission": 8.5,
1038
+ "current_window_hours": 0.5,
1039
+ "num_current_events": 3
1040
+ },
1041
+ "reference_labels": {
1042
+ "patient_assessment": {
1043
+ "overall": {
1044
+ "label": "stable",
1045
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 63 mmHg, HR 119 bpm, SpO2 94%; latest lactate 4.34."
1046
+ },
1047
+ "active_risks": [
1048
+ {
1049
+ "risk_name": "Septic shock",
1050
+ "key_evidence": [
1051
+ "125",
1052
+ "85"
1053
+ ]
1054
+ },
1055
+ {
1056
+ "risk_name": "Acute kidney injury",
1057
+ "key_evidence": [
1058
+ "86",
1059
+ "123"
1060
+ ]
1061
+ },
1062
+ {
1063
+ "risk_name": "Hypoxemic respiratory failure",
1064
+ "key_evidence": [
1065
+ "126",
1066
+ "118"
1067
+ ]
1068
+ }
1069
+ ]
1070
+ },
1071
+ "action_review": {
1072
+ "evaluations": [],
1073
+ "red_flags": [
1074
+ {
1075
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1076
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1077
+ "key_evidence": [
1078
+ "126"
1079
+ ]
1080
+ },
1081
+ {
1082
+ "contraindicated_action": "NSAIDs for fever control",
1083
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1084
+ "key_evidence": [
1085
+ "86"
1086
+ ]
1087
+ }
1088
+ ]
1089
+ }
1090
+ },
1091
+ "sample_id": "scale/90000001_99000001/8.500000|9.000000",
1092
+ "label_availability": {
1093
+ "patient_status": true,
1094
+ "recommended_action": true,
1095
+ "active_risks": true,
1096
+ "red_flags": true
1097
+ },
1098
+ "window_key": "8.500000|9.000000",
1099
+ "window_duration_hours": 0.5
1100
+ },
1101
+ {
1102
+ "window_index": 18,
1103
+ "window_metadata": {
1104
+ "window_start_time": "2151-03-14T15:42:17",
1105
+ "window_end_time": "2151-03-14T16:12:17",
1106
+ "hours_since_admission": 9.0,
1107
+ "current_window_hours": 0.5,
1108
+ "num_current_events": 8
1109
+ },
1110
+ "reference_labels": {
1111
+ "patient_assessment": {
1112
+ "overall": {
1113
+ "label": "stable",
1114
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 63 mmHg, HR 114 bpm, SpO2 92%; latest lactate 4.34."
1115
+ },
1116
+ "active_risks": [
1117
+ {
1118
+ "risk_name": "Septic shock",
1119
+ "key_evidence": [
1120
+ "128",
1121
+ "85"
1122
+ ]
1123
+ },
1124
+ {
1125
+ "risk_name": "Acute kidney injury",
1126
+ "key_evidence": [
1127
+ "86",
1128
+ "134"
1129
+ ]
1130
+ }
1131
+ ]
1132
+ },
1133
+ "action_review": {
1134
+ "evaluations": [
1135
+ {
1136
+ "action_id": "133",
1137
+ "action_name": "BODY_INPUT Norepinephrine",
1138
+ "label": "best_practice",
1139
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1140
+ }
1141
+ ],
1142
+ "red_flags": [
1143
+ {
1144
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1145
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1146
+ "key_evidence": [
1147
+ "129"
1148
+ ]
1149
+ },
1150
+ {
1151
+ "contraindicated_action": "NSAIDs for fever control",
1152
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1153
+ "key_evidence": [
1154
+ "86"
1155
+ ]
1156
+ }
1157
+ ]
1158
+ }
1159
+ },
1160
+ "sample_id": "scale/90000001_99000001/9.000000|9.500000",
1161
+ "label_availability": {
1162
+ "patient_status": true,
1163
+ "recommended_action": true,
1164
+ "active_risks": true,
1165
+ "red_flags": true
1166
+ },
1167
+ "window_key": "9.000000|9.500000",
1168
+ "window_duration_hours": 0.5
1169
+ },
1170
+ {
1171
+ "window_index": 20,
1172
+ "window_metadata": {
1173
+ "window_start_time": "2151-03-14T16:42:17",
1174
+ "window_end_time": "2151-03-14T17:12:17",
1175
+ "hours_since_admission": 10.0,
1176
+ "current_window_hours": 0.5,
1177
+ "num_current_events": 8
1178
+ },
1179
+ "reference_labels": {
1180
+ "patient_assessment": {
1181
+ "overall": {
1182
+ "label": "stable",
1183
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 67 mmHg, HR 115 bpm, SpO2 95%; latest lactate 4.34."
1184
+ },
1185
+ "active_risks": [
1186
+ {
1187
+ "risk_name": "Septic shock",
1188
+ "key_evidence": [
1189
+ "139",
1190
+ "85"
1191
+ ]
1192
+ },
1193
+ {
1194
+ "risk_name": "Acute kidney injury",
1195
+ "key_evidence": [
1196
+ "86",
1197
+ "145"
1198
+ ]
1199
+ }
1200
+ ]
1201
+ },
1202
+ "action_review": {
1203
+ "evaluations": [
1204
+ {
1205
+ "action_id": "144",
1206
+ "action_name": "BODY_INPUT Norepinephrine",
1207
+ "label": "best_practice",
1208
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1209
+ }
1210
+ ],
1211
+ "red_flags": [
1212
+ {
1213
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1214
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1215
+ "key_evidence": [
1216
+ "140"
1217
+ ]
1218
+ },
1219
+ {
1220
+ "contraindicated_action": "NSAIDs for fever control",
1221
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1222
+ "key_evidence": [
1223
+ "86"
1224
+ ]
1225
+ }
1226
+ ]
1227
+ }
1228
+ },
1229
+ "sample_id": "scale/90000001_99000001/10.000000|10.500000",
1230
+ "label_availability": {
1231
+ "patient_status": true,
1232
+ "recommended_action": true,
1233
+ "active_risks": true,
1234
+ "red_flags": true
1235
+ },
1236
+ "window_key": "10.000000|10.500000",
1237
+ "window_duration_hours": 0.5
1238
+ },
1239
+ {
1240
+ "window_index": 21,
1241
+ "window_metadata": {
1242
+ "window_start_time": "2151-03-14T17:12:17",
1243
+ "window_end_time": "2151-03-14T17:42:17",
1244
+ "hours_since_admission": 10.5,
1245
+ "current_window_hours": 0.5,
1246
+ "num_current_events": 3
1247
+ },
1248
+ "reference_labels": {
1249
+ "patient_assessment": {
1250
+ "overall": {
1251
+ "label": "stable",
1252
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 66 mmHg, HR 112 bpm, SpO2 94%; latest lactate 4.34."
1253
+ },
1254
+ "active_risks": [
1255
+ {
1256
+ "risk_name": "Septic shock",
1257
+ "key_evidence": [
1258
+ "147",
1259
+ "85"
1260
+ ]
1261
+ },
1262
+ {
1263
+ "risk_name": "Acute kidney injury",
1264
+ "key_evidence": [
1265
+ "86",
1266
+ "145"
1267
+ ]
1268
+ }
1269
+ ]
1270
+ },
1271
+ "action_review": {
1272
+ "evaluations": [],
1273
+ "red_flags": [
1274
+ {
1275
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1276
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1277
+ "key_evidence": [
1278
+ "148"
1279
+ ]
1280
+ },
1281
+ {
1282
+ "contraindicated_action": "NSAIDs for fever control",
1283
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1284
+ "key_evidence": [
1285
+ "86"
1286
+ ]
1287
+ }
1288
+ ]
1289
+ }
1290
+ },
1291
+ "sample_id": "scale/90000001_99000001/10.500000|11.000000",
1292
+ "label_availability": {
1293
+ "patient_status": true,
1294
+ "recommended_action": true,
1295
+ "active_risks": true,
1296
+ "red_flags": true
1297
+ },
1298
+ "window_key": "10.500000|11.000000",
1299
+ "window_duration_hours": 0.5
1300
+ },
1301
+ {
1302
+ "window_index": 22,
1303
+ "window_metadata": {
1304
+ "window_start_time": "2151-03-14T17:42:17",
1305
+ "window_end_time": "2151-03-14T18:12:17",
1306
+ "hours_since_admission": 11.0,
1307
+ "current_window_hours": 0.5,
1308
+ "num_current_events": 8
1309
+ },
1310
+ "reference_labels": {
1311
+ "patient_assessment": {
1312
+ "overall": {
1313
+ "label": "stable",
1314
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 65 mmHg, HR 111 bpm, SpO2 96%; latest lactate 4.34."
1315
+ },
1316
+ "active_risks": [
1317
+ {
1318
+ "risk_name": "Septic shock",
1319
+ "key_evidence": [
1320
+ "150",
1321
+ "85"
1322
+ ]
1323
+ },
1324
+ {
1325
+ "risk_name": "Acute kidney injury",
1326
+ "key_evidence": [
1327
+ "86",
1328
+ "156"
1329
+ ]
1330
+ }
1331
+ ]
1332
+ },
1333
+ "action_review": {
1334
+ "evaluations": [
1335
+ {
1336
+ "action_id": "155",
1337
+ "action_name": "BODY_INPUT Norepinephrine",
1338
+ "label": "best_practice",
1339
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1340
+ }
1341
+ ],
1342
+ "red_flags": [
1343
+ {
1344
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1345
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1346
+ "key_evidence": [
1347
+ "151"
1348
+ ]
1349
+ },
1350
+ {
1351
+ "contraindicated_action": "NSAIDs for fever control",
1352
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1353
+ "key_evidence": [
1354
+ "86"
1355
+ ]
1356
+ }
1357
+ ]
1358
+ }
1359
+ },
1360
+ "sample_id": "scale/90000001_99000001/11.000000|11.500000",
1361
+ "label_availability": {
1362
+ "patient_status": true,
1363
+ "recommended_action": true,
1364
+ "active_risks": true,
1365
+ "red_flags": true
1366
+ },
1367
+ "window_key": "11.000000|11.500000",
1368
+ "window_duration_hours": 0.5
1369
+ },
1370
+ {
1371
+ "window_index": 23,
1372
+ "window_metadata": {
1373
+ "window_start_time": "2151-03-14T18:12:17",
1374
+ "window_end_time": "2151-03-14T18:42:17",
1375
+ "hours_since_admission": 11.5,
1376
+ "current_window_hours": 0.5,
1377
+ "num_current_events": 3
1378
+ },
1379
+ "reference_labels": {
1380
+ "patient_assessment": {
1381
+ "overall": {
1382
+ "label": "stable",
1383
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 66 mmHg, HR 108 bpm, SpO2 95%; latest lactate 4.34."
1384
+ },
1385
+ "active_risks": [
1386
+ {
1387
+ "risk_name": "Septic shock",
1388
+ "key_evidence": [
1389
+ "158",
1390
+ "85"
1391
+ ]
1392
+ },
1393
+ {
1394
+ "risk_name": "Acute kidney injury",
1395
+ "key_evidence": [
1396
+ "86",
1397
+ "156"
1398
+ ]
1399
+ }
1400
+ ]
1401
+ },
1402
+ "action_review": {
1403
+ "evaluations": [],
1404
+ "red_flags": [
1405
+ {
1406
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1407
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1408
+ "key_evidence": [
1409
+ "159"
1410
+ ]
1411
+ },
1412
+ {
1413
+ "contraindicated_action": "NSAIDs for fever control",
1414
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1415
+ "key_evidence": [
1416
+ "86"
1417
+ ]
1418
+ }
1419
+ ]
1420
+ }
1421
+ },
1422
+ "sample_id": "scale/90000001_99000001/11.500000|12.000000",
1423
+ "label_availability": {
1424
+ "patient_status": true,
1425
+ "recommended_action": true,
1426
+ "active_risks": true,
1427
+ "red_flags": true
1428
+ },
1429
+ "window_key": "11.500000|12.000000",
1430
+ "window_duration_hours": 0.5
1431
+ },
1432
+ {
1433
+ "window_index": 24,
1434
+ "window_metadata": {
1435
+ "window_start_time": "2151-03-14T18:42:17",
1436
+ "window_end_time": "2151-03-14T19:12:17",
1437
+ "hours_since_admission": 12.0,
1438
+ "current_window_hours": 0.5,
1439
+ "num_current_events": 16
1440
+ },
1441
+ "reference_labels": {
1442
+ "patient_assessment": {
1443
+ "overall": {
1444
+ "label": "stable",
1445
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 67 mmHg, HR 106 bpm, SpO2 95%; latest lactate 2.62."
1446
+ },
1447
+ "active_risks": [
1448
+ {
1449
+ "risk_name": "Septic shock",
1450
+ "key_evidence": [
1451
+ "161",
1452
+ "171"
1453
+ ]
1454
+ },
1455
+ {
1456
+ "risk_name": "Acute kidney injury",
1457
+ "key_evidence": [
1458
+ "172",
1459
+ "170"
1460
+ ]
1461
+ }
1462
+ ]
1463
+ },
1464
+ "action_review": {
1465
+ "evaluations": [
1466
+ {
1467
+ "action_id": "167",
1468
+ "action_name": "Head of Bed 30 Degrees",
1469
+ "label": "acceptable",
1470
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamics are maintained on a stable norepinephrine dose without further escalation."
1471
+ },
1472
+ {
1473
+ "action_id": "169",
1474
+ "action_name": "BODY_INPUT Norepinephrine",
1475
+ "label": "best_practice",
1476
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1477
+ },
1478
+ {
1479
+ "action_id": "171",
1480
+ "action_name": "LAB_TEST Lactate",
1481
+ "label": "acceptable",
1482
+ "rationale": "Lactate is reasonable monitoring or support in this context. Hemodynamics are maintained on a stable norepinephrine dose without further escalation."
1483
+ },
1484
+ {
1485
+ "action_id": "172",
1486
+ "action_name": "LAB_TEST Creatinine",
1487
+ "label": "acceptable",
1488
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Hemodynamics are maintained on a stable norepinephrine dose without further escalation."
1489
+ }
1490
+ ],
1491
+ "red_flags": [
1492
+ {
1493
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1494
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1495
+ "key_evidence": [
1496
+ "162"
1497
+ ]
1498
+ },
1499
+ {
1500
+ "contraindicated_action": "NSAIDs for fever control",
1501
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1502
+ "key_evidence": [
1503
+ "172"
1504
+ ]
1505
+ }
1506
+ ]
1507
+ }
1508
+ },
1509
+ "sample_id": "scale/90000001_99000001/12.000000|12.500000",
1510
+ "label_availability": {
1511
+ "patient_status": true,
1512
+ "recommended_action": true,
1513
+ "active_risks": true,
1514
+ "red_flags": true
1515
+ },
1516
+ "window_key": "12.000000|12.500000",
1517
+ "window_duration_hours": 0.5
1518
+ },
1519
+ {
1520
+ "window_index": 25,
1521
+ "window_metadata": {
1522
+ "window_start_time": "2151-03-14T19:12:17",
1523
+ "window_end_time": "2151-03-14T19:42:17",
1524
+ "hours_since_admission": 12.5,
1525
+ "current_window_hours": 0.5,
1526
+ "num_current_events": 3
1527
+ },
1528
+ "reference_labels": {
1529
+ "patient_assessment": {
1530
+ "overall": {
1531
+ "label": "stable",
1532
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 68 mmHg, HR 109 bpm, SpO2 96%; latest lactate 2.62."
1533
+ },
1534
+ "active_risks": [
1535
+ {
1536
+ "risk_name": "Septic shock",
1537
+ "key_evidence": [
1538
+ "177",
1539
+ "171"
1540
+ ]
1541
+ },
1542
+ {
1543
+ "risk_name": "Acute kidney injury",
1544
+ "key_evidence": [
1545
+ "172",
1546
+ "170"
1547
+ ]
1548
+ }
1549
+ ]
1550
+ },
1551
+ "action_review": {
1552
+ "evaluations": [],
1553
+ "red_flags": [
1554
+ {
1555
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1556
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1557
+ "key_evidence": [
1558
+ "178"
1559
+ ]
1560
+ },
1561
+ {
1562
+ "contraindicated_action": "NSAIDs for fever control",
1563
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1564
+ "key_evidence": [
1565
+ "172"
1566
+ ]
1567
+ }
1568
+ ]
1569
+ }
1570
+ },
1571
+ "sample_id": "scale/90000001_99000001/12.500000|13.000000",
1572
+ "label_availability": {
1573
+ "patient_status": true,
1574
+ "recommended_action": true,
1575
+ "active_risks": true,
1576
+ "red_flags": true
1577
+ },
1578
+ "window_key": "12.500000|13.000000",
1579
+ "window_duration_hours": 0.5
1580
+ },
1581
+ {
1582
+ "window_index": 27,
1583
+ "window_metadata": {
1584
+ "window_start_time": "2151-03-14T20:12:17",
1585
+ "window_end_time": "2151-03-14T20:42:17",
1586
+ "hours_since_admission": 13.5,
1587
+ "current_window_hours": 0.5,
1588
+ "num_current_events": 3
1589
+ },
1590
+ "reference_labels": {
1591
+ "patient_assessment": {
1592
+ "overall": {
1593
+ "label": "stable",
1594
+ "rationale": "Hemodynamics are maintained on a stable norepinephrine dose without further escalation. Current window: MAP 66 mmHg, HR 105 bpm, SpO2 96%; latest lactate 2.62."
1595
+ },
1596
+ "active_risks": [
1597
+ {
1598
+ "risk_name": "Septic shock",
1599
+ "key_evidence": [
1600
+ "189",
1601
+ "171"
1602
+ ]
1603
+ },
1604
+ {
1605
+ "risk_name": "Acute kidney injury",
1606
+ "key_evidence": [
1607
+ "172",
1608
+ "187"
1609
+ ]
1610
+ }
1611
+ ]
1612
+ },
1613
+ "action_review": {
1614
+ "evaluations": [],
1615
+ "red_flags": [
1616
+ {
1617
+ "contraindicated_action": "Additional large-volume crystalloid boluses",
1618
+ "rationale": "Oxygenation worsened after initial resuscitation, suggesting limited fluid tolerance.",
1619
+ "key_evidence": [
1620
+ "190"
1621
+ ]
1622
+ },
1623
+ {
1624
+ "contraindicated_action": "NSAIDs for fever control",
1625
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1626
+ "key_evidence": [
1627
+ "172"
1628
+ ]
1629
+ }
1630
+ ]
1631
+ }
1632
+ },
1633
+ "sample_id": "scale/90000001_99000001/13.500000|14.000000",
1634
+ "label_availability": {
1635
+ "patient_status": true,
1636
+ "recommended_action": true,
1637
+ "active_risks": true,
1638
+ "red_flags": true
1639
+ },
1640
+ "window_key": "13.500000|14.000000",
1641
+ "window_duration_hours": 0.5
1642
+ },
1643
+ {
1644
+ "window_index": 28,
1645
+ "window_metadata": {
1646
+ "window_start_time": "2151-03-14T20:42:17",
1647
+ "window_end_time": "2151-03-14T21:12:17",
1648
+ "hours_since_admission": 14.0,
1649
+ "current_window_hours": 0.5,
1650
+ "num_current_events": 8
1651
+ },
1652
+ "reference_labels": {
1653
+ "patient_assessment": {
1654
+ "overall": {
1655
+ "label": "improving",
1656
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 68 mmHg, HR 103 bpm, SpO2 95%; latest lactate 2.62."
1657
+ },
1658
+ "active_risks": [
1659
+ {
1660
+ "risk_name": "Septic shock",
1661
+ "key_evidence": [
1662
+ "192",
1663
+ "171"
1664
+ ]
1665
+ },
1666
+ {
1667
+ "risk_name": "Acute kidney injury",
1668
+ "key_evidence": [
1669
+ "172",
1670
+ "198"
1671
+ ]
1672
+ }
1673
+ ]
1674
+ },
1675
+ "action_review": {
1676
+ "evaluations": [
1677
+ {
1678
+ "action_id": "197",
1679
+ "action_name": "BODY_INPUT Norepinephrine",
1680
+ "label": "best_practice",
1681
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1682
+ }
1683
+ ],
1684
+ "red_flags": [
1685
+ {
1686
+ "contraindicated_action": "NSAIDs for fever control",
1687
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1688
+ "key_evidence": [
1689
+ "172"
1690
+ ]
1691
+ }
1692
+ ]
1693
+ }
1694
+ },
1695
+ "sample_id": "scale/90000001_99000001/14.000000|14.500000",
1696
+ "label_availability": {
1697
+ "patient_status": true,
1698
+ "recommended_action": true,
1699
+ "active_risks": true,
1700
+ "red_flags": true
1701
+ },
1702
+ "window_key": "14.000000|14.500000",
1703
+ "window_duration_hours": 0.5
1704
+ },
1705
+ {
1706
+ "window_index": 29,
1707
+ "window_metadata": {
1708
+ "window_start_time": "2151-03-14T21:12:17",
1709
+ "window_end_time": "2151-03-14T21:42:17",
1710
+ "hours_since_admission": 14.5,
1711
+ "current_window_hours": 0.5,
1712
+ "num_current_events": 3
1713
+ },
1714
+ "reference_labels": {
1715
+ "patient_assessment": {
1716
+ "overall": {
1717
+ "label": "improving",
1718
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 68 mmHg, HR 104 bpm, SpO2 95%; latest lactate 2.62."
1719
+ },
1720
+ "active_risks": [
1721
+ {
1722
+ "risk_name": "Septic shock",
1723
+ "key_evidence": [
1724
+ "200",
1725
+ "171"
1726
+ ]
1727
+ },
1728
+ {
1729
+ "risk_name": "Acute kidney injury",
1730
+ "key_evidence": [
1731
+ "172",
1732
+ "198"
1733
+ ]
1734
+ }
1735
+ ]
1736
+ },
1737
+ "action_review": {
1738
+ "evaluations": [],
1739
+ "red_flags": [
1740
+ {
1741
+ "contraindicated_action": "NSAIDs for fever control",
1742
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1743
+ "key_evidence": [
1744
+ "172"
1745
+ ]
1746
+ }
1747
+ ]
1748
+ }
1749
+ },
1750
+ "sample_id": "scale/90000001_99000001/14.500000|15.000000",
1751
+ "label_availability": {
1752
+ "patient_status": true,
1753
+ "recommended_action": true,
1754
+ "active_risks": true,
1755
+ "red_flags": true
1756
+ },
1757
+ "window_key": "14.500000|15.000000",
1758
+ "window_duration_hours": 0.5
1759
+ },
1760
+ {
1761
+ "window_index": 30,
1762
+ "window_metadata": {
1763
+ "window_start_time": "2151-03-14T21:42:17",
1764
+ "window_end_time": "2151-03-14T22:12:17",
1765
+ "hours_since_admission": 15.0,
1766
+ "current_window_hours": 0.5,
1767
+ "num_current_events": 8
1768
+ },
1769
+ "reference_labels": {
1770
+ "patient_assessment": {
1771
+ "overall": {
1772
+ "label": "improving",
1773
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 68 mmHg, HR 101 bpm, SpO2 95%; latest lactate 2.62."
1774
+ },
1775
+ "active_risks": [
1776
+ {
1777
+ "risk_name": "Septic shock",
1778
+ "key_evidence": [
1779
+ "203",
1780
+ "171"
1781
+ ]
1782
+ },
1783
+ {
1784
+ "risk_name": "Acute kidney injury",
1785
+ "key_evidence": [
1786
+ "172",
1787
+ "209"
1788
+ ]
1789
+ }
1790
+ ]
1791
+ },
1792
+ "action_review": {
1793
+ "evaluations": [
1794
+ {
1795
+ "action_id": "208",
1796
+ "action_name": "BODY_INPUT Norepinephrine",
1797
+ "label": "best_practice",
1798
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1799
+ }
1800
+ ],
1801
+ "red_flags": [
1802
+ {
1803
+ "contraindicated_action": "NSAIDs for fever control",
1804
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1805
+ "key_evidence": [
1806
+ "172"
1807
+ ]
1808
+ }
1809
+ ]
1810
+ }
1811
+ },
1812
+ "sample_id": "scale/90000001_99000001/15.000000|15.500000",
1813
+ "label_availability": {
1814
+ "patient_status": true,
1815
+ "recommended_action": true,
1816
+ "active_risks": true,
1817
+ "red_flags": true
1818
+ },
1819
+ "window_key": "15.000000|15.500000",
1820
+ "window_duration_hours": 0.5
1821
+ },
1822
+ {
1823
+ "window_index": 31,
1824
+ "window_metadata": {
1825
+ "window_start_time": "2151-03-14T22:12:17",
1826
+ "window_end_time": "2151-03-14T22:42:17",
1827
+ "hours_since_admission": 15.5,
1828
+ "current_window_hours": 0.5,
1829
+ "num_current_events": 3
1830
+ },
1831
+ "reference_labels": {
1832
+ "patient_assessment": {
1833
+ "overall": {
1834
+ "label": "improving",
1835
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 68 mmHg, HR 103 bpm, SpO2 96%; latest lactate 2.62."
1836
+ },
1837
+ "active_risks": [
1838
+ {
1839
+ "risk_name": "Septic shock",
1840
+ "key_evidence": [
1841
+ "211",
1842
+ "171"
1843
+ ]
1844
+ },
1845
+ {
1846
+ "risk_name": "Acute kidney injury",
1847
+ "key_evidence": [
1848
+ "172",
1849
+ "209"
1850
+ ]
1851
+ }
1852
+ ]
1853
+ },
1854
+ "action_review": {
1855
+ "evaluations": [],
1856
+ "red_flags": [
1857
+ {
1858
+ "contraindicated_action": "NSAIDs for fever control",
1859
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1860
+ "key_evidence": [
1861
+ "172"
1862
+ ]
1863
+ }
1864
+ ]
1865
+ }
1866
+ },
1867
+ "sample_id": "scale/90000001_99000001/15.500000|16.000000",
1868
+ "label_availability": {
1869
+ "patient_status": true,
1870
+ "recommended_action": true,
1871
+ "active_risks": true,
1872
+ "red_flags": true
1873
+ },
1874
+ "window_key": "15.500000|16.000000",
1875
+ "window_duration_hours": 0.5
1876
+ },
1877
+ {
1878
+ "window_index": 32,
1879
+ "window_metadata": {
1880
+ "window_start_time": "2151-03-14T22:42:17",
1881
+ "window_end_time": "2151-03-14T23:12:17",
1882
+ "hours_since_admission": 16.0,
1883
+ "current_window_hours": 0.5,
1884
+ "num_current_events": 11
1885
+ },
1886
+ "reference_labels": {
1887
+ "patient_assessment": {
1888
+ "overall": {
1889
+ "label": "improving",
1890
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 71 mmHg, HR 101 bpm, SpO2 96%; latest lactate 2.62."
1891
+ },
1892
+ "active_risks": [
1893
+ {
1894
+ "risk_name": "Septic shock",
1895
+ "key_evidence": [
1896
+ "214",
1897
+ "171"
1898
+ ]
1899
+ },
1900
+ {
1901
+ "risk_name": "Acute kidney injury",
1902
+ "key_evidence": [
1903
+ "172",
1904
+ "223"
1905
+ ]
1906
+ }
1907
+ ]
1908
+ },
1909
+ "action_review": {
1910
+ "evaluations": [
1911
+ {
1912
+ "action_id": "220",
1913
+ "action_name": "Head of Bed 30 Degrees",
1914
+ "label": "acceptable",
1915
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
1916
+ },
1917
+ {
1918
+ "action_id": "222",
1919
+ "action_name": "BODY_INPUT Norepinephrine",
1920
+ "label": "best_practice",
1921
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1922
+ }
1923
+ ],
1924
+ "red_flags": [
1925
+ {
1926
+ "contraindicated_action": "NSAIDs for fever control",
1927
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1928
+ "key_evidence": [
1929
+ "172"
1930
+ ]
1931
+ }
1932
+ ]
1933
+ }
1934
+ },
1935
+ "sample_id": "scale/90000001_99000001/16.000000|16.500000",
1936
+ "label_availability": {
1937
+ "patient_status": true,
1938
+ "recommended_action": true,
1939
+ "active_risks": true,
1940
+ "red_flags": true
1941
+ },
1942
+ "window_key": "16.000000|16.500000",
1943
+ "window_duration_hours": 0.5
1944
+ },
1945
+ {
1946
+ "window_index": 34,
1947
+ "window_metadata": {
1948
+ "window_start_time": "2151-03-14T23:42:17",
1949
+ "window_end_time": "2151-03-15T00:12:17",
1950
+ "hours_since_admission": 17.0,
1951
+ "current_window_hours": 0.5,
1952
+ "num_current_events": 8
1953
+ },
1954
+ "reference_labels": {
1955
+ "patient_assessment": {
1956
+ "overall": {
1957
+ "label": "improving",
1958
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 69 mmHg, HR 98 bpm, SpO2 97%; latest lactate 2.62."
1959
+ },
1960
+ "active_risks": [
1961
+ {
1962
+ "risk_name": "Septic shock",
1963
+ "key_evidence": [
1964
+ "228",
1965
+ "171"
1966
+ ]
1967
+ },
1968
+ {
1969
+ "risk_name": "Acute kidney injury",
1970
+ "key_evidence": [
1971
+ "172",
1972
+ "234"
1973
+ ]
1974
+ }
1975
+ ]
1976
+ },
1977
+ "action_review": {
1978
+ "evaluations": [
1979
+ {
1980
+ "action_id": "233",
1981
+ "action_name": "BODY_INPUT Norepinephrine",
1982
+ "label": "best_practice",
1983
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
1984
+ }
1985
+ ],
1986
+ "red_flags": [
1987
+ {
1988
+ "contraindicated_action": "NSAIDs for fever control",
1989
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
1990
+ "key_evidence": [
1991
+ "172"
1992
+ ]
1993
+ }
1994
+ ]
1995
+ }
1996
+ },
1997
+ "sample_id": "scale/90000001_99000001/17.000000|17.500000",
1998
+ "label_availability": {
1999
+ "patient_status": true,
2000
+ "recommended_action": true,
2001
+ "active_risks": true,
2002
+ "red_flags": true
2003
+ },
2004
+ "window_key": "17.000000|17.500000",
2005
+ "window_duration_hours": 0.5
2006
+ },
2007
+ {
2008
+ "window_index": 35,
2009
+ "window_metadata": {
2010
+ "window_start_time": "2151-03-15T00:12:17",
2011
+ "window_end_time": "2151-03-15T00:42:17",
2012
+ "hours_since_admission": 17.5,
2013
+ "current_window_hours": 0.5,
2014
+ "num_current_events": 3
2015
+ },
2016
+ "reference_labels": {
2017
+ "patient_assessment": {
2018
+ "overall": {
2019
+ "label": "improving",
2020
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 69 mmHg, HR 98 bpm, SpO2 94%; latest lactate 2.62."
2021
+ },
2022
+ "active_risks": [
2023
+ {
2024
+ "risk_name": "Septic shock",
2025
+ "key_evidence": [
2026
+ "236",
2027
+ "171"
2028
+ ]
2029
+ },
2030
+ {
2031
+ "risk_name": "Acute kidney injury",
2032
+ "key_evidence": [
2033
+ "172",
2034
+ "234"
2035
+ ]
2036
+ }
2037
+ ]
2038
+ },
2039
+ "action_review": {
2040
+ "evaluations": [],
2041
+ "red_flags": [
2042
+ {
2043
+ "contraindicated_action": "NSAIDs for fever control",
2044
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2045
+ "key_evidence": [
2046
+ "172"
2047
+ ]
2048
+ }
2049
+ ]
2050
+ }
2051
+ },
2052
+ "sample_id": "scale/90000001_99000001/17.500000|18.000000",
2053
+ "label_availability": {
2054
+ "patient_status": true,
2055
+ "recommended_action": true,
2056
+ "active_risks": true,
2057
+ "red_flags": true
2058
+ },
2059
+ "window_key": "17.500000|18.000000",
2060
+ "window_duration_hours": 0.5
2061
+ },
2062
+ {
2063
+ "window_index": 36,
2064
+ "window_metadata": {
2065
+ "window_start_time": "2151-03-15T00:42:17",
2066
+ "window_end_time": "2151-03-15T01:12:17",
2067
+ "hours_since_admission": 18.0,
2068
+ "current_window_hours": 0.5,
2069
+ "num_current_events": 13
2070
+ },
2071
+ "reference_labels": {
2072
+ "patient_assessment": {
2073
+ "overall": {
2074
+ "label": "improving",
2075
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 69 mmHg, HR 101 bpm, SpO2 94%; latest lactate 1.91."
2076
+ },
2077
+ "active_risks": [
2078
+ {
2079
+ "risk_name": "Acute kidney injury",
2080
+ "key_evidence": [
2081
+ "245",
2082
+ "250"
2083
+ ]
2084
+ }
2085
+ ]
2086
+ },
2087
+ "action_review": {
2088
+ "evaluations": [
2089
+ {
2090
+ "action_id": "244",
2091
+ "action_name": "LAB_TEST Lactate",
2092
+ "label": "acceptable",
2093
+ "rationale": "Lactate is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2094
+ },
2095
+ {
2096
+ "action_id": "245",
2097
+ "action_name": "LAB_TEST Creatinine",
2098
+ "label": "acceptable",
2099
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2100
+ },
2101
+ {
2102
+ "action_id": "246",
2103
+ "action_name": "BODY_INPUT Norepinephrine",
2104
+ "label": "best_practice",
2105
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
2106
+ }
2107
+ ],
2108
+ "red_flags": [
2109
+ {
2110
+ "contraindicated_action": "NSAIDs for fever control",
2111
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2112
+ "key_evidence": [
2113
+ "245"
2114
+ ]
2115
+ }
2116
+ ]
2117
+ }
2118
+ },
2119
+ "sample_id": "scale/90000001_99000001/18.000000|18.500000",
2120
+ "label_availability": {
2121
+ "patient_status": true,
2122
+ "recommended_action": true,
2123
+ "active_risks": true,
2124
+ "red_flags": true
2125
+ },
2126
+ "window_key": "18.000000|18.500000",
2127
+ "window_duration_hours": 0.5
2128
+ },
2129
+ {
2130
+ "window_index": 37,
2131
+ "window_metadata": {
2132
+ "window_start_time": "2151-03-15T01:12:17",
2133
+ "window_end_time": "2151-03-15T01:42:17",
2134
+ "hours_since_admission": 18.5,
2135
+ "current_window_hours": 0.5,
2136
+ "num_current_events": 3
2137
+ },
2138
+ "reference_labels": {
2139
+ "patient_assessment": {
2140
+ "overall": {
2141
+ "label": "improving",
2142
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 72 mmHg, HR 98 bpm, SpO2 95%; latest lactate 1.91."
2143
+ },
2144
+ "active_risks": [
2145
+ {
2146
+ "risk_name": "Acute kidney injury",
2147
+ "key_evidence": [
2148
+ "245",
2149
+ "250"
2150
+ ]
2151
+ }
2152
+ ]
2153
+ },
2154
+ "action_review": {
2155
+ "evaluations": [],
2156
+ "red_flags": [
2157
+ {
2158
+ "contraindicated_action": "NSAIDs for fever control",
2159
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2160
+ "key_evidence": [
2161
+ "245"
2162
+ ]
2163
+ }
2164
+ ]
2165
+ }
2166
+ },
2167
+ "sample_id": "scale/90000001_99000001/18.500000|19.000000",
2168
+ "label_availability": {
2169
+ "patient_status": true,
2170
+ "recommended_action": true,
2171
+ "active_risks": true,
2172
+ "red_flags": true
2173
+ },
2174
+ "window_key": "18.500000|19.000000",
2175
+ "window_duration_hours": 0.5
2176
+ },
2177
+ {
2178
+ "window_index": 38,
2179
+ "window_metadata": {
2180
+ "window_start_time": "2151-03-15T01:42:17",
2181
+ "window_end_time": "2151-03-15T02:12:17",
2182
+ "hours_since_admission": 19.0,
2183
+ "current_window_hours": 0.5,
2184
+ "num_current_events": 8
2185
+ },
2186
+ "reference_labels": {
2187
+ "patient_assessment": {
2188
+ "overall": {
2189
+ "label": "improving",
2190
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 71 mmHg, HR 98 bpm, SpO2 99%; latest lactate 1.91."
2191
+ },
2192
+ "active_risks": [
2193
+ {
2194
+ "risk_name": "Acute kidney injury",
2195
+ "key_evidence": [
2196
+ "245",
2197
+ "261"
2198
+ ]
2199
+ }
2200
+ ]
2201
+ },
2202
+ "action_review": {
2203
+ "evaluations": [
2204
+ {
2205
+ "action_id": "260",
2206
+ "action_name": "BODY_INPUT Norepinephrine",
2207
+ "label": "best_practice",
2208
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
2209
+ }
2210
+ ],
2211
+ "red_flags": [
2212
+ {
2213
+ "contraindicated_action": "NSAIDs for fever control",
2214
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2215
+ "key_evidence": [
2216
+ "245"
2217
+ ]
2218
+ }
2219
+ ]
2220
+ }
2221
+ },
2222
+ "sample_id": "scale/90000001_99000001/19.000000|19.500000",
2223
+ "label_availability": {
2224
+ "patient_status": true,
2225
+ "recommended_action": true,
2226
+ "active_risks": true,
2227
+ "red_flags": true
2228
+ },
2229
+ "window_key": "19.000000|19.500000",
2230
+ "window_duration_hours": 0.5
2231
+ },
2232
+ {
2233
+ "window_index": 39,
2234
+ "window_metadata": {
2235
+ "window_start_time": "2151-03-15T02:12:17",
2236
+ "window_end_time": "2151-03-15T02:42:17",
2237
+ "hours_since_admission": 19.5,
2238
+ "current_window_hours": 0.5,
2239
+ "num_current_events": 3
2240
+ },
2241
+ "reference_labels": {
2242
+ "patient_assessment": {
2243
+ "overall": {
2244
+ "label": "improving",
2245
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 72 mmHg, HR 96 bpm, SpO2 97%; latest lactate 1.91."
2246
+ },
2247
+ "active_risks": [
2248
+ {
2249
+ "risk_name": "Acute kidney injury",
2250
+ "key_evidence": [
2251
+ "245",
2252
+ "261"
2253
+ ]
2254
+ }
2255
+ ]
2256
+ },
2257
+ "action_review": {
2258
+ "evaluations": [],
2259
+ "red_flags": [
2260
+ {
2261
+ "contraindicated_action": "NSAIDs for fever control",
2262
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2263
+ "key_evidence": [
2264
+ "245"
2265
+ ]
2266
+ }
2267
+ ]
2268
+ }
2269
+ },
2270
+ "sample_id": "scale/90000001_99000001/19.500000|20.000000",
2271
+ "label_availability": {
2272
+ "patient_status": true,
2273
+ "recommended_action": true,
2274
+ "active_risks": true,
2275
+ "red_flags": true
2276
+ },
2277
+ "window_key": "19.500000|20.000000",
2278
+ "window_duration_hours": 0.5
2279
+ },
2280
+ {
2281
+ "window_index": 41,
2282
+ "window_metadata": {
2283
+ "window_start_time": "2151-03-15T03:12:17",
2284
+ "window_end_time": "2151-03-15T03:42:17",
2285
+ "hours_since_admission": 20.5,
2286
+ "current_window_hours": 0.5,
2287
+ "num_current_events": 3
2288
+ },
2289
+ "reference_labels": {
2290
+ "patient_assessment": {
2291
+ "overall": {
2292
+ "label": "improving",
2293
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 72 mmHg, HR 95 bpm, SpO2 94%; latest lactate 1.91."
2294
+ },
2295
+ "active_risks": [
2296
+ {
2297
+ "risk_name": "Acute kidney injury",
2298
+ "key_evidence": [
2299
+ "245",
2300
+ "276"
2301
+ ]
2302
+ }
2303
+ ]
2304
+ },
2305
+ "action_review": {
2306
+ "evaluations": [],
2307
+ "red_flags": [
2308
+ {
2309
+ "contraindicated_action": "NSAIDs for fever control",
2310
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2311
+ "key_evidence": [
2312
+ "245"
2313
+ ]
2314
+ }
2315
+ ]
2316
+ }
2317
+ },
2318
+ "sample_id": "scale/90000001_99000001/20.500000|21.000000",
2319
+ "label_availability": {
2320
+ "patient_status": true,
2321
+ "recommended_action": true,
2322
+ "active_risks": true,
2323
+ "red_flags": true
2324
+ },
2325
+ "window_key": "20.500000|21.000000",
2326
+ "window_duration_hours": 0.5
2327
+ },
2328
+ {
2329
+ "window_index": 42,
2330
+ "window_metadata": {
2331
+ "window_start_time": "2151-03-15T03:42:17",
2332
+ "window_end_time": "2151-03-15T04:12:17",
2333
+ "hours_since_admission": 21.0,
2334
+ "current_window_hours": 0.5,
2335
+ "num_current_events": 8
2336
+ },
2337
+ "reference_labels": {
2338
+ "patient_assessment": {
2339
+ "overall": {
2340
+ "label": "improving",
2341
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 74 mmHg, HR 98 bpm, SpO2 95%; latest lactate 1.91."
2342
+ },
2343
+ "active_risks": [
2344
+ {
2345
+ "risk_name": "Acute kidney injury",
2346
+ "key_evidence": [
2347
+ "245",
2348
+ "287"
2349
+ ]
2350
+ }
2351
+ ]
2352
+ },
2353
+ "action_review": {
2354
+ "evaluations": [
2355
+ {
2356
+ "action_id": "286",
2357
+ "action_name": "BODY_INPUT Norepinephrine",
2358
+ "label": "best_practice",
2359
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
2360
+ }
2361
+ ],
2362
+ "red_flags": [
2363
+ {
2364
+ "contraindicated_action": "NSAIDs for fever control",
2365
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2366
+ "key_evidence": [
2367
+ "245"
2368
+ ]
2369
+ }
2370
+ ]
2371
+ }
2372
+ },
2373
+ "sample_id": "scale/90000001_99000001/21.000000|21.500000",
2374
+ "label_availability": {
2375
+ "patient_status": true,
2376
+ "recommended_action": true,
2377
+ "active_risks": true,
2378
+ "red_flags": true
2379
+ },
2380
+ "window_key": "21.000000|21.500000",
2381
+ "window_duration_hours": 0.5
2382
+ },
2383
+ {
2384
+ "window_index": 43,
2385
+ "window_metadata": {
2386
+ "window_start_time": "2151-03-15T04:12:17",
2387
+ "window_end_time": "2151-03-15T04:42:17",
2388
+ "hours_since_admission": 21.5,
2389
+ "current_window_hours": 0.5,
2390
+ "num_current_events": 3
2391
+ },
2392
+ "reference_labels": {
2393
+ "patient_assessment": {
2394
+ "overall": {
2395
+ "label": "improving",
2396
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 74 mmHg, HR 93 bpm, SpO2 97%; latest lactate 1.91."
2397
+ },
2398
+ "active_risks": [
2399
+ {
2400
+ "risk_name": "Acute kidney injury",
2401
+ "key_evidence": [
2402
+ "245",
2403
+ "287"
2404
+ ]
2405
+ }
2406
+ ]
2407
+ },
2408
+ "action_review": {
2409
+ "evaluations": [],
2410
+ "red_flags": [
2411
+ {
2412
+ "contraindicated_action": "NSAIDs for fever control",
2413
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2414
+ "key_evidence": [
2415
+ "245"
2416
+ ]
2417
+ }
2418
+ ]
2419
+ }
2420
+ },
2421
+ "sample_id": "scale/90000001_99000001/21.500000|22.000000",
2422
+ "label_availability": {
2423
+ "patient_status": true,
2424
+ "recommended_action": true,
2425
+ "active_risks": true,
2426
+ "red_flags": true
2427
+ },
2428
+ "window_key": "21.500000|22.000000",
2429
+ "window_duration_hours": 0.5
2430
+ },
2431
+ {
2432
+ "window_index": 44,
2433
+ "window_metadata": {
2434
+ "window_start_time": "2151-03-15T04:42:17",
2435
+ "window_end_time": "2151-03-15T05:12:17",
2436
+ "hours_since_admission": 22.0,
2437
+ "current_window_hours": 0.5,
2438
+ "num_current_events": 8
2439
+ },
2440
+ "reference_labels": {
2441
+ "patient_assessment": {
2442
+ "overall": {
2443
+ "label": "improving",
2444
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 72 mmHg, HR 94 bpm, SpO2 93%; latest lactate 1.91."
2445
+ },
2446
+ "active_risks": [
2447
+ {
2448
+ "risk_name": "Acute kidney injury",
2449
+ "key_evidence": [
2450
+ "245",
2451
+ "298"
2452
+ ]
2453
+ }
2454
+ ]
2455
+ },
2456
+ "action_review": {
2457
+ "evaluations": [
2458
+ {
2459
+ "action_id": "297",
2460
+ "action_name": "BODY_INPUT Norepinephrine",
2461
+ "label": "best_practice",
2462
+ "rationale": "Norepinephrine is appropriate for septic shock from right lower lobe pneumonia."
2463
+ }
2464
+ ],
2465
+ "red_flags": [
2466
+ {
2467
+ "contraindicated_action": "NSAIDs for fever control",
2468
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2469
+ "key_evidence": [
2470
+ "245"
2471
+ ]
2472
+ }
2473
+ ]
2474
+ }
2475
+ },
2476
+ "sample_id": "scale/90000001_99000001/22.000000|22.500000",
2477
+ "label_availability": {
2478
+ "patient_status": true,
2479
+ "recommended_action": true,
2480
+ "active_risks": true,
2481
+ "red_flags": true
2482
+ },
2483
+ "window_key": "22.000000|22.500000",
2484
+ "window_duration_hours": 0.5
2485
+ },
2486
+ {
2487
+ "window_index": 45,
2488
+ "window_metadata": {
2489
+ "window_start_time": "2151-03-15T05:12:17",
2490
+ "window_end_time": "2151-03-15T05:42:17",
2491
+ "hours_since_admission": 22.5,
2492
+ "current_window_hours": 0.5,
2493
+ "num_current_events": 3
2494
+ },
2495
+ "reference_labels": {
2496
+ "patient_assessment": {
2497
+ "overall": {
2498
+ "label": "improving",
2499
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 71 mmHg, HR 92 bpm, SpO2 97%; latest lactate 1.91."
2500
+ },
2501
+ "active_risks": [
2502
+ {
2503
+ "risk_name": "Acute kidney injury",
2504
+ "key_evidence": [
2505
+ "245",
2506
+ "298"
2507
+ ]
2508
+ }
2509
+ ]
2510
+ },
2511
+ "action_review": {
2512
+ "evaluations": [],
2513
+ "red_flags": [
2514
+ {
2515
+ "contraindicated_action": "NSAIDs for fever control",
2516
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2517
+ "key_evidence": [
2518
+ "245"
2519
+ ]
2520
+ }
2521
+ ]
2522
+ }
2523
+ },
2524
+ "sample_id": "scale/90000001_99000001/22.500000|23.000000",
2525
+ "label_availability": {
2526
+ "patient_status": true,
2527
+ "recommended_action": true,
2528
+ "active_risks": true,
2529
+ "red_flags": true
2530
+ },
2531
+ "window_key": "22.500000|23.000000",
2532
+ "window_duration_hours": 0.5
2533
+ },
2534
+ {
2535
+ "window_index": 46,
2536
+ "window_metadata": {
2537
+ "window_start_time": "2151-03-15T05:42:17",
2538
+ "window_end_time": "2151-03-15T06:12:17",
2539
+ "hours_since_admission": 23.0,
2540
+ "current_window_hours": 0.5,
2541
+ "num_current_events": 7
2542
+ },
2543
+ "reference_labels": {
2544
+ "patient_assessment": {
2545
+ "overall": {
2546
+ "label": "improving",
2547
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 74 mmHg, HR 91 bpm, SpO2 96%; latest lactate 1.91."
2548
+ },
2549
+ "active_risks": [
2550
+ {
2551
+ "risk_name": "Acute kidney injury",
2552
+ "key_evidence": [
2553
+ "245",
2554
+ "308"
2555
+ ]
2556
+ }
2557
+ ]
2558
+ },
2559
+ "action_review": {
2560
+ "evaluations": [],
2561
+ "red_flags": [
2562
+ {
2563
+ "contraindicated_action": "NSAIDs for fever control",
2564
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2565
+ "key_evidence": [
2566
+ "245"
2567
+ ]
2568
+ }
2569
+ ]
2570
+ }
2571
+ },
2572
+ "sample_id": "scale/90000001_99000001/23.000000|23.500000",
2573
+ "label_availability": {
2574
+ "patient_status": true,
2575
+ "recommended_action": true,
2576
+ "active_risks": true,
2577
+ "red_flags": true
2578
+ },
2579
+ "window_key": "23.000000|23.500000",
2580
+ "window_duration_hours": 0.5
2581
+ },
2582
+ {
2583
+ "window_index": 48,
2584
+ "window_metadata": {
2585
+ "window_start_time": "2151-03-15T06:42:17",
2586
+ "window_end_time": "2151-03-15T07:12:17",
2587
+ "hours_since_admission": 24.0,
2588
+ "current_window_hours": 0.5,
2589
+ "num_current_events": 11
2590
+ },
2591
+ "reference_labels": {
2592
+ "patient_assessment": {
2593
+ "overall": {
2594
+ "label": "improving",
2595
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 73 mmHg, HR 91 bpm, SpO2 97%; latest lactate 1.5."
2596
+ },
2597
+ "active_risks": [
2598
+ {
2599
+ "risk_name": "Acute kidney injury",
2600
+ "key_evidence": [
2601
+ "245",
2602
+ "321"
2603
+ ]
2604
+ }
2605
+ ]
2606
+ },
2607
+ "action_review": {
2608
+ "evaluations": [
2609
+ {
2610
+ "action_id": "319",
2611
+ "action_name": "Head of Bed 30 Degrees",
2612
+ "label": "acceptable",
2613
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2614
+ },
2615
+ {
2616
+ "action_id": "322",
2617
+ "action_name": "LAB_TEST Lactate",
2618
+ "label": "acceptable",
2619
+ "rationale": "Lactate is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2620
+ }
2621
+ ],
2622
+ "red_flags": [
2623
+ {
2624
+ "contraindicated_action": "NSAIDs for fever control",
2625
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2626
+ "key_evidence": [
2627
+ "245"
2628
+ ]
2629
+ }
2630
+ ]
2631
+ }
2632
+ },
2633
+ "sample_id": "scale/90000001_99000001/24.000000|24.500000",
2634
+ "label_availability": {
2635
+ "patient_status": true,
2636
+ "recommended_action": true,
2637
+ "active_risks": true,
2638
+ "red_flags": true
2639
+ },
2640
+ "window_key": "24.000000|24.500000",
2641
+ "window_duration_hours": 0.5
2642
+ },
2643
+ {
2644
+ "window_index": 49,
2645
+ "window_metadata": {
2646
+ "window_start_time": "2151-03-15T07:12:17",
2647
+ "window_end_time": "2151-03-15T07:42:17",
2648
+ "hours_since_admission": 24.5,
2649
+ "current_window_hours": 0.5,
2650
+ "num_current_events": 7
2651
+ },
2652
+ "reference_labels": {
2653
+ "patient_assessment": {
2654
+ "overall": {
2655
+ "label": "improving",
2656
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 74 mmHg, HR 91 bpm, SpO2 96%; latest lactate 1.5."
2657
+ },
2658
+ "active_risks": [
2659
+ {
2660
+ "risk_name": "Acute kidney injury",
2661
+ "key_evidence": [
2662
+ "323",
2663
+ "321"
2664
+ ]
2665
+ }
2666
+ ]
2667
+ },
2668
+ "action_review": {
2669
+ "evaluations": [
2670
+ {
2671
+ "action_id": "323",
2672
+ "action_name": "LAB_TEST Creatinine",
2673
+ "label": "acceptable",
2674
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2675
+ },
2676
+ {
2677
+ "action_id": "324",
2678
+ "action_name": "LAB_TEST White Blood Cells",
2679
+ "label": "acceptable",
2680
+ "rationale": "White Blood Cells is reasonable monitoring or support in this context. Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output."
2681
+ }
2682
+ ],
2683
+ "red_flags": [
2684
+ {
2685
+ "contraindicated_action": "NSAIDs for fever control",
2686
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2687
+ "key_evidence": [
2688
+ "323"
2689
+ ]
2690
+ }
2691
+ ]
2692
+ }
2693
+ },
2694
+ "sample_id": "scale/90000001_99000001/24.500000|25.000000",
2695
+ "label_availability": {
2696
+ "patient_status": true,
2697
+ "recommended_action": true,
2698
+ "active_risks": true,
2699
+ "red_flags": true
2700
+ },
2701
+ "window_key": "24.500000|25.000000",
2702
+ "window_duration_hours": 0.5
2703
+ },
2704
+ {
2705
+ "window_index": 50,
2706
+ "window_metadata": {
2707
+ "window_start_time": "2151-03-15T07:42:17",
2708
+ "window_end_time": "2151-03-15T08:12:17",
2709
+ "hours_since_admission": 25.0,
2710
+ "current_window_hours": 0.5,
2711
+ "num_current_events": 7
2712
+ },
2713
+ "reference_labels": {
2714
+ "patient_assessment": {
2715
+ "overall": {
2716
+ "label": "improving",
2717
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 75 mmHg, HR 91 bpm, SpO2 96%; latest lactate 1.5."
2718
+ },
2719
+ "active_risks": [
2720
+ {
2721
+ "risk_name": "Acute kidney injury",
2722
+ "key_evidence": [
2723
+ "323",
2724
+ "336"
2725
+ ]
2726
+ }
2727
+ ]
2728
+ },
2729
+ "action_review": {
2730
+ "evaluations": [],
2731
+ "red_flags": [
2732
+ {
2733
+ "contraindicated_action": "NSAIDs for fever control",
2734
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2735
+ "key_evidence": [
2736
+ "323"
2737
+ ]
2738
+ }
2739
+ ]
2740
+ }
2741
+ },
2742
+ "sample_id": "scale/90000001_99000001/25.000000|25.500000",
2743
+ "label_availability": {
2744
+ "patient_status": true,
2745
+ "recommended_action": true,
2746
+ "active_risks": true,
2747
+ "red_flags": true
2748
+ },
2749
+ "window_key": "25.000000|25.500000",
2750
+ "window_duration_hours": 0.5
2751
+ },
2752
+ {
2753
+ "window_index": 51,
2754
+ "window_metadata": {
2755
+ "window_start_time": "2151-03-15T08:12:17",
2756
+ "window_end_time": "2151-03-15T08:42:17",
2757
+ "hours_since_admission": 25.5,
2758
+ "current_window_hours": 0.5,
2759
+ "num_current_events": 3
2760
+ },
2761
+ "reference_labels": {
2762
+ "patient_assessment": {
2763
+ "overall": {
2764
+ "label": "improving",
2765
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 75 mmHg, HR 89 bpm, SpO2 96%; latest lactate 1.5."
2766
+ },
2767
+ "active_risks": [
2768
+ {
2769
+ "risk_name": "Acute kidney injury",
2770
+ "key_evidence": [
2771
+ "323",
2772
+ "336"
2773
+ ]
2774
+ }
2775
+ ]
2776
+ },
2777
+ "action_review": {
2778
+ "evaluations": [],
2779
+ "red_flags": [
2780
+ {
2781
+ "contraindicated_action": "NSAIDs for fever control",
2782
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2783
+ "key_evidence": [
2784
+ "323"
2785
+ ]
2786
+ }
2787
+ ]
2788
+ }
2789
+ },
2790
+ "sample_id": "scale/90000001_99000001/25.500000|26.000000",
2791
+ "label_availability": {
2792
+ "patient_status": true,
2793
+ "recommended_action": true,
2794
+ "active_risks": true,
2795
+ "red_flags": true
2796
+ },
2797
+ "window_key": "25.500000|26.000000",
2798
+ "window_duration_hours": 0.5
2799
+ },
2800
+ {
2801
+ "window_index": 52,
2802
+ "window_metadata": {
2803
+ "window_start_time": "2151-03-15T08:42:17",
2804
+ "window_end_time": "2151-03-15T09:12:17",
2805
+ "hours_since_admission": 26.0,
2806
+ "current_window_hours": 0.5,
2807
+ "num_current_events": 7
2808
+ },
2809
+ "reference_labels": {
2810
+ "patient_assessment": {
2811
+ "overall": {
2812
+ "label": "improving",
2813
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 76 mmHg, HR 87 bpm, SpO2 97%; latest lactate 1.5."
2814
+ },
2815
+ "active_risks": [
2816
+ {
2817
+ "risk_name": "Acute kidney injury",
2818
+ "key_evidence": [
2819
+ "323",
2820
+ "346"
2821
+ ]
2822
+ }
2823
+ ]
2824
+ },
2825
+ "action_review": {
2826
+ "evaluations": [],
2827
+ "red_flags": [
2828
+ {
2829
+ "contraindicated_action": "NSAIDs for fever control",
2830
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2831
+ "key_evidence": [
2832
+ "323"
2833
+ ]
2834
+ }
2835
+ ]
2836
+ }
2837
+ },
2838
+ "sample_id": "scale/90000001_99000001/26.000000|26.500000",
2839
+ "label_availability": {
2840
+ "patient_status": true,
2841
+ "recommended_action": true,
2842
+ "active_risks": true,
2843
+ "red_flags": true
2844
+ },
2845
+ "window_key": "26.000000|26.500000",
2846
+ "window_duration_hours": 0.5
2847
+ },
2848
+ {
2849
+ "window_index": 53,
2850
+ "window_metadata": {
2851
+ "window_start_time": "2151-03-15T09:12:17",
2852
+ "window_end_time": "2151-03-15T09:27:17",
2853
+ "hours_since_admission": 26.5,
2854
+ "current_window_hours": 0.5,
2855
+ "num_current_events": 3
2856
+ },
2857
+ "reference_labels": {
2858
+ "patient_assessment": {
2859
+ "overall": {
2860
+ "label": "improving",
2861
+ "rationale": "Norepinephrine is being weaned with improving MAP, lactate clearance, and urine output. Current window: MAP 74 mmHg, HR 87 bpm, SpO2 97%; latest lactate 1.5."
2862
+ },
2863
+ "active_risks": [
2864
+ {
2865
+ "risk_name": "Acute kidney injury",
2866
+ "key_evidence": [
2867
+ "323",
2868
+ "346"
2869
+ ]
2870
+ }
2871
+ ]
2872
+ },
2873
+ "action_review": {
2874
+ "evaluations": [],
2875
+ "red_flags": [
2876
+ {
2877
+ "contraindicated_action": "NSAIDs for fever control",
2878
+ "rationale": "Acute kidney injury and shock increase the risk of further renal injury.",
2879
+ "key_evidence": [
2880
+ "323"
2881
+ ]
2882
+ }
2883
+ ]
2884
+ }
2885
+ },
2886
+ "sample_id": "scale/90000001_99000001/26.500000|27.000000",
2887
+ "label_availability": {
2888
+ "patient_status": true,
2889
+ "recommended_action": true,
2890
+ "active_risks": true,
2891
+ "red_flags": true
2892
+ },
2893
+ "window_key": "26.500000|27.000000",
2894
+ "window_duration_hours": 0.5
2895
+ }
2896
+ ],
2897
+ "stay_id": "90000001_99000001"
2898
+ }
scale/labels/90000002_99000002.json ADDED
The diff for this file is too large to render. See raw diff
 
scale/labels/90000003_99000003.json ADDED
@@ -0,0 +1,1865 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000003,
3
+ "icu_stay_id": 99000003,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2142-07-21T13:05:52",
6
+ "leave_time": "2142-07-22T07:41:52",
7
+ "age": 34.701015032828856,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 18.0,
10
+ "icu_duration_hours": 18.0,
11
+ "survived": true,
12
+ "icu_outcome": "Survived after ICU",
13
+ "death_time": null,
14
+ "total_events": 306
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2142-07-21T13:05:52",
21
+ "window_end_time": "2142-07-21T13:35:52",
22
+ "hours_since_admission": 0.0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 18
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "stable",
30
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 77 mmHg, HR 115 bpm, SpO2 100%; latest glucose 449.79."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Diabetic ketoacidosis",
35
+ "key_evidence": [
36
+ "14",
37
+ "16",
38
+ "Pre-ICU summary"
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "action_review": {
44
+ "evaluations": [
45
+ {
46
+ "action_id": "9",
47
+ "action_name": "Head of Bed 30 Degrees",
48
+ "label": "acceptable",
49
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
50
+ },
51
+ {
52
+ "action_id": "12",
53
+ "action_name": "BODY_INPUT NaCl 0.9%",
54
+ "label": "best_practice",
55
+ "rationale": "NaCl 0.9% is appropriate for diabetic ketoacidosis."
56
+ },
57
+ {
58
+ "action_id": "13",
59
+ "action_name": "LAB_TEST Glucose",
60
+ "label": "acceptable",
61
+ "rationale": "Glucose is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
62
+ },
63
+ {
64
+ "action_id": "14",
65
+ "action_name": "LAB_TEST Anion Gap",
66
+ "label": "acceptable",
67
+ "rationale": "Anion Gap is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
68
+ }
69
+ ],
70
+ "red_flags": [
71
+ {
72
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
73
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
74
+ "key_evidence": [
75
+ "14"
76
+ ]
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ "sample_id": "scale/90000003_99000003/0.000000|0.500000",
82
+ "label_availability": {
83
+ "patient_status": true,
84
+ "recommended_action": true,
85
+ "active_risks": true,
86
+ "red_flags": true
87
+ },
88
+ "window_key": "0.000000|0.500000",
89
+ "window_duration_hours": 0.5
90
+ },
91
+ {
92
+ "window_index": 1,
93
+ "window_metadata": {
94
+ "window_start_time": "2142-07-21T13:35:52",
95
+ "window_end_time": "2142-07-21T14:05:52",
96
+ "hours_since_admission": 0.5,
97
+ "current_window_hours": 0.5,
98
+ "num_current_events": 3
99
+ },
100
+ "reference_labels": {
101
+ "patient_assessment": {
102
+ "overall": {
103
+ "label": "stable",
104
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 115 bpm, SpO2 99%; latest glucose 449.79."
105
+ },
106
+ "active_risks": [
107
+ {
108
+ "risk_name": "Diabetic ketoacidosis",
109
+ "key_evidence": [
110
+ "14",
111
+ "16",
112
+ "Pre-ICU summary"
113
+ ]
114
+ }
115
+ ]
116
+ },
117
+ "action_review": {
118
+ "evaluations": [],
119
+ "red_flags": [
120
+ {
121
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
122
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
123
+ "key_evidence": [
124
+ "14"
125
+ ]
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ "sample_id": "scale/90000003_99000003/0.500000|1.000000",
131
+ "label_availability": {
132
+ "patient_status": true,
133
+ "recommended_action": true,
134
+ "active_risks": true,
135
+ "red_flags": true
136
+ },
137
+ "window_key": "0.500000|1.000000",
138
+ "window_duration_hours": 0.5
139
+ },
140
+ {
141
+ "window_index": 2,
142
+ "window_metadata": {
143
+ "window_start_time": "2142-07-21T14:05:52",
144
+ "window_end_time": "2142-07-21T14:35:52",
145
+ "hours_since_admission": 1.0,
146
+ "current_window_hours": 0.5,
147
+ "num_current_events": 8
148
+ },
149
+ "reference_labels": {
150
+ "patient_assessment": {
151
+ "overall": {
152
+ "label": "stable",
153
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 81 mmHg, HR 114 bpm, SpO2 97%; latest glucose 449.79."
154
+ },
155
+ "active_risks": [
156
+ {
157
+ "risk_name": "Diabetic ketoacidosis",
158
+ "key_evidence": [
159
+ "14",
160
+ "16",
161
+ "Pre-ICU summary"
162
+ ]
163
+ }
164
+ ]
165
+ },
166
+ "action_review": {
167
+ "evaluations": [
168
+ {
169
+ "action_id": "27",
170
+ "action_name": "BODY_INPUT Insulin - Regular",
171
+ "label": "best_practice",
172
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
173
+ }
174
+ ],
175
+ "red_flags": [
176
+ {
177
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
178
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
179
+ "key_evidence": [
180
+ "14"
181
+ ]
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ "sample_id": "scale/90000003_99000003/1.000000|1.500000",
187
+ "label_availability": {
188
+ "patient_status": true,
189
+ "recommended_action": true,
190
+ "active_risks": true,
191
+ "red_flags": true
192
+ },
193
+ "window_key": "1.000000|1.500000",
194
+ "window_duration_hours": 0.5
195
+ },
196
+ {
197
+ "window_index": 3,
198
+ "window_metadata": {
199
+ "window_start_time": "2142-07-21T14:35:52",
200
+ "window_end_time": "2142-07-21T15:05:52",
201
+ "hours_since_admission": 1.5,
202
+ "current_window_hours": 0.5,
203
+ "num_current_events": 3
204
+ },
205
+ "reference_labels": {
206
+ "patient_assessment": {
207
+ "overall": {
208
+ "label": "stable",
209
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 113 bpm, SpO2 99%; latest glucose 449.79."
210
+ },
211
+ "active_risks": [
212
+ {
213
+ "risk_name": "Diabetic ketoacidosis",
214
+ "key_evidence": [
215
+ "14",
216
+ "16",
217
+ "Pre-ICU summary"
218
+ ]
219
+ }
220
+ ]
221
+ },
222
+ "action_review": {
223
+ "evaluations": [],
224
+ "red_flags": [
225
+ {
226
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
227
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
228
+ "key_evidence": [
229
+ "14"
230
+ ]
231
+ }
232
+ ]
233
+ }
234
+ },
235
+ "sample_id": "scale/90000003_99000003/1.500000|2.000000",
236
+ "label_availability": {
237
+ "patient_status": true,
238
+ "recommended_action": true,
239
+ "active_risks": true,
240
+ "red_flags": true
241
+ },
242
+ "window_key": "1.500000|2.000000",
243
+ "window_duration_hours": 0.5
244
+ },
245
+ {
246
+ "window_index": 4,
247
+ "window_metadata": {
248
+ "window_start_time": "2142-07-21T15:05:52",
249
+ "window_end_time": "2142-07-21T15:35:52",
250
+ "hours_since_admission": 2.0,
251
+ "current_window_hours": 0.5,
252
+ "num_current_events": 13
253
+ },
254
+ "reference_labels": {
255
+ "patient_assessment": {
256
+ "overall": {
257
+ "label": "stable",
258
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 77 mmHg, HR 112 bpm, SpO2 98%; latest glucose 377.22.",
259
+ "weighted_domains": {
260
+ "hemodynamics": "stable",
261
+ "respiratory": "stable",
262
+ "renal_metabolic": "improving",
263
+ "neurology": "stable"
264
+ },
265
+ "trajectory_trend": "improving"
266
+ },
267
+ "active_risks": [
268
+ {
269
+ "risk_name": "Diabetic ketoacidosis",
270
+ "key_evidence": [
271
+ "41",
272
+ "43",
273
+ "Pre-ICU summary"
274
+ ]
275
+ }
276
+ ]
277
+ },
278
+ "action_review": {
279
+ "evaluations": [
280
+ {
281
+ "action_id": "38",
282
+ "action_name": "BODY_INPUT Insulin - Regular",
283
+ "label": "best_practice",
284
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
285
+ },
286
+ {
287
+ "action_id": "39",
288
+ "action_name": "LAB_TEST Glucose",
289
+ "label": "acceptable",
290
+ "rationale": "Glucose is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
291
+ },
292
+ {
293
+ "action_id": "41",
294
+ "action_name": "LAB_TEST Anion Gap",
295
+ "label": "acceptable",
296
+ "rationale": "Anion Gap is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
297
+ }
298
+ ],
299
+ "red_flags": [
300
+ {
301
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
302
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
303
+ "key_evidence": [
304
+ "41"
305
+ ]
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ "sample_id": "scale/90000003_99000003/2.000000|2.500000",
311
+ "label_availability": {
312
+ "patient_status": true,
313
+ "recommended_action": true,
314
+ "active_risks": true,
315
+ "red_flags": true
316
+ },
317
+ "window_key": "2.000000|2.500000",
318
+ "window_duration_hours": 0.5
319
+ },
320
+ {
321
+ "window_index": 6,
322
+ "window_metadata": {
323
+ "window_start_time": "2142-07-21T16:05:52",
324
+ "window_end_time": "2142-07-21T16:35:52",
325
+ "hours_since_admission": 3.0,
326
+ "current_window_hours": 0.5,
327
+ "num_current_events": 8
328
+ },
329
+ "reference_labels": {
330
+ "patient_assessment": {
331
+ "overall": {
332
+ "label": "stable",
333
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 80 mmHg, HR 110 bpm, SpO2 97%; latest glucose 377.22."
334
+ },
335
+ "active_risks": [
336
+ {
337
+ "risk_name": "Diabetic ketoacidosis",
338
+ "key_evidence": [
339
+ "41",
340
+ "43",
341
+ "Pre-ICU summary"
342
+ ]
343
+ }
344
+ ]
345
+ },
346
+ "action_review": {
347
+ "evaluations": [
348
+ {
349
+ "action_id": "54",
350
+ "action_name": "BODY_INPUT Insulin - Regular",
351
+ "label": "best_practice",
352
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
353
+ }
354
+ ],
355
+ "red_flags": [
356
+ {
357
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
358
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
359
+ "key_evidence": [
360
+ "41"
361
+ ]
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ "sample_id": "scale/90000003_99000003/3.000000|3.500000",
367
+ "label_availability": {
368
+ "patient_status": true,
369
+ "recommended_action": true,
370
+ "active_risks": true,
371
+ "red_flags": true
372
+ },
373
+ "window_key": "3.000000|3.500000",
374
+ "window_duration_hours": 0.5
375
+ },
376
+ {
377
+ "window_index": 7,
378
+ "window_metadata": {
379
+ "window_start_time": "2142-07-21T16:35:52",
380
+ "window_end_time": "2142-07-21T17:05:52",
381
+ "hours_since_admission": 3.5,
382
+ "current_window_hours": 0.5,
383
+ "num_current_events": 3
384
+ },
385
+ "reference_labels": {
386
+ "patient_assessment": {
387
+ "overall": {
388
+ "label": "stable",
389
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 108 bpm, SpO2 98%; latest glucose 377.22."
390
+ },
391
+ "active_risks": [
392
+ {
393
+ "risk_name": "Diabetic ketoacidosis",
394
+ "key_evidence": [
395
+ "41",
396
+ "43",
397
+ "Pre-ICU summary"
398
+ ]
399
+ }
400
+ ]
401
+ },
402
+ "action_review": {
403
+ "evaluations": [],
404
+ "red_flags": [
405
+ {
406
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
407
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
408
+ "key_evidence": [
409
+ "41"
410
+ ]
411
+ }
412
+ ]
413
+ }
414
+ },
415
+ "sample_id": "scale/90000003_99000003/3.500000|4.000000",
416
+ "label_availability": {
417
+ "patient_status": true,
418
+ "recommended_action": true,
419
+ "active_risks": true,
420
+ "red_flags": true
421
+ },
422
+ "window_key": "3.500000|4.000000",
423
+ "window_duration_hours": 0.5
424
+ },
425
+ {
426
+ "window_index": 8,
427
+ "window_metadata": {
428
+ "window_start_time": "2142-07-21T17:05:52",
429
+ "window_end_time": "2142-07-21T17:35:52",
430
+ "hours_since_admission": 4.0,
431
+ "current_window_hours": 0.5,
432
+ "num_current_events": 16
433
+ },
434
+ "reference_labels": {
435
+ "patient_assessment": {
436
+ "overall": {
437
+ "label": "stable",
438
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 107 bpm, SpO2 99%; latest glucose 276.98."
439
+ },
440
+ "active_risks": [
441
+ {
442
+ "risk_name": "Diabetic ketoacidosis",
443
+ "key_evidence": [
444
+ "71",
445
+ "73",
446
+ "Pre-ICU summary"
447
+ ]
448
+ },
449
+ {
450
+ "risk_name": "Hypokalemia during insulin therapy",
451
+ "key_evidence": [
452
+ "72"
453
+ ]
454
+ }
455
+ ]
456
+ },
457
+ "action_review": {
458
+ "evaluations": [
459
+ {
460
+ "action_id": "66",
461
+ "action_name": "Head of Bed 30 Degrees",
462
+ "label": "acceptable",
463
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
464
+ },
465
+ {
466
+ "action_id": "68",
467
+ "action_name": "BODY_INPUT Insulin - Regular",
468
+ "label": "best_practice",
469
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
470
+ },
471
+ {
472
+ "action_id": "70",
473
+ "action_name": "LAB_TEST Glucose",
474
+ "label": "acceptable",
475
+ "rationale": "Glucose is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
476
+ },
477
+ {
478
+ "action_id": "71",
479
+ "action_name": "LAB_TEST Anion Gap",
480
+ "label": "acceptable",
481
+ "rationale": "Anion Gap is reasonable monitoring or support in this context. Hemodynamically stable on insulin infusion; acidosis persists."
482
+ }
483
+ ],
484
+ "red_flags": [
485
+ {
486
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
487
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
488
+ "key_evidence": [
489
+ "71"
490
+ ]
491
+ },
492
+ {
493
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
494
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
495
+ "key_evidence": [
496
+ "72"
497
+ ]
498
+ }
499
+ ]
500
+ }
501
+ },
502
+ "sample_id": "scale/90000003_99000003/4.000000|4.500000",
503
+ "label_availability": {
504
+ "patient_status": true,
505
+ "recommended_action": true,
506
+ "active_risks": true,
507
+ "red_flags": true
508
+ },
509
+ "window_key": "4.000000|4.500000",
510
+ "window_duration_hours": 0.5
511
+ },
512
+ {
513
+ "window_index": 9,
514
+ "window_metadata": {
515
+ "window_start_time": "2142-07-21T17:35:52",
516
+ "window_end_time": "2142-07-21T18:05:52",
517
+ "hours_since_admission": 4.5,
518
+ "current_window_hours": 0.5,
519
+ "num_current_events": 4
520
+ },
521
+ "reference_labels": {
522
+ "patient_assessment": {
523
+ "overall": {
524
+ "label": "stable",
525
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 79 mmHg, HR 107 bpm, SpO2 98%; latest glucose 276.98."
526
+ },
527
+ "active_risks": [
528
+ {
529
+ "risk_name": "Diabetic ketoacidosis",
530
+ "key_evidence": [
531
+ "71",
532
+ "73",
533
+ "Pre-ICU summary"
534
+ ]
535
+ },
536
+ {
537
+ "risk_name": "Hypokalemia during insulin therapy",
538
+ "key_evidence": [
539
+ "72"
540
+ ]
541
+ }
542
+ ]
543
+ },
544
+ "action_review": {
545
+ "evaluations": [
546
+ {
547
+ "action_id": "78",
548
+ "action_name": "BODY_INPUT Potassium Chloride",
549
+ "label": "best_practice",
550
+ "rationale": "Potassium Chloride is appropriate for diabetic ketoacidosis."
551
+ }
552
+ ],
553
+ "red_flags": [
554
+ {
555
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
556
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
557
+ "key_evidence": [
558
+ "71"
559
+ ]
560
+ },
561
+ {
562
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
563
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
564
+ "key_evidence": [
565
+ "72"
566
+ ]
567
+ }
568
+ ]
569
+ }
570
+ },
571
+ "sample_id": "scale/90000003_99000003/4.500000|5.000000",
572
+ "label_availability": {
573
+ "patient_status": true,
574
+ "recommended_action": true,
575
+ "active_risks": true,
576
+ "red_flags": true
577
+ },
578
+ "window_key": "4.500000|5.000000",
579
+ "window_duration_hours": 0.5
580
+ },
581
+ {
582
+ "window_index": 10,
583
+ "window_metadata": {
584
+ "window_start_time": "2142-07-21T18:05:52",
585
+ "window_end_time": "2142-07-21T18:35:52",
586
+ "hours_since_admission": 5.0,
587
+ "current_window_hours": 0.5,
588
+ "num_current_events": 8
589
+ },
590
+ "reference_labels": {
591
+ "patient_assessment": {
592
+ "overall": {
593
+ "label": "stable",
594
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 78 mmHg, HR 104 bpm, SpO2 98%; latest glucose 276.98."
595
+ },
596
+ "active_risks": [
597
+ {
598
+ "risk_name": "Diabetic ketoacidosis",
599
+ "key_evidence": [
600
+ "71",
601
+ "73",
602
+ "Pre-ICU summary"
603
+ ]
604
+ },
605
+ {
606
+ "risk_name": "Hypokalemia during insulin therapy",
607
+ "key_evidence": [
608
+ "72"
609
+ ]
610
+ }
611
+ ]
612
+ },
613
+ "action_review": {
614
+ "evaluations": [
615
+ {
616
+ "action_id": "85",
617
+ "action_name": "BODY_INPUT Insulin - Regular",
618
+ "label": "best_practice",
619
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
620
+ }
621
+ ],
622
+ "red_flags": [
623
+ {
624
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
625
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
626
+ "key_evidence": [
627
+ "71"
628
+ ]
629
+ },
630
+ {
631
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
632
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
633
+ "key_evidence": [
634
+ "72"
635
+ ]
636
+ }
637
+ ]
638
+ }
639
+ },
640
+ "sample_id": "scale/90000003_99000003/5.000000|5.500000",
641
+ "label_availability": {
642
+ "patient_status": true,
643
+ "recommended_action": true,
644
+ "active_risks": true,
645
+ "red_flags": true
646
+ },
647
+ "window_key": "5.000000|5.500000",
648
+ "window_duration_hours": 0.5
649
+ },
650
+ {
651
+ "window_index": 11,
652
+ "window_metadata": {
653
+ "window_start_time": "2142-07-21T18:35:52",
654
+ "window_end_time": "2142-07-21T19:05:52",
655
+ "hours_since_admission": 5.5,
656
+ "current_window_hours": 0.5,
657
+ "num_current_events": 3
658
+ },
659
+ "reference_labels": {
660
+ "patient_assessment": {
661
+ "overall": {
662
+ "label": "stable",
663
+ "rationale": "Hemodynamically stable on insulin infusion; acidosis persists. Current window: MAP 80 mmHg, HR 104 bpm, SpO2 98%; latest glucose 276.98."
664
+ },
665
+ "active_risks": [
666
+ {
667
+ "risk_name": "Diabetic ketoacidosis",
668
+ "key_evidence": [
669
+ "71",
670
+ "73",
671
+ "Pre-ICU summary"
672
+ ]
673
+ },
674
+ {
675
+ "risk_name": "Hypokalemia during insulin therapy",
676
+ "key_evidence": [
677
+ "72"
678
+ ]
679
+ }
680
+ ]
681
+ },
682
+ "action_review": {
683
+ "evaluations": [],
684
+ "red_flags": [
685
+ {
686
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
687
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
688
+ "key_evidence": [
689
+ "71"
690
+ ]
691
+ },
692
+ {
693
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
694
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
695
+ "key_evidence": [
696
+ "72"
697
+ ]
698
+ }
699
+ ]
700
+ }
701
+ },
702
+ "sample_id": "scale/90000003_99000003/5.500000|6.000000",
703
+ "label_availability": {
704
+ "patient_status": true,
705
+ "recommended_action": true,
706
+ "active_risks": true,
707
+ "red_flags": true
708
+ },
709
+ "window_key": "5.500000|6.000000",
710
+ "window_duration_hours": 0.5
711
+ },
712
+ {
713
+ "window_index": 13,
714
+ "window_metadata": {
715
+ "window_start_time": "2142-07-21T19:35:52",
716
+ "window_end_time": "2142-07-21T20:05:52",
717
+ "hours_since_admission": 6.5,
718
+ "current_window_hours": 0.5,
719
+ "num_current_events": 4
720
+ },
721
+ "reference_labels": {
722
+ "patient_assessment": {
723
+ "overall": {
724
+ "label": "improving",
725
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 101 bpm, SpO2 98%; latest glucose 247.13."
726
+ },
727
+ "active_risks": [
728
+ {
729
+ "risk_name": "Diabetic ketoacidosis",
730
+ "key_evidence": [
731
+ "100",
732
+ "102",
733
+ "Pre-ICU summary"
734
+ ]
735
+ },
736
+ {
737
+ "risk_name": "Hypokalemia during insulin therapy",
738
+ "key_evidence": [
739
+ "101"
740
+ ]
741
+ }
742
+ ]
743
+ },
744
+ "action_review": {
745
+ "evaluations": [
746
+ {
747
+ "action_id": "104",
748
+ "action_name": "BODY_INPUT Potassium Chloride",
749
+ "label": "best_practice",
750
+ "rationale": "Potassium Chloride is appropriate for diabetic ketoacidosis."
751
+ }
752
+ ],
753
+ "red_flags": [
754
+ {
755
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
756
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
757
+ "key_evidence": [
758
+ "100"
759
+ ]
760
+ },
761
+ {
762
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
763
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
764
+ "key_evidence": [
765
+ "101"
766
+ ]
767
+ }
768
+ ]
769
+ }
770
+ },
771
+ "sample_id": "scale/90000003_99000003/6.500000|7.000000",
772
+ "label_availability": {
773
+ "patient_status": true,
774
+ "recommended_action": true,
775
+ "active_risks": true,
776
+ "red_flags": true
777
+ },
778
+ "window_key": "6.500000|7.000000",
779
+ "window_duration_hours": 0.5
780
+ },
781
+ {
782
+ "window_index": 14,
783
+ "window_metadata": {
784
+ "window_start_time": "2142-07-21T20:05:52",
785
+ "window_end_time": "2142-07-21T20:35:52",
786
+ "hours_since_admission": 7.0,
787
+ "current_window_hours": 0.5,
788
+ "num_current_events": 10
789
+ },
790
+ "reference_labels": {
791
+ "patient_assessment": {
792
+ "overall": {
793
+ "label": "improving",
794
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 79 mmHg, HR 99 bpm, SpO2 97%; latest glucose 247.13."
795
+ },
796
+ "active_risks": [
797
+ {
798
+ "risk_name": "Diabetic ketoacidosis",
799
+ "key_evidence": [
800
+ "100",
801
+ "102",
802
+ "Pre-ICU summary"
803
+ ]
804
+ },
805
+ {
806
+ "risk_name": "Hypokalemia during insulin therapy",
807
+ "key_evidence": [
808
+ "101"
809
+ ]
810
+ }
811
+ ]
812
+ },
813
+ "action_review": {
814
+ "evaluations": [
815
+ {
816
+ "action_id": "108",
817
+ "action_name": "Magnesium Sulfate",
818
+ "label": "insufficient_data",
819
+ "rationale": "No magnesium level is documented to support or refute replacement."
820
+ },
821
+ {
822
+ "action_id": "115",
823
+ "action_name": "BODY_INPUT Insulin - Regular",
824
+ "label": "best_practice",
825
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
826
+ },
827
+ {
828
+ "action_id": "116",
829
+ "action_name": "BODY_INPUT Dextrose 5%",
830
+ "label": "best_practice",
831
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
832
+ }
833
+ ],
834
+ "red_flags": [
835
+ {
836
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
837
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
838
+ "key_evidence": [
839
+ "100"
840
+ ]
841
+ },
842
+ {
843
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
844
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
845
+ "key_evidence": [
846
+ "101"
847
+ ]
848
+ }
849
+ ]
850
+ }
851
+ },
852
+ "sample_id": "scale/90000003_99000003/7.000000|7.500000",
853
+ "label_availability": {
854
+ "patient_status": true,
855
+ "recommended_action": true,
856
+ "active_risks": true,
857
+ "red_flags": true
858
+ },
859
+ "window_key": "7.000000|7.500000",
860
+ "window_duration_hours": 0.5
861
+ },
862
+ {
863
+ "window_index": 15,
864
+ "window_metadata": {
865
+ "window_start_time": "2142-07-21T20:35:52",
866
+ "window_end_time": "2142-07-21T21:05:52",
867
+ "hours_since_admission": 7.5,
868
+ "current_window_hours": 0.5,
869
+ "num_current_events": 3
870
+ },
871
+ "reference_labels": {
872
+ "patient_assessment": {
873
+ "overall": {
874
+ "label": "improving",
875
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 99 bpm, SpO2 101%; latest glucose 247.13."
876
+ },
877
+ "active_risks": [
878
+ {
879
+ "risk_name": "Diabetic ketoacidosis",
880
+ "key_evidence": [
881
+ "100",
882
+ "102",
883
+ "Pre-ICU summary"
884
+ ]
885
+ },
886
+ {
887
+ "risk_name": "Hypokalemia during insulin therapy",
888
+ "key_evidence": [
889
+ "101"
890
+ ]
891
+ }
892
+ ]
893
+ },
894
+ "action_review": {
895
+ "evaluations": [],
896
+ "red_flags": [
897
+ {
898
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
899
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
900
+ "key_evidence": [
901
+ "100"
902
+ ]
903
+ },
904
+ {
905
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
906
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
907
+ "key_evidence": [
908
+ "101"
909
+ ]
910
+ }
911
+ ]
912
+ }
913
+ },
914
+ "sample_id": "scale/90000003_99000003/7.500000|8.000000",
915
+ "label_availability": {
916
+ "patient_status": true,
917
+ "recommended_action": true,
918
+ "active_risks": true,
919
+ "red_flags": true
920
+ },
921
+ "window_key": "7.500000|8.000000",
922
+ "window_duration_hours": 0.5
923
+ },
924
+ {
925
+ "window_index": 16,
926
+ "window_metadata": {
927
+ "window_start_time": "2142-07-21T21:05:52",
928
+ "window_end_time": "2142-07-21T21:35:52",
929
+ "hours_since_admission": 8.0,
930
+ "current_window_hours": 0.5,
931
+ "num_current_events": 17
932
+ },
933
+ "reference_labels": {
934
+ "patient_assessment": {
935
+ "overall": {
936
+ "label": "improving",
937
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 79 mmHg, HR 99 bpm, SpO2 99%; latest glucose 216.11."
938
+ },
939
+ "active_risks": [
940
+ {
941
+ "risk_name": "Diabetic ketoacidosis",
942
+ "key_evidence": [
943
+ "134",
944
+ "136",
945
+ "Pre-ICU summary"
946
+ ]
947
+ },
948
+ {
949
+ "risk_name": "Hypokalemia during insulin therapy",
950
+ "key_evidence": [
951
+ "135"
952
+ ]
953
+ }
954
+ ]
955
+ },
956
+ "action_review": {
957
+ "evaluations": [
958
+ {
959
+ "action_id": "128",
960
+ "action_name": "Head of Bed 30 Degrees",
961
+ "label": "acceptable",
962
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
963
+ },
964
+ {
965
+ "action_id": "130",
966
+ "action_name": "BODY_INPUT Insulin - Regular",
967
+ "label": "best_practice",
968
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
969
+ },
970
+ {
971
+ "action_id": "131",
972
+ "action_name": "BODY_INPUT Dextrose 5%",
973
+ "label": "best_practice",
974
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
975
+ },
976
+ {
977
+ "action_id": "133",
978
+ "action_name": "LAB_TEST Glucose",
979
+ "label": "acceptable",
980
+ "rationale": "Glucose is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
981
+ }
982
+ ],
983
+ "red_flags": [
984
+ {
985
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
986
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
987
+ "key_evidence": [
988
+ "134"
989
+ ]
990
+ },
991
+ {
992
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
993
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
994
+ "key_evidence": [
995
+ "135"
996
+ ]
997
+ }
998
+ ]
999
+ }
1000
+ },
1001
+ "sample_id": "scale/90000003_99000003/8.000000|8.500000",
1002
+ "label_availability": {
1003
+ "patient_status": true,
1004
+ "recommended_action": true,
1005
+ "active_risks": true,
1006
+ "red_flags": true
1007
+ },
1008
+ "window_key": "8.000000|8.500000",
1009
+ "window_duration_hours": 0.5
1010
+ },
1011
+ {
1012
+ "window_index": 17,
1013
+ "window_metadata": {
1014
+ "window_start_time": "2142-07-21T21:35:52",
1015
+ "window_end_time": "2142-07-21T22:05:52",
1016
+ "hours_since_admission": 8.5,
1017
+ "current_window_hours": 0.5,
1018
+ "num_current_events": 3
1019
+ },
1020
+ "reference_labels": {
1021
+ "patient_assessment": {
1022
+ "overall": {
1023
+ "label": "improving",
1024
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 97 bpm, SpO2 99%; latest glucose 216.11."
1025
+ },
1026
+ "active_risks": [
1027
+ {
1028
+ "risk_name": "Diabetic ketoacidosis",
1029
+ "key_evidence": [
1030
+ "134",
1031
+ "136",
1032
+ "Pre-ICU summary"
1033
+ ]
1034
+ },
1035
+ {
1036
+ "risk_name": "Hypokalemia during insulin therapy",
1037
+ "key_evidence": [
1038
+ "135"
1039
+ ]
1040
+ }
1041
+ ]
1042
+ },
1043
+ "action_review": {
1044
+ "evaluations": [],
1045
+ "red_flags": [
1046
+ {
1047
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1048
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1049
+ "key_evidence": [
1050
+ "134"
1051
+ ]
1052
+ },
1053
+ {
1054
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
1055
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
1056
+ "key_evidence": [
1057
+ "135"
1058
+ ]
1059
+ }
1060
+ ]
1061
+ }
1062
+ },
1063
+ "sample_id": "scale/90000003_99000003/8.500000|9.000000",
1064
+ "label_availability": {
1065
+ "patient_status": true,
1066
+ "recommended_action": true,
1067
+ "active_risks": true,
1068
+ "red_flags": true
1069
+ },
1070
+ "window_key": "8.500000|9.000000",
1071
+ "window_duration_hours": 0.5
1072
+ },
1073
+ {
1074
+ "window_index": 18,
1075
+ "window_metadata": {
1076
+ "window_start_time": "2142-07-21T22:05:52",
1077
+ "window_end_time": "2142-07-21T22:35:52",
1078
+ "hours_since_admission": 9.0,
1079
+ "current_window_hours": 0.5,
1080
+ "num_current_events": 2
1081
+ },
1082
+ "reference_labels": {
1083
+ "patient_assessment": {
1084
+ "overall": {
1085
+ "label": "insufficient_data",
1086
+ "rationale": "The patient was off the unit for imaging and no vital signs were documented in this window."
1087
+ },
1088
+ "active_risks": [
1089
+ {
1090
+ "risk_name": "Diabetic ketoacidosis",
1091
+ "key_evidence": [
1092
+ "134",
1093
+ "136",
1094
+ "Pre-ICU summary"
1095
+ ]
1096
+ },
1097
+ {
1098
+ "risk_name": "Hypokalemia during insulin therapy",
1099
+ "key_evidence": [
1100
+ "135"
1101
+ ]
1102
+ }
1103
+ ]
1104
+ },
1105
+ "action_review": {
1106
+ "evaluations": [
1107
+ {
1108
+ "action_id": "141",
1109
+ "action_name": "CT scan",
1110
+ "label": "best_practice",
1111
+ "rationale": "CT scan is appropriate for diabetic ketoacidosis."
1112
+ }
1113
+ ],
1114
+ "red_flags": [
1115
+ {
1116
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1117
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1118
+ "key_evidence": [
1119
+ "134"
1120
+ ]
1121
+ },
1122
+ {
1123
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
1124
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
1125
+ "key_evidence": [
1126
+ "135"
1127
+ ]
1128
+ }
1129
+ ]
1130
+ }
1131
+ },
1132
+ "sample_id": "scale/90000003_99000003/9.000000|9.500000",
1133
+ "label_availability": {
1134
+ "patient_status": true,
1135
+ "recommended_action": true,
1136
+ "active_risks": true,
1137
+ "red_flags": true
1138
+ },
1139
+ "window_key": "9.000000|9.500000",
1140
+ "window_duration_hours": 0.5
1141
+ },
1142
+ {
1143
+ "window_index": 20,
1144
+ "window_metadata": {
1145
+ "window_start_time": "2142-07-21T23:05:52",
1146
+ "window_end_time": "2142-07-21T23:35:52",
1147
+ "hours_since_admission": 10.0,
1148
+ "current_window_hours": 0.5,
1149
+ "num_current_events": 9
1150
+ },
1151
+ "reference_labels": {
1152
+ "patient_assessment": {
1153
+ "overall": {
1154
+ "label": "improving",
1155
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 94 bpm, SpO2 98%; latest glucose 216.11."
1156
+ },
1157
+ "active_risks": [
1158
+ {
1159
+ "risk_name": "Diabetic ketoacidosis",
1160
+ "key_evidence": [
1161
+ "134",
1162
+ "136",
1163
+ "Pre-ICU summary"
1164
+ ]
1165
+ },
1166
+ {
1167
+ "risk_name": "Hypokalemia during insulin therapy",
1168
+ "key_evidence": [
1169
+ "135"
1170
+ ]
1171
+ }
1172
+ ]
1173
+ },
1174
+ "action_review": {
1175
+ "evaluations": [
1176
+ {
1177
+ "action_id": "152",
1178
+ "action_name": "BODY_INPUT Insulin - Regular",
1179
+ "label": "best_practice",
1180
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1181
+ },
1182
+ {
1183
+ "action_id": "153",
1184
+ "action_name": "BODY_INPUT Dextrose 5%",
1185
+ "label": "best_practice",
1186
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1187
+ }
1188
+ ],
1189
+ "red_flags": [
1190
+ {
1191
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1192
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1193
+ "key_evidence": [
1194
+ "134"
1195
+ ]
1196
+ },
1197
+ {
1198
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
1199
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
1200
+ "key_evidence": [
1201
+ "135"
1202
+ ]
1203
+ }
1204
+ ]
1205
+ }
1206
+ },
1207
+ "sample_id": "scale/90000003_99000003/10.000000|10.500000",
1208
+ "label_availability": {
1209
+ "patient_status": true,
1210
+ "recommended_action": true,
1211
+ "active_risks": true,
1212
+ "red_flags": true
1213
+ },
1214
+ "window_key": "10.000000|10.500000",
1215
+ "window_duration_hours": 0.5
1216
+ },
1217
+ {
1218
+ "window_index": 21,
1219
+ "window_metadata": {
1220
+ "window_start_time": "2142-07-21T23:35:52",
1221
+ "window_end_time": "2142-07-22T00:05:52",
1222
+ "hours_since_admission": 10.5,
1223
+ "current_window_hours": 0.5,
1224
+ "num_current_events": 3
1225
+ },
1226
+ "reference_labels": {
1227
+ "patient_assessment": {
1228
+ "overall": {
1229
+ "label": "improving",
1230
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 84 mmHg, HR 94 bpm, SpO2 99%; latest glucose 216.11."
1231
+ },
1232
+ "active_risks": [
1233
+ {
1234
+ "risk_name": "Diabetic ketoacidosis",
1235
+ "key_evidence": [
1236
+ "134",
1237
+ "136",
1238
+ "Pre-ICU summary"
1239
+ ]
1240
+ },
1241
+ {
1242
+ "risk_name": "Hypokalemia during insulin therapy",
1243
+ "key_evidence": [
1244
+ "135"
1245
+ ]
1246
+ }
1247
+ ]
1248
+ },
1249
+ "action_review": {
1250
+ "evaluations": [],
1251
+ "red_flags": [
1252
+ {
1253
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1254
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1255
+ "key_evidence": [
1256
+ "134"
1257
+ ]
1258
+ },
1259
+ {
1260
+ "contraindicated_action": "Insulin bolus without potassium monitoring",
1261
+ "rationale": "Potassium fell to 3.1 mEq/L during insulin therapy.",
1262
+ "key_evidence": [
1263
+ "135"
1264
+ ]
1265
+ }
1266
+ ]
1267
+ }
1268
+ },
1269
+ "sample_id": "scale/90000003_99000003/10.500000|11.000000",
1270
+ "label_availability": {
1271
+ "patient_status": true,
1272
+ "recommended_action": true,
1273
+ "active_risks": true,
1274
+ "red_flags": true
1275
+ },
1276
+ "window_key": "10.500000|11.000000",
1277
+ "window_duration_hours": 0.5
1278
+ },
1279
+ {
1280
+ "window_index": 22,
1281
+ "window_metadata": {
1282
+ "window_start_time": "2142-07-22T00:05:52",
1283
+ "window_end_time": "2142-07-22T00:35:52",
1284
+ "hours_since_admission": 11.0,
1285
+ "current_window_hours": 0.5,
1286
+ "num_current_events": 9
1287
+ },
1288
+ "reference_labels": {
1289
+ "patient_assessment": {
1290
+ "overall": {
1291
+ "label": "improving",
1292
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 93 bpm, SpO2 99%; latest glucose 216.11."
1293
+ },
1294
+ "active_risks": [
1295
+ {
1296
+ "risk_name": "Diabetic ketoacidosis",
1297
+ "key_evidence": [
1298
+ "134",
1299
+ "136",
1300
+ "Pre-ICU summary"
1301
+ ]
1302
+ }
1303
+ ]
1304
+ },
1305
+ "action_review": {
1306
+ "evaluations": [
1307
+ {
1308
+ "action_id": "164",
1309
+ "action_name": "BODY_INPUT Insulin - Regular",
1310
+ "label": "best_practice",
1311
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1312
+ },
1313
+ {
1314
+ "action_id": "165",
1315
+ "action_name": "BODY_INPUT Dextrose 5%",
1316
+ "label": "best_practice",
1317
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1318
+ }
1319
+ ],
1320
+ "red_flags": [
1321
+ {
1322
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1323
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1324
+ "key_evidence": [
1325
+ "134"
1326
+ ]
1327
+ }
1328
+ ]
1329
+ }
1330
+ },
1331
+ "sample_id": "scale/90000003_99000003/11.000000|11.500000",
1332
+ "label_availability": {
1333
+ "patient_status": true,
1334
+ "recommended_action": true,
1335
+ "active_risks": true,
1336
+ "red_flags": true
1337
+ },
1338
+ "window_key": "11.000000|11.500000",
1339
+ "window_duration_hours": 0.5
1340
+ },
1341
+ {
1342
+ "window_index": 23,
1343
+ "window_metadata": {
1344
+ "window_start_time": "2142-07-22T00:35:52",
1345
+ "window_end_time": "2142-07-22T01:05:52",
1346
+ "hours_since_admission": 11.5,
1347
+ "current_window_hours": 0.5,
1348
+ "num_current_events": 3
1349
+ },
1350
+ "reference_labels": {
1351
+ "patient_assessment": {
1352
+ "overall": {
1353
+ "label": "improving",
1354
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 95 bpm, SpO2 100%; latest glucose 216.11."
1355
+ },
1356
+ "active_risks": [
1357
+ {
1358
+ "risk_name": "Diabetic ketoacidosis",
1359
+ "key_evidence": [
1360
+ "134",
1361
+ "136",
1362
+ "Pre-ICU summary"
1363
+ ]
1364
+ }
1365
+ ]
1366
+ },
1367
+ "action_review": {
1368
+ "evaluations": [],
1369
+ "red_flags": [
1370
+ {
1371
+ "contraindicated_action": "Stopping the insulin infusion before the anion gap closes",
1372
+ "rationale": "Ketoacidosis recurs if insulin is interrupted before ketosis resolves.",
1373
+ "key_evidence": [
1374
+ "134"
1375
+ ]
1376
+ }
1377
+ ]
1378
+ }
1379
+ },
1380
+ "sample_id": "scale/90000003_99000003/11.500000|12.000000",
1381
+ "label_availability": {
1382
+ "patient_status": true,
1383
+ "recommended_action": true,
1384
+ "active_risks": true,
1385
+ "red_flags": true
1386
+ },
1387
+ "window_key": "11.500000|12.000000",
1388
+ "window_duration_hours": 0.5
1389
+ },
1390
+ {
1391
+ "window_index": 24,
1392
+ "window_metadata": {
1393
+ "window_start_time": "2142-07-22T01:05:52",
1394
+ "window_end_time": "2142-07-22T01:35:52",
1395
+ "hours_since_admission": 12.0,
1396
+ "current_window_hours": 0.5,
1397
+ "num_current_events": 17
1398
+ },
1399
+ "reference_labels": {
1400
+ "patient_assessment": {
1401
+ "overall": {
1402
+ "label": "improving",
1403
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 93 bpm, SpO2 98%; latest glucose 187.26."
1404
+ },
1405
+ "active_risks": []
1406
+ },
1407
+ "action_review": {
1408
+ "evaluations": [
1409
+ {
1410
+ "action_id": "170",
1411
+ "action_name": "LAB_TEST Glucose",
1412
+ "label": "acceptable",
1413
+ "rationale": "Glucose is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
1414
+ },
1415
+ {
1416
+ "action_id": "182",
1417
+ "action_name": "Head of Bed 30 Degrees",
1418
+ "label": "acceptable",
1419
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
1420
+ },
1421
+ {
1422
+ "action_id": "184",
1423
+ "action_name": "BODY_INPUT Insulin - Regular",
1424
+ "label": "best_practice",
1425
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1426
+ },
1427
+ {
1428
+ "action_id": "185",
1429
+ "action_name": "BODY_INPUT Dextrose 5%",
1430
+ "label": "best_practice",
1431
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1432
+ }
1433
+ ],
1434
+ "red_flags": []
1435
+ }
1436
+ },
1437
+ "sample_id": "scale/90000003_99000003/12.000000|12.500000",
1438
+ "label_availability": {
1439
+ "patient_status": true,
1440
+ "recommended_action": true,
1441
+ "active_risks": true,
1442
+ "red_flags": true
1443
+ },
1444
+ "window_key": "12.000000|12.500000",
1445
+ "window_duration_hours": 0.5
1446
+ },
1447
+ {
1448
+ "window_index": 25,
1449
+ "window_metadata": {
1450
+ "window_start_time": "2142-07-22T01:35:52",
1451
+ "window_end_time": "2142-07-22T02:05:52",
1452
+ "hours_since_admission": 12.5,
1453
+ "current_window_hours": 0.5,
1454
+ "num_current_events": 3
1455
+ },
1456
+ "reference_labels": {
1457
+ "patient_assessment": {
1458
+ "overall": {
1459
+ "label": "improving",
1460
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 90 bpm, SpO2 99%; latest glucose 187.26."
1461
+ },
1462
+ "active_risks": []
1463
+ },
1464
+ "action_review": {
1465
+ "evaluations": [],
1466
+ "red_flags": []
1467
+ }
1468
+ },
1469
+ "sample_id": "scale/90000003_99000003/12.500000|13.000000",
1470
+ "label_availability": {
1471
+ "patient_status": true,
1472
+ "recommended_action": true,
1473
+ "active_risks": true,
1474
+ "red_flags": true
1475
+ },
1476
+ "window_key": "12.500000|13.000000",
1477
+ "window_duration_hours": 0.5
1478
+ },
1479
+ {
1480
+ "window_index": 27,
1481
+ "window_metadata": {
1482
+ "window_start_time": "2142-07-22T02:35:52",
1483
+ "window_end_time": "2142-07-22T03:05:52",
1484
+ "hours_since_admission": 13.5,
1485
+ "current_window_hours": 0.5,
1486
+ "num_current_events": 3
1487
+ },
1488
+ "reference_labels": {
1489
+ "patient_assessment": {
1490
+ "overall": {
1491
+ "label": "improving",
1492
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 81 mmHg, HR 91 bpm, SpO2 100%; latest glucose 187.26."
1493
+ },
1494
+ "active_risks": []
1495
+ },
1496
+ "action_review": {
1497
+ "evaluations": [],
1498
+ "red_flags": []
1499
+ }
1500
+ },
1501
+ "sample_id": "scale/90000003_99000003/13.500000|14.000000",
1502
+ "label_availability": {
1503
+ "patient_status": true,
1504
+ "recommended_action": true,
1505
+ "active_risks": true,
1506
+ "red_flags": true
1507
+ },
1508
+ "window_key": "13.500000|14.000000",
1509
+ "window_duration_hours": 0.5
1510
+ },
1511
+ {
1512
+ "window_index": 28,
1513
+ "window_metadata": {
1514
+ "window_start_time": "2142-07-22T03:05:52",
1515
+ "window_end_time": "2142-07-22T03:35:52",
1516
+ "hours_since_admission": 14.0,
1517
+ "current_window_hours": 0.5,
1518
+ "num_current_events": 9
1519
+ },
1520
+ "reference_labels": {
1521
+ "patient_assessment": {
1522
+ "overall": {
1523
+ "label": "improving",
1524
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 83 mmHg, HR 88 bpm, SpO2 97%; latest glucose 187.26."
1525
+ },
1526
+ "active_risks": []
1527
+ },
1528
+ "action_review": {
1529
+ "evaluations": [
1530
+ {
1531
+ "action_id": "208",
1532
+ "action_name": "BODY_INPUT Insulin - Regular",
1533
+ "label": "best_practice",
1534
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1535
+ },
1536
+ {
1537
+ "action_id": "209",
1538
+ "action_name": "BODY_INPUT Dextrose 5%",
1539
+ "label": "best_practice",
1540
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1541
+ }
1542
+ ],
1543
+ "red_flags": []
1544
+ }
1545
+ },
1546
+ "sample_id": "scale/90000003_99000003/14.000000|14.500000",
1547
+ "label_availability": {
1548
+ "patient_status": true,
1549
+ "recommended_action": true,
1550
+ "active_risks": true,
1551
+ "red_flags": true
1552
+ },
1553
+ "window_key": "14.000000|14.500000",
1554
+ "window_duration_hours": 0.5
1555
+ },
1556
+ {
1557
+ "window_index": 29,
1558
+ "window_metadata": {
1559
+ "window_start_time": "2142-07-22T03:35:52",
1560
+ "window_end_time": "2142-07-22T04:05:52",
1561
+ "hours_since_admission": 14.5,
1562
+ "current_window_hours": 0.5,
1563
+ "num_current_events": 3
1564
+ },
1565
+ "reference_labels": {
1566
+ "patient_assessment": {
1567
+ "overall": {
1568
+ "label": "improving",
1569
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 84 mmHg, HR 89 bpm, SpO2 100%; latest glucose 187.26."
1570
+ },
1571
+ "active_risks": []
1572
+ },
1573
+ "action_review": {
1574
+ "evaluations": [],
1575
+ "red_flags": []
1576
+ }
1577
+ },
1578
+ "sample_id": "scale/90000003_99000003/14.500000|15.000000",
1579
+ "label_availability": {
1580
+ "patient_status": true,
1581
+ "recommended_action": true,
1582
+ "active_risks": true,
1583
+ "red_flags": true
1584
+ },
1585
+ "window_key": "14.500000|15.000000",
1586
+ "window_duration_hours": 0.5
1587
+ },
1588
+ {
1589
+ "window_index": 30,
1590
+ "window_metadata": {
1591
+ "window_start_time": "2142-07-22T04:05:52",
1592
+ "window_end_time": "2142-07-22T04:35:52",
1593
+ "hours_since_admission": 15.0,
1594
+ "current_window_hours": 0.5,
1595
+ "num_current_events": 9
1596
+ },
1597
+ "reference_labels": {
1598
+ "patient_assessment": {
1599
+ "overall": {
1600
+ "label": "improving",
1601
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 80 mmHg, HR 90 bpm, SpO2 99%; latest glucose 187.26."
1602
+ },
1603
+ "active_risks": []
1604
+ },
1605
+ "action_review": {
1606
+ "evaluations": [
1607
+ {
1608
+ "action_id": "220",
1609
+ "action_name": "BODY_INPUT Insulin - Regular",
1610
+ "label": "best_practice",
1611
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1612
+ },
1613
+ {
1614
+ "action_id": "221",
1615
+ "action_name": "BODY_INPUT Dextrose 5%",
1616
+ "label": "best_practice",
1617
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1618
+ }
1619
+ ],
1620
+ "red_flags": []
1621
+ }
1622
+ },
1623
+ "sample_id": "scale/90000003_99000003/15.000000|15.500000",
1624
+ "label_availability": {
1625
+ "patient_status": true,
1626
+ "recommended_action": true,
1627
+ "active_risks": true,
1628
+ "red_flags": true
1629
+ },
1630
+ "window_key": "15.000000|15.500000",
1631
+ "window_duration_hours": 0.5
1632
+ },
1633
+ {
1634
+ "window_index": 31,
1635
+ "window_metadata": {
1636
+ "window_start_time": "2142-07-22T04:35:52",
1637
+ "window_end_time": "2142-07-22T05:05:52",
1638
+ "hours_since_admission": 15.5,
1639
+ "current_window_hours": 0.5,
1640
+ "num_current_events": 3
1641
+ },
1642
+ "reference_labels": {
1643
+ "patient_assessment": {
1644
+ "overall": {
1645
+ "label": "improving",
1646
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 82 mmHg, HR 88 bpm, SpO2 101%; latest glucose 187.26."
1647
+ },
1648
+ "active_risks": []
1649
+ },
1650
+ "action_review": {
1651
+ "evaluations": [],
1652
+ "red_flags": []
1653
+ }
1654
+ },
1655
+ "sample_id": "scale/90000003_99000003/15.500000|16.000000",
1656
+ "label_availability": {
1657
+ "patient_status": true,
1658
+ "recommended_action": true,
1659
+ "active_risks": true,
1660
+ "red_flags": true
1661
+ },
1662
+ "window_key": "15.500000|16.000000",
1663
+ "window_duration_hours": 0.5
1664
+ },
1665
+ {
1666
+ "window_index": 32,
1667
+ "window_metadata": {
1668
+ "window_start_time": "2142-07-22T05:05:52",
1669
+ "window_end_time": "2142-07-22T05:35:52",
1670
+ "hours_since_admission": 16.0,
1671
+ "current_window_hours": 0.5,
1672
+ "num_current_events": 17
1673
+ },
1674
+ "reference_labels": {
1675
+ "patient_assessment": {
1676
+ "overall": {
1677
+ "label": "improving",
1678
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 82 mmHg, HR 88 bpm, SpO2 100%; latest glucose 174.36."
1679
+ },
1680
+ "active_risks": []
1681
+ },
1682
+ "action_review": {
1683
+ "evaluations": [
1684
+ {
1685
+ "action_id": "233",
1686
+ "action_name": "Head of Bed 30 Degrees",
1687
+ "label": "acceptable",
1688
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
1689
+ },
1690
+ {
1691
+ "action_id": "235",
1692
+ "action_name": "BODY_INPUT Insulin - Regular",
1693
+ "label": "best_practice",
1694
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1695
+ },
1696
+ {
1697
+ "action_id": "236",
1698
+ "action_name": "BODY_INPUT Dextrose 5%",
1699
+ "label": "best_practice",
1700
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1701
+ },
1702
+ {
1703
+ "action_id": "238",
1704
+ "action_name": "LAB_TEST Glucose",
1705
+ "label": "acceptable",
1706
+ "rationale": "Glucose is reasonable monitoring or support in this context. Anion gap is closing and bicarbonate is rising on insulin and potassium replacement."
1707
+ }
1708
+ ],
1709
+ "red_flags": []
1710
+ }
1711
+ },
1712
+ "sample_id": "scale/90000003_99000003/16.000000|16.500000",
1713
+ "label_availability": {
1714
+ "patient_status": true,
1715
+ "recommended_action": true,
1716
+ "active_risks": true,
1717
+ "red_flags": true
1718
+ },
1719
+ "window_key": "16.000000|16.500000",
1720
+ "window_duration_hours": 0.5
1721
+ },
1722
+ {
1723
+ "window_index": 34,
1724
+ "window_metadata": {
1725
+ "window_start_time": "2142-07-22T06:05:52",
1726
+ "window_end_time": "2142-07-22T06:35:52",
1727
+ "hours_since_admission": 17.0,
1728
+ "current_window_hours": 0.5,
1729
+ "num_current_events": 9
1730
+ },
1731
+ "reference_labels": {
1732
+ "patient_assessment": {
1733
+ "overall": {
1734
+ "label": "improving",
1735
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 84 mmHg, HR 87 bpm, SpO2 99%; latest glucose 174.36."
1736
+ },
1737
+ "active_risks": []
1738
+ },
1739
+ "action_review": {
1740
+ "evaluations": [
1741
+ {
1742
+ "action_id": "253",
1743
+ "action_name": "BODY_INPUT Insulin - Regular",
1744
+ "label": "best_practice",
1745
+ "rationale": "Insulin - Regular is appropriate for diabetic ketoacidosis."
1746
+ },
1747
+ {
1748
+ "action_id": "254",
1749
+ "action_name": "BODY_INPUT Dextrose 5%",
1750
+ "label": "best_practice",
1751
+ "rationale": "Dextrose 5% is appropriate for diabetic ketoacidosis."
1752
+ }
1753
+ ],
1754
+ "red_flags": []
1755
+ }
1756
+ },
1757
+ "sample_id": "scale/90000003_99000003/17.000000|17.500000",
1758
+ "label_availability": {
1759
+ "patient_status": true,
1760
+ "recommended_action": true,
1761
+ "active_risks": true,
1762
+ "red_flags": true
1763
+ },
1764
+ "window_key": "17.000000|17.500000",
1765
+ "window_duration_hours": 0.5
1766
+ },
1767
+ {
1768
+ "window_index": 35,
1769
+ "window_metadata": {
1770
+ "window_start_time": "2142-07-22T06:35:52",
1771
+ "window_end_time": "2142-07-22T07:05:52",
1772
+ "hours_since_admission": 17.5,
1773
+ "current_window_hours": 0.5,
1774
+ "num_current_events": 3
1775
+ },
1776
+ "reference_labels": {
1777
+ "patient_assessment": {
1778
+ "overall": {
1779
+ "label": "improving",
1780
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 83 mmHg, HR 86 bpm, SpO2 97%; latest glucose 174.36."
1781
+ },
1782
+ "active_risks": []
1783
+ },
1784
+ "action_review": {
1785
+ "evaluations": [],
1786
+ "red_flags": []
1787
+ }
1788
+ },
1789
+ "sample_id": "scale/90000003_99000003/17.500000|18.000000",
1790
+ "label_availability": {
1791
+ "patient_status": true,
1792
+ "recommended_action": true,
1793
+ "active_risks": true,
1794
+ "red_flags": true
1795
+ },
1796
+ "window_key": "17.500000|18.000000",
1797
+ "window_duration_hours": 0.5
1798
+ },
1799
+ {
1800
+ "window_index": 36,
1801
+ "window_metadata": {
1802
+ "window_start_time": "2142-07-22T07:05:52",
1803
+ "window_end_time": "2142-07-22T07:35:52",
1804
+ "hours_since_admission": 18.0,
1805
+ "current_window_hours": 0.5,
1806
+ "num_current_events": 7
1807
+ },
1808
+ "reference_labels": {
1809
+ "patient_assessment": {
1810
+ "overall": {
1811
+ "label": "improving",
1812
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 83 mmHg, HR 86 bpm, SpO2 97%; latest glucose 174.36."
1813
+ },
1814
+ "active_risks": []
1815
+ },
1816
+ "action_review": {
1817
+ "evaluations": [],
1818
+ "red_flags": []
1819
+ }
1820
+ },
1821
+ "sample_id": "scale/90000003_99000003/18.000000|18.500000",
1822
+ "label_availability": {
1823
+ "patient_status": true,
1824
+ "recommended_action": true,
1825
+ "active_risks": true,
1826
+ "red_flags": true
1827
+ },
1828
+ "window_key": "18.000000|18.500000",
1829
+ "window_duration_hours": 0.5
1830
+ },
1831
+ {
1832
+ "window_index": 37,
1833
+ "window_metadata": {
1834
+ "window_start_time": "2142-07-22T07:35:52",
1835
+ "window_end_time": "2142-07-22T07:41:52",
1836
+ "hours_since_admission": 18.5,
1837
+ "current_window_hours": 0.5,
1838
+ "num_current_events": 3
1839
+ },
1840
+ "reference_labels": {
1841
+ "patient_assessment": {
1842
+ "overall": {
1843
+ "label": "improving",
1844
+ "rationale": "Anion gap is closing and bicarbonate is rising on insulin and potassium replacement. Current window: MAP 83 mmHg, HR 86 bpm, SpO2 100%; latest glucose 174.36."
1845
+ },
1846
+ "active_risks": []
1847
+ },
1848
+ "action_review": {
1849
+ "evaluations": [],
1850
+ "red_flags": []
1851
+ }
1852
+ },
1853
+ "sample_id": "scale/90000003_99000003/18.500000|19.000000",
1854
+ "label_availability": {
1855
+ "patient_status": true,
1856
+ "recommended_action": true,
1857
+ "active_risks": true,
1858
+ "red_flags": true
1859
+ },
1860
+ "window_key": "18.500000|19.000000",
1861
+ "window_duration_hours": 0.5
1862
+ }
1863
+ ],
1864
+ "stay_id": "90000003_99000003"
1865
+ }
scale/labels/90000004_99000004.json ADDED
@@ -0,0 +1,2422 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000004,
3
+ "icu_stay_id": 99000004,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2177-01-09T02:31:08",
6
+ "leave_time": "2177-01-10T00:49:08",
7
+ "age": 81.30076647146805,
8
+ "gender": "Male",
9
+ "total_icu_stay_hours": 22.0,
10
+ "icu_duration_hours": 22.0,
11
+ "survived": false,
12
+ "icu_outcome": "Died after ICU",
13
+ "death_time": "2177-01-12T23:49:00",
14
+ "total_events": 353
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2177-01-09T02:31:08",
21
+ "window_end_time": "2177-01-09T03:01:08",
22
+ "hours_since_admission": 0.0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 17
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "deteriorating",
30
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 57 mmHg, HR 122 bpm, SpO2 95%; latest hemoglobin 6.44."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Hemorrhagic shock",
35
+ "key_evidence": [
36
+ "3",
37
+ "12"
38
+ ]
39
+ },
40
+ {
41
+ "risk_name": "Anticoagulation-associated coagulopathy",
42
+ "key_evidence": [
43
+ "14",
44
+ "Pre-ICU summary"
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ "action_review": {
50
+ "evaluations": [
51
+ {
52
+ "action_id": "9",
53
+ "action_name": "Head of Bed 30 Degrees",
54
+ "label": "acceptable",
55
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
56
+ },
57
+ {
58
+ "action_id": "12",
59
+ "action_name": "LAB_TEST Hemoglobin",
60
+ "label": "acceptable",
61
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
62
+ },
63
+ {
64
+ "action_id": "13",
65
+ "action_name": "LAB_TEST Lactate",
66
+ "label": "acceptable",
67
+ "rationale": "Lactate is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
68
+ }
69
+ ],
70
+ "red_flags": [
71
+ {
72
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
73
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
74
+ "key_evidence": [
75
+ "12"
76
+ ]
77
+ },
78
+ {
79
+ "contraindicated_action": "NSAID administration",
80
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
81
+ "key_evidence": [
82
+ "12"
83
+ ]
84
+ }
85
+ ]
86
+ }
87
+ },
88
+ "sample_id": "scale/90000004_99000004/0.000000|0.500000",
89
+ "label_availability": {
90
+ "patient_status": true,
91
+ "recommended_action": true,
92
+ "active_risks": true,
93
+ "red_flags": true
94
+ },
95
+ "window_key": "0.000000|0.500000",
96
+ "window_duration_hours": 0.5
97
+ },
98
+ {
99
+ "window_index": 1,
100
+ "window_metadata": {
101
+ "window_start_time": "2177-01-09T03:01:08",
102
+ "window_end_time": "2177-01-09T03:31:08",
103
+ "hours_since_admission": 0.5,
104
+ "current_window_hours": 0.5,
105
+ "num_current_events": 4
106
+ },
107
+ "reference_labels": {
108
+ "patient_assessment": {
109
+ "overall": {
110
+ "label": "deteriorating",
111
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 58 mmHg, HR 126 bpm, SpO2 95%; latest hemoglobin 6.44."
112
+ },
113
+ "active_risks": [
114
+ {
115
+ "risk_name": "Hemorrhagic shock",
116
+ "key_evidence": [
117
+ "18",
118
+ "12"
119
+ ]
120
+ },
121
+ {
122
+ "risk_name": "Anticoagulation-associated coagulopathy",
123
+ "key_evidence": [
124
+ "14",
125
+ "Pre-ICU summary"
126
+ ]
127
+ }
128
+ ]
129
+ },
130
+ "action_review": {
131
+ "evaluations": [
132
+ {
133
+ "action_id": "20",
134
+ "action_name": "BODY_INPUT Packed Red Blood Cells",
135
+ "label": "best_practice",
136
+ "rationale": "Packed Red Blood Cells is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
137
+ }
138
+ ],
139
+ "red_flags": [
140
+ {
141
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
142
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
143
+ "key_evidence": [
144
+ "12"
145
+ ]
146
+ },
147
+ {
148
+ "contraindicated_action": "NSAID administration",
149
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
150
+ "key_evidence": [
151
+ "12"
152
+ ]
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ "sample_id": "scale/90000004_99000004/0.500000|1.000000",
158
+ "label_availability": {
159
+ "patient_status": true,
160
+ "recommended_action": true,
161
+ "active_risks": true,
162
+ "red_flags": true
163
+ },
164
+ "window_key": "0.500000|1.000000",
165
+ "window_duration_hours": 0.5
166
+ },
167
+ {
168
+ "window_index": 2,
169
+ "window_metadata": {
170
+ "window_start_time": "2177-01-09T03:31:08",
171
+ "window_end_time": "2177-01-09T04:01:08",
172
+ "hours_since_admission": 1.0,
173
+ "current_window_hours": 0.5,
174
+ "num_current_events": 10
175
+ },
176
+ "reference_labels": {
177
+ "patient_assessment": {
178
+ "overall": {
179
+ "label": "deteriorating",
180
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 58 mmHg, HR 127 bpm, SpO2 96%; latest hemoglobin 6.44."
181
+ },
182
+ "active_risks": [
183
+ {
184
+ "risk_name": "Hemorrhagic shock",
185
+ "key_evidence": [
186
+ "23",
187
+ "12"
188
+ ]
189
+ },
190
+ {
191
+ "risk_name": "Anticoagulation-associated coagulopathy",
192
+ "key_evidence": [
193
+ "14",
194
+ "Pre-ICU summary"
195
+ ]
196
+ }
197
+ ]
198
+ },
199
+ "action_review": {
200
+ "evaluations": [
201
+ {
202
+ "action_id": "21",
203
+ "action_name": "BODY_INPUT Packed Red Blood Cells",
204
+ "label": "best_practice",
205
+ "rationale": "Packed Red Blood Cells is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
206
+ },
207
+ {
208
+ "action_id": "28",
209
+ "action_name": "BODY_INPUT Pantoprazole",
210
+ "label": "best_practice",
211
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
212
+ },
213
+ {
214
+ "action_id": "29",
215
+ "action_name": "Prothrombin Complex Concentrate",
216
+ "label": "best_practice",
217
+ "rationale": "Prothrombin Complex Concentrate is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
218
+ }
219
+ ],
220
+ "red_flags": [
221
+ {
222
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
223
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
224
+ "key_evidence": [
225
+ "12"
226
+ ]
227
+ },
228
+ {
229
+ "contraindicated_action": "NSAID administration",
230
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
231
+ "key_evidence": [
232
+ "12"
233
+ ]
234
+ }
235
+ ]
236
+ }
237
+ },
238
+ "sample_id": "scale/90000004_99000004/1.000000|1.500000",
239
+ "label_availability": {
240
+ "patient_status": true,
241
+ "recommended_action": true,
242
+ "active_risks": true,
243
+ "red_flags": true
244
+ },
245
+ "window_key": "1.000000|1.500000",
246
+ "window_duration_hours": 0.5
247
+ },
248
+ {
249
+ "window_index": 3,
250
+ "window_metadata": {
251
+ "window_start_time": "2177-01-09T04:01:08",
252
+ "window_end_time": "2177-01-09T04:31:08",
253
+ "hours_since_admission": 1.5,
254
+ "current_window_hours": 0.5,
255
+ "num_current_events": 3
256
+ },
257
+ "reference_labels": {
258
+ "patient_assessment": {
259
+ "overall": {
260
+ "label": "deteriorating",
261
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 55 mmHg, HR 128 bpm, SpO2 97%; latest hemoglobin 6.44."
262
+ },
263
+ "active_risks": [
264
+ {
265
+ "risk_name": "Hemorrhagic shock",
266
+ "key_evidence": [
267
+ "32",
268
+ "12"
269
+ ]
270
+ },
271
+ {
272
+ "risk_name": "Anticoagulation-associated coagulopathy",
273
+ "key_evidence": [
274
+ "14",
275
+ "Pre-ICU summary"
276
+ ]
277
+ }
278
+ ]
279
+ },
280
+ "action_review": {
281
+ "evaluations": [],
282
+ "red_flags": [
283
+ {
284
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
285
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
286
+ "key_evidence": [
287
+ "12"
288
+ ]
289
+ },
290
+ {
291
+ "contraindicated_action": "NSAID administration",
292
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
293
+ "key_evidence": [
294
+ "12"
295
+ ]
296
+ }
297
+ ]
298
+ }
299
+ },
300
+ "sample_id": "scale/90000004_99000004/1.500000|2.000000",
301
+ "label_availability": {
302
+ "patient_status": true,
303
+ "recommended_action": true,
304
+ "active_risks": true,
305
+ "red_flags": true
306
+ },
307
+ "window_key": "1.500000|2.000000",
308
+ "window_duration_hours": 0.5
309
+ },
310
+ {
311
+ "window_index": 4,
312
+ "window_metadata": {
313
+ "window_start_time": "2177-01-09T04:31:08",
314
+ "window_end_time": "2177-01-09T05:01:08",
315
+ "hours_since_admission": 2.0,
316
+ "current_window_hours": 0.5,
317
+ "num_current_events": 8
318
+ },
319
+ "reference_labels": {
320
+ "patient_assessment": {
321
+ "overall": {
322
+ "label": "deteriorating",
323
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 55 mmHg, HR 128 bpm, SpO2 94%; latest hemoglobin 6.44."
324
+ },
325
+ "active_risks": [
326
+ {
327
+ "risk_name": "Hemorrhagic shock",
328
+ "key_evidence": [
329
+ "35",
330
+ "12"
331
+ ]
332
+ },
333
+ {
334
+ "risk_name": "Anticoagulation-associated coagulopathy",
335
+ "key_evidence": [
336
+ "14",
337
+ "Pre-ICU summary"
338
+ ]
339
+ }
340
+ ]
341
+ },
342
+ "action_review": {
343
+ "evaluations": [
344
+ {
345
+ "action_id": "40",
346
+ "action_name": "BODY_INPUT Pantoprazole",
347
+ "label": "best_practice",
348
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
349
+ }
350
+ ],
351
+ "red_flags": [
352
+ {
353
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
354
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
355
+ "key_evidence": [
356
+ "12"
357
+ ]
358
+ },
359
+ {
360
+ "contraindicated_action": "NSAID administration",
361
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
362
+ "key_evidence": [
363
+ "12"
364
+ ]
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ "sample_id": "scale/90000004_99000004/2.000000|2.500000",
370
+ "label_availability": {
371
+ "patient_status": true,
372
+ "recommended_action": true,
373
+ "active_risks": true,
374
+ "red_flags": true
375
+ },
376
+ "window_key": "2.000000|2.500000",
377
+ "window_duration_hours": 0.5
378
+ },
379
+ {
380
+ "window_index": 6,
381
+ "window_metadata": {
382
+ "window_start_time": "2177-01-09T05:31:08",
383
+ "window_end_time": "2177-01-09T06:01:08",
384
+ "hours_since_admission": 3.0,
385
+ "current_window_hours": 0.5,
386
+ "num_current_events": 8
387
+ },
388
+ "reference_labels": {
389
+ "patient_assessment": {
390
+ "overall": {
391
+ "label": "deteriorating",
392
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 59 mmHg, HR 122 bpm, SpO2 95%; latest hemoglobin 6.44."
393
+ },
394
+ "active_risks": [
395
+ {
396
+ "risk_name": "Hemorrhagic shock",
397
+ "key_evidence": [
398
+ "46",
399
+ "12"
400
+ ]
401
+ },
402
+ {
403
+ "risk_name": "Anticoagulation-associated coagulopathy",
404
+ "key_evidence": [
405
+ "14",
406
+ "Pre-ICU summary"
407
+ ]
408
+ }
409
+ ]
410
+ },
411
+ "action_review": {
412
+ "evaluations": [
413
+ {
414
+ "action_id": "51",
415
+ "action_name": "BODY_INPUT Pantoprazole",
416
+ "label": "best_practice",
417
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
418
+ }
419
+ ],
420
+ "red_flags": [
421
+ {
422
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
423
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
424
+ "key_evidence": [
425
+ "12"
426
+ ]
427
+ },
428
+ {
429
+ "contraindicated_action": "NSAID administration",
430
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
431
+ "key_evidence": [
432
+ "12"
433
+ ]
434
+ }
435
+ ]
436
+ }
437
+ },
438
+ "sample_id": "scale/90000004_99000004/3.000000|3.500000",
439
+ "label_availability": {
440
+ "patient_status": true,
441
+ "recommended_action": true,
442
+ "active_risks": true,
443
+ "red_flags": true
444
+ },
445
+ "window_key": "3.000000|3.500000",
446
+ "window_duration_hours": 0.5
447
+ },
448
+ {
449
+ "window_index": 7,
450
+ "window_metadata": {
451
+ "window_start_time": "2177-01-09T06:01:08",
452
+ "window_end_time": "2177-01-09T06:31:08",
453
+ "hours_since_admission": 3.5,
454
+ "current_window_hours": 0.5,
455
+ "num_current_events": 4
456
+ },
457
+ "reference_labels": {
458
+ "patient_assessment": {
459
+ "overall": {
460
+ "label": "deteriorating",
461
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 62 mmHg, HR 115 bpm, SpO2 96%; latest hemoglobin 6.44."
462
+ },
463
+ "active_risks": [
464
+ {
465
+ "risk_name": "Hemorrhagic shock",
466
+ "key_evidence": [
467
+ "55",
468
+ "12"
469
+ ]
470
+ },
471
+ {
472
+ "risk_name": "Anticoagulation-associated coagulopathy",
473
+ "key_evidence": [
474
+ "14",
475
+ "Pre-ICU summary"
476
+ ]
477
+ }
478
+ ]
479
+ },
480
+ "action_review": {
481
+ "evaluations": [
482
+ {
483
+ "action_id": "53",
484
+ "action_name": "EGD",
485
+ "label": "best_practice",
486
+ "rationale": "EGD is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
487
+ }
488
+ ],
489
+ "red_flags": [
490
+ {
491
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
492
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
493
+ "key_evidence": [
494
+ "12"
495
+ ]
496
+ },
497
+ {
498
+ "contraindicated_action": "NSAID administration",
499
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
500
+ "key_evidence": [
501
+ "12"
502
+ ]
503
+ }
504
+ ]
505
+ }
506
+ },
507
+ "sample_id": "scale/90000004_99000004/3.500000|4.000000",
508
+ "label_availability": {
509
+ "patient_status": true,
510
+ "recommended_action": true,
511
+ "active_risks": true,
512
+ "red_flags": true
513
+ },
514
+ "window_key": "3.500000|4.000000",
515
+ "window_duration_hours": 0.5
516
+ },
517
+ {
518
+ "window_index": 8,
519
+ "window_metadata": {
520
+ "window_start_time": "2177-01-09T06:31:08",
521
+ "window_end_time": "2177-01-09T07:01:08",
522
+ "hours_since_admission": 4.0,
523
+ "current_window_hours": 0.5,
524
+ "num_current_events": 16
525
+ },
526
+ "reference_labels": {
527
+ "patient_assessment": {
528
+ "overall": {
529
+ "label": "deteriorating",
530
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 62 mmHg, HR 114 bpm, SpO2 97%; latest hemoglobin 7.45."
531
+ },
532
+ "active_risks": [
533
+ {
534
+ "risk_name": "Hemorrhagic shock",
535
+ "key_evidence": [
536
+ "62",
537
+ "57"
538
+ ]
539
+ },
540
+ {
541
+ "risk_name": "Anticoagulation-associated coagulopathy",
542
+ "key_evidence": [
543
+ "59",
544
+ "Pre-ICU summary"
545
+ ]
546
+ }
547
+ ]
548
+ },
549
+ "action_review": {
550
+ "evaluations": [
551
+ {
552
+ "action_id": "57",
553
+ "action_name": "LAB_TEST Hemoglobin",
554
+ "label": "acceptable",
555
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
556
+ },
557
+ {
558
+ "action_id": "58",
559
+ "action_name": "LAB_TEST Lactate",
560
+ "label": "acceptable",
561
+ "rationale": "Lactate is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
562
+ },
563
+ {
564
+ "action_id": "69",
565
+ "action_name": "Head of Bed 30 Degrees",
566
+ "label": "acceptable",
567
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL."
568
+ },
569
+ {
570
+ "action_id": "71",
571
+ "action_name": "BODY_INPUT Pantoprazole",
572
+ "label": "best_practice",
573
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
574
+ }
575
+ ],
576
+ "red_flags": [
577
+ {
578
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
579
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
580
+ "key_evidence": [
581
+ "57"
582
+ ]
583
+ },
584
+ {
585
+ "contraindicated_action": "NSAID administration",
586
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
587
+ "key_evidence": [
588
+ "57"
589
+ ]
590
+ }
591
+ ]
592
+ }
593
+ },
594
+ "sample_id": "scale/90000004_99000004/4.000000|4.500000",
595
+ "label_availability": {
596
+ "patient_status": true,
597
+ "recommended_action": true,
598
+ "active_risks": true,
599
+ "red_flags": true
600
+ },
601
+ "window_key": "4.000000|4.500000",
602
+ "window_duration_hours": 0.5
603
+ },
604
+ {
605
+ "window_index": 9,
606
+ "window_metadata": {
607
+ "window_start_time": "2177-01-09T07:01:08",
608
+ "window_end_time": "2177-01-09T07:31:08",
609
+ "hours_since_admission": 4.5,
610
+ "current_window_hours": 0.5,
611
+ "num_current_events": 3
612
+ },
613
+ "reference_labels": {
614
+ "patient_assessment": {
615
+ "overall": {
616
+ "label": "deteriorating",
617
+ "rationale": "Ongoing hematemesis with hypotension and hemoglobin of 6.4 g/dL. Current window: MAP 65 mmHg, HR 112 bpm, SpO2 98%; latest hemoglobin 7.45."
618
+ },
619
+ "active_risks": [
620
+ {
621
+ "risk_name": "Hemorrhagic shock",
622
+ "key_evidence": [
623
+ "74",
624
+ "57"
625
+ ]
626
+ },
627
+ {
628
+ "risk_name": "Anticoagulation-associated coagulopathy",
629
+ "key_evidence": [
630
+ "59",
631
+ "Pre-ICU summary"
632
+ ]
633
+ }
634
+ ]
635
+ },
636
+ "action_review": {
637
+ "evaluations": [],
638
+ "red_flags": [
639
+ {
640
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
641
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
642
+ "key_evidence": [
643
+ "57"
644
+ ]
645
+ },
646
+ {
647
+ "contraindicated_action": "NSAID administration",
648
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
649
+ "key_evidence": [
650
+ "57"
651
+ ]
652
+ }
653
+ ]
654
+ }
655
+ },
656
+ "sample_id": "scale/90000004_99000004/4.500000|5.000000",
657
+ "label_availability": {
658
+ "patient_status": true,
659
+ "recommended_action": true,
660
+ "active_risks": true,
661
+ "red_flags": true
662
+ },
663
+ "window_key": "4.500000|5.000000",
664
+ "window_duration_hours": 0.5
665
+ },
666
+ {
667
+ "window_index": 10,
668
+ "window_metadata": {
669
+ "window_start_time": "2177-01-09T07:31:08",
670
+ "window_end_time": "2177-01-09T08:01:08",
671
+ "hours_since_admission": 5.0,
672
+ "current_window_hours": 0.5,
673
+ "num_current_events": 8
674
+ },
675
+ "reference_labels": {
676
+ "patient_assessment": {
677
+ "overall": {
678
+ "label": "improving",
679
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 65 mmHg, HR 110 bpm, SpO2 97%; latest hemoglobin 7.45."
680
+ },
681
+ "active_risks": [
682
+ {
683
+ "risk_name": "Anticoagulation-associated coagulopathy",
684
+ "key_evidence": [
685
+ "59",
686
+ "Pre-ICU summary"
687
+ ]
688
+ }
689
+ ]
690
+ },
691
+ "action_review": {
692
+ "evaluations": [
693
+ {
694
+ "action_id": "82",
695
+ "action_name": "BODY_INPUT Pantoprazole",
696
+ "label": "best_practice",
697
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
698
+ }
699
+ ],
700
+ "red_flags": [
701
+ {
702
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
703
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
704
+ "key_evidence": [
705
+ "57"
706
+ ]
707
+ },
708
+ {
709
+ "contraindicated_action": "NSAID administration",
710
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
711
+ "key_evidence": [
712
+ "57"
713
+ ]
714
+ }
715
+ ]
716
+ }
717
+ },
718
+ "sample_id": "scale/90000004_99000004/5.000000|5.500000",
719
+ "label_availability": {
720
+ "patient_status": true,
721
+ "recommended_action": true,
722
+ "active_risks": true,
723
+ "red_flags": true
724
+ },
725
+ "window_key": "5.000000|5.500000",
726
+ "window_duration_hours": 0.5
727
+ },
728
+ {
729
+ "window_index": 11,
730
+ "window_metadata": {
731
+ "window_start_time": "2177-01-09T08:01:08",
732
+ "window_end_time": "2177-01-09T08:31:08",
733
+ "hours_since_admission": 5.5,
734
+ "current_window_hours": 0.5,
735
+ "num_current_events": 3
736
+ },
737
+ "reference_labels": {
738
+ "patient_assessment": {
739
+ "overall": {
740
+ "label": "improving",
741
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 71 mmHg, HR 106 bpm, SpO2 96%; latest hemoglobin 7.45."
742
+ },
743
+ "active_risks": [
744
+ {
745
+ "risk_name": "Anticoagulation-associated coagulopathy",
746
+ "key_evidence": [
747
+ "59",
748
+ "Pre-ICU summary"
749
+ ]
750
+ }
751
+ ]
752
+ },
753
+ "action_review": {
754
+ "evaluations": [],
755
+ "red_flags": [
756
+ {
757
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
758
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
759
+ "key_evidence": [
760
+ "57"
761
+ ]
762
+ },
763
+ {
764
+ "contraindicated_action": "NSAID administration",
765
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
766
+ "key_evidence": [
767
+ "57"
768
+ ]
769
+ }
770
+ ]
771
+ }
772
+ },
773
+ "sample_id": "scale/90000004_99000004/5.500000|6.000000",
774
+ "label_availability": {
775
+ "patient_status": true,
776
+ "recommended_action": true,
777
+ "active_risks": true,
778
+ "red_flags": true
779
+ },
780
+ "window_key": "5.500000|6.000000",
781
+ "window_duration_hours": 0.5
782
+ },
783
+ {
784
+ "window_index": 13,
785
+ "window_metadata": {
786
+ "window_start_time": "2177-01-09T09:01:08",
787
+ "window_end_time": "2177-01-09T09:31:08",
788
+ "hours_since_admission": 6.5,
789
+ "current_window_hours": 0.5,
790
+ "num_current_events": 3
791
+ },
792
+ "reference_labels": {
793
+ "patient_assessment": {
794
+ "overall": {
795
+ "label": "improving",
796
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 68 mmHg, HR 102 bpm, SpO2 96%; latest hemoglobin 7.45."
797
+ },
798
+ "active_risks": [
799
+ {
800
+ "risk_name": "Anticoagulation-associated coagulopathy",
801
+ "key_evidence": [
802
+ "59",
803
+ "Pre-ICU summary"
804
+ ]
805
+ }
806
+ ]
807
+ },
808
+ "action_review": {
809
+ "evaluations": [],
810
+ "red_flags": [
811
+ {
812
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
813
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
814
+ "key_evidence": [
815
+ "57"
816
+ ]
817
+ },
818
+ {
819
+ "contraindicated_action": "NSAID administration",
820
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
821
+ "key_evidence": [
822
+ "57"
823
+ ]
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "sample_id": "scale/90000004_99000004/6.500000|7.000000",
829
+ "label_availability": {
830
+ "patient_status": true,
831
+ "recommended_action": true,
832
+ "active_risks": true,
833
+ "red_flags": true
834
+ },
835
+ "window_key": "6.500000|7.000000",
836
+ "window_duration_hours": 0.5
837
+ },
838
+ {
839
+ "window_index": 14,
840
+ "window_metadata": {
841
+ "window_start_time": "2177-01-09T09:31:08",
842
+ "window_end_time": "2177-01-09T10:01:08",
843
+ "hours_since_admission": 7.0,
844
+ "current_window_hours": 0.5,
845
+ "num_current_events": 8
846
+ },
847
+ "reference_labels": {
848
+ "patient_assessment": {
849
+ "overall": {
850
+ "label": "improving",
851
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 71 mmHg, HR 104 bpm, SpO2 95%; latest hemoglobin 7.45."
852
+ },
853
+ "active_risks": [
854
+ {
855
+ "risk_name": "Anticoagulation-associated coagulopathy",
856
+ "key_evidence": [
857
+ "59",
858
+ "Pre-ICU summary"
859
+ ]
860
+ }
861
+ ]
862
+ },
863
+ "action_review": {
864
+ "evaluations": [
865
+ {
866
+ "action_id": "104",
867
+ "action_name": "BODY_INPUT Pantoprazole",
868
+ "label": "best_practice",
869
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
870
+ }
871
+ ],
872
+ "red_flags": [
873
+ {
874
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
875
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
876
+ "key_evidence": [
877
+ "57"
878
+ ]
879
+ },
880
+ {
881
+ "contraindicated_action": "NSAID administration",
882
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
883
+ "key_evidence": [
884
+ "57"
885
+ ]
886
+ }
887
+ ]
888
+ }
889
+ },
890
+ "sample_id": "scale/90000004_99000004/7.000000|7.500000",
891
+ "label_availability": {
892
+ "patient_status": true,
893
+ "recommended_action": true,
894
+ "active_risks": true,
895
+ "red_flags": true
896
+ },
897
+ "window_key": "7.000000|7.500000",
898
+ "window_duration_hours": 0.5
899
+ },
900
+ {
901
+ "window_index": 15,
902
+ "window_metadata": {
903
+ "window_start_time": "2177-01-09T10:01:08",
904
+ "window_end_time": "2177-01-09T10:31:08",
905
+ "hours_since_admission": 7.5,
906
+ "current_window_hours": 0.5,
907
+ "num_current_events": 3
908
+ },
909
+ "reference_labels": {
910
+ "patient_assessment": {
911
+ "overall": {
912
+ "label": "improving",
913
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 71 mmHg, HR 103 bpm, SpO2 96%; latest hemoglobin 7.45."
914
+ },
915
+ "active_risks": [
916
+ {
917
+ "risk_name": "Anticoagulation-associated coagulopathy",
918
+ "key_evidence": [
919
+ "59",
920
+ "Pre-ICU summary"
921
+ ]
922
+ }
923
+ ]
924
+ },
925
+ "action_review": {
926
+ "evaluations": [],
927
+ "red_flags": [
928
+ {
929
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
930
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
931
+ "key_evidence": [
932
+ "57"
933
+ ]
934
+ },
935
+ {
936
+ "contraindicated_action": "NSAID administration",
937
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
938
+ "key_evidence": [
939
+ "57"
940
+ ]
941
+ }
942
+ ]
943
+ }
944
+ },
945
+ "sample_id": "scale/90000004_99000004/7.500000|8.000000",
946
+ "label_availability": {
947
+ "patient_status": true,
948
+ "recommended_action": true,
949
+ "active_risks": true,
950
+ "red_flags": true
951
+ },
952
+ "window_key": "7.500000|8.000000",
953
+ "window_duration_hours": 0.5
954
+ },
955
+ {
956
+ "window_index": 16,
957
+ "window_metadata": {
958
+ "window_start_time": "2177-01-09T10:31:08",
959
+ "window_end_time": "2177-01-09T11:01:08",
960
+ "hours_since_admission": 8.0,
961
+ "current_window_hours": 0.5,
962
+ "num_current_events": 16
963
+ },
964
+ "reference_labels": {
965
+ "patient_assessment": {
966
+ "overall": {
967
+ "label": "improving",
968
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 72 mmHg, HR 104 bpm, SpO2 93%; latest hemoglobin 7.66."
969
+ },
970
+ "active_risks": []
971
+ },
972
+ "action_review": {
973
+ "evaluations": [
974
+ {
975
+ "action_id": "116",
976
+ "action_name": "Head of Bed 30 Degrees",
977
+ "label": "acceptable",
978
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemodynamics improve after transfusion and endoscopic hemostasis."
979
+ },
980
+ {
981
+ "action_id": "118",
982
+ "action_name": "BODY_INPUT Pantoprazole",
983
+ "label": "best_practice",
984
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
985
+ },
986
+ {
987
+ "action_id": "120",
988
+ "action_name": "LAB_TEST Hemoglobin",
989
+ "label": "acceptable",
990
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Hemodynamics improve after transfusion and endoscopic hemostasis."
991
+ },
992
+ {
993
+ "action_id": "121",
994
+ "action_name": "LAB_TEST Lactate",
995
+ "label": "acceptable",
996
+ "rationale": "Lactate is reasonable monitoring or support in this context. Hemodynamics improve after transfusion and endoscopic hemostasis."
997
+ }
998
+ ],
999
+ "red_flags": [
1000
+ {
1001
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1002
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1003
+ "key_evidence": [
1004
+ "120"
1005
+ ]
1006
+ },
1007
+ {
1008
+ "contraindicated_action": "NSAID administration",
1009
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1010
+ "key_evidence": [
1011
+ "120"
1012
+ ]
1013
+ }
1014
+ ]
1015
+ }
1016
+ },
1017
+ "sample_id": "scale/90000004_99000004/8.000000|8.500000",
1018
+ "label_availability": {
1019
+ "patient_status": true,
1020
+ "recommended_action": true,
1021
+ "active_risks": true,
1022
+ "red_flags": true
1023
+ },
1024
+ "window_key": "8.000000|8.500000",
1025
+ "window_duration_hours": 0.5
1026
+ },
1027
+ {
1028
+ "window_index": 17,
1029
+ "window_metadata": {
1030
+ "window_start_time": "2177-01-09T11:01:08",
1031
+ "window_end_time": "2177-01-09T11:31:08",
1032
+ "hours_since_admission": 8.5,
1033
+ "current_window_hours": 0.5,
1034
+ "num_current_events": 3
1035
+ },
1036
+ "reference_labels": {
1037
+ "patient_assessment": {
1038
+ "overall": {
1039
+ "label": "improving",
1040
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 69 mmHg, HR 101 bpm, SpO2 95%; latest hemoglobin 7.66."
1041
+ },
1042
+ "active_risks": []
1043
+ },
1044
+ "action_review": {
1045
+ "evaluations": [],
1046
+ "red_flags": [
1047
+ {
1048
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1049
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1050
+ "key_evidence": [
1051
+ "120"
1052
+ ]
1053
+ },
1054
+ {
1055
+ "contraindicated_action": "NSAID administration",
1056
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1057
+ "key_evidence": [
1058
+ "120"
1059
+ ]
1060
+ }
1061
+ ]
1062
+ }
1063
+ },
1064
+ "sample_id": "scale/90000004_99000004/8.500000|9.000000",
1065
+ "label_availability": {
1066
+ "patient_status": true,
1067
+ "recommended_action": true,
1068
+ "active_risks": true,
1069
+ "red_flags": true
1070
+ },
1071
+ "window_key": "8.500000|9.000000",
1072
+ "window_duration_hours": 0.5
1073
+ },
1074
+ {
1075
+ "window_index": 18,
1076
+ "window_metadata": {
1077
+ "window_start_time": "2177-01-09T11:31:08",
1078
+ "window_end_time": "2177-01-09T12:01:08",
1079
+ "hours_since_admission": 9.0,
1080
+ "current_window_hours": 0.5,
1081
+ "num_current_events": 9
1082
+ },
1083
+ "reference_labels": {
1084
+ "patient_assessment": {
1085
+ "overall": {
1086
+ "label": "improving",
1087
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 73 mmHg, HR 103 bpm, SpO2 95%; latest hemoglobin 7.66."
1088
+ },
1089
+ "active_risks": []
1090
+ },
1091
+ "action_review": {
1092
+ "evaluations": [
1093
+ {
1094
+ "action_id": "134",
1095
+ "action_name": "BODY_INPUT Pantoprazole",
1096
+ "label": "best_practice",
1097
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1098
+ },
1099
+ {
1100
+ "action_id": "135",
1101
+ "action_name": "Heparin",
1102
+ "label": "potentially_harmful",
1103
+ "rationale": "Heparin started within 12 hours of endoscopic hemostasis risks rebleeding."
1104
+ }
1105
+ ],
1106
+ "red_flags": [
1107
+ {
1108
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1109
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1110
+ "key_evidence": [
1111
+ "120"
1112
+ ]
1113
+ },
1114
+ {
1115
+ "contraindicated_action": "NSAID administration",
1116
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1117
+ "key_evidence": [
1118
+ "120"
1119
+ ]
1120
+ }
1121
+ ]
1122
+ }
1123
+ },
1124
+ "sample_id": "scale/90000004_99000004/9.000000|9.500000",
1125
+ "label_availability": {
1126
+ "patient_status": true,
1127
+ "recommended_action": true,
1128
+ "active_risks": true,
1129
+ "red_flags": true
1130
+ },
1131
+ "window_key": "9.000000|9.500000",
1132
+ "window_duration_hours": 0.5
1133
+ },
1134
+ {
1135
+ "window_index": 20,
1136
+ "window_metadata": {
1137
+ "window_start_time": "2177-01-09T12:31:08",
1138
+ "window_end_time": "2177-01-09T13:01:08",
1139
+ "hours_since_admission": 10.0,
1140
+ "current_window_hours": 0.5,
1141
+ "num_current_events": 8
1142
+ },
1143
+ "reference_labels": {
1144
+ "patient_assessment": {
1145
+ "overall": {
1146
+ "label": "improving",
1147
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 71 mmHg, HR 102 bpm, SpO2 95%; latest hemoglobin 7.66."
1148
+ },
1149
+ "active_risks": []
1150
+ },
1151
+ "action_review": {
1152
+ "evaluations": [
1153
+ {
1154
+ "action_id": "146",
1155
+ "action_name": "BODY_INPUT Pantoprazole",
1156
+ "label": "best_practice",
1157
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1158
+ }
1159
+ ],
1160
+ "red_flags": [
1161
+ {
1162
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1163
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1164
+ "key_evidence": [
1165
+ "120"
1166
+ ]
1167
+ },
1168
+ {
1169
+ "contraindicated_action": "NSAID administration",
1170
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1171
+ "key_evidence": [
1172
+ "120"
1173
+ ]
1174
+ }
1175
+ ]
1176
+ }
1177
+ },
1178
+ "sample_id": "scale/90000004_99000004/10.000000|10.500000",
1179
+ "label_availability": {
1180
+ "patient_status": true,
1181
+ "recommended_action": true,
1182
+ "active_risks": true,
1183
+ "red_flags": true
1184
+ },
1185
+ "window_key": "10.000000|10.500000",
1186
+ "window_duration_hours": 0.5
1187
+ },
1188
+ {
1189
+ "window_index": 21,
1190
+ "window_metadata": {
1191
+ "window_start_time": "2177-01-09T13:01:08",
1192
+ "window_end_time": "2177-01-09T13:31:08",
1193
+ "hours_since_admission": 10.5,
1194
+ "current_window_hours": 0.5,
1195
+ "num_current_events": 3
1196
+ },
1197
+ "reference_labels": {
1198
+ "patient_assessment": {
1199
+ "overall": {
1200
+ "label": "improving",
1201
+ "rationale": "Hemodynamics improve after transfusion and endoscopic hemostasis. Current window: MAP 70 mmHg, HR 101 bpm, SpO2 94%; latest hemoglobin 7.66."
1202
+ },
1203
+ "active_risks": []
1204
+ },
1205
+ "action_review": {
1206
+ "evaluations": [],
1207
+ "red_flags": [
1208
+ {
1209
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1210
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1211
+ "key_evidence": [
1212
+ "120"
1213
+ ]
1214
+ },
1215
+ {
1216
+ "contraindicated_action": "NSAID administration",
1217
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1218
+ "key_evidence": [
1219
+ "120"
1220
+ ]
1221
+ }
1222
+ ]
1223
+ }
1224
+ },
1225
+ "sample_id": "scale/90000004_99000004/10.500000|11.000000",
1226
+ "label_availability": {
1227
+ "patient_status": true,
1228
+ "recommended_action": true,
1229
+ "active_risks": true,
1230
+ "red_flags": true
1231
+ },
1232
+ "window_key": "10.500000|11.000000",
1233
+ "window_duration_hours": 0.5
1234
+ },
1235
+ {
1236
+ "window_index": 22,
1237
+ "window_metadata": {
1238
+ "window_start_time": "2177-01-09T13:31:08",
1239
+ "window_end_time": "2177-01-09T14:01:08",
1240
+ "hours_since_admission": 11.0,
1241
+ "current_window_hours": 0.5,
1242
+ "num_current_events": 8
1243
+ },
1244
+ "reference_labels": {
1245
+ "patient_assessment": {
1246
+ "overall": {
1247
+ "label": "stable",
1248
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 72 mmHg, HR 101 bpm, SpO2 96%; latest hemoglobin 7.66."
1249
+ },
1250
+ "active_risks": []
1251
+ },
1252
+ "action_review": {
1253
+ "evaluations": [
1254
+ {
1255
+ "action_id": "157",
1256
+ "action_name": "BODY_INPUT Pantoprazole",
1257
+ "label": "best_practice",
1258
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1259
+ }
1260
+ ],
1261
+ "red_flags": [
1262
+ {
1263
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1264
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1265
+ "key_evidence": [
1266
+ "120"
1267
+ ]
1268
+ },
1269
+ {
1270
+ "contraindicated_action": "NSAID administration",
1271
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1272
+ "key_evidence": [
1273
+ "120"
1274
+ ]
1275
+ }
1276
+ ]
1277
+ }
1278
+ },
1279
+ "sample_id": "scale/90000004_99000004/11.000000|11.500000",
1280
+ "label_availability": {
1281
+ "patient_status": true,
1282
+ "recommended_action": true,
1283
+ "active_risks": true,
1284
+ "red_flags": true
1285
+ },
1286
+ "window_key": "11.000000|11.500000",
1287
+ "window_duration_hours": 0.5
1288
+ },
1289
+ {
1290
+ "window_index": 23,
1291
+ "window_metadata": {
1292
+ "window_start_time": "2177-01-09T14:01:08",
1293
+ "window_end_time": "2177-01-09T14:31:08",
1294
+ "hours_since_admission": 11.5,
1295
+ "current_window_hours": 0.5,
1296
+ "num_current_events": 3
1297
+ },
1298
+ "reference_labels": {
1299
+ "patient_assessment": {
1300
+ "overall": {
1301
+ "label": "stable",
1302
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 70 mmHg, HR 100 bpm, SpO2 95%; latest hemoglobin 7.66."
1303
+ },
1304
+ "active_risks": []
1305
+ },
1306
+ "action_review": {
1307
+ "evaluations": [],
1308
+ "red_flags": [
1309
+ {
1310
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1311
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1312
+ "key_evidence": [
1313
+ "120"
1314
+ ]
1315
+ },
1316
+ {
1317
+ "contraindicated_action": "NSAID administration",
1318
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1319
+ "key_evidence": [
1320
+ "120"
1321
+ ]
1322
+ }
1323
+ ]
1324
+ }
1325
+ },
1326
+ "sample_id": "scale/90000004_99000004/11.500000|12.000000",
1327
+ "label_availability": {
1328
+ "patient_status": true,
1329
+ "recommended_action": true,
1330
+ "active_risks": true,
1331
+ "red_flags": true
1332
+ },
1333
+ "window_key": "11.500000|12.000000",
1334
+ "window_duration_hours": 0.5
1335
+ },
1336
+ {
1337
+ "window_index": 24,
1338
+ "window_metadata": {
1339
+ "window_start_time": "2177-01-09T14:31:08",
1340
+ "window_end_time": "2177-01-09T15:01:08",
1341
+ "hours_since_admission": 12.0,
1342
+ "current_window_hours": 0.5,
1343
+ "num_current_events": 16
1344
+ },
1345
+ "reference_labels": {
1346
+ "patient_assessment": {
1347
+ "overall": {
1348
+ "label": "stable",
1349
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 72 mmHg, HR 100 bpm, SpO2 95%; latest hemoglobin 7.93."
1350
+ },
1351
+ "active_risks": []
1352
+ },
1353
+ "action_review": {
1354
+ "evaluations": [
1355
+ {
1356
+ "action_id": "169",
1357
+ "action_name": "LAB_TEST Hemoglobin",
1358
+ "label": "acceptable",
1359
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1360
+ },
1361
+ {
1362
+ "action_id": "170",
1363
+ "action_name": "Head of Bed 30 Degrees",
1364
+ "label": "acceptable",
1365
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1366
+ },
1367
+ {
1368
+ "action_id": "171",
1369
+ "action_name": "LAB_TEST Lactate",
1370
+ "label": "acceptable",
1371
+ "rationale": "Lactate is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1372
+ },
1373
+ {
1374
+ "action_id": "174",
1375
+ "action_name": "BODY_INPUT Pantoprazole",
1376
+ "label": "best_practice",
1377
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1378
+ }
1379
+ ],
1380
+ "red_flags": [
1381
+ {
1382
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1383
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1384
+ "key_evidence": [
1385
+ "169"
1386
+ ]
1387
+ },
1388
+ {
1389
+ "contraindicated_action": "NSAID administration",
1390
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1391
+ "key_evidence": [
1392
+ "169"
1393
+ ]
1394
+ }
1395
+ ]
1396
+ }
1397
+ },
1398
+ "sample_id": "scale/90000004_99000004/12.000000|12.500000",
1399
+ "label_availability": {
1400
+ "patient_status": true,
1401
+ "recommended_action": true,
1402
+ "active_risks": true,
1403
+ "red_flags": true
1404
+ },
1405
+ "window_key": "12.000000|12.500000",
1406
+ "window_duration_hours": 0.5
1407
+ },
1408
+ {
1409
+ "window_index": 25,
1410
+ "window_metadata": {
1411
+ "window_start_time": "2177-01-09T15:01:08",
1412
+ "window_end_time": "2177-01-09T15:31:08",
1413
+ "hours_since_admission": 12.5,
1414
+ "current_window_hours": 0.5,
1415
+ "num_current_events": 3
1416
+ },
1417
+ "reference_labels": {
1418
+ "patient_assessment": {
1419
+ "overall": {
1420
+ "label": "stable",
1421
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 72 mmHg, HR 99 bpm, SpO2 96%; latest hemoglobin 7.93."
1422
+ },
1423
+ "active_risks": []
1424
+ },
1425
+ "action_review": {
1426
+ "evaluations": [],
1427
+ "red_flags": [
1428
+ {
1429
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1430
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1431
+ "key_evidence": [
1432
+ "169"
1433
+ ]
1434
+ },
1435
+ {
1436
+ "contraindicated_action": "NSAID administration",
1437
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1438
+ "key_evidence": [
1439
+ "169"
1440
+ ]
1441
+ }
1442
+ ]
1443
+ }
1444
+ },
1445
+ "sample_id": "scale/90000004_99000004/12.500000|13.000000",
1446
+ "label_availability": {
1447
+ "patient_status": true,
1448
+ "recommended_action": true,
1449
+ "active_risks": true,
1450
+ "red_flags": true
1451
+ },
1452
+ "window_key": "12.500000|13.000000",
1453
+ "window_duration_hours": 0.5
1454
+ },
1455
+ {
1456
+ "window_index": 27,
1457
+ "window_metadata": {
1458
+ "window_start_time": "2177-01-09T16:01:08",
1459
+ "window_end_time": "2177-01-09T16:31:08",
1460
+ "hours_since_admission": 13.5,
1461
+ "current_window_hours": 0.5,
1462
+ "num_current_events": 3
1463
+ },
1464
+ "reference_labels": {
1465
+ "patient_assessment": {
1466
+ "overall": {
1467
+ "label": "stable",
1468
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 74 mmHg, HR 100 bpm, SpO2 95%; latest hemoglobin 7.93."
1469
+ },
1470
+ "active_risks": []
1471
+ },
1472
+ "action_review": {
1473
+ "evaluations": [],
1474
+ "red_flags": [
1475
+ {
1476
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1477
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1478
+ "key_evidence": [
1479
+ "169"
1480
+ ]
1481
+ },
1482
+ {
1483
+ "contraindicated_action": "NSAID administration",
1484
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1485
+ "key_evidence": [
1486
+ "169"
1487
+ ]
1488
+ }
1489
+ ]
1490
+ }
1491
+ },
1492
+ "sample_id": "scale/90000004_99000004/13.500000|14.000000",
1493
+ "label_availability": {
1494
+ "patient_status": true,
1495
+ "recommended_action": true,
1496
+ "active_risks": true,
1497
+ "red_flags": true
1498
+ },
1499
+ "window_key": "13.500000|14.000000",
1500
+ "window_duration_hours": 0.5
1501
+ },
1502
+ {
1503
+ "window_index": 28,
1504
+ "window_metadata": {
1505
+ "window_start_time": "2177-01-09T16:31:08",
1506
+ "window_end_time": "2177-01-09T17:01:08",
1507
+ "hours_since_admission": 14.0,
1508
+ "current_window_hours": 0.5,
1509
+ "num_current_events": 8
1510
+ },
1511
+ "reference_labels": {
1512
+ "patient_assessment": {
1513
+ "overall": {
1514
+ "label": "stable",
1515
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 73 mmHg, HR 99 bpm, SpO2 95%; latest hemoglobin 7.93."
1516
+ },
1517
+ "active_risks": []
1518
+ },
1519
+ "action_review": {
1520
+ "evaluations": [
1521
+ {
1522
+ "action_id": "198",
1523
+ "action_name": "BODY_INPUT Pantoprazole",
1524
+ "label": "best_practice",
1525
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1526
+ }
1527
+ ],
1528
+ "red_flags": [
1529
+ {
1530
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1531
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1532
+ "key_evidence": [
1533
+ "169"
1534
+ ]
1535
+ },
1536
+ {
1537
+ "contraindicated_action": "NSAID administration",
1538
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1539
+ "key_evidence": [
1540
+ "169"
1541
+ ]
1542
+ }
1543
+ ]
1544
+ }
1545
+ },
1546
+ "sample_id": "scale/90000004_99000004/14.000000|14.500000",
1547
+ "label_availability": {
1548
+ "patient_status": true,
1549
+ "recommended_action": true,
1550
+ "active_risks": true,
1551
+ "red_flags": true
1552
+ },
1553
+ "window_key": "14.000000|14.500000",
1554
+ "window_duration_hours": 0.5
1555
+ },
1556
+ {
1557
+ "window_index": 29,
1558
+ "window_metadata": {
1559
+ "window_start_time": "2177-01-09T17:01:08",
1560
+ "window_end_time": "2177-01-09T17:31:08",
1561
+ "hours_since_admission": 14.5,
1562
+ "current_window_hours": 0.5,
1563
+ "num_current_events": 3
1564
+ },
1565
+ "reference_labels": {
1566
+ "patient_assessment": {
1567
+ "overall": {
1568
+ "label": "stable",
1569
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 71 mmHg, HR 97 bpm, SpO2 94%; latest hemoglobin 7.93."
1570
+ },
1571
+ "active_risks": []
1572
+ },
1573
+ "action_review": {
1574
+ "evaluations": [],
1575
+ "red_flags": [
1576
+ {
1577
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1578
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1579
+ "key_evidence": [
1580
+ "169"
1581
+ ]
1582
+ },
1583
+ {
1584
+ "contraindicated_action": "NSAID administration",
1585
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1586
+ "key_evidence": [
1587
+ "169"
1588
+ ]
1589
+ }
1590
+ ]
1591
+ }
1592
+ },
1593
+ "sample_id": "scale/90000004_99000004/14.500000|15.000000",
1594
+ "label_availability": {
1595
+ "patient_status": true,
1596
+ "recommended_action": true,
1597
+ "active_risks": true,
1598
+ "red_flags": true
1599
+ },
1600
+ "window_key": "14.500000|15.000000",
1601
+ "window_duration_hours": 0.5
1602
+ },
1603
+ {
1604
+ "window_index": 30,
1605
+ "window_metadata": {
1606
+ "window_start_time": "2177-01-09T17:31:08",
1607
+ "window_end_time": "2177-01-09T18:01:08",
1608
+ "hours_since_admission": 15.0,
1609
+ "current_window_hours": 0.5,
1610
+ "num_current_events": 8
1611
+ },
1612
+ "reference_labels": {
1613
+ "patient_assessment": {
1614
+ "overall": {
1615
+ "label": "stable",
1616
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 71 mmHg, HR 101 bpm, SpO2 96%; latest hemoglobin 7.93."
1617
+ },
1618
+ "active_risks": []
1619
+ },
1620
+ "action_review": {
1621
+ "evaluations": [
1622
+ {
1623
+ "action_id": "209",
1624
+ "action_name": "BODY_INPUT Pantoprazole",
1625
+ "label": "best_practice",
1626
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1627
+ }
1628
+ ],
1629
+ "red_flags": [
1630
+ {
1631
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1632
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1633
+ "key_evidence": [
1634
+ "169"
1635
+ ]
1636
+ },
1637
+ {
1638
+ "contraindicated_action": "NSAID administration",
1639
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1640
+ "key_evidence": [
1641
+ "169"
1642
+ ]
1643
+ }
1644
+ ]
1645
+ }
1646
+ },
1647
+ "sample_id": "scale/90000004_99000004/15.000000|15.500000",
1648
+ "label_availability": {
1649
+ "patient_status": true,
1650
+ "recommended_action": true,
1651
+ "active_risks": true,
1652
+ "red_flags": true
1653
+ },
1654
+ "window_key": "15.000000|15.500000",
1655
+ "window_duration_hours": 0.5
1656
+ },
1657
+ {
1658
+ "window_index": 31,
1659
+ "window_metadata": {
1660
+ "window_start_time": "2177-01-09T18:01:08",
1661
+ "window_end_time": "2177-01-09T18:31:08",
1662
+ "hours_since_admission": 15.5,
1663
+ "current_window_hours": 0.5,
1664
+ "num_current_events": 3
1665
+ },
1666
+ "reference_labels": {
1667
+ "patient_assessment": {
1668
+ "overall": {
1669
+ "label": "stable",
1670
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 68 mmHg, HR 104 bpm, SpO2 93%; latest hemoglobin 7.93."
1671
+ },
1672
+ "active_risks": []
1673
+ },
1674
+ "action_review": {
1675
+ "evaluations": [],
1676
+ "red_flags": [
1677
+ {
1678
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1679
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1680
+ "key_evidence": [
1681
+ "169"
1682
+ ]
1683
+ },
1684
+ {
1685
+ "contraindicated_action": "NSAID administration",
1686
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1687
+ "key_evidence": [
1688
+ "169"
1689
+ ]
1690
+ }
1691
+ ]
1692
+ }
1693
+ },
1694
+ "sample_id": "scale/90000004_99000004/15.500000|16.000000",
1695
+ "label_availability": {
1696
+ "patient_status": true,
1697
+ "recommended_action": true,
1698
+ "active_risks": true,
1699
+ "red_flags": true
1700
+ },
1701
+ "window_key": "15.500000|16.000000",
1702
+ "window_duration_hours": 0.5
1703
+ },
1704
+ {
1705
+ "window_index": 32,
1706
+ "window_metadata": {
1707
+ "window_start_time": "2177-01-09T18:31:08",
1708
+ "window_end_time": "2177-01-09T19:01:08",
1709
+ "hours_since_admission": 16.0,
1710
+ "current_window_hours": 0.5,
1711
+ "num_current_events": 16
1712
+ },
1713
+ "reference_labels": {
1714
+ "patient_assessment": {
1715
+ "overall": {
1716
+ "label": "stable",
1717
+ "rationale": "Hemoglobin and blood pressure remain stable after hemostasis. Current window: MAP 63 mmHg, HR 113 bpm, SpO2 95%; latest hemoglobin 6.69."
1718
+ },
1719
+ "active_risks": [
1720
+ {
1721
+ "risk_name": "Recurrent upper GI bleeding",
1722
+ "key_evidence": [
1723
+ "225",
1724
+ "214"
1725
+ ]
1726
+ }
1727
+ ]
1728
+ },
1729
+ "action_review": {
1730
+ "evaluations": [
1731
+ {
1732
+ "action_id": "221",
1733
+ "action_name": "Head of Bed 30 Degrees",
1734
+ "label": "acceptable",
1735
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1736
+ },
1737
+ {
1738
+ "action_id": "223",
1739
+ "action_name": "BODY_INPUT Pantoprazole",
1740
+ "label": "best_practice",
1741
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1742
+ },
1743
+ {
1744
+ "action_id": "225",
1745
+ "action_name": "LAB_TEST Hemoglobin",
1746
+ "label": "acceptable",
1747
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1748
+ },
1749
+ {
1750
+ "action_id": "226",
1751
+ "action_name": "LAB_TEST Lactate",
1752
+ "label": "acceptable",
1753
+ "rationale": "Lactate is reasonable monitoring or support in this context. Hemoglobin and blood pressure remain stable after hemostasis."
1754
+ }
1755
+ ],
1756
+ "red_flags": [
1757
+ {
1758
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1759
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1760
+ "key_evidence": [
1761
+ "225"
1762
+ ]
1763
+ },
1764
+ {
1765
+ "contraindicated_action": "NSAID administration",
1766
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1767
+ "key_evidence": [
1768
+ "225"
1769
+ ]
1770
+ }
1771
+ ]
1772
+ }
1773
+ },
1774
+ "sample_id": "scale/90000004_99000004/16.000000|16.500000",
1775
+ "label_availability": {
1776
+ "patient_status": true,
1777
+ "recommended_action": true,
1778
+ "active_risks": true,
1779
+ "red_flags": true
1780
+ },
1781
+ "window_key": "16.000000|16.500000",
1782
+ "window_duration_hours": 0.5
1783
+ },
1784
+ {
1785
+ "window_index": 34,
1786
+ "window_metadata": {
1787
+ "window_start_time": "2177-01-09T19:31:08",
1788
+ "window_end_time": "2177-01-09T20:01:08",
1789
+ "hours_since_admission": 17.0,
1790
+ "current_window_hours": 0.5,
1791
+ "num_current_events": 9
1792
+ },
1793
+ "reference_labels": {
1794
+ "patient_assessment": {
1795
+ "overall": {
1796
+ "label": "deteriorating",
1797
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 55 mmHg, HR 120 bpm, SpO2 97%; latest hemoglobin 6.69."
1798
+ },
1799
+ "active_risks": [
1800
+ {
1801
+ "risk_name": "Recurrent upper GI bleeding",
1802
+ "key_evidence": [
1803
+ "225",
1804
+ "233"
1805
+ ]
1806
+ }
1807
+ ]
1808
+ },
1809
+ "action_review": {
1810
+ "evaluations": [
1811
+ {
1812
+ "action_id": "239",
1813
+ "action_name": "BODY_INPUT Pantoprazole",
1814
+ "label": "best_practice",
1815
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1816
+ },
1817
+ {
1818
+ "action_id": "241",
1819
+ "action_name": "BODY_INPUT Packed Red Blood Cells",
1820
+ "label": "best_practice",
1821
+ "rationale": "Packed Red Blood Cells is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1822
+ }
1823
+ ],
1824
+ "red_flags": [
1825
+ {
1826
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1827
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1828
+ "key_evidence": [
1829
+ "225"
1830
+ ]
1831
+ },
1832
+ {
1833
+ "contraindicated_action": "NSAID administration",
1834
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1835
+ "key_evidence": [
1836
+ "225"
1837
+ ]
1838
+ }
1839
+ ]
1840
+ }
1841
+ },
1842
+ "sample_id": "scale/90000004_99000004/17.000000|17.500000",
1843
+ "label_availability": {
1844
+ "patient_status": true,
1845
+ "recommended_action": true,
1846
+ "active_risks": true,
1847
+ "red_flags": true
1848
+ },
1849
+ "window_key": "17.000000|17.500000",
1850
+ "window_duration_hours": 0.5
1851
+ },
1852
+ {
1853
+ "window_index": 35,
1854
+ "window_metadata": {
1855
+ "window_start_time": "2177-01-09T20:01:08",
1856
+ "window_end_time": "2177-01-09T20:31:08",
1857
+ "hours_since_admission": 17.5,
1858
+ "current_window_hours": 0.5,
1859
+ "num_current_events": 4
1860
+ },
1861
+ "reference_labels": {
1862
+ "patient_assessment": {
1863
+ "overall": {
1864
+ "label": "deteriorating",
1865
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 56 mmHg, HR 120 bpm, SpO2 93%; latest hemoglobin 6.69."
1866
+ },
1867
+ "active_risks": [
1868
+ {
1869
+ "risk_name": "Recurrent upper GI bleeding",
1870
+ "key_evidence": [
1871
+ "225",
1872
+ "242"
1873
+ ]
1874
+ }
1875
+ ]
1876
+ },
1877
+ "action_review": {
1878
+ "evaluations": [
1879
+ {
1880
+ "action_id": "245",
1881
+ "action_name": "Code Status DNR / DNI",
1882
+ "label": "best_practice",
1883
+ "rationale": "Code Status is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1884
+ }
1885
+ ],
1886
+ "red_flags": [
1887
+ {
1888
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1889
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1890
+ "key_evidence": [
1891
+ "225"
1892
+ ]
1893
+ },
1894
+ {
1895
+ "contraindicated_action": "NSAID administration",
1896
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1897
+ "key_evidence": [
1898
+ "225"
1899
+ ]
1900
+ }
1901
+ ]
1902
+ }
1903
+ },
1904
+ "sample_id": "scale/90000004_99000004/17.500000|18.000000",
1905
+ "label_availability": {
1906
+ "patient_status": true,
1907
+ "recommended_action": true,
1908
+ "active_risks": true,
1909
+ "red_flags": true
1910
+ },
1911
+ "window_key": "17.500000|18.000000",
1912
+ "window_duration_hours": 0.5
1913
+ },
1914
+ {
1915
+ "window_index": 36,
1916
+ "window_metadata": {
1917
+ "window_start_time": "2177-01-09T20:31:08",
1918
+ "window_end_time": "2177-01-09T21:01:08",
1919
+ "hours_since_admission": 18.0,
1920
+ "current_window_hours": 0.5,
1921
+ "num_current_events": 13
1922
+ },
1923
+ "reference_labels": {
1924
+ "patient_assessment": {
1925
+ "overall": {
1926
+ "label": "deteriorating",
1927
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 58 mmHg, HR 118 bpm, SpO2 94%; latest hemoglobin 6.59."
1928
+ },
1929
+ "active_risks": [
1930
+ {
1931
+ "risk_name": "Recurrent upper GI bleeding",
1932
+ "key_evidence": [
1933
+ "246",
1934
+ "251"
1935
+ ]
1936
+ }
1937
+ ]
1938
+ },
1939
+ "action_review": {
1940
+ "evaluations": [
1941
+ {
1942
+ "action_id": "246",
1943
+ "action_name": "LAB_TEST Hemoglobin",
1944
+ "label": "acceptable",
1945
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Recurrent hypotension and falling hemoglobin suggest rebleeding."
1946
+ },
1947
+ {
1948
+ "action_id": "247",
1949
+ "action_name": "LAB_TEST Lactate",
1950
+ "label": "acceptable",
1951
+ "rationale": "Lactate is reasonable monitoring or support in this context. Recurrent hypotension and falling hemoglobin suggest rebleeding."
1952
+ },
1953
+ {
1954
+ "action_id": "257",
1955
+ "action_name": "BODY_INPUT Pantoprazole",
1956
+ "label": "best_practice",
1957
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
1958
+ }
1959
+ ],
1960
+ "red_flags": [
1961
+ {
1962
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
1963
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
1964
+ "key_evidence": [
1965
+ "246"
1966
+ ]
1967
+ },
1968
+ {
1969
+ "contraindicated_action": "NSAID administration",
1970
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
1971
+ "key_evidence": [
1972
+ "246"
1973
+ ]
1974
+ }
1975
+ ]
1976
+ }
1977
+ },
1978
+ "sample_id": "scale/90000004_99000004/18.000000|18.500000",
1979
+ "label_availability": {
1980
+ "patient_status": true,
1981
+ "recommended_action": true,
1982
+ "active_risks": true,
1983
+ "red_flags": true
1984
+ },
1985
+ "window_key": "18.000000|18.500000",
1986
+ "window_duration_hours": 0.5
1987
+ },
1988
+ {
1989
+ "window_index": 37,
1990
+ "window_metadata": {
1991
+ "window_start_time": "2177-01-09T21:01:08",
1992
+ "window_end_time": "2177-01-09T21:31:08",
1993
+ "hours_since_admission": 18.5,
1994
+ "current_window_hours": 0.5,
1995
+ "num_current_events": 5
1996
+ },
1997
+ "reference_labels": {
1998
+ "patient_assessment": {
1999
+ "overall": {
2000
+ "label": "deteriorating",
2001
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 60 mmHg, HR 117 bpm, SpO2 95%; latest hemoglobin 6.59."
2002
+ },
2003
+ "active_risks": [
2004
+ {
2005
+ "risk_name": "Recurrent upper GI bleeding",
2006
+ "key_evidence": [
2007
+ "246",
2008
+ "260"
2009
+ ]
2010
+ }
2011
+ ]
2012
+ },
2013
+ "action_review": {
2014
+ "evaluations": [
2015
+ {
2016
+ "action_id": "259",
2017
+ "action_name": "XRAY CHEST (PORTABLE AP)",
2018
+ "label": "best_practice",
2019
+ "rationale": "CHEST (PORTABLE AP) is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
2020
+ }
2021
+ ],
2022
+ "red_flags": [
2023
+ {
2024
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2025
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2026
+ "key_evidence": [
2027
+ "246"
2028
+ ]
2029
+ },
2030
+ {
2031
+ "contraindicated_action": "NSAID administration",
2032
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2033
+ "key_evidence": [
2034
+ "246"
2035
+ ]
2036
+ }
2037
+ ]
2038
+ }
2039
+ },
2040
+ "sample_id": "scale/90000004_99000004/18.500000|19.000000",
2041
+ "label_availability": {
2042
+ "patient_status": true,
2043
+ "recommended_action": true,
2044
+ "active_risks": true,
2045
+ "red_flags": true
2046
+ },
2047
+ "window_key": "18.500000|19.000000",
2048
+ "window_duration_hours": 0.5
2049
+ },
2050
+ {
2051
+ "window_index": 38,
2052
+ "window_metadata": {
2053
+ "window_start_time": "2177-01-09T21:31:08",
2054
+ "window_end_time": "2177-01-09T22:01:08",
2055
+ "hours_since_admission": 19.0,
2056
+ "current_window_hours": 0.5,
2057
+ "num_current_events": 8
2058
+ },
2059
+ "reference_labels": {
2060
+ "patient_assessment": {
2061
+ "overall": {
2062
+ "label": "deteriorating",
2063
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 59 mmHg, HR 115 bpm, SpO2 98%; latest hemoglobin 6.59."
2064
+ },
2065
+ "active_risks": [
2066
+ {
2067
+ "risk_name": "Recurrent upper GI bleeding",
2068
+ "key_evidence": [
2069
+ "246",
2070
+ "264"
2071
+ ]
2072
+ }
2073
+ ]
2074
+ },
2075
+ "action_review": {
2076
+ "evaluations": [
2077
+ {
2078
+ "action_id": "270",
2079
+ "action_name": "BODY_INPUT Pantoprazole",
2080
+ "label": "best_practice",
2081
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
2082
+ }
2083
+ ],
2084
+ "red_flags": [
2085
+ {
2086
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2087
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2088
+ "key_evidence": [
2089
+ "246"
2090
+ ]
2091
+ },
2092
+ {
2093
+ "contraindicated_action": "NSAID administration",
2094
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2095
+ "key_evidence": [
2096
+ "246"
2097
+ ]
2098
+ }
2099
+ ]
2100
+ }
2101
+ },
2102
+ "sample_id": "scale/90000004_99000004/19.000000|19.500000",
2103
+ "label_availability": {
2104
+ "patient_status": true,
2105
+ "recommended_action": true,
2106
+ "active_risks": true,
2107
+ "red_flags": true
2108
+ },
2109
+ "window_key": "19.000000|19.500000",
2110
+ "window_duration_hours": 0.5
2111
+ },
2112
+ {
2113
+ "window_index": 39,
2114
+ "window_metadata": {
2115
+ "window_start_time": "2177-01-09T22:01:08",
2116
+ "window_end_time": "2177-01-09T22:31:08",
2117
+ "hours_since_admission": 19.5,
2118
+ "current_window_hours": 0.5,
2119
+ "num_current_events": 3
2120
+ },
2121
+ "reference_labels": {
2122
+ "patient_assessment": {
2123
+ "overall": {
2124
+ "label": "deteriorating",
2125
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 61 mmHg, HR 115 bpm, SpO2 95%; latest hemoglobin 6.59."
2126
+ },
2127
+ "active_risks": [
2128
+ {
2129
+ "risk_name": "Recurrent upper GI bleeding",
2130
+ "key_evidence": [
2131
+ "246",
2132
+ "272"
2133
+ ]
2134
+ }
2135
+ ]
2136
+ },
2137
+ "action_review": {
2138
+ "evaluations": [],
2139
+ "red_flags": [
2140
+ {
2141
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2142
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2143
+ "key_evidence": [
2144
+ "246"
2145
+ ]
2146
+ },
2147
+ {
2148
+ "contraindicated_action": "NSAID administration",
2149
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2150
+ "key_evidence": [
2151
+ "246"
2152
+ ]
2153
+ }
2154
+ ]
2155
+ }
2156
+ },
2157
+ "sample_id": "scale/90000004_99000004/19.500000|20.000000",
2158
+ "label_availability": {
2159
+ "patient_status": true,
2160
+ "recommended_action": true,
2161
+ "active_risks": true,
2162
+ "red_flags": true
2163
+ },
2164
+ "window_key": "19.500000|20.000000",
2165
+ "window_duration_hours": 0.5
2166
+ },
2167
+ {
2168
+ "window_index": 41,
2169
+ "window_metadata": {
2170
+ "window_start_time": "2177-01-09T23:01:08",
2171
+ "window_end_time": "2177-01-09T23:31:08",
2172
+ "hours_since_admission": 20.5,
2173
+ "current_window_hours": 0.5,
2174
+ "num_current_events": 4
2175
+ },
2176
+ "reference_labels": {
2177
+ "patient_assessment": {
2178
+ "overall": {
2179
+ "label": "deteriorating",
2180
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 62 mmHg, HR 113 bpm, SpO2 96%; latest hemoglobin 7.14."
2181
+ },
2182
+ "active_risks": [
2183
+ {
2184
+ "risk_name": "Recurrent upper GI bleeding",
2185
+ "key_evidence": [
2186
+ "289",
2187
+ "286"
2188
+ ]
2189
+ }
2190
+ ]
2191
+ },
2192
+ "action_review": {
2193
+ "evaluations": [
2194
+ {
2195
+ "action_id": "289",
2196
+ "action_name": "LAB_TEST Hemoglobin",
2197
+ "label": "acceptable",
2198
+ "rationale": "Hemoglobin is reasonable monitoring or support in this context. Recurrent hypotension and falling hemoglobin suggest rebleeding."
2199
+ }
2200
+ ],
2201
+ "red_flags": [
2202
+ {
2203
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2204
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2205
+ "key_evidence": [
2206
+ "289"
2207
+ ]
2208
+ },
2209
+ {
2210
+ "contraindicated_action": "NSAID administration",
2211
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2212
+ "key_evidence": [
2213
+ "289"
2214
+ ]
2215
+ }
2216
+ ]
2217
+ }
2218
+ },
2219
+ "sample_id": "scale/90000004_99000004/20.500000|21.000000",
2220
+ "label_availability": {
2221
+ "patient_status": true,
2222
+ "recommended_action": true,
2223
+ "active_risks": true,
2224
+ "red_flags": true
2225
+ },
2226
+ "window_key": "20.500000|21.000000",
2227
+ "window_duration_hours": 0.5
2228
+ },
2229
+ {
2230
+ "window_index": 42,
2231
+ "window_metadata": {
2232
+ "window_start_time": "2177-01-09T23:31:08",
2233
+ "window_end_time": "2177-01-10T00:01:08",
2234
+ "hours_since_admission": 21.0,
2235
+ "current_window_hours": 0.5,
2236
+ "num_current_events": 12
2237
+ },
2238
+ "reference_labels": {
2239
+ "patient_assessment": {
2240
+ "overall": {
2241
+ "label": "deteriorating",
2242
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 62 mmHg, HR 113 bpm, SpO2 95%; latest hemoglobin 7.14."
2243
+ },
2244
+ "active_risks": [
2245
+ {
2246
+ "risk_name": "Recurrent upper GI bleeding",
2247
+ "key_evidence": [
2248
+ "289",
2249
+ "294"
2250
+ ]
2251
+ }
2252
+ ]
2253
+ },
2254
+ "action_review": {
2255
+ "evaluations": [
2256
+ {
2257
+ "action_id": "290",
2258
+ "action_name": "LAB_TEST Lactate",
2259
+ "label": "acceptable",
2260
+ "rationale": "Lactate is reasonable monitoring or support in this context. Recurrent hypotension and falling hemoglobin suggest rebleeding."
2261
+ },
2262
+ {
2263
+ "action_id": "291",
2264
+ "action_name": "LAB_TEST INR(PT)",
2265
+ "label": "acceptable",
2266
+ "rationale": "INR(PT) is reasonable monitoring or support in this context. Recurrent hypotension and falling hemoglobin suggest rebleeding."
2267
+ },
2268
+ {
2269
+ "action_id": "300",
2270
+ "action_name": "BODY_INPUT Pantoprazole",
2271
+ "label": "best_practice",
2272
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
2273
+ }
2274
+ ],
2275
+ "red_flags": [
2276
+ {
2277
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2278
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2279
+ "key_evidence": [
2280
+ "289"
2281
+ ]
2282
+ },
2283
+ {
2284
+ "contraindicated_action": "NSAID administration",
2285
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2286
+ "key_evidence": [
2287
+ "289"
2288
+ ]
2289
+ }
2290
+ ]
2291
+ }
2292
+ },
2293
+ "sample_id": "scale/90000004_99000004/21.000000|21.500000",
2294
+ "label_availability": {
2295
+ "patient_status": true,
2296
+ "recommended_action": true,
2297
+ "active_risks": true,
2298
+ "red_flags": true
2299
+ },
2300
+ "window_key": "21.000000|21.500000",
2301
+ "window_duration_hours": 0.5
2302
+ },
2303
+ {
2304
+ "window_index": 43,
2305
+ "window_metadata": {
2306
+ "window_start_time": "2177-01-10T00:01:08",
2307
+ "window_end_time": "2177-01-10T00:31:08",
2308
+ "hours_since_admission": 21.5,
2309
+ "current_window_hours": 0.5,
2310
+ "num_current_events": 3
2311
+ },
2312
+ "reference_labels": {
2313
+ "patient_assessment": {
2314
+ "overall": {
2315
+ "label": "deteriorating",
2316
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 62 mmHg, HR 113 bpm, SpO2 95%; latest hemoglobin 7.14."
2317
+ },
2318
+ "active_risks": [
2319
+ {
2320
+ "risk_name": "Recurrent upper GI bleeding",
2321
+ "key_evidence": [
2322
+ "289",
2323
+ "302"
2324
+ ]
2325
+ }
2326
+ ]
2327
+ },
2328
+ "action_review": {
2329
+ "evaluations": [],
2330
+ "red_flags": [
2331
+ {
2332
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2333
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2334
+ "key_evidence": [
2335
+ "289"
2336
+ ]
2337
+ },
2338
+ {
2339
+ "contraindicated_action": "NSAID administration",
2340
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2341
+ "key_evidence": [
2342
+ "289"
2343
+ ]
2344
+ }
2345
+ ]
2346
+ }
2347
+ },
2348
+ "sample_id": "scale/90000004_99000004/21.500000|22.000000",
2349
+ "label_availability": {
2350
+ "patient_status": true,
2351
+ "recommended_action": true,
2352
+ "active_risks": true,
2353
+ "red_flags": true
2354
+ },
2355
+ "window_key": "21.500000|22.000000",
2356
+ "window_duration_hours": 0.5
2357
+ },
2358
+ {
2359
+ "window_index": 44,
2360
+ "window_metadata": {
2361
+ "window_start_time": "2177-01-10T00:31:08",
2362
+ "window_end_time": "2177-01-10T00:49:08",
2363
+ "hours_since_admission": 22.0,
2364
+ "current_window_hours": 0.5,
2365
+ "num_current_events": 8
2366
+ },
2367
+ "reference_labels": {
2368
+ "patient_assessment": {
2369
+ "overall": {
2370
+ "label": "deteriorating",
2371
+ "rationale": "Recurrent hypotension and falling hemoglobin suggest rebleeding. Current window: MAP 61 mmHg, HR 112 bpm, SpO2 95%; latest hemoglobin 7.14."
2372
+ },
2373
+ "active_risks": [
2374
+ {
2375
+ "risk_name": "Recurrent upper GI bleeding",
2376
+ "key_evidence": [
2377
+ "289",
2378
+ "305"
2379
+ ]
2380
+ }
2381
+ ]
2382
+ },
2383
+ "action_review": {
2384
+ "evaluations": [
2385
+ {
2386
+ "action_id": "311",
2387
+ "action_name": "BODY_INPUT Pantoprazole",
2388
+ "label": "best_practice",
2389
+ "rationale": "Pantoprazole is appropriate for upper gastrointestinal bleeding from a gastric ulcer."
2390
+ }
2391
+ ],
2392
+ "red_flags": [
2393
+ {
2394
+ "contraindicated_action": "Therapeutic or prophylactic anticoagulation",
2395
+ "rationale": "Active ulcer bleeding with recent transfusion contraindicates anticoagulation.",
2396
+ "key_evidence": [
2397
+ "289"
2398
+ ]
2399
+ },
2400
+ {
2401
+ "contraindicated_action": "NSAID administration",
2402
+ "rationale": "NSAIDs increase the risk of recurrent ulcer bleeding.",
2403
+ "key_evidence": [
2404
+ "289"
2405
+ ]
2406
+ }
2407
+ ]
2408
+ }
2409
+ },
2410
+ "sample_id": "scale/90000004_99000004/22.000000|22.500000",
2411
+ "label_availability": {
2412
+ "patient_status": true,
2413
+ "recommended_action": true,
2414
+ "active_risks": true,
2415
+ "red_flags": true
2416
+ },
2417
+ "window_key": "22.000000|22.500000",
2418
+ "window_duration_hours": 0.5
2419
+ }
2420
+ ],
2421
+ "stay_id": "90000004_99000004"
2422
+ }
scale/labels/90000005_99000005.json ADDED
@@ -0,0 +1,1590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "subject_id": 90000005,
3
+ "icu_stay_id": 99000005,
4
+ "trajectory_metadata": {
5
+ "enter_time": "2128-05-30T17:48:33",
6
+ "leave_time": "2128-05-31T08:42:33",
7
+ "age": 76.90278452734049,
8
+ "gender": "Female",
9
+ "total_icu_stay_hours": 14.0,
10
+ "icu_duration_hours": 14.0,
11
+ "survived": false,
12
+ "icu_outcome": "Died after ICU",
13
+ "death_time": "2128-06-02T00:42:00",
14
+ "total_events": 236
15
+ },
16
+ "window_outputs": [
17
+ {
18
+ "window_index": 0,
19
+ "window_metadata": {
20
+ "window_start_time": "2128-05-30T17:48:33",
21
+ "window_end_time": "2128-05-30T18:18:33",
22
+ "hours_since_admission": 0.0,
23
+ "current_window_hours": 0.5,
24
+ "num_current_events": 14
25
+ },
26
+ "reference_labels": {
27
+ "patient_assessment": {
28
+ "overall": {
29
+ "label": "improving",
30
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 104 mmHg, HR 108 bpm, SpO2 85%; latest ntprobnp 14612.4."
31
+ },
32
+ "active_risks": [
33
+ {
34
+ "risk_name": "Cardiogenic pulmonary edema",
35
+ "key_evidence": [
36
+ "4",
37
+ "13",
38
+ "Pre-ICU summary"
39
+ ]
40
+ }
41
+ ]
42
+ },
43
+ "action_review": {
44
+ "evaluations": [
45
+ {
46
+ "action_id": "9",
47
+ "action_name": "Head of Bed 30 Degrees",
48
+ "label": "acceptable",
49
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
50
+ },
51
+ {
52
+ "action_id": "12",
53
+ "action_name": "Non-invasive Ventilation",
54
+ "label": "best_practice",
55
+ "rationale": "Non-invasive Ventilation is appropriate for acute decompensated heart failure with pulmonary edema."
56
+ },
57
+ {
58
+ "action_id": "13",
59
+ "action_name": "LAB_TEST NTproBNP",
60
+ "label": "acceptable",
61
+ "rationale": "NTproBNP is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
62
+ }
63
+ ],
64
+ "red_flags": [
65
+ {
66
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
67
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
68
+ "key_evidence": [
69
+ "4"
70
+ ]
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "sample_id": "scale/90000005_99000005/0.000000|0.500000",
76
+ "label_availability": {
77
+ "patient_status": true,
78
+ "recommended_action": true,
79
+ "active_risks": true,
80
+ "red_flags": true
81
+ },
82
+ "window_key": "0.000000|0.500000",
83
+ "window_duration_hours": 0.5
84
+ },
85
+ {
86
+ "window_index": 1,
87
+ "window_metadata": {
88
+ "window_start_time": "2128-05-30T18:18:33",
89
+ "window_end_time": "2128-05-30T18:48:33",
90
+ "hours_since_admission": 0.5,
91
+ "current_window_hours": 0.5,
92
+ "num_current_events": 8
93
+ },
94
+ "reference_labels": {
95
+ "patient_assessment": {
96
+ "overall": {
97
+ "label": "improving",
98
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 101 mmHg, HR 105 bpm, SpO2 89%; latest ntprobnp 14612.4."
99
+ },
100
+ "active_risks": [
101
+ {
102
+ "risk_name": "Cardiogenic pulmonary edema",
103
+ "key_evidence": [
104
+ "21",
105
+ "13",
106
+ "Pre-ICU summary"
107
+ ]
108
+ }
109
+ ]
110
+ },
111
+ "action_review": {
112
+ "evaluations": [
113
+ {
114
+ "action_id": "14",
115
+ "action_name": "LAB_TEST Creatinine",
116
+ "label": "acceptable",
117
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
118
+ },
119
+ {
120
+ "action_id": "15",
121
+ "action_name": "LAB_TEST Potassium",
122
+ "label": "acceptable",
123
+ "rationale": "Potassium is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
124
+ },
125
+ {
126
+ "action_id": "18",
127
+ "action_name": "Furosemide",
128
+ "label": "best_practice",
129
+ "rationale": "Furosemide is appropriate for acute decompensated heart failure with pulmonary edema."
130
+ }
131
+ ],
132
+ "red_flags": [
133
+ {
134
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
135
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
136
+ "key_evidence": [
137
+ "21"
138
+ ]
139
+ }
140
+ ]
141
+ }
142
+ },
143
+ "sample_id": "scale/90000005_99000005/0.500000|1.000000",
144
+ "label_availability": {
145
+ "patient_status": true,
146
+ "recommended_action": true,
147
+ "active_risks": true,
148
+ "red_flags": true
149
+ },
150
+ "window_key": "0.500000|1.000000",
151
+ "window_duration_hours": 0.5
152
+ },
153
+ {
154
+ "window_index": 2,
155
+ "window_metadata": {
156
+ "window_start_time": "2128-05-30T18:48:33",
157
+ "window_end_time": "2128-05-30T19:18:33",
158
+ "hours_since_admission": 1.0,
159
+ "current_window_hours": 0.5,
160
+ "num_current_events": 9
161
+ },
162
+ "reference_labels": {
163
+ "patient_assessment": {
164
+ "overall": {
165
+ "label": "improving",
166
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 99 mmHg, HR 102 bpm, SpO2 89%; latest ntprobnp 14612.4."
167
+ },
168
+ "active_risks": [
169
+ {
170
+ "risk_name": "Cardiogenic pulmonary edema",
171
+ "key_evidence": [
172
+ "25",
173
+ "13",
174
+ "Pre-ICU summary"
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ "action_review": {
180
+ "evaluations": [
181
+ {
182
+ "action_id": "29",
183
+ "action_name": "BODY_INPUT Nitroglycerin",
184
+ "label": "best_practice",
185
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
186
+ }
187
+ ],
188
+ "red_flags": [
189
+ {
190
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
191
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
192
+ "key_evidence": [
193
+ "25"
194
+ ]
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ "sample_id": "scale/90000005_99000005/1.000000|1.500000",
200
+ "label_availability": {
201
+ "patient_status": true,
202
+ "recommended_action": true,
203
+ "active_risks": true,
204
+ "red_flags": true
205
+ },
206
+ "window_key": "1.000000|1.500000",
207
+ "window_duration_hours": 0.5
208
+ },
209
+ {
210
+ "window_index": 3,
211
+ "window_metadata": {
212
+ "window_start_time": "2128-05-30T19:18:33",
213
+ "window_end_time": "2128-05-30T19:48:33",
214
+ "hours_since_admission": 1.5,
215
+ "current_window_hours": 0.5,
216
+ "num_current_events": 3
217
+ },
218
+ "reference_labels": {
219
+ "patient_assessment": {
220
+ "overall": {
221
+ "label": "improving",
222
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 96 mmHg, HR 104 bpm, SpO2 94%; latest ntprobnp 14612.4."
223
+ },
224
+ "active_risks": [
225
+ {
226
+ "risk_name": "Cardiogenic pulmonary edema",
227
+ "key_evidence": [
228
+ "33",
229
+ "13",
230
+ "Pre-ICU summary"
231
+ ]
232
+ }
233
+ ]
234
+ },
235
+ "action_review": {
236
+ "evaluations": [],
237
+ "red_flags": [
238
+ {
239
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
240
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
241
+ "key_evidence": [
242
+ "33"
243
+ ]
244
+ }
245
+ ]
246
+ }
247
+ },
248
+ "sample_id": "scale/90000005_99000005/1.500000|2.000000",
249
+ "label_availability": {
250
+ "patient_status": true,
251
+ "recommended_action": true,
252
+ "active_risks": true,
253
+ "red_flags": true
254
+ },
255
+ "window_key": "1.500000|2.000000",
256
+ "window_duration_hours": 0.5
257
+ },
258
+ {
259
+ "window_index": 4,
260
+ "window_metadata": {
261
+ "window_start_time": "2128-05-30T19:48:33",
262
+ "window_end_time": "2128-05-30T20:18:33",
263
+ "hours_since_admission": 2.0,
264
+ "current_window_hours": 0.5,
265
+ "num_current_events": 8
266
+ },
267
+ "reference_labels": {
268
+ "patient_assessment": {
269
+ "overall": {
270
+ "label": "improving",
271
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 93 mmHg, HR 100 bpm, SpO2 93%; latest ntprobnp 14612.4."
272
+ },
273
+ "active_risks": [
274
+ {
275
+ "risk_name": "Cardiogenic pulmonary edema",
276
+ "key_evidence": [
277
+ "36",
278
+ "13",
279
+ "Pre-ICU summary"
280
+ ]
281
+ }
282
+ ]
283
+ },
284
+ "action_review": {
285
+ "evaluations": [
286
+ {
287
+ "action_id": "40",
288
+ "action_name": "BODY_INPUT Nitroglycerin",
289
+ "label": "best_practice",
290
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
291
+ }
292
+ ],
293
+ "red_flags": [
294
+ {
295
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
296
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
297
+ "key_evidence": [
298
+ "36"
299
+ ]
300
+ }
301
+ ]
302
+ }
303
+ },
304
+ "sample_id": "scale/90000005_99000005/2.000000|2.500000",
305
+ "label_availability": {
306
+ "patient_status": true,
307
+ "recommended_action": true,
308
+ "active_risks": true,
309
+ "red_flags": true
310
+ },
311
+ "window_key": "2.000000|2.500000",
312
+ "window_duration_hours": 0.5
313
+ },
314
+ {
315
+ "window_index": 6,
316
+ "window_metadata": {
317
+ "window_start_time": "2128-05-30T20:48:33",
318
+ "window_end_time": "2128-05-30T21:18:33",
319
+ "hours_since_admission": 3.0,
320
+ "current_window_hours": 0.5,
321
+ "num_current_events": 8
322
+ },
323
+ "reference_labels": {
324
+ "patient_assessment": {
325
+ "overall": {
326
+ "label": "improving",
327
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 89 mmHg, HR 98 bpm, SpO2 94%; latest ntprobnp 14612.4."
328
+ },
329
+ "active_risks": [
330
+ {
331
+ "risk_name": "Cardiogenic pulmonary edema",
332
+ "key_evidence": [
333
+ "47",
334
+ "13",
335
+ "Pre-ICU summary"
336
+ ]
337
+ }
338
+ ]
339
+ },
340
+ "action_review": {
341
+ "evaluations": [
342
+ {
343
+ "action_id": "51",
344
+ "action_name": "BODY_INPUT Nitroglycerin",
345
+ "label": "best_practice",
346
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
347
+ }
348
+ ],
349
+ "red_flags": [
350
+ {
351
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
352
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
353
+ "key_evidence": [
354
+ "47"
355
+ ]
356
+ }
357
+ ]
358
+ }
359
+ },
360
+ "sample_id": "scale/90000005_99000005/3.000000|3.500000",
361
+ "label_availability": {
362
+ "patient_status": true,
363
+ "recommended_action": true,
364
+ "active_risks": true,
365
+ "red_flags": true
366
+ },
367
+ "window_key": "3.000000|3.500000",
368
+ "window_duration_hours": 0.5
369
+ },
370
+ {
371
+ "window_index": 7,
372
+ "window_metadata": {
373
+ "window_start_time": "2128-05-30T21:18:33",
374
+ "window_end_time": "2128-05-30T21:48:33",
375
+ "hours_since_admission": 3.5,
376
+ "current_window_hours": 0.5,
377
+ "num_current_events": 3
378
+ },
379
+ "reference_labels": {
380
+ "patient_assessment": {
381
+ "overall": {
382
+ "label": "improving",
383
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 86 mmHg, HR 98 bpm, SpO2 93%; latest ntprobnp 14612.4."
384
+ },
385
+ "active_risks": [
386
+ {
387
+ "risk_name": "Cardiogenic pulmonary edema",
388
+ "key_evidence": [
389
+ "55",
390
+ "13",
391
+ "Pre-ICU summary"
392
+ ]
393
+ }
394
+ ]
395
+ },
396
+ "action_review": {
397
+ "evaluations": [],
398
+ "red_flags": [
399
+ {
400
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
401
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
402
+ "key_evidence": [
403
+ "55"
404
+ ]
405
+ }
406
+ ]
407
+ }
408
+ },
409
+ "sample_id": "scale/90000005_99000005/3.500000|4.000000",
410
+ "label_availability": {
411
+ "patient_status": true,
412
+ "recommended_action": true,
413
+ "active_risks": true,
414
+ "red_flags": true
415
+ },
416
+ "window_key": "3.500000|4.000000",
417
+ "window_duration_hours": 0.5
418
+ },
419
+ {
420
+ "window_index": 8,
421
+ "window_metadata": {
422
+ "window_start_time": "2128-05-30T21:48:33",
423
+ "window_end_time": "2128-05-30T22:18:33",
424
+ "hours_since_admission": 4.0,
425
+ "current_window_hours": 0.5,
426
+ "num_current_events": 11
427
+ },
428
+ "reference_labels": {
429
+ "patient_assessment": {
430
+ "overall": {
431
+ "label": "improving",
432
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 87 mmHg, HR 97 bpm, SpO2 93%; latest ntprobnp 14612.4."
433
+ },
434
+ "active_risks": [
435
+ {
436
+ "risk_name": "Cardiogenic pulmonary edema",
437
+ "key_evidence": [
438
+ "58",
439
+ "13",
440
+ "Pre-ICU summary"
441
+ ]
442
+ }
443
+ ]
444
+ },
445
+ "action_review": {
446
+ "evaluations": [
447
+ {
448
+ "action_id": "63",
449
+ "action_name": "Head of Bed 30 Degrees",
450
+ "label": "acceptable",
451
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis."
452
+ },
453
+ {
454
+ "action_id": "65",
455
+ "action_name": "BODY_INPUT Nitroglycerin",
456
+ "label": "best_practice",
457
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
458
+ }
459
+ ],
460
+ "red_flags": [
461
+ {
462
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
463
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
464
+ "key_evidence": [
465
+ "58"
466
+ ]
467
+ }
468
+ ]
469
+ }
470
+ },
471
+ "sample_id": "scale/90000005_99000005/4.000000|4.500000",
472
+ "label_availability": {
473
+ "patient_status": true,
474
+ "recommended_action": true,
475
+ "active_risks": true,
476
+ "red_flags": true
477
+ },
478
+ "window_key": "4.000000|4.500000",
479
+ "window_duration_hours": 0.5
480
+ },
481
+ {
482
+ "window_index": 9,
483
+ "window_metadata": {
484
+ "window_start_time": "2128-05-30T22:18:33",
485
+ "window_end_time": "2128-05-30T22:48:33",
486
+ "hours_since_admission": 4.5,
487
+ "current_window_hours": 0.5,
488
+ "num_current_events": 3
489
+ },
490
+ "reference_labels": {
491
+ "patient_assessment": {
492
+ "overall": {
493
+ "label": "improving",
494
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 84 mmHg, HR 98 bpm, SpO2 92%; latest ntprobnp 14612.4."
495
+ },
496
+ "active_risks": [
497
+ {
498
+ "risk_name": "Cardiogenic pulmonary edema",
499
+ "key_evidence": [
500
+ "69",
501
+ "13",
502
+ "Pre-ICU summary"
503
+ ]
504
+ }
505
+ ]
506
+ },
507
+ "action_review": {
508
+ "evaluations": [],
509
+ "red_flags": [
510
+ {
511
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
512
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
513
+ "key_evidence": [
514
+ "69"
515
+ ]
516
+ }
517
+ ]
518
+ }
519
+ },
520
+ "sample_id": "scale/90000005_99000005/4.500000|5.000000",
521
+ "label_availability": {
522
+ "patient_status": true,
523
+ "recommended_action": true,
524
+ "active_risks": true,
525
+ "red_flags": true
526
+ },
527
+ "window_key": "4.500000|5.000000",
528
+ "window_duration_hours": 0.5
529
+ },
530
+ {
531
+ "window_index": 10,
532
+ "window_metadata": {
533
+ "window_start_time": "2128-05-30T22:48:33",
534
+ "window_end_time": "2128-05-30T23:18:33",
535
+ "hours_since_admission": 5.0,
536
+ "current_window_hours": 0.5,
537
+ "num_current_events": 8
538
+ },
539
+ "reference_labels": {
540
+ "patient_assessment": {
541
+ "overall": {
542
+ "label": "improving",
543
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 85 mmHg, HR 95 bpm, SpO2 92%; latest ntprobnp 14612.4."
544
+ },
545
+ "active_risks": [
546
+ {
547
+ "risk_name": "Cardiogenic pulmonary edema",
548
+ "key_evidence": [
549
+ "72",
550
+ "13",
551
+ "Pre-ICU summary"
552
+ ]
553
+ }
554
+ ]
555
+ },
556
+ "action_review": {
557
+ "evaluations": [
558
+ {
559
+ "action_id": "76",
560
+ "action_name": "BODY_INPUT Nitroglycerin",
561
+ "label": "best_practice",
562
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
563
+ }
564
+ ],
565
+ "red_flags": [
566
+ {
567
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
568
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
569
+ "key_evidence": [
570
+ "72"
571
+ ]
572
+ }
573
+ ]
574
+ }
575
+ },
576
+ "sample_id": "scale/90000005_99000005/5.000000|5.500000",
577
+ "label_availability": {
578
+ "patient_status": true,
579
+ "recommended_action": true,
580
+ "active_risks": true,
581
+ "red_flags": true
582
+ },
583
+ "window_key": "5.000000|5.500000",
584
+ "window_duration_hours": 0.5
585
+ },
586
+ {
587
+ "window_index": 11,
588
+ "window_metadata": {
589
+ "window_start_time": "2128-05-30T23:18:33",
590
+ "window_end_time": "2128-05-30T23:48:33",
591
+ "hours_since_admission": 5.5,
592
+ "current_window_hours": 0.5,
593
+ "num_current_events": 3
594
+ },
595
+ "reference_labels": {
596
+ "patient_assessment": {
597
+ "overall": {
598
+ "label": "improving",
599
+ "rationale": "Oxygenation and work of breathing improve on non-invasive ventilation, nitrates, and diuresis. Current window: MAP 85 mmHg, HR 96 bpm, SpO2 92%; latest ntprobnp 14612.4."
600
+ },
601
+ "active_risks": [
602
+ {
603
+ "risk_name": "Cardiogenic pulmonary edema",
604
+ "key_evidence": [
605
+ "80",
606
+ "13",
607
+ "Pre-ICU summary"
608
+ ]
609
+ }
610
+ ]
611
+ },
612
+ "action_review": {
613
+ "evaluations": [],
614
+ "red_flags": [
615
+ {
616
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
617
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
618
+ "key_evidence": [
619
+ "80"
620
+ ]
621
+ }
622
+ ]
623
+ }
624
+ },
625
+ "sample_id": "scale/90000005_99000005/5.500000|6.000000",
626
+ "label_availability": {
627
+ "patient_status": true,
628
+ "recommended_action": true,
629
+ "active_risks": true,
630
+ "red_flags": true
631
+ },
632
+ "window_key": "5.500000|6.000000",
633
+ "window_duration_hours": 0.5
634
+ },
635
+ {
636
+ "window_index": 13,
637
+ "window_metadata": {
638
+ "window_start_time": "2128-05-31T00:18:33",
639
+ "window_end_time": "2128-05-31T00:48:33",
640
+ "hours_since_admission": 6.5,
641
+ "current_window_hours": 0.5,
642
+ "num_current_events": 4
643
+ },
644
+ "reference_labels": {
645
+ "patient_assessment": {
646
+ "overall": {
647
+ "label": "stable",
648
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 81 mmHg, HR 96 bpm, SpO2 94%; latest ntprobnp 14701."
649
+ },
650
+ "active_risks": [
651
+ {
652
+ "risk_name": "Cardiogenic pulmonary edema",
653
+ "key_evidence": [
654
+ "96",
655
+ "81",
656
+ "Pre-ICU summary"
657
+ ]
658
+ },
659
+ {
660
+ "risk_name": "Cardiorenal syndrome",
661
+ "key_evidence": [
662
+ "88",
663
+ "93"
664
+ ]
665
+ }
666
+ ]
667
+ },
668
+ "action_review": {
669
+ "evaluations": [
670
+ {
671
+ "action_id": "97",
672
+ "action_name": "Furosemide",
673
+ "label": "best_practice",
674
+ "rationale": "Furosemide is appropriate for acute decompensated heart failure with pulmonary edema."
675
+ }
676
+ ],
677
+ "red_flags": [
678
+ {
679
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
680
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
681
+ "key_evidence": [
682
+ "96"
683
+ ]
684
+ }
685
+ ]
686
+ }
687
+ },
688
+ "sample_id": "scale/90000005_99000005/6.500000|7.000000",
689
+ "label_availability": {
690
+ "patient_status": true,
691
+ "recommended_action": true,
692
+ "active_risks": true,
693
+ "red_flags": true
694
+ },
695
+ "window_key": "6.500000|7.000000",
696
+ "window_duration_hours": 0.5
697
+ },
698
+ {
699
+ "window_index": 14,
700
+ "window_metadata": {
701
+ "window_start_time": "2128-05-31T00:48:33",
702
+ "window_end_time": "2128-05-31T01:18:33",
703
+ "hours_since_admission": 7.0,
704
+ "current_window_hours": 0.5,
705
+ "num_current_events": 8
706
+ },
707
+ "reference_labels": {
708
+ "patient_assessment": {
709
+ "overall": {
710
+ "label": "stable",
711
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 79 mmHg, HR 94 bpm, SpO2 94%; latest ntprobnp 14701."
712
+ },
713
+ "active_risks": [
714
+ {
715
+ "risk_name": "Cardiogenic pulmonary edema",
716
+ "key_evidence": [
717
+ "100",
718
+ "81",
719
+ "Pre-ICU summary"
720
+ ]
721
+ },
722
+ {
723
+ "risk_name": "Cardiorenal syndrome",
724
+ "key_evidence": [
725
+ "88",
726
+ "105"
727
+ ]
728
+ }
729
+ ]
730
+ },
731
+ "action_review": {
732
+ "evaluations": [
733
+ {
734
+ "action_id": "104",
735
+ "action_name": "BODY_INPUT Nitroglycerin",
736
+ "label": "best_practice",
737
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
738
+ }
739
+ ],
740
+ "red_flags": [
741
+ {
742
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
743
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
744
+ "key_evidence": [
745
+ "100"
746
+ ]
747
+ }
748
+ ]
749
+ }
750
+ },
751
+ "sample_id": "scale/90000005_99000005/7.000000|7.500000",
752
+ "label_availability": {
753
+ "patient_status": true,
754
+ "recommended_action": true,
755
+ "active_risks": true,
756
+ "red_flags": true
757
+ },
758
+ "window_key": "7.000000|7.500000",
759
+ "window_duration_hours": 0.5
760
+ },
761
+ {
762
+ "window_index": 15,
763
+ "window_metadata": {
764
+ "window_start_time": "2128-05-31T01:18:33",
765
+ "window_end_time": "2128-05-31T01:48:33",
766
+ "hours_since_admission": 7.5,
767
+ "current_window_hours": 0.5,
768
+ "num_current_events": 3
769
+ },
770
+ "reference_labels": {
771
+ "patient_assessment": {
772
+ "overall": {
773
+ "label": "stable",
774
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 79 mmHg, HR 93 bpm, SpO2 92%; latest ntprobnp 14701."
775
+ },
776
+ "active_risks": [
777
+ {
778
+ "risk_name": "Cardiogenic pulmonary edema",
779
+ "key_evidence": [
780
+ "108",
781
+ "81",
782
+ "Pre-ICU summary"
783
+ ]
784
+ },
785
+ {
786
+ "risk_name": "Cardiorenal syndrome",
787
+ "key_evidence": [
788
+ "88",
789
+ "105"
790
+ ]
791
+ }
792
+ ]
793
+ },
794
+ "action_review": {
795
+ "evaluations": [],
796
+ "red_flags": [
797
+ {
798
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
799
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
800
+ "key_evidence": [
801
+ "108"
802
+ ]
803
+ }
804
+ ]
805
+ }
806
+ },
807
+ "sample_id": "scale/90000005_99000005/7.500000|8.000000",
808
+ "label_availability": {
809
+ "patient_status": true,
810
+ "recommended_action": true,
811
+ "active_risks": true,
812
+ "red_flags": true
813
+ },
814
+ "window_key": "7.500000|8.000000",
815
+ "window_duration_hours": 0.5
816
+ },
817
+ {
818
+ "window_index": 16,
819
+ "window_metadata": {
820
+ "window_start_time": "2128-05-31T01:48:33",
821
+ "window_end_time": "2128-05-31T02:18:33",
822
+ "hours_since_admission": 8.0,
823
+ "current_window_hours": 0.5,
824
+ "num_current_events": 11
825
+ },
826
+ "reference_labels": {
827
+ "patient_assessment": {
828
+ "overall": {
829
+ "label": "stable",
830
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 78 mmHg, HR 93 bpm, SpO2 95%; latest ntprobnp 14701."
831
+ },
832
+ "active_risks": [
833
+ {
834
+ "risk_name": "Cardiogenic pulmonary edema",
835
+ "key_evidence": [
836
+ "111",
837
+ "81",
838
+ "Pre-ICU summary"
839
+ ]
840
+ },
841
+ {
842
+ "risk_name": "Cardiorenal syndrome",
843
+ "key_evidence": [
844
+ "88",
845
+ "119"
846
+ ]
847
+ }
848
+ ]
849
+ },
850
+ "action_review": {
851
+ "evaluations": [
852
+ {
853
+ "action_id": "116",
854
+ "action_name": "Head of Bed 30 Degrees",
855
+ "label": "acceptable",
856
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Oxygenation is stable with a modest diuretic response."
857
+ },
858
+ {
859
+ "action_id": "118",
860
+ "action_name": "BODY_INPUT Nitroglycerin",
861
+ "label": "best_practice",
862
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
863
+ }
864
+ ],
865
+ "red_flags": [
866
+ {
867
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
868
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
869
+ "key_evidence": [
870
+ "111"
871
+ ]
872
+ }
873
+ ]
874
+ }
875
+ },
876
+ "sample_id": "scale/90000005_99000005/8.000000|8.500000",
877
+ "label_availability": {
878
+ "patient_status": true,
879
+ "recommended_action": true,
880
+ "active_risks": true,
881
+ "red_flags": true
882
+ },
883
+ "window_key": "8.000000|8.500000",
884
+ "window_duration_hours": 0.5
885
+ },
886
+ {
887
+ "window_index": 17,
888
+ "window_metadata": {
889
+ "window_start_time": "2128-05-31T02:18:33",
890
+ "window_end_time": "2128-05-31T02:48:33",
891
+ "hours_since_admission": 8.5,
892
+ "current_window_hours": 0.5,
893
+ "num_current_events": 3
894
+ },
895
+ "reference_labels": {
896
+ "patient_assessment": {
897
+ "overall": {
898
+ "label": "stable",
899
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 79 mmHg, HR 91 bpm, SpO2 94%; latest ntprobnp 14701."
900
+ },
901
+ "active_risks": [
902
+ {
903
+ "risk_name": "Cardiogenic pulmonary edema",
904
+ "key_evidence": [
905
+ "122",
906
+ "81",
907
+ "Pre-ICU summary"
908
+ ]
909
+ },
910
+ {
911
+ "risk_name": "Cardiorenal syndrome",
912
+ "key_evidence": [
913
+ "88",
914
+ "119"
915
+ ]
916
+ }
917
+ ]
918
+ },
919
+ "action_review": {
920
+ "evaluations": [],
921
+ "red_flags": [
922
+ {
923
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
924
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
925
+ "key_evidence": [
926
+ "122"
927
+ ]
928
+ }
929
+ ]
930
+ }
931
+ },
932
+ "sample_id": "scale/90000005_99000005/8.500000|9.000000",
933
+ "label_availability": {
934
+ "patient_status": true,
935
+ "recommended_action": true,
936
+ "active_risks": true,
937
+ "red_flags": true
938
+ },
939
+ "window_key": "8.500000|9.000000",
940
+ "window_duration_hours": 0.5
941
+ },
942
+ {
943
+ "window_index": 18,
944
+ "window_metadata": {
945
+ "window_start_time": "2128-05-31T02:48:33",
946
+ "window_end_time": "2128-05-31T03:18:33",
947
+ "hours_since_admission": 9.0,
948
+ "current_window_hours": 0.5,
949
+ "num_current_events": 8
950
+ },
951
+ "reference_labels": {
952
+ "patient_assessment": {
953
+ "overall": {
954
+ "label": "stable",
955
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 78 mmHg, HR 95 bpm, SpO2 94%; latest ntprobnp 14701."
956
+ },
957
+ "active_risks": [
958
+ {
959
+ "risk_name": "Cardiogenic pulmonary edema",
960
+ "key_evidence": [
961
+ "125",
962
+ "81",
963
+ "Pre-ICU summary"
964
+ ]
965
+ },
966
+ {
967
+ "risk_name": "Cardiorenal syndrome",
968
+ "key_evidence": [
969
+ "88",
970
+ "130"
971
+ ]
972
+ }
973
+ ]
974
+ },
975
+ "action_review": {
976
+ "evaluations": [
977
+ {
978
+ "action_id": "129",
979
+ "action_name": "BODY_INPUT Nitroglycerin",
980
+ "label": "best_practice",
981
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
982
+ }
983
+ ],
984
+ "red_flags": [
985
+ {
986
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
987
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
988
+ "key_evidence": [
989
+ "125"
990
+ ]
991
+ }
992
+ ]
993
+ }
994
+ },
995
+ "sample_id": "scale/90000005_99000005/9.000000|9.500000",
996
+ "label_availability": {
997
+ "patient_status": true,
998
+ "recommended_action": true,
999
+ "active_risks": true,
1000
+ "red_flags": true
1001
+ },
1002
+ "window_key": "9.000000|9.500000",
1003
+ "window_duration_hours": 0.5
1004
+ },
1005
+ {
1006
+ "window_index": 20,
1007
+ "window_metadata": {
1008
+ "window_start_time": "2128-05-31T03:48:33",
1009
+ "window_end_time": "2128-05-31T04:18:33",
1010
+ "hours_since_admission": 10.0,
1011
+ "current_window_hours": 0.5,
1012
+ "num_current_events": 8
1013
+ },
1014
+ "reference_labels": {
1015
+ "patient_assessment": {
1016
+ "overall": {
1017
+ "label": "stable",
1018
+ "rationale": "Oxygenation is stable with a modest diuretic response. Current window: MAP 72 mmHg, HR 92 bpm, SpO2 90%; latest ntprobnp 14701."
1019
+ },
1020
+ "active_risks": [
1021
+ {
1022
+ "risk_name": "Cardiorenal syndrome",
1023
+ "key_evidence": [
1024
+ "88",
1025
+ "141"
1026
+ ]
1027
+ }
1028
+ ]
1029
+ },
1030
+ "action_review": {
1031
+ "evaluations": [
1032
+ {
1033
+ "action_id": "140",
1034
+ "action_name": "BODY_INPUT Nitroglycerin",
1035
+ "label": "best_practice",
1036
+ "rationale": "Nitroglycerin is appropriate for acute decompensated heart failure with pulmonary edema."
1037
+ }
1038
+ ],
1039
+ "red_flags": [
1040
+ {
1041
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1042
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1043
+ "key_evidence": [
1044
+ "136"
1045
+ ]
1046
+ }
1047
+ ]
1048
+ }
1049
+ },
1050
+ "sample_id": "scale/90000005_99000005/10.000000|10.500000",
1051
+ "label_availability": {
1052
+ "patient_status": true,
1053
+ "recommended_action": true,
1054
+ "active_risks": true,
1055
+ "red_flags": true
1056
+ },
1057
+ "window_key": "10.000000|10.500000",
1058
+ "window_duration_hours": 0.5
1059
+ },
1060
+ {
1061
+ "window_index": 21,
1062
+ "window_metadata": {
1063
+ "window_start_time": "2128-05-31T04:18:33",
1064
+ "window_end_time": "2128-05-31T04:48:33",
1065
+ "hours_since_admission": 10.5,
1066
+ "current_window_hours": 0.5,
1067
+ "num_current_events": 3
1068
+ },
1069
+ "reference_labels": {
1070
+ "patient_assessment": {
1071
+ "overall": {
1072
+ "label": "deteriorating",
1073
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 72 mmHg, HR 95 bpm, SpO2 93%; latest ntprobnp 14701."
1074
+ },
1075
+ "active_risks": [
1076
+ {
1077
+ "risk_name": "Cardiorenal syndrome",
1078
+ "key_evidence": [
1079
+ "88",
1080
+ "141"
1081
+ ]
1082
+ },
1083
+ {
1084
+ "risk_name": "Cardiogenic shock",
1085
+ "key_evidence": [
1086
+ "143",
1087
+ "92"
1088
+ ]
1089
+ }
1090
+ ]
1091
+ },
1092
+ "action_review": {
1093
+ "evaluations": [],
1094
+ "red_flags": [
1095
+ {
1096
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1097
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1098
+ "key_evidence": [
1099
+ "144"
1100
+ ]
1101
+ },
1102
+ {
1103
+ "contraindicated_action": "Beta-blocker uptitration",
1104
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1105
+ "key_evidence": [
1106
+ "143"
1107
+ ]
1108
+ }
1109
+ ]
1110
+ }
1111
+ },
1112
+ "sample_id": "scale/90000005_99000005/10.500000|11.000000",
1113
+ "label_availability": {
1114
+ "patient_status": true,
1115
+ "recommended_action": true,
1116
+ "active_risks": true,
1117
+ "red_flags": true
1118
+ },
1119
+ "window_key": "10.500000|11.000000",
1120
+ "window_duration_hours": 0.5
1121
+ },
1122
+ {
1123
+ "window_index": 22,
1124
+ "window_metadata": {
1125
+ "window_start_time": "2128-05-31T04:48:33",
1126
+ "window_end_time": "2128-05-31T05:18:33",
1127
+ "hours_since_admission": 11.0,
1128
+ "current_window_hours": 0.5,
1129
+ "num_current_events": 7
1130
+ },
1131
+ "reference_labels": {
1132
+ "patient_assessment": {
1133
+ "overall": {
1134
+ "label": "deteriorating",
1135
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 70 mmHg, HR 97 bpm, SpO2 93%; latest ntprobnp 14701."
1136
+ },
1137
+ "active_risks": [
1138
+ {
1139
+ "risk_name": "Cardiorenal syndrome",
1140
+ "key_evidence": [
1141
+ "88",
1142
+ "151"
1143
+ ]
1144
+ },
1145
+ {
1146
+ "risk_name": "Cardiogenic shock",
1147
+ "key_evidence": [
1148
+ "146",
1149
+ "92"
1150
+ ]
1151
+ }
1152
+ ]
1153
+ },
1154
+ "action_review": {
1155
+ "evaluations": [],
1156
+ "red_flags": [
1157
+ {
1158
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1159
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1160
+ "key_evidence": [
1161
+ "147"
1162
+ ]
1163
+ },
1164
+ {
1165
+ "contraindicated_action": "Beta-blocker uptitration",
1166
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1167
+ "key_evidence": [
1168
+ "146"
1169
+ ]
1170
+ }
1171
+ ]
1172
+ }
1173
+ },
1174
+ "sample_id": "scale/90000005_99000005/11.000000|11.500000",
1175
+ "label_availability": {
1176
+ "patient_status": true,
1177
+ "recommended_action": true,
1178
+ "active_risks": true,
1179
+ "red_flags": true
1180
+ },
1181
+ "window_key": "11.000000|11.500000",
1182
+ "window_duration_hours": 0.5
1183
+ },
1184
+ {
1185
+ "window_index": 23,
1186
+ "window_metadata": {
1187
+ "window_start_time": "2128-05-31T05:18:33",
1188
+ "window_end_time": "2128-05-31T05:48:33",
1189
+ "hours_since_admission": 11.5,
1190
+ "current_window_hours": 0.5,
1191
+ "num_current_events": 4
1192
+ },
1193
+ "reference_labels": {
1194
+ "patient_assessment": {
1195
+ "overall": {
1196
+ "label": "deteriorating",
1197
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 69 mmHg, HR 100 bpm, SpO2 92%; latest ntprobnp 14701."
1198
+ },
1199
+ "active_risks": [
1200
+ {
1201
+ "risk_name": "Cardiorenal syndrome",
1202
+ "key_evidence": [
1203
+ "88",
1204
+ "151"
1205
+ ]
1206
+ },
1207
+ {
1208
+ "risk_name": "Cardiogenic shock",
1209
+ "key_evidence": [
1210
+ "154",
1211
+ "92"
1212
+ ]
1213
+ }
1214
+ ]
1215
+ },
1216
+ "action_review": {
1217
+ "evaluations": [
1218
+ {
1219
+ "action_id": "152",
1220
+ "action_name": "BODY_INPUT NaCl 0.9%",
1221
+ "label": "potentially_harmful",
1222
+ "rationale": "A fluid bolus in cardiogenic pulmonary edema is likely to worsen oxygenation."
1223
+ }
1224
+ ],
1225
+ "red_flags": [
1226
+ {
1227
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1228
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1229
+ "key_evidence": [
1230
+ "155"
1231
+ ]
1232
+ },
1233
+ {
1234
+ "contraindicated_action": "Beta-blocker uptitration",
1235
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1236
+ "key_evidence": [
1237
+ "154"
1238
+ ]
1239
+ }
1240
+ ]
1241
+ }
1242
+ },
1243
+ "sample_id": "scale/90000005_99000005/11.500000|12.000000",
1244
+ "label_availability": {
1245
+ "patient_status": true,
1246
+ "recommended_action": true,
1247
+ "active_risks": true,
1248
+ "red_flags": true
1249
+ },
1250
+ "window_key": "11.500000|12.000000",
1251
+ "window_duration_hours": 0.5
1252
+ },
1253
+ {
1254
+ "window_index": 24,
1255
+ "window_metadata": {
1256
+ "window_start_time": "2128-05-31T05:48:33",
1257
+ "window_end_time": "2128-05-31T06:18:33",
1258
+ "hours_since_admission": 12.0,
1259
+ "current_window_hours": 0.5,
1260
+ "num_current_events": 16
1261
+ },
1262
+ "reference_labels": {
1263
+ "patient_assessment": {
1264
+ "overall": {
1265
+ "label": "deteriorating",
1266
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 67 mmHg, HR 100 bpm, SpO2 92%; latest ntprobnp 14472.3."
1267
+ },
1268
+ "active_risks": [
1269
+ {
1270
+ "risk_name": "Cardiorenal syndrome",
1271
+ "key_evidence": [
1272
+ "166",
1273
+ "170"
1274
+ ]
1275
+ },
1276
+ {
1277
+ "risk_name": "Cardiogenic shock",
1278
+ "key_evidence": [
1279
+ "157",
1280
+ "169"
1281
+ ]
1282
+ }
1283
+ ]
1284
+ },
1285
+ "action_review": {
1286
+ "evaluations": [
1287
+ {
1288
+ "action_id": "163",
1289
+ "action_name": "Head of Bed 30 Degrees",
1290
+ "label": "acceptable",
1291
+ "rationale": "Head of Bed is reasonable monitoring or support in this context. Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock."
1292
+ },
1293
+ {
1294
+ "action_id": "165",
1295
+ "action_name": "LAB_TEST NTproBNP",
1296
+ "label": "acceptable",
1297
+ "rationale": "NTproBNP is reasonable monitoring or support in this context. Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock."
1298
+ },
1299
+ {
1300
+ "action_id": "166",
1301
+ "action_name": "LAB_TEST Creatinine",
1302
+ "label": "acceptable",
1303
+ "rationale": "Creatinine is reasonable monitoring or support in this context. Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock."
1304
+ },
1305
+ {
1306
+ "action_id": "171",
1307
+ "action_name": "Dobutamine",
1308
+ "label": "best_practice",
1309
+ "rationale": "Dobutamine is appropriate for acute decompensated heart failure with pulmonary edema."
1310
+ }
1311
+ ],
1312
+ "red_flags": [
1313
+ {
1314
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1315
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1316
+ "key_evidence": [
1317
+ "158"
1318
+ ]
1319
+ },
1320
+ {
1321
+ "contraindicated_action": "Beta-blocker uptitration",
1322
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1323
+ "key_evidence": [
1324
+ "157"
1325
+ ]
1326
+ }
1327
+ ]
1328
+ }
1329
+ },
1330
+ "sample_id": "scale/90000005_99000005/12.000000|12.500000",
1331
+ "label_availability": {
1332
+ "patient_status": true,
1333
+ "recommended_action": true,
1334
+ "active_risks": true,
1335
+ "red_flags": true
1336
+ },
1337
+ "window_key": "12.000000|12.500000",
1338
+ "window_duration_hours": 0.5
1339
+ },
1340
+ {
1341
+ "window_index": 25,
1342
+ "window_metadata": {
1343
+ "window_start_time": "2128-05-31T06:18:33",
1344
+ "window_end_time": "2128-05-31T06:48:33",
1345
+ "hours_since_admission": 12.5,
1346
+ "current_window_hours": 0.5,
1347
+ "num_current_events": 4
1348
+ },
1349
+ "reference_labels": {
1350
+ "patient_assessment": {
1351
+ "overall": {
1352
+ "label": "deteriorating",
1353
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 67 mmHg, HR 105 bpm, SpO2 91%; latest ntprobnp 14472.3."
1354
+ },
1355
+ "active_risks": [
1356
+ {
1357
+ "risk_name": "Cardiorenal syndrome",
1358
+ "key_evidence": [
1359
+ "166",
1360
+ "170"
1361
+ ]
1362
+ },
1363
+ {
1364
+ "risk_name": "Cardiogenic shock",
1365
+ "key_evidence": [
1366
+ "173",
1367
+ "169"
1368
+ ]
1369
+ }
1370
+ ]
1371
+ },
1372
+ "action_review": {
1373
+ "evaluations": [],
1374
+ "red_flags": [
1375
+ {
1376
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1377
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1378
+ "key_evidence": [
1379
+ "174"
1380
+ ]
1381
+ },
1382
+ {
1383
+ "contraindicated_action": "Beta-blocker uptitration",
1384
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1385
+ "key_evidence": [
1386
+ "173"
1387
+ ]
1388
+ }
1389
+ ]
1390
+ }
1391
+ },
1392
+ "sample_id": "scale/90000005_99000005/12.500000|13.000000",
1393
+ "label_availability": {
1394
+ "patient_status": true,
1395
+ "recommended_action": true,
1396
+ "active_risks": true,
1397
+ "red_flags": true
1398
+ },
1399
+ "window_key": "12.500000|13.000000",
1400
+ "window_duration_hours": 0.5
1401
+ },
1402
+ {
1403
+ "window_index": 27,
1404
+ "window_metadata": {
1405
+ "window_start_time": "2128-05-31T07:18:33",
1406
+ "window_end_time": "2128-05-31T07:48:33",
1407
+ "hours_since_admission": 13.5,
1408
+ "current_window_hours": 0.5,
1409
+ "num_current_events": 3
1410
+ },
1411
+ "reference_labels": {
1412
+ "patient_assessment": {
1413
+ "overall": {
1414
+ "label": "deteriorating",
1415
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 64 mmHg, HR 107 bpm, SpO2 91%; latest ntprobnp 14472.3."
1416
+ },
1417
+ "active_risks": [
1418
+ {
1419
+ "risk_name": "Cardiorenal syndrome",
1420
+ "key_evidence": [
1421
+ "166",
1422
+ "183"
1423
+ ]
1424
+ },
1425
+ {
1426
+ "risk_name": "Cardiogenic shock",
1427
+ "key_evidence": [
1428
+ "185",
1429
+ "169"
1430
+ ]
1431
+ }
1432
+ ]
1433
+ },
1434
+ "action_review": {
1435
+ "evaluations": [],
1436
+ "red_flags": [
1437
+ {
1438
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1439
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1440
+ "key_evidence": [
1441
+ "186"
1442
+ ]
1443
+ },
1444
+ {
1445
+ "contraindicated_action": "Beta-blocker uptitration",
1446
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1447
+ "key_evidence": [
1448
+ "185"
1449
+ ]
1450
+ }
1451
+ ]
1452
+ }
1453
+ },
1454
+ "sample_id": "scale/90000005_99000005/13.500000|14.000000",
1455
+ "label_availability": {
1456
+ "patient_status": true,
1457
+ "recommended_action": true,
1458
+ "active_risks": true,
1459
+ "red_flags": true
1460
+ },
1461
+ "window_key": "13.500000|14.000000",
1462
+ "window_duration_hours": 0.5
1463
+ },
1464
+ {
1465
+ "window_index": 28,
1466
+ "window_metadata": {
1467
+ "window_start_time": "2128-05-31T07:48:33",
1468
+ "window_end_time": "2128-05-31T08:18:33",
1469
+ "hours_since_admission": 14.0,
1470
+ "current_window_hours": 0.5,
1471
+ "num_current_events": 7
1472
+ },
1473
+ "reference_labels": {
1474
+ "patient_assessment": {
1475
+ "overall": {
1476
+ "label": "deteriorating",
1477
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 65 mmHg, HR 106 bpm, SpO2 91%; latest ntprobnp 14472.3."
1478
+ },
1479
+ "active_risks": [
1480
+ {
1481
+ "risk_name": "Cardiorenal syndrome",
1482
+ "key_evidence": [
1483
+ "166",
1484
+ "193"
1485
+ ]
1486
+ },
1487
+ {
1488
+ "risk_name": "Cardiogenic shock",
1489
+ "key_evidence": [
1490
+ "188",
1491
+ "169"
1492
+ ]
1493
+ }
1494
+ ]
1495
+ },
1496
+ "action_review": {
1497
+ "evaluations": [],
1498
+ "red_flags": [
1499
+ {
1500
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1501
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1502
+ "key_evidence": [
1503
+ "189"
1504
+ ]
1505
+ },
1506
+ {
1507
+ "contraindicated_action": "Beta-blocker uptitration",
1508
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1509
+ "key_evidence": [
1510
+ "188"
1511
+ ]
1512
+ }
1513
+ ]
1514
+ }
1515
+ },
1516
+ "sample_id": "scale/90000005_99000005/14.000000|14.500000",
1517
+ "label_availability": {
1518
+ "patient_status": true,
1519
+ "recommended_action": true,
1520
+ "active_risks": true,
1521
+ "red_flags": true
1522
+ },
1523
+ "window_key": "14.000000|14.500000",
1524
+ "window_duration_hours": 0.5
1525
+ },
1526
+ {
1527
+ "window_index": 29,
1528
+ "window_metadata": {
1529
+ "window_start_time": "2128-05-31T08:18:33",
1530
+ "window_end_time": "2128-05-31T08:42:33",
1531
+ "hours_since_admission": 14.5,
1532
+ "current_window_hours": 0.5,
1533
+ "num_current_events": 3
1534
+ },
1535
+ "reference_labels": {
1536
+ "patient_assessment": {
1537
+ "overall": {
1538
+ "label": "deteriorating",
1539
+ "rationale": "Falling MAP, rising lactate, and low urine output indicate evolving cardiogenic shock. Current window: MAP 61 mmHg, HR 111 bpm, SpO2 88%; latest ntprobnp 14472.3."
1540
+ },
1541
+ "active_risks": [
1542
+ {
1543
+ "risk_name": "Cardiorenal syndrome",
1544
+ "key_evidence": [
1545
+ "166",
1546
+ "193"
1547
+ ]
1548
+ },
1549
+ {
1550
+ "risk_name": "Cardiogenic shock",
1551
+ "key_evidence": [
1552
+ "195",
1553
+ "169"
1554
+ ]
1555
+ }
1556
+ ]
1557
+ },
1558
+ "action_review": {
1559
+ "evaluations": [],
1560
+ "red_flags": [
1561
+ {
1562
+ "contraindicated_action": "Large-volume intravenous fluid boluses",
1563
+ "rationale": "Pulmonary edema and elevated filling pressures make fluid boluses harmful.",
1564
+ "key_evidence": [
1565
+ "196"
1566
+ ]
1567
+ },
1568
+ {
1569
+ "contraindicated_action": "Beta-blocker uptitration",
1570
+ "rationale": "Beta-blockers worsen low-output heart failure during decompensation.",
1571
+ "key_evidence": [
1572
+ "195"
1573
+ ]
1574
+ }
1575
+ ]
1576
+ }
1577
+ },
1578
+ "sample_id": "scale/90000005_99000005/14.500000|15.000000",
1579
+ "label_availability": {
1580
+ "patient_status": true,
1581
+ "recommended_action": true,
1582
+ "active_risks": true,
1583
+ "red_flags": true
1584
+ },
1585
+ "window_key": "14.500000|15.000000",
1586
+ "window_duration_hours": 0.5
1587
+ }
1588
+ ],
1589
+ "stay_id": "90000005_99000005"
1590
+ }
trajectories/events.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a72f1b94070651eb64f7abeb87ec8fa82da4b493ac46f0a8336fccfb6fbe2a09
3
+ size 69778
trajectories/icu_stay.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:908e974eb70772cfa0712cff50def7e0feb5394542cb685c207edc8c4b9641cc
3
+ size 12883