Made changes to adhere to the new CDM changes for version 5.1 for Oracle, Postgres, and SQL Server. Added death_datetime to the death table

This commit is contained in:
Karthik Natarajan 2017-01-12 16:10:00 -05:00
parent 20a6f4a04f
commit 230a1b0961
3 changed files with 5 additions and 2 deletions

View File

@ -289,6 +289,7 @@ CREATE TABLE death
( (
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
death_date DATE NOT NULL , death_date DATE NOT NULL ,
death_datetime TIMESTAMP WITH TIME ZONE NULL ,
death_type_concept_id INTEGER NOT NULL , death_type_concept_id INTEGER NOT NULL ,
cause_concept_id INTEGER NULL , cause_concept_id INTEGER NULL ,
cause_source_value VARCHAR(50) NULL, cause_source_value VARCHAR(50) NULL,

View File

@ -289,6 +289,7 @@ CREATE TABLE death
( (
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
death_date DATE NOT NULL , death_date DATE NOT NULL ,
death_datetime TIMESTAMP NULL ,
death_type_concept_id INTEGER NOT NULL , death_type_concept_id INTEGER NOT NULL ,
cause_concept_id INTEGER NULL , cause_concept_id INTEGER NULL ,
cause_source_value VARCHAR(50) NULL, cause_source_value VARCHAR(50) NULL,

View File

@ -289,6 +289,7 @@ CREATE TABLE death
( (
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
death_date DATE NOT NULL , death_date DATE NOT NULL ,
death_datetime DATETIME2 NULL ,
death_type_concept_id INTEGER NOT NULL , death_type_concept_id INTEGER NOT NULL ,
cause_concept_id INTEGER NULL , cause_concept_id INTEGER NULL ,
cause_source_value VARCHAR(50) NULL, cause_source_value VARCHAR(50) NULL,