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:
parent
20a6f4a04f
commit
230a1b0961
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue