Datasets:

Modalities:
Tabular
Text
Formats:
parquet
License:
tkbarb10 commited on
Commit
d61efc3
·
verified ·
1 Parent(s): 281e7cc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +14 -343
README.md CHANGED
@@ -1,335 +1,23 @@
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: ed_meds_timestep
132
- features:
133
- - name: ed_stay_id
134
- dtype: float64
135
- - name: subject_id
136
- dtype: int64
137
- - name: charttime
138
- dtype: timestamp[ns]
139
- - name: minutes_into_stay
140
- dtype: float64
141
- - name: drug_class
142
- dtype: string
143
- - name: action_idx
144
- dtype: int64
145
- - name: source
146
- dtype: string
147
- - name: __index_level_0__
148
- dtype: int64
149
- splits:
150
- - name: ed_meds_timestep
151
- num_bytes: 27076675
152
- num_examples: 323190
153
- download_size: 7130448
154
- dataset_size: 27076675
155
- - config_name: empty_patient_state
156
- features:
157
- - name: subject_id
158
- dtype: int64
159
- - name: ed_stay_id
160
- dtype: int64
161
- - name: hadm_id
162
- dtype: float64
163
- - name: time_steps
164
- dtype: int64
165
- splits:
166
- - name: empty_patient_state
167
- num_bytes: 4324549602
168
- num_examples: 134616330
169
- download_size: 11217914
170
- dataset_size: 4324549602
171
- - config_name: meds_admitted_er_actions
172
- features:
173
- - name: subject_id
174
- dtype: int64
175
- - name: stay_id
176
- dtype: int64
177
- - name: hadm_id
178
- dtype: float64
179
- - name: pyxis_charttime
180
- dtype: timestamp[ns, tz=UTC]
181
- - name: pyxis_med_rn
182
- dtype: float64
183
- - name: pyxis_medication
184
- dtype: string
185
- - name: emar_id
186
- dtype: 'null'
187
- - name: emar_charttime
188
- dtype: timestamp[ns, tz=UTC]
189
- - name: emar_medication
190
- dtype: 'null'
191
- - name: event_txt
192
- dtype: 'null'
193
- - name: scheduletime
194
- dtype: 'null'
195
- - name: in_er
196
- dtype: bool
197
- - name: medication
198
- dtype: string
199
- - name: drug_class
200
- dtype: string
201
- - name: action_time
202
- dtype: timestamp[ns]
203
- - name: ed_stay_id
204
- dtype: float64
205
- - name: ed_intime
206
- dtype: timestamp[ns]
207
- - name: minutes_into_stay
208
- dtype: float64
209
- - name: action_idx
210
- dtype: int64
211
- - name: __index_level_0__
212
- dtype: int64
213
- splits:
214
- - name: adm_er_clean
215
- num_bytes: 148079076
216
- num_examples: 912419
217
- download_size: 29150917
218
- dataset_size: 148079076
219
- - config_name: vitals
220
- features:
221
- - name: ed_stay_id
222
- dtype: int64
223
- - name: subject_id
224
- dtype: int64
225
- - name: charttime
226
- dtype: timestamp[us]
227
- - name: temperature
228
- dtype: float64
229
- - name: heartrate
230
- dtype: float64
231
- - name: resprate
232
- dtype: float64
233
- - name: o2sat
234
- dtype: float64
235
- - name: sbp
236
- dtype: float64
237
- - name: dbp
238
- dtype: float64
239
- - name: pain
240
- dtype: large_string
241
- - name: time_since_last_hrs
242
- dtype: float64
243
- - name: temperature_rolling2h
244
- dtype: float64
245
- - name: temperature_delta
246
- dtype: float64
247
- - name: temperature_rate
248
- dtype: float64
249
- - name: heartrate_rolling2h
250
- dtype: float64
251
- - name: heartrate_delta
252
- dtype: float64
253
- - name: heartrate_rate
254
- dtype: float64
255
- - name: resprate_rolling2h
256
- dtype: float64
257
- - name: resprate_delta
258
- dtype: float64
259
- - name: resprate_rate
260
- dtype: float64
261
- - name: o2sat_rolling2h
262
- dtype: float64
263
- - name: o2sat_delta
264
- dtype: float64
265
- - name: o2sat_rate
266
- dtype: float64
267
- - name: sbp_rolling2h
268
- dtype: float64
269
- - name: sbp_delta
270
- dtype: float64
271
- - name: sbp_rate
272
- dtype: float64
273
- - name: dbp_rolling2h
274
- dtype: float64
275
- - name: dbp_delta
276
- dtype: float64
277
- - name: dbp_rate
278
- dtype: float64
279
- - name: pulse_pressure
280
- dtype: float64
281
- - name: map
282
- dtype: float64
283
- splits:
284
- - name: vitals
285
- num_bytes: 479613448
286
- num_examples: 1893713
287
- download_size: 84005509
288
- dataset_size: 479613448
289
- configs:
290
- - config_name: all_med_actions
291
- data_files:
292
- - split: all_med_actions
293
- path: modeling_data/all_med_actions-*
294
- - config_name: combined_medication_features
295
- data_files:
296
- - split: med_only
297
- path: modeling_data/med_only-*
298
- - config_name: ed_meds_timestep
299
- data_files:
300
- - split: ed_meds_timestep
301
- path: modeling_data/ed_meds_timestep-*
302
- - config_name: empty_patient_state
303
- data_files:
304
- - split: empty_patient_state
305
- path: patient_state/*.parquet
306
- - config_name: meds_admitted_er_actions
307
- data_files:
308
- - split: adm_er_clean
309
- path: modeling_data/adm_er_clean-*
310
- - config_name: vitals
311
- data_files:
312
- - split: vitals
313
- path: vitals_triage/*.parquet
314
- - config_name: height
315
- data_files:
316
- - split: height
317
- path: height/*.parquet
318
- ---
319
-
320
- ## empty_patient_state
321
-
322
- 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
323
-
324
- --
325
- --
326
- config_name: all_med_actions
327
  features:
328
  - name: ed_stay_id
329
  dtype: float64
330
  - name: subject_id
331
  dtype: int64
332
  - name: charttime
333
  dtype: timestamp[ns]
334
  - name: minutes_into_stay
335
  dtype: float64
336
  - name: drug_class
337
  dtype: string
338
  - name: action_idx
339
  dtype: int64
340
  - name: source
341
  dtype: string
342
  splits:
343
  - name: all_med_actions
344
  num_bytes: 93408141
345
  num_examples: 1235609
346
  download_size: 16415454
347
  dataset_size: 93408141
348
- config_name: combined_medication_features
349
  features:
350
  - name: ed_stay_id
351
  dtype: int64
352
  - name: subject_id
353
  dtype: int64
354
  - name: recon_ace_inhibitor
355
  dtype: uint8
356
  - name: recon_analgesic___nsaid
357
  dtype: uint8
358
  - name: recon_analgesic___opioid_nsaid
359
  dtype: uint8
360
  - name: recon_antiarrhythmic
361
  dtype: uint8
362
  - name: recon_antibiotic
363
  dtype: uint8
364
  - name: recon_anticoagulant
365
  dtype: uint8
366
  - name: recon_anticonvulsant
367
  dtype: uint8
368
  - name: recon_antiemetic
369
  dtype: uint8
370
  - name: recon_antiplatelet
371
  dtype: uint8
372
  - name: recon_antipsychotic
373
  dtype: uint8
374
  - name: recon_benzodiazepine___sedative_anxiolytic
375
  dtype: uint8
376
  - name: recon_beta_blocker
377
  dtype: uint8
378
  - name: recon_bronchodilator
379
  dtype: uint8
380
  - name: recon_calcium_channel_blocker
381
  dtype: uint8
382
  - name: recon_corticosteroid
383
  dtype: uint8
384
  - name: recon_diuretic
385
  dtype: uint8
386
  - name: recon_gi___acid_suppression
387
  dtype: uint8
388
  - name: recon_insulin_glucose
389
  dtype: uint8
390
  - name: recon_nitrate
391
  dtype: uint8
392
  - name: recon_n_total_meds
393
  dtype: uint16
394
  - name: recon_n_drug_classes
395
  dtype: uint8
396
  - name: edmeds_ace_inhibitor
397
  dtype: uint8
398
  - name: edmeds_analgesic___acetaminophen
399
  dtype: uint8
400
  - name: edmeds_analgesic___nsaid
401
  dtype: uint8
402
  - name: edmeds_analgesic___opioid_nsaid
403
  dtype: uint8
404
  - name: edmeds_antiarrhythmic
405
  dtype: uint8
406
  - name: edmeds_antibiotic
407
  dtype: uint8
408
  - name: edmeds_anticoagulant
409
  dtype: uint8
410
  - name: edmeds_anticonvulsant
411
  dtype: uint8
412
  - name: edmeds_antiemetic
413
  dtype: uint8
414
  - name: edmeds_antiplatelet
415
  dtype: uint8
416
  - name: edmeds_antipsychotic
417
  dtype: uint8
418
  - name: edmeds_benzodiazepine___sedative_anxiolytic
419
  dtype: uint8
420
  - name: edmeds_beta_blocker
421
  dtype: uint8
422
  - name: edmeds_bronchodilator
423
  dtype: uint8
424
  - name: edmeds_calcium_channel_blocker
425
  dtype: uint8
426
  - name: edmeds_corticosteroid
427
  dtype: uint8
428
  - name: edmeds_diuretic
429
  dtype: uint8
430
  - name: edmeds_gi___acid_suppression
431
  dtype: uint8
432
  - name: edmeds_iv_fluid
433
  dtype: uint8
434
  - name: edmeds_insulin_glucose
435
  dtype: uint8
436
  - name: edmeds_nitrate
437
  dtype: uint8
438
  - name: edmeds_other
439
  dtype: uint8
440
  - name: edmeds_n_dispenses
441
  dtype: uint16
442
  - name: edmeds_n_drug_classes
443
  dtype: uint8
444
  splits:
445
  - name: med_only
446
  num_bytes: 25173099
447
  num_examples: 399573
448
  download_size: 6049182
449
  dataset_size: 25173099
450
- config_name: ed_meds_timestep
451
  features:
452
  - name: ed_stay_id
453
  dtype: float64
454
  - name: subject_id
455
  dtype: int64
456
  - name: charttime
457
  dtype: timestamp[ns]
458
  - name: minutes_into_stay
459
  dtype: float64
460
  - name: drug_class
461
  dtype: string
462
  - name: action_idx
463
  dtype: int64
464
  - name: source
465
  dtype: string
466
  - name: __index_level_0__
467
  dtype: int64
468
  splits:
469
  - name: ed_meds_timestep
470
  num_bytes: 27076675
471
  num_examples: 323190
472
  download_size: 7130448
473
  dataset_size: 27076675
474
- config_name: empty_patient_state
475
  features:
476
  - name: subject_id
477
  dtype: int64
478
  - name: ed_stay_id
479
  dtype: int64
480
  - name: hadm_id
481
  dtype: float64
482
  - name: time_steps
483
  dtype: int64
484
  splits:
485
  - name: empty_patient_state
486
  num_bytes: 4324549602
487
  num_examples: 134616330
488
  download_size: 11217914
489
  dataset_size: 4324549602
490
- config_name: meds_admitted_er_actions
491
  features:
492
  - name: subject_id
493
  dtype: int64
494
  - name: stay_id
495
  dtype: int64
496
  - name: hadm_id
497
  dtype: float64
498
  - name: pyxis_charttime
499
  dtype: timestamp[ns, tz=UTC]
500
  - name: pyxis_med_rn
501
  dtype: float64
502
  - name: pyxis_medication
503
  dtype: string
504
  - name: emar_id
505
  dtype: 'null'
506
  - name: emar_charttime
507
  dtype: timestamp[ns, tz=UTC]
508
  - name: emar_medication
509
  dtype: 'null'
510
  - name: event_txt
511
  dtype: 'null'
512
  - name: scheduletime
513
  dtype: 'null'
514
  - name: in_er
515
  dtype: bool
516
  - name: medication
517
  dtype: string
518
  - name: drug_class
519
  dtype: string
520
  - name: action_time
521
  dtype: timestamp[ns]
522
  - name: ed_stay_id
523
  dtype: float64
524
  - name: ed_intime
525
  dtype: timestamp[ns]
526
  - name: minutes_into_stay
527
  dtype: float64
528
  - name: action_idx
529
  dtype: int64
530
  - name: __index_level_0__
531
  dtype: int64
532
  splits:
533
  - name: adm_er_clean
534
  num_bytes: 148079076
535
  num_examples: 912419
536
  download_size: 29150917
537
  dataset_size: 148079076
538
- config_name: vitals
539
  features:
540
  - name: ed_stay_id
541
  dtype: int64
542
  - name: subject_id
543
  dtype: int64
544
  - name: charttime
545
  dtype: timestamp[us]
546
  - name: temperature
547
  dtype: float64
548
  - name: heartrate
549
  dtype: float64
550
  - name: resprate
551
  dtype: float64
552
  - name: o2sat
553
  dtype: float64
554
  - name: sbp
555
  dtype: float64
556
  - name: dbp
557
  dtype: float64
558
  - name: pain
559
  dtype: large_string
560
  - name: time_since_last_hrs
561
  dtype: float64
562
  - name: temperature_rolling2h
563
  dtype: float64
564
  - name: temperature_delta
565
  dtype: float64
566
  - name: temperature_rate
567
  dtype: float64
568
  - name: heartrate_rolling2h
569
  dtype: float64
570
  - name: heartrate_delta
571
  dtype: float64
572
  - name: heartrate_rate
573
  dtype: float64
574
  - name: resprate_rolling2h
575
  dtype: float64
576
  - name: resprate_delta
577
  dtype: float64
578
  - name: resprate_rate
579
  dtype: float64
580
  - name: o2sat_rolling2h
581
  dtype: float64
582
  - name: o2sat_delta
583
  dtype: float64
584
  - name: o2sat_rate
585
  dtype: float64
586
  - name: sbp_rolling2h
587
  dtype: float64
588
  - name: sbp_delta
589
  dtype: float64
590
  - name: sbp_rate
591
  dtype: float64
592
  - name: dbp_rolling2h
593
  dtype: float64
594
  - name: dbp_delta
595
  dtype: float64
596
  - name: dbp_rate
597
  dtype: float64
598
  - name: pulse_pressure
599
  dtype: float64
600
  - name: map
601
  dtype: float64
602
  splits:
603
  - name: vitals
604
  num_bytes: 479613448
605
  num_examples: 1893713
606
  download_size: 84005509
607
  dataset_size: 479613448
608
- config_name: all_med_actions
609
  data_files:
610
  - split: all_med_actions
611
  path: modeling_data/all_med_actions-*
612
- config_name: combined_medication_features
613
  data_files:
614
  - split: med_only
615
  path: modeling_data/med_only-*
616
- config_name: ed_meds_timestep
617
  data_files:
618
  - split: ed_meds_timestep
619
  path: modeling_data/ed_meds_timestep-*
620
- config_name: empty_patient_state
621
  data_files:
622
  - split: empty_patient_state
623
  path: patient_state/*.parquet
624
- config_name: meds_admitted_er_actions
625
  data_files:
626
  - split: adm_er_clean
627
  path: modeling_data/adm_er_clean-*
628
- config_name: vitals
629
  data_files:
630
  - split: vitals
631
  path: vitals_triage/*.parquet
632
- config_name: height
633
  data_files:
634
  - split: height
635
  path: height/*.parquet
636
- config_name: weight
637
  data_files:
638
  - split: weight
639
  path: weight/*.parquet
640
- --
 
 
 
 
 
 
 
 
 
641
  **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
642
 
643
- ## vitals
644
 
645
- 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
646
 
647
  **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
648
 
649
- ## height
650
 
651
  Height and weight measurement records from hosp.omr for cohort patients — separated to take single measurements of height as an average of all available height measurements for a patient and retaining all separate weight measurements. Duplicates were dropped Used to supplement ED and inpatient state features with recent baseline measurements.
652
 
 
1
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  features:
3
  - name: ed_stay_id
4
  dtype: float64
5
  - name: subject_id
6
  dtype: int64
7
  - name: charttime
8
  dtype: timestamp[ns]
9
  - name: minutes_into_stay
10
  dtype: float64
11
  - name: drug_class
12
  dtype: string
13
  - name: action_idx
14
  dtype: int64
15
  - name: source
16
  dtype: string
17
  splits:
18
  - name: all_med_actions
19
  num_bytes: 93408141
20
  num_examples: 1235609
21
  download_size: 16415454
22
  dataset_size: 93408141
 
23
  features:
24
  - name: ed_stay_id
25
  dtype: int64
26
  - name: subject_id
27
  dtype: int64
28
  - name: recon_ace_inhibitor
29
  dtype: uint8
30
  - name: recon_analgesic___nsaid
31
  dtype: uint8
32
  - name: recon_analgesic___opioid_nsaid
33
  dtype: uint8
34
  - name: recon_antiarrhythmic
35
  dtype: uint8
36
  - name: recon_antibiotic
37
  dtype: uint8
38
  - name: recon_anticoagulant
39
  dtype: uint8
40
  - name: recon_anticonvulsant
41
  dtype: uint8
42
  - name: recon_antiemetic
43
  dtype: uint8
44
  - name: recon_antiplatelet
45
  dtype: uint8
46
  - name: recon_antipsychotic
47
  dtype: uint8
48
  - name: recon_benzodiazepine___sedative_anxiolytic
49
  dtype: uint8
50
  - name: recon_beta_blocker
51
  dtype: uint8
52
  - name: recon_bronchodilator
53
  dtype: uint8
54
  - name: recon_calcium_channel_blocker
55
  dtype: uint8
56
  - name: recon_corticosteroid
57
  dtype: uint8
58
  - name: recon_diuretic
59
  dtype: uint8
60
  - name: recon_gi___acid_suppression
61
  dtype: uint8
62
  - name: recon_insulin_glucose
63
  dtype: uint8
64
  - name: recon_nitrate
65
  dtype: uint8
66
  - name: recon_n_total_meds
67
  dtype: uint16
68
  - name: recon_n_drug_classes
69
  dtype: uint8
70
  - name: edmeds_ace_inhibitor
71
  dtype: uint8
72
  - name: edmeds_analgesic___acetaminophen
73
  dtype: uint8
74
  - name: edmeds_analgesic___nsaid
75
  dtype: uint8
76
  - name: edmeds_analgesic___opioid_nsaid
77
  dtype: uint8
78
  - name: edmeds_antiarrhythmic
79
  dtype: uint8
80
  - name: edmeds_antibiotic
81
  dtype: uint8
82
  - name: edmeds_anticoagulant
83
  dtype: uint8
84
  - name: edmeds_anticonvulsant
85
  dtype: uint8
86
  - name: edmeds_antiemetic
87
  dtype: uint8
88
  - name: edmeds_antiplatelet
89
  dtype: uint8
90
  - name: edmeds_antipsychotic
91
  dtype: uint8
92
  - name: edmeds_benzodiazepine___sedative_anxiolytic
93
  dtype: uint8
94
  - name: edmeds_beta_blocker
95
  dtype: uint8
96
  - name: edmeds_bronchodilator
97
  dtype: uint8
98
  - name: edmeds_calcium_channel_blocker
99
  dtype: uint8
100
  - name: edmeds_corticosteroid
101
  dtype: uint8
102
  - name: edmeds_diuretic
103
  dtype: uint8
104
  - name: edmeds_gi___acid_suppression
105
  dtype: uint8
106
  - name: edmeds_iv_fluid
107
  dtype: uint8
108
  - name: edmeds_insulin_glucose
109
  dtype: uint8
110
  - name: edmeds_nitrate
111
  dtype: uint8
112
  - name: edmeds_other
113
  dtype: uint8
114
  - name: edmeds_n_dispenses
115
  dtype: uint16
116
  - name: edmeds_n_drug_classes
117
  dtype: uint8
118
  splits:
119
  - name: med_only
120
  num_bytes: 25173099
121
  num_examples: 399573
122
  download_size: 6049182
123
  dataset_size: 25173099
 
124
  features:
125
  - name: ed_stay_id
126
  dtype: float64
127
  - name: subject_id
128
  dtype: int64
129
  - name: charttime
130
  dtype: timestamp[ns]
131
  - name: minutes_into_stay
132
  dtype: float64
133
  - name: drug_class
134
  dtype: string
135
  - name: action_idx
136
  dtype: int64
137
  - name: source
138
  dtype: string
139
  - name: __index_level_0__
140
  dtype: int64
141
  splits:
142
  - name: ed_meds_timestep
143
  num_bytes: 27076675
144
  num_examples: 323190
145
  download_size: 7130448
146
  dataset_size: 27076675
 
147
  features:
148
  - name: subject_id
149
  dtype: int64
150
  - name: ed_stay_id
151
  dtype: int64
152
  - name: hadm_id
153
  dtype: float64
154
  - name: time_steps
155
  dtype: int64
156
  splits:
157
  - name: empty_patient_state
158
  num_bytes: 4324549602
159
  num_examples: 134616330
160
  download_size: 11217914
161
  dataset_size: 4324549602
 
162
  features:
163
  - name: subject_id
164
  dtype: int64
165
  - name: stay_id
166
  dtype: int64
167
  - name: hadm_id
168
  dtype: float64
169
  - name: pyxis_charttime
170
  dtype: timestamp[ns, tz=UTC]
171
  - name: pyxis_med_rn
172
  dtype: float64
173
  - name: pyxis_medication
174
  dtype: string
175
  - name: emar_id
176
  dtype: 'null'
177
  - name: emar_charttime
178
  dtype: timestamp[ns, tz=UTC]
179
  - name: emar_medication
180
  dtype: 'null'
181
  - name: event_txt
182
  dtype: 'null'
183
  - name: scheduletime
184
  dtype: 'null'
185
  - name: in_er
186
  dtype: bool
187
  - name: medication
188
  dtype: string
189
  - name: drug_class
190
  dtype: string
191
  - name: action_time
192
  dtype: timestamp[ns]
193
  - name: ed_stay_id
194
  dtype: float64
195
  - name: ed_intime
196
  dtype: timestamp[ns]
197
  - name: minutes_into_stay
198
  dtype: float64
199
  - name: action_idx
200
  dtype: int64
201
  - name: __index_level_0__
202
  dtype: int64
203
  splits:
204
  - name: adm_er_clean
205
  num_bytes: 148079076
206
  num_examples: 912419
207
  download_size: 29150917
208
  dataset_size: 148079076
 
209
  features:
210
  - name: ed_stay_id
211
  dtype: int64
212
  - name: subject_id
213
  dtype: int64
214
  - name: charttime
215
  dtype: timestamp[us]
216
  - name: temperature
217
  dtype: float64
218
  - name: heartrate
219
  dtype: float64
220
  - name: resprate
221
  dtype: float64
222
  - name: o2sat
223
  dtype: float64
224
  - name: sbp
225
  dtype: float64
226
  - name: dbp
227
  dtype: float64
228
  - name: pain
229
  dtype: large_string
230
  - name: time_since_last_hrs
231
  dtype: float64
232
  - name: temperature_rolling2h
233
  dtype: float64
234
  - name: temperature_delta
235
  dtype: float64
236
  - name: temperature_rate
237
  dtype: float64
238
  - name: heartrate_rolling2h
239
  dtype: float64
240
  - name: heartrate_delta
241
  dtype: float64
242
  - name: heartrate_rate
243
  dtype: float64
244
  - name: resprate_rolling2h
245
  dtype: float64
246
  - name: resprate_delta
247
  dtype: float64
248
  - name: resprate_rate
249
  dtype: float64
250
  - name: o2sat_rolling2h
251
  dtype: float64
252
  - name: o2sat_delta
253
  dtype: float64
254
  - name: o2sat_rate
255
  dtype: float64
256
  - name: sbp_rolling2h
257
  dtype: float64
258
  - name: sbp_delta
259
  dtype: float64
260
  - name: sbp_rate
261
  dtype: float64
262
  - name: dbp_rolling2h
263
  dtype: float64
264
  - name: dbp_delta
265
  dtype: float64
266
  - name: dbp_rate
267
  dtype: float64
268
  - name: pulse_pressure
269
  dtype: float64
270
  - name: map
271
  dtype: float64
272
  splits:
273
  - name: vitals
274
  num_bytes: 479613448
275
  num_examples: 1893713
276
  download_size: 84005509
277
  dataset_size: 479613448
 
278
  data_files:
279
  - split: all_med_actions
280
  path: modeling_data/all_med_actions-*
 
281
  data_files:
282
  - split: med_only
283
  path: modeling_data/med_only-*
 
284
  data_files:
285
  - split: ed_meds_timestep
286
  path: modeling_data/ed_meds_timestep-*
 
287
  data_files:
288
  - split: empty_patient_state
289
  path: patient_state/*.parquet
 
290
  data_files:
291
  - split: adm_er_clean
292
  path: modeling_data/adm_er_clean-*
 
293
  data_files:
294
  - split: vitals
295
  path: vitals_triage/*.parquet
 
296
  data_files:
297
  - split: height
298
  path: height/*.parquet
 
299
  data_files:
300
  - split: weight
301
  path: weight/*.parquet
302
+ ## empty_patient_state
303
+
304
+ 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
305
+
306
+ **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
307
+
308
+ ## vitals
309
+
310
+ 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
311
+
312
  **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
313
 
314
+ ## height
315
 
316
+ Height and weight measurement records from hosp.omr for cohort patients separated to take single measurements of height as an average of all available height measurements for a patient and retaining all separate weight measurements. Duplicates were dropped Used to supplement ED and inpatient state features with recent baseline measurements.
317
 
318
  **License:** PhysioNet Credentialed Health Data License 1.5.0 — https://physionet.org/content/mimiciv/view-license/3.1/
319
 
320
+ ## weight
321
 
322
  Height and weight measurement records from hosp.omr for cohort patients — separated to take single measurements of height as an average of all available height measurements for a patient and retaining all separate weight measurements. Duplicates were dropped Used to supplement ED and inpatient state features with recent baseline measurements.
323