diff --git a/mimic-iii/buildmimic/mysql/1-define.sql b/mimic-iii/buildmimic/mysql/1-define.sql index f8a9d6eab..054d659d3 100644 --- a/mimic-iii/buildmimic/mysql/1-define.sql +++ b/mimic-iii/buildmimic/mysql/1-define.sql @@ -179,7 +179,7 @@ CREATE TABLE CHARTEVENTS ( -- rows=263201375 STORETIME DATETIME, CGID SMALLINT UNSIGNED, VALUE TEXT, -- max=91 - VALUENUM DECIMAL(22, 10), + VALUENUM DECIMAL(30, 23), VALUEUOM VARCHAR(50), -- max=17 WARNING TINYINT UNSIGNED, ERROR TINYINT UNSIGNED, @@ -581,7 +581,7 @@ CREATE TABLE INPUTEVENTS_MV ( -- rows=3618991 LINKORDERID MEDIUMINT UNSIGNED NOT NULL, ORDERCATEGORYNAME VARCHAR(100) NOT NULL, -- max=24 SECONDARYORDERCATEGORYNAME VARCHAR(100), -- max=24 - ORDERCOMPONENTTYPEDESCRIPTION VARCHAR(20) NOT NULL, -- max=57 + ORDERCOMPONENTTYPEDESCRIPTION VARCHAR(200) NOT NULL, -- max=100 ORDERCATEGORYDESCRIPTION VARCHAR(50) NOT NULL, -- max=14 PATIENTWEIGHT DECIMAL(22, 10) NOT NULL, TOTALAMOUNT DECIMAL(22, 10),