Skip to content

Commit d63d65d

Browse files
committed
add ingredientevents table
1 parent e2548bd commit d63d65d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

mimic-iv/buildmimic/duckdb/import_duckdb.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,26 @@ CREATE TABLE mimic_icu.icustays
476476
los FLOAT
477477
);
478478
479+
DROP TABLE IF EXISTS mimic_icu.ingredientevents;
480+
CREATE TABLE mimic_icu.ingredientevents(
481+
subject_id INTEGER NOT NULL,
482+
hadm_id INTEGER NOT NULL,
483+
stay_id INTEGER,
484+
starttime TIMESTAMP NOT NULL,
485+
endtime TIMESTAMP NOT NULL,
486+
storetime TIMESTAMP,
487+
itemid INTEGER NOT NULL,
488+
amount FLOAT,
489+
amountuom VARCHAR(20),
490+
rate FLOAT,
491+
rateuom VARCHAR(20),
492+
orderid INTEGER NOT NULL,
493+
linkorderid INTEGER,
494+
statusdescription VARCHAR(20),
495+
originalamount FLOAT,
496+
originalrate FLOAT
497+
);
498+
479499
DROP TABLE IF EXISTS mimic_icu.inputevents;
480500
CREATE TABLE mimic_icu.inputevents
481501
(

0 commit comments

Comments
 (0)