Datasets:

Modalities:
Tabular
Text
Formats:
parquet
License:
tkbarb10 commited on
Commit
8ac78ab
·
verified ·
1 Parent(s): f8e742c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +664 -664
README.md CHANGED
@@ -1,664 +1,664 @@
1
- ---
2
- license: other
3
- license_name: physionet-credentialed-health-data-1.5.0
4
- license_link: https://physionet.org/content/mimiciv/view-license/3.1/
5
- pretty_name: ADS599 Capstone Modeling Data — Empty Patient State
6
- dataset_info:
7
- - config_name: all_med_actions
8
- features:
9
- - name: ed_stay_id
10
- dtype: float64
11
- - name: subject_id
12
- dtype: int64
13
- - name: charttime
14
- dtype: timestamp[ns]
15
- - name: minutes_into_stay
16
- dtype: float64
17
- - name: drug_class
18
- dtype: string
19
- - name: action_idx
20
- dtype: int64
21
- - name: source
22
- dtype: string
23
- splits:
24
- - name: all_med_actions
25
- num_bytes: 93408141
26
- num_examples: 1235609
27
- download_size: 16415454
28
- dataset_size: 93408141
29
- - config_name: combined_medication_features
30
- features:
31
- - name: ed_stay_id
32
- dtype: int64
33
- - name: subject_id
34
- dtype: int64
35
- - name: recon_ace_inhibitor
36
- dtype: uint8
37
- - name: recon_analgesic___nsaid
38
- dtype: uint8
39
- - name: recon_analgesic___opioid_nsaid
40
- dtype: uint8
41
- - name: recon_antiarrhythmic
42
- dtype: uint8
43
- - name: recon_antibiotic
44
- dtype: uint8
45
- - name: recon_anticoagulant
46
- dtype: uint8
47
- - name: recon_anticonvulsant
48
- dtype: uint8
49
- - name: recon_antiemetic
50
- dtype: uint8
51
- - name: recon_antiplatelet
52
- dtype: uint8
53
- - name: recon_antipsychotic
54
- dtype: uint8
55
- - name: recon_benzodiazepine___sedative_anxiolytic
56
- dtype: uint8
57
- - name: recon_beta_blocker
58
- dtype: uint8
59
- - name: recon_bronchodilator
60
- dtype: uint8
61
- - name: recon_calcium_channel_blocker
62
- dtype: uint8
63
- - name: recon_corticosteroid
64
- dtype: uint8
65
- - name: recon_diuretic
66
- dtype: uint8
67
- - name: recon_gi___acid_suppression
68
- dtype: uint8
69
- - name: recon_insulin_glucose
70
- dtype: uint8
71
- - name: recon_nitrate
72
- dtype: uint8
73
- - name: recon_n_total_meds
74
- dtype: uint16
75
- - name: recon_n_drug_classes
76
- dtype: uint8
77
- - name: edmeds_ace_inhibitor
78
- dtype: uint8
79
- - name: edmeds_analgesic___acetaminophen
80
- dtype: uint8
81
- - name: edmeds_analgesic___nsaid
82
- dtype: uint8
83
- - name: edmeds_analgesic___opioid_nsaid
84
- dtype: uint8
85
- - name: edmeds_antiarrhythmic
86
- dtype: uint8
87
- - name: edmeds_antibiotic
88
- dtype: uint8
89
- - name: edmeds_anticoagulant
90
- dtype: uint8
91
- - name: edmeds_anticonvulsant
92
- dtype: uint8
93
- - name: edmeds_antiemetic
94
- dtype: uint8
95
- - name: edmeds_antiplatelet
96
- dtype: uint8
97
- - name: edmeds_antipsychotic
98
- dtype: uint8
99
- - name: edmeds_benzodiazepine___sedative_anxiolytic
100
- dtype: uint8
101
- - name: edmeds_beta_blocker
102
- dtype: uint8
103
- - name: edmeds_bronchodilator
104
- dtype: uint8
105
- - name: edmeds_calcium_channel_blocker
106
- dtype: uint8
107
- - name: edmeds_corticosteroid
108
- dtype: uint8
109
- - name: edmeds_diuretic
110
- dtype: uint8
111
- - name: edmeds_gi___acid_suppression
112
- dtype: uint8
113
- - name: edmeds_iv_fluid
114
- dtype: uint8
115
- - name: edmeds_insulin_glucose
116
- dtype: uint8
117
- - name: edmeds_nitrate
118
- dtype: uint8
119
- - name: edmeds_other
120
- dtype: uint8
121
- - name: edmeds_n_dispenses
122
- dtype: uint16
123
- - name: edmeds_n_drug_classes
124
- dtype: uint8
125
- splits:
126
- - name: med_only
127
- num_bytes: 25173099
128
- num_examples: 399573
129
- download_size: 6049182
130
- dataset_size: 25173099
131
- - config_name: ecg_features
132
- features:
133
- - name: subject_id
134
- dtype: int64
135
- - name: stay_id
136
- dtype: int64
137
- - name: hadm_id
138
- dtype: int64
139
- - name: ecg_time
140
- dtype: timestamp[us, tz=UTC]
141
- - name: ecg_acuity
142
- dtype: int64
143
- splits:
144
- - name: ecg_features
145
- num_bytes: 5892276
146
- num_examples: 146848
147
- download_size: 3971052
148
- dataset_size: 5892276
149
- - config_name: ed_meds_timestep
150
- features:
151
- - name: ed_stay_id
152
- dtype: float64
153
- - name: subject_id
154
- dtype: int64
155
- - name: charttime
156
- dtype: timestamp[ns]
157
- - name: minutes_into_stay
158
- dtype: float64
159
- - name: drug_class
160
- dtype: string
161
- - name: action_idx
162
- dtype: int64
163
- - name: source
164
- dtype: string
165
- - name: __index_level_0__
166
- dtype: int64
167
- splits:
168
- - name: ed_meds_timestep
169
- num_bytes: 27076675
170
- num_examples: 323190
171
- download_size: 7130448
172
- dataset_size: 27076675
173
- - config_name: empty_patient_state
174
- features:
175
- - name: subject_id
176
- dtype: int64
177
- - name: ed_stay_id
178
- dtype: int64
179
- - name: hadm_id
180
- dtype: float64
181
- - name: time_steps
182
- dtype: int64
183
- splits:
184
- - name: empty_patient_state
185
- num_bytes: 4324549602
186
- num_examples: 134616330
187
- download_size: 11217914
188
- dataset_size: 4324549602
189
- - config_name: full_patient_state
190
- features:
191
- - name: ed_stay_id
192
- dtype: int64
193
- - name: subject_id
194
- dtype: int64
195
- - name: hadm_id
196
- dtype: float64
197
- - name: time
198
- dtype: timestamp[us]
199
- - name: Chemistry-Blood
200
- dtype: float64
201
- - name: Hematology-Blood
202
- dtype: float64
203
- - name: Hematology-Urine
204
- dtype: float64
205
- - name: Blood Gas-Blood
206
- dtype: float64
207
- - name: Chemistry-Urine
208
- dtype: float64
209
- - name: Chemistry-Other Body Fluid
210
- dtype: float64
211
- - name: Hematology-Cerebrospinal Fluid
212
- dtype: float64
213
- - name: Chemistry-Cerebrospinal Fluid
214
- dtype: float64
215
- - name: Hematology-Ascites
216
- dtype: float64
217
- - name: Chemistry-Ascites
218
- dtype: float64
219
- - name: Chemistry-Pleural
220
- dtype: float64
221
- - name: Hematology-Pleural
222
- dtype: float64
223
- - name: Hematology-Joint Fluid
224
- dtype: float64
225
- - name: Chemistry-Stool
226
- dtype: float64
227
- - name: Hematology-Other Body Fluid
228
- dtype: float64
229
- - name: Blood Gas-Other Body Fluid
230
- dtype: float64
231
- - name: Hematology-Bone Marrow
232
- dtype: float64
233
- - name: Hematology-Stool
234
- dtype: float64
235
- - name: Chemistry-Joint Fluid
236
- dtype: float64
237
- - name: URINE
238
- dtype: float64
239
- - name: Rapid Respiratory Viral Screen & Culture
240
- dtype: float64
241
- - name: PERITONEAL FLUID
242
- dtype: float64
243
- - name: BLOOD CULTURE
244
- dtype: float64
245
- - name: STOOL
246
- dtype: float64
247
- - name: OTHER
248
- dtype: float64
249
- - name: PLEURAL FLUID
250
- dtype: float64
251
- - name: TISSUE
252
- dtype: float64
253
- - name: SEROLOGY/BLOOD
254
- dtype: float64
255
- - name: IMMUNOLOGY
256
- dtype: float64
257
- - name: MRSA SCREEN
258
- dtype: float64
259
- - name: SWAB
260
- dtype: float64
261
- - name: JOINT FLUID
262
- dtype: float64
263
- - name: SPUTUM
264
- dtype: float64
265
- - name: FLUID,OTHER
266
- dtype: float64
267
- - name: ABSCESS
268
- dtype: float64
269
- - name: BRONCHOALVEOLAR LAVAGE
270
- dtype: float64
271
- - name: CSF;SPINAL FLUID
272
- dtype: float64
273
- - name: Blood (CMV AB)
274
- dtype: float64
275
- - name: Blood (EBV)
276
- dtype: float64
277
- - name: BILE
278
- dtype: float64
279
- - name: vitals_checked
280
- dtype: float64
281
- - name: current_temperature
282
- dtype: float64
283
- - name: current_heartrate
284
- dtype: float64
285
- - name: current_resprate
286
- dtype: float64
287
- - name: current_o2sat
288
- dtype: float64
289
- - name: current_sbp
290
- dtype: float64
291
- - name: current_dbp
292
- dtype: float64
293
- - name: current_pain
294
- dtype: large_string
295
- - name: current_pulse_pressure
296
- dtype: float64
297
- - name: current_map
298
- dtype: float64
299
- - name: time_since_last_hrs
300
- dtype: float64
301
- - name: temperature_rolling2h
302
- dtype: float64
303
- - name: temperature_delta
304
- dtype: float64
305
- - name: temperature_rate
306
- dtype: float64
307
- - name: heartrate_rolling2h
308
- dtype: float64
309
- - name: heartrate_delta
310
- dtype: float64
311
- - name: heartrate_rate
312
- dtype: float64
313
- - name: resprate_rolling2h
314
- dtype: float64
315
- - name: resprate_delta
316
- dtype: float64
317
- - name: resprate_rate
318
- dtype: float64
319
- - name: o2sat_rolling2h
320
- dtype: float64
321
- - name: o2sat_delta
322
- dtype: float64
323
- - name: o2sat_rate
324
- dtype: float64
325
- - name: sbp_rolling2h
326
- dtype: float64
327
- - name: sbp_delta
328
- dtype: float64
329
- - name: sbp_rate
330
- dtype: float64
331
- - name: dbp_rolling2h
332
- dtype: float64
333
- - name: dbp_delta
334
- dtype: float64
335
- - name: dbp_rate
336
- dtype: float64
337
- - name: Other
338
- dtype: float64
339
- - name: Analgesic - Opioid/NSAID
340
- dtype: float64
341
- - name: Antiemetic
342
- dtype: float64
343
- - name: Analgesic - Acetaminophen
344
- dtype: float64
345
- - name: Antibiotic
346
- dtype: float64
347
- - name: Benzodiazepine - Sedative/Anxiolytic
348
- dtype: float64
349
- - name: Analgesic - NSAID
350
- dtype: float64
351
- - name: Bronchodilator
352
- dtype: float64
353
- - name: Antiplatelet
354
- dtype: float64
355
- - name: GI - Acid Suppression
356
- dtype: float64
357
- - name: Corticosteroid
358
- dtype: float64
359
- - name: Beta Blocker
360
- dtype: float64
361
- - name: Diuretic
362
- dtype: float64
363
- - name: Antipsychotic
364
- dtype: float64
365
- - name: Anticoagulant
366
- dtype: float64
367
- - name: Insulin/Glucose
368
- dtype: float64
369
- - name: Calcium Channel Blocker
370
- dtype: float64
371
- - name: Nitrate
372
- dtype: float64
373
- - name: ACE Inhibitor
374
- dtype: float64
375
- - name: IV Fluid
376
- dtype: float64
377
- - name: Anticonvulsant
378
- dtype: float64
379
- - name: Antiarrhythmic
380
- dtype: float64
381
- - name: weight
382
- dtype: float64
383
- - name: ecg_status
384
- dtype: float64
385
- - name: rad_status
386
- dtype: float64
387
- - name: in_ed
388
- dtype: int64
389
- - name: in_ward
390
- dtype: int64
391
- - name: ed_boarding
392
- dtype: int64
393
- - name: terminal_event
394
- dtype: large_string
395
- - name: gender
396
- dtype: large_string
397
- - name: anchor_age
398
- dtype: int64
399
- - name: arrival_transport
400
- dtype: large_string
401
- - name: acuity
402
- dtype: decimal128(10, 9)
403
- - name: height
404
- dtype: float64
405
- - name: recon_ace_inhibitor
406
- dtype: uint8
407
- - name: recon_analgesic___nsaid
408
- dtype: uint8
409
- - name: recon_analgesic___opioid_nsaid
410
- dtype: uint8
411
- - name: recon_antiarrhythmic
412
- dtype: uint8
413
- - name: recon_antibiotic
414
- dtype: uint8
415
- - name: recon_anticoagulant
416
- dtype: uint8
417
- - name: recon_anticonvulsant
418
- dtype: uint8
419
- - name: recon_antiemetic
420
- dtype: uint8
421
- - name: recon_antiplatelet
422
- dtype: uint8
423
- - name: recon_antipsychotic
424
- dtype: uint8
425
- - name: recon_benzodiazepine___sedative_anxiolytic
426
- dtype: uint8
427
- - name: recon_beta_blocker
428
- dtype: uint8
429
- - name: recon_bronchodilator
430
- dtype: uint8
431
- - name: recon_calcium_channel_blocker
432
- dtype: uint8
433
- - name: recon_corticosteroid
434
- dtype: uint8
435
- - name: recon_diuretic
436
- dtype: uint8
437
- - name: recon_gi___acid_suppression
438
- dtype: uint8
439
- - name: recon_insulin_glucose
440
- dtype: uint8
441
- - name: recon_nitrate
442
- dtype: uint8
443
- - name: admission_type
444
- dtype: large_string
445
- splits:
446
- - name: full_patient_state
447
- num_bytes: 6238206732
448
- num_examples: 6551723
449
- download_size: 143234905
450
- dataset_size: 6238206732
451
- - config_name: meds_admitted_er_actions
452
- features:
453
- - name: subject_id
454
- dtype: int64
455
- - name: stay_id
456
- dtype: int64
457
- - name: hadm_id
458
- dtype: float64
459
- - name: pyxis_charttime
460
- dtype: timestamp[ns, tz=UTC]
461
- - name: pyxis_med_rn
462
- dtype: float64
463
- - name: pyxis_medication
464
- dtype: string
465
- - name: emar_id
466
- dtype: 'null'
467
- - name: emar_charttime
468
- dtype: timestamp[ns, tz=UTC]
469
- - name: emar_medication
470
- dtype: 'null'
471
- - name: event_txt
472
- dtype: 'null'
473
- - name: scheduletime
474
- dtype: 'null'
475
- - name: in_er
476
- dtype: bool
477
- - name: medication
478
- dtype: string
479
- - name: drug_class
480
- dtype: string
481
- - name: action_time
482
- dtype: timestamp[ns]
483
- - name: ed_stay_id
484
- dtype: float64
485
- - name: ed_intime
486
- dtype: timestamp[ns]
487
- - name: minutes_into_stay
488
- dtype: float64
489
- - name: action_idx
490
- dtype: int64
491
- - name: __index_level_0__
492
- dtype: int64
493
- splits:
494
- - name: adm_er_clean
495
- num_bytes: 148079076
496
- num_examples: 912419
497
- download_size: 29150917
498
- dataset_size: 148079076
499
- - config_name: radiology_features
500
- features:
501
- - name: subject_id
502
- dtype: int64
503
- - name: stay_id
504
- dtype: int64
505
- - name: hadm_id
506
- dtype: int64
507
- - name: exam_time
508
- dtype: timestamp[us, tz=UTC]
509
- - name: rad_acuity_level
510
- dtype: int64
511
- splits:
512
- - name: radiology_features
513
- num_bytes: 10408947
514
- num_examples: 259413
515
- download_size: 6821015
516
- dataset_size: 10408947
517
- - config_name: vitals
518
- features:
519
- - name: ed_stay_id
520
- dtype: int64
521
- - name: subject_id
522
- dtype: int64
523
- - name: charttime
524
- dtype: timestamp[us]
525
- - name: temperature
526
- dtype: float64
527
- - name: heartrate
528
- dtype: float64
529
- - name: resprate
530
- dtype: float64
531
- - name: o2sat
532
- dtype: float64
533
- - name: sbp
534
- dtype: float64
535
- - name: dbp
536
- dtype: float64
537
- - name: pain
538
- dtype: large_string
539
- - name: time_since_last_hrs
540
- dtype: float64
541
- - name: temperature_rolling2h
542
- dtype: float64
543
- - name: temperature_delta
544
- dtype: float64
545
- - name: temperature_rate
546
- dtype: float64
547
- - name: heartrate_rolling2h
548
- dtype: float64
549
- - name: heartrate_delta
550
- dtype: float64
551
- - name: heartrate_rate
552
- dtype: float64
553
- - name: resprate_rolling2h
554
- dtype: float64
555
- - name: resprate_delta
556
- dtype: float64
557
- - name: resprate_rate
558
- dtype: float64
559
- - name: o2sat_rolling2h
560
- dtype: float64
561
- - name: o2sat_delta
562
- dtype: float64
563
- - name: o2sat_rate
564
- dtype: float64
565
- - name: sbp_rolling2h
566
- dtype: float64
567
- - name: sbp_delta
568
- dtype: float64
569
- - name: sbp_rate
570
- dtype: float64
571
- - name: dbp_rolling2h
572
- dtype: float64
573
- - name: dbp_delta
574
- dtype: float64
575
- - name: dbp_rate
576
- dtype: float64
577
- - name: pulse_pressure
578
- dtype: float64
579
- - name: map
580
- dtype: float64
581
- splits:
582
- - name: vitals
583
- num_bytes: 479613448
584
- num_examples: 1893713
585
- download_size: 84005509
586
- dataset_size: 479613448
587
- configs:
588
- - config_name: all_med_actions
589
- data_files:
590
- - split: all_med_actions
591
- path: modeling_data/all_med_actions-*
592
- - config_name: combined_medication_features
593
- data_files:
594
- - split: med_only
595
- path: modeling_data/med_only-*
596
- - config_name: ecg_features
597
- data_files:
598
- - split: ecg_features
599
- path: modeling_data/ecg_features-*
600
- - config_name: ed_meds_timestep
601
- data_files:
602
- - split: ed_meds_timestep
603
- path: modeling_data/ed_meds_timestep-*
604
- - config_name: empty_patient_state
605
- data_files:
606
- - split: empty_patient_state
607
- path: patient_state/*.parquet
608
- - config_name: full_patient_state
609
- data_files:
610
- - split: full_patient_state
611
- path: full_patient_state/full_patient_state-*
612
- - config_name: meds_admitted_er_actions
613
- data_files:
614
- - split: adm_er_clean
615
- path: modeling_data/adm_er_clean-*
616
- - config_name: radiology_features
617
- data_files:
618
- - split: radiology_features
619
- path: modeling_data/radiology_features-*
620
- - config_name: vitals
621
- data_files:
622
- - split: vitals
623
- path: vitals_triage/*.parquet
624
- ---
625
-
626
-
627
-
628
- ## empty_patient_state
629
-
630
-
631
-
632
-
633
-
634
- Empty data frame for patient state. Subject_id, ed_stay_id and hadm_id are retained for identification. A row is added for each 10 min time block for that unique stay
635
-
636
-
637
-
638
-
639
-
640
- **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
641
-
642
-
643
-
644
-
645
-
646
- ## vitals
647
-
648
-
649
-
650
-
651
-
652
- Vitals cleaned using the same pattern and methods as the triage stats. Rhythm was dropped. Triage stats were added for each ed stay Missing values were handled using forward fill then backward fill for the groups that did not have an initial value. Remaining NaN values were filled using Iterative Imputer from sci-kit learn. Features were engineered for each vital to get a rolling 2h average, the delta from the most recent value, a time delta, rate of change, a general time delta, pulse pressure, and average perfusion pressure
653
-
654
-
655
-
656
-
657
-
658
- **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
659
-
660
- ## full_patient_state
661
-
662
- Full patient state dataframe for offline RL training, derived from MIMIC-IV ED data. One row per 30-minute time block per ED stay (ed_stay_id). Built by combining: lab order/result statuses (0=not ordered, 1=pending, 2=normal, 3=abnormal), microbiology order/result statuses (0-4), vital signs with fill-forward and delta/rate features, medication administration flags (binary, first admin onward), ECG status, weight, and transfer location flags (in_ed, in_ward, ed_boarding). Static features merged per stay: gender, age, arrival transport, triage acuity, admission type (ward rows only), height, and pre-ED medication reconciliation (recon_* drug classes). terminal_event column encodes the outcome: ICU transfer, ward discharge, or ED discharge. Intended as the primary input for offline RL state construction.
663
-
664
- **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
 
1
+ ---
2
+ license: other
3
+ license_name: physionet-credentialed-health-data-1.5.0
4
+ license_link: https://physionet.org/content/mimiciv/view-license/3.1/
5
+ pretty_name: ADS599 Capstone Modeling Data — Empty Patient State
6
+ dataset_info:
7
+ - config_name: all_med_actions
8
+ features:
9
+ - name: ed_stay_id
10
+ dtype: float64
11
+ - name: subject_id
12
+ dtype: int64
13
+ - name: charttime
14
+ dtype: timestamp[ns]
15
+ - name: minutes_into_stay
16
+ dtype: float64
17
+ - name: drug_class
18
+ dtype: string
19
+ - name: action_idx
20
+ dtype: int64
21
+ - name: source
22
+ dtype: string
23
+ splits:
24
+ - name: all_med_actions
25
+ num_bytes: 93408141
26
+ num_examples: 1235609
27
+ download_size: 16415454
28
+ dataset_size: 93408141
29
+ - config_name: combined_medication_features
30
+ features:
31
+ - name: ed_stay_id
32
+ dtype: int64
33
+ - name: subject_id
34
+ dtype: int64
35
+ - name: recon_ace_inhibitor
36
+ dtype: uint8
37
+ - name: recon_analgesic___nsaid
38
+ dtype: uint8
39
+ - name: recon_analgesic___opioid_nsaid
40
+ dtype: uint8
41
+ - name: recon_antiarrhythmic
42
+ dtype: uint8
43
+ - name: recon_antibiotic
44
+ dtype: uint8
45
+ - name: recon_anticoagulant
46
+ dtype: uint8
47
+ - name: recon_anticonvulsant
48
+ dtype: uint8
49
+ - name: recon_antiemetic
50
+ dtype: uint8
51
+ - name: recon_antiplatelet
52
+ dtype: uint8
53
+ - name: recon_antipsychotic
54
+ dtype: uint8
55
+ - name: recon_benzodiazepine___sedative_anxiolytic
56
+ dtype: uint8
57
+ - name: recon_beta_blocker
58
+ dtype: uint8
59
+ - name: recon_bronchodilator
60
+ dtype: uint8
61
+ - name: recon_calcium_channel_blocker
62
+ dtype: uint8
63
+ - name: recon_corticosteroid
64
+ dtype: uint8
65
+ - name: recon_diuretic
66
+ dtype: uint8
67
+ - name: recon_gi___acid_suppression
68
+ dtype: uint8
69
+ - name: recon_insulin_glucose
70
+ dtype: uint8
71
+ - name: recon_nitrate
72
+ dtype: uint8
73
+ - name: recon_n_total_meds
74
+ dtype: uint16
75
+ - name: recon_n_drug_classes
76
+ dtype: uint8
77
+ - name: edmeds_ace_inhibitor
78
+ dtype: uint8
79
+ - name: edmeds_analgesic___acetaminophen
80
+ dtype: uint8
81
+ - name: edmeds_analgesic___nsaid
82
+ dtype: uint8
83
+ - name: edmeds_analgesic___opioid_nsaid
84
+ dtype: uint8
85
+ - name: edmeds_antiarrhythmic
86
+ dtype: uint8
87
+ - name: edmeds_antibiotic
88
+ dtype: uint8
89
+ - name: edmeds_anticoagulant
90
+ dtype: uint8
91
+ - name: edmeds_anticonvulsant
92
+ dtype: uint8
93
+ - name: edmeds_antiemetic
94
+ dtype: uint8
95
+ - name: edmeds_antiplatelet
96
+ dtype: uint8
97
+ - name: edmeds_antipsychotic
98
+ dtype: uint8
99
+ - name: edmeds_benzodiazepine___sedative_anxiolytic
100
+ dtype: uint8
101
+ - name: edmeds_beta_blocker
102
+ dtype: uint8
103
+ - name: edmeds_bronchodilator
104
+ dtype: uint8
105
+ - name: edmeds_calcium_channel_blocker
106
+ dtype: uint8
107
+ - name: edmeds_corticosteroid
108
+ dtype: uint8
109
+ - name: edmeds_diuretic
110
+ dtype: uint8
111
+ - name: edmeds_gi___acid_suppression
112
+ dtype: uint8
113
+ - name: edmeds_iv_fluid
114
+ dtype: uint8
115
+ - name: edmeds_insulin_glucose
116
+ dtype: uint8
117
+ - name: edmeds_nitrate
118
+ dtype: uint8
119
+ - name: edmeds_other
120
+ dtype: uint8
121
+ - name: edmeds_n_dispenses
122
+ dtype: uint16
123
+ - name: edmeds_n_drug_classes
124
+ dtype: uint8
125
+ splits:
126
+ - name: med_only
127
+ num_bytes: 25173099
128
+ num_examples: 399573
129
+ download_size: 6049182
130
+ dataset_size: 25173099
131
+ - config_name: ecg_features
132
+ features:
133
+ - name: subject_id
134
+ dtype: int64
135
+ - name: stay_id
136
+ dtype: int64
137
+ - name: hadm_id
138
+ dtype: int64
139
+ - name: ecg_time
140
+ dtype: timestamp[us, tz=UTC]
141
+ - name: ecg_acuity
142
+ dtype: int64
143
+ splits:
144
+ - name: ecg_features
145
+ num_bytes: 5892276
146
+ num_examples: 146848
147
+ download_size: 3971052
148
+ dataset_size: 5892276
149
+ - config_name: ed_meds_timestep
150
+ features:
151
+ - name: ed_stay_id
152
+ dtype: float64
153
+ - name: subject_id
154
+ dtype: int64
155
+ - name: charttime
156
+ dtype: timestamp[ns]
157
+ - name: minutes_into_stay
158
+ dtype: float64
159
+ - name: drug_class
160
+ dtype: string
161
+ - name: action_idx
162
+ dtype: int64
163
+ - name: source
164
+ dtype: string
165
+ - name: __index_level_0__
166
+ dtype: int64
167
+ splits:
168
+ - name: ed_meds_timestep
169
+ num_bytes: 27076675
170
+ num_examples: 323190
171
+ download_size: 7130448
172
+ dataset_size: 27076675
173
+ - config_name: empty_patient_state
174
+ features:
175
+ - name: subject_id
176
+ dtype: int64
177
+ - name: ed_stay_id
178
+ dtype: int64
179
+ - name: hadm_id
180
+ dtype: float64
181
+ - name: time_steps
182
+ dtype: int64
183
+ splits:
184
+ - name: empty_patient_state
185
+ num_bytes: 4324549602
186
+ num_examples: 134616330
187
+ download_size: 11217914
188
+ dataset_size: 4324549602
189
+ - config_name: full_patient_state
190
+ features:
191
+ - name: ed_stay_id
192
+ dtype: int64
193
+ - name: subject_id
194
+ dtype: int64
195
+ - name: hadm_id
196
+ dtype: float64
197
+ - name: time
198
+ dtype: timestamp[us]
199
+ - name: Chemistry-Blood
200
+ dtype: float64
201
+ - name: Hematology-Blood
202
+ dtype: float64
203
+ - name: Hematology-Urine
204
+ dtype: float64
205
+ - name: Blood Gas-Blood
206
+ dtype: float64
207
+ - name: Chemistry-Urine
208
+ dtype: float64
209
+ - name: Chemistry-Other Body Fluid
210
+ dtype: float64
211
+ - name: Hematology-Cerebrospinal Fluid
212
+ dtype: float64
213
+ - name: Chemistry-Cerebrospinal Fluid
214
+ dtype: float64
215
+ - name: Hematology-Ascites
216
+ dtype: float64
217
+ - name: Chemistry-Ascites
218
+ dtype: float64
219
+ - name: Chemistry-Pleural
220
+ dtype: float64
221
+ - name: Hematology-Pleural
222
+ dtype: float64
223
+ - name: Hematology-Joint Fluid
224
+ dtype: float64
225
+ - name: Chemistry-Stool
226
+ dtype: float64
227
+ - name: Hematology-Other Body Fluid
228
+ dtype: float64
229
+ - name: Blood Gas-Other Body Fluid
230
+ dtype: float64
231
+ - name: Hematology-Bone Marrow
232
+ dtype: float64
233
+ - name: Hematology-Stool
234
+ dtype: float64
235
+ - name: Chemistry-Joint Fluid
236
+ dtype: float64
237
+ - name: URINE
238
+ dtype: float64
239
+ - name: Rapid Respiratory Viral Screen & Culture
240
+ dtype: float64
241
+ - name: PERITONEAL FLUID
242
+ dtype: float64
243
+ - name: BLOOD CULTURE
244
+ dtype: float64
245
+ - name: STOOL
246
+ dtype: float64
247
+ - name: OTHER
248
+ dtype: float64
249
+ - name: PLEURAL FLUID
250
+ dtype: float64
251
+ - name: TISSUE
252
+ dtype: float64
253
+ - name: SEROLOGY/BLOOD
254
+ dtype: float64
255
+ - name: IMMUNOLOGY
256
+ dtype: float64
257
+ - name: MRSA SCREEN
258
+ dtype: float64
259
+ - name: SWAB
260
+ dtype: float64
261
+ - name: JOINT FLUID
262
+ dtype: float64
263
+ - name: SPUTUM
264
+ dtype: float64
265
+ - name: FLUID,OTHER
266
+ dtype: float64
267
+ - name: ABSCESS
268
+ dtype: float64
269
+ - name: BRONCHOALVEOLAR LAVAGE
270
+ dtype: float64
271
+ - name: CSF;SPINAL FLUID
272
+ dtype: float64
273
+ - name: Blood (CMV AB)
274
+ dtype: float64
275
+ - name: Blood (EBV)
276
+ dtype: float64
277
+ - name: BILE
278
+ dtype: float64
279
+ - name: vitals_checked
280
+ dtype: float64
281
+ - name: current_temperature
282
+ dtype: float64
283
+ - name: current_heartrate
284
+ dtype: float64
285
+ - name: current_resprate
286
+ dtype: float64
287
+ - name: current_o2sat
288
+ dtype: float64
289
+ - name: current_sbp
290
+ dtype: float64
291
+ - name: current_dbp
292
+ dtype: float64
293
+ - name: current_pain
294
+ dtype: large_string
295
+ - name: current_pulse_pressure
296
+ dtype: float64
297
+ - name: current_map
298
+ dtype: float64
299
+ - name: time_since_last_hrs
300
+ dtype: float64
301
+ - name: temperature_rolling2h
302
+ dtype: float64
303
+ - name: temperature_delta
304
+ dtype: float64
305
+ - name: temperature_rate
306
+ dtype: float64
307
+ - name: heartrate_rolling2h
308
+ dtype: float64
309
+ - name: heartrate_delta
310
+ dtype: float64
311
+ - name: heartrate_rate
312
+ dtype: float64
313
+ - name: resprate_rolling2h
314
+ dtype: float64
315
+ - name: resprate_delta
316
+ dtype: float64
317
+ - name: resprate_rate
318
+ dtype: float64
319
+ - name: o2sat_rolling2h
320
+ dtype: float64
321
+ - name: o2sat_delta
322
+ dtype: float64
323
+ - name: o2sat_rate
324
+ dtype: float64
325
+ - name: sbp_rolling2h
326
+ dtype: float64
327
+ - name: sbp_delta
328
+ dtype: float64
329
+ - name: sbp_rate
330
+ dtype: float64
331
+ - name: dbp_rolling2h
332
+ dtype: float64
333
+ - name: dbp_delta
334
+ dtype: float64
335
+ - name: dbp_rate
336
+ dtype: float64
337
+ - name: Other
338
+ dtype: float64
339
+ - name: Analgesic - Opioid/NSAID
340
+ dtype: float64
341
+ - name: Antiemetic
342
+ dtype: float64
343
+ - name: Analgesic - Acetaminophen
344
+ dtype: float64
345
+ - name: Antibiotic
346
+ dtype: float64
347
+ - name: Benzodiazepine - Sedative/Anxiolytic
348
+ dtype: float64
349
+ - name: Analgesic - NSAID
350
+ dtype: float64
351
+ - name: Bronchodilator
352
+ dtype: float64
353
+ - name: Antiplatelet
354
+ dtype: float64
355
+ - name: GI - Acid Suppression
356
+ dtype: float64
357
+ - name: Corticosteroid
358
+ dtype: float64
359
+ - name: Beta Blocker
360
+ dtype: float64
361
+ - name: Diuretic
362
+ dtype: float64
363
+ - name: Antipsychotic
364
+ dtype: float64
365
+ - name: Anticoagulant
366
+ dtype: float64
367
+ - name: Insulin/Glucose
368
+ dtype: float64
369
+ - name: Calcium Channel Blocker
370
+ dtype: float64
371
+ - name: Nitrate
372
+ dtype: float64
373
+ - name: ACE Inhibitor
374
+ dtype: float64
375
+ - name: IV Fluid
376
+ dtype: float64
377
+ - name: Anticonvulsant
378
+ dtype: float64
379
+ - name: Antiarrhythmic
380
+ dtype: float64
381
+ - name: weight
382
+ dtype: float64
383
+ - name: ecg_status
384
+ dtype: float64
385
+ - name: rad_status
386
+ dtype: float64
387
+ - name: in_ed
388
+ dtype: int64
389
+ - name: in_ward
390
+ dtype: int64
391
+ - name: ed_boarding
392
+ dtype: int64
393
+ - name: terminal_event
394
+ dtype: large_string
395
+ - name: gender
396
+ dtype: large_string
397
+ - name: anchor_age
398
+ dtype: int64
399
+ - name: arrival_transport
400
+ dtype: large_string
401
+ - name: acuity
402
+ dtype: decimal128(10, 9)
403
+ - name: height
404
+ dtype: float64
405
+ - name: recon_ace_inhibitor
406
+ dtype: uint8
407
+ - name: recon_analgesic___nsaid
408
+ dtype: uint8
409
+ - name: recon_analgesic___opioid_nsaid
410
+ dtype: uint8
411
+ - name: recon_antiarrhythmic
412
+ dtype: uint8
413
+ - name: recon_antibiotic
414
+ dtype: uint8
415
+ - name: recon_anticoagulant
416
+ dtype: uint8
417
+ - name: recon_anticonvulsant
418
+ dtype: uint8
419
+ - name: recon_antiemetic
420
+ dtype: uint8
421
+ - name: recon_antiplatelet
422
+ dtype: uint8
423
+ - name: recon_antipsychotic
424
+ dtype: uint8
425
+ - name: recon_benzodiazepine___sedative_anxiolytic
426
+ dtype: uint8
427
+ - name: recon_beta_blocker
428
+ dtype: uint8
429
+ - name: recon_bronchodilator
430
+ dtype: uint8
431
+ - name: recon_calcium_channel_blocker
432
+ dtype: uint8
433
+ - name: recon_corticosteroid
434
+ dtype: uint8
435
+ - name: recon_diuretic
436
+ dtype: uint8
437
+ - name: recon_gi___acid_suppression
438
+ dtype: uint8
439
+ - name: recon_insulin_glucose
440
+ dtype: uint8
441
+ - name: recon_nitrate
442
+ dtype: uint8
443
+ - name: admission_type
444
+ dtype: large_string
445
+ splits:
446
+ - name: full_patient_state
447
+ num_bytes: 6238206732
448
+ num_examples: 6551723
449
+ download_size: 143234905
450
+ dataset_size: 6238206732
451
+ - config_name: meds_admitted_er_actions
452
+ features:
453
+ - name: subject_id
454
+ dtype: int64
455
+ - name: stay_id
456
+ dtype: int64
457
+ - name: hadm_id
458
+ dtype: float64
459
+ - name: pyxis_charttime
460
+ dtype: timestamp[ns, tz=UTC]
461
+ - name: pyxis_med_rn
462
+ dtype: float64
463
+ - name: pyxis_medication
464
+ dtype: string
465
+ - name: emar_id
466
+ dtype: 'null'
467
+ - name: emar_charttime
468
+ dtype: timestamp[ns, tz=UTC]
469
+ - name: emar_medication
470
+ dtype: 'null'
471
+ - name: event_txt
472
+ dtype: 'null'
473
+ - name: scheduletime
474
+ dtype: 'null'
475
+ - name: in_er
476
+ dtype: bool
477
+ - name: medication
478
+ dtype: string
479
+ - name: drug_class
480
+ dtype: string
481
+ - name: action_time
482
+ dtype: timestamp[ns]
483
+ - name: ed_stay_id
484
+ dtype: float64
485
+ - name: ed_intime
486
+ dtype: timestamp[ns]
487
+ - name: minutes_into_stay
488
+ dtype: float64
489
+ - name: action_idx
490
+ dtype: int64
491
+ - name: __index_level_0__
492
+ dtype: int64
493
+ splits:
494
+ - name: adm_er_clean
495
+ num_bytes: 148079076
496
+ num_examples: 912419
497
+ download_size: 29150917
498
+ dataset_size: 148079076
499
+ - config_name: radiology_features
500
+ features:
501
+ - name: subject_id
502
+ dtype: int64
503
+ - name: stay_id
504
+ dtype: int64
505
+ - name: hadm_id
506
+ dtype: int64
507
+ - name: exam_time
508
+ dtype: timestamp[us, tz=UTC]
509
+ - name: rad_acuity_level
510
+ dtype: int64
511
+ splits:
512
+ - name: radiology_features
513
+ num_bytes: 10408947
514
+ num_examples: 259413
515
+ download_size: 6821015
516
+ dataset_size: 10408947
517
+ - config_name: vitals
518
+ features:
519
+ - name: ed_stay_id
520
+ dtype: int64
521
+ - name: subject_id
522
+ dtype: int64
523
+ - name: charttime
524
+ dtype: timestamp[us]
525
+ - name: temperature
526
+ dtype: float64
527
+ - name: heartrate
528
+ dtype: float64
529
+ - name: resprate
530
+ dtype: float64
531
+ - name: o2sat
532
+ dtype: float64
533
+ - name: sbp
534
+ dtype: float64
535
+ - name: dbp
536
+ dtype: float64
537
+ - name: pain
538
+ dtype: large_string
539
+ - name: time_since_last_hrs
540
+ dtype: float64
541
+ - name: temperature_rolling2h
542
+ dtype: float64
543
+ - name: temperature_delta
544
+ dtype: float64
545
+ - name: temperature_rate
546
+ dtype: float64
547
+ - name: heartrate_rolling2h
548
+ dtype: float64
549
+ - name: heartrate_delta
550
+ dtype: float64
551
+ - name: heartrate_rate
552
+ dtype: float64
553
+ - name: resprate_rolling2h
554
+ dtype: float64
555
+ - name: resprate_delta
556
+ dtype: float64
557
+ - name: resprate_rate
558
+ dtype: float64
559
+ - name: o2sat_rolling2h
560
+ dtype: float64
561
+ - name: o2sat_delta
562
+ dtype: float64
563
+ - name: o2sat_rate
564
+ dtype: float64
565
+ - name: sbp_rolling2h
566
+ dtype: float64
567
+ - name: sbp_delta
568
+ dtype: float64
569
+ - name: sbp_rate
570
+ dtype: float64
571
+ - name: dbp_rolling2h
572
+ dtype: float64
573
+ - name: dbp_delta
574
+ dtype: float64
575
+ - name: dbp_rate
576
+ dtype: float64
577
+ - name: pulse_pressure
578
+ dtype: float64
579
+ - name: map
580
+ dtype: float64
581
+ splits:
582
+ - name: vitals
583
+ num_bytes: 479613448
584
+ num_examples: 1893713
585
+ download_size: 84005509
586
+ dataset_size: 479613448
587
+ configs:
588
+ - config_name: all_med_actions
589
+ data_files:
590
+ - split: all_med_actions
591
+ path: modeling_data/all_med_actions-*
592
+ - config_name: combined_medication_features
593
+ data_files:
594
+ - split: med_only
595
+ path: modeling_data/med_only-*
596
+ - config_name: ecg_features
597
+ data_files:
598
+ - split: ecg_features
599
+ path: modeling_data/ecg_features-*
600
+ - config_name: ed_meds_timestep
601
+ data_files:
602
+ - split: ed_meds_timestep
603
+ path: modeling_data/ed_meds_timestep-*
604
+ - config_name: empty_patient_state
605
+ data_files:
606
+ - split: empty_patient_state
607
+ path: patient_state/*.parquet
608
+ - config_name: meds_admitted_er_actions
609
+ data_files:
610
+ - split: adm_er_clean
611
+ path: modeling_data/adm_er_clean-*
612
+ - config_name: radiology_features
613
+ data_files:
614
+ - split: radiology_features
615
+ path: modeling_data/radiology_features-*
616
+ - config_name: vitals
617
+ data_files:
618
+ - split: vitals
619
+ path: vitals_triage/*.parquet
620
+ - config_name: full_patient_state
621
+ data_files:
622
+ - split: full_patient_state
623
+ path: full_patient_state/*.parquet
624
+ ---
625
+
626
+
627
+
628
+ ## empty_patient_state
629
+
630
+
631
+
632
+
633
+
634
+ Empty data frame for patient state. Subject_id, ed_stay_id and hadm_id are retained for identification. A row is added for each 10 min time block for that unique stay
635
+
636
+
637
+
638
+
639
+
640
+ **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
641
+
642
+
643
+
644
+
645
+
646
+ ## vitals
647
+
648
+
649
+
650
+
651
+
652
+ Vitals cleaned using the same pattern and methods as the triage stats. Rhythm was dropped. Triage stats were added for each ed stay Missing values were handled using forward fill then backward fill for the groups that did not have an initial value. Remaining NaN values were filled using Iterative Imputer from sci-kit learn. Features were engineered for each vital to get a rolling 2h average, the delta from the most recent value, a time delta, rate of change, a general time delta, pulse pressure, and average perfusion pressure
653
+
654
+
655
+
656
+
657
+
658
+ **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
659
+
660
+ ## full_patient_state
661
+
662
+ Full patient state dataframe for offline RL training, derived from MIMIC-IV ED data. One row per 30-minute time block per ED stay (ed_stay_id). Built by combining: lab order/result statuses (0=not ordered, 1=pending, 2=normal, 3=abnormal), microbiology order/result statuses (0-4), vital signs with fill-forward and delta/rate features, medication administration flags (binary, first admin onward), ECG status, weight, and transfer location flags (in_ed, in_ward, ed_boarding). Static features merged per stay: gender, age, arrival transport, triage acuity, admission type (ward rows only), height, and pre-ED medication reconciliation (recon_* drug classes). terminal_event column encodes the outcome: ICU transfer, ward discharge, or ED discharge. Intended as the primary input for offline RL state construction.
663
+
664
+ **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/