Skip to content

Commit d30f23d

Browse files
committed
minor changes to data types for psql mimic-iv-note
1 parent 5e05342 commit d30f23d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mimic-iv-note/buildmimic/postgres/create.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ CREATE TABLE mimiciv_note.discharge
2121
note_id VARCHAR(25) NOT NULL,
2222
subject_id INTEGER NOT NULL,
2323
hadm_id INTEGER NOT NULL,
24-
note_type CHAR(2) NOT NULL,
25-
note_seq INTEGER NOT NULL,
24+
note_type VARCHAR(2) NOT NULL,
25+
note_seq SMALLINT NOT NULL,
2626
charttime TIMESTAMP NOT NULL,
2727
storetime TIMESTAMP,
2828
text TEXT NOT NULL
@@ -34,8 +34,8 @@ CREATE TABLE mimiciv_note.radiology
3434
note_id VARCHAR(25) NOT NULL,
3535
subject_id INTEGER NOT NULL,
3636
hadm_id INTEGER,
37-
note_type CHAR(2) NOT NULL,
38-
note_seq INTEGER NOT NULL,
37+
note_type VARCHAR(2) NOT NULL,
38+
note_seq SMALLINT NOT NULL,
3939
charttime TIMESTAMP NOT NULL,
4040
storetime TIMESTAMP,
4141
text TEXT NOT NULL

0 commit comments

Comments
 (0)