From dab7208accfcee1ff53b8374cf8aa3a25b9c203a Mon Sep 17 00:00:00 2001 From: Clair Blacketer Date: Wed, 7 Feb 2018 13:57:58 -0500 Subject: [PATCH] Closes #150. Changed measurement_time to measurement_datetime. --- BigQuery/OMOP CDM bigquery ddl.txt | 2 +- Impala/OMOP CDM impala ddl.txt | 2 +- Netezza/OMOP CDM netezza ddl.txt | 2 +- Oracle/OMOP CDM oracle ddl.txt | 2 +- ParallelDataWarehouse/OMOP CDM pdw ddl.txt | 2 +- PostgreSQL/OMOP CDM postgresql ddl.txt | 2 +- Redshift/OMOP CDM redshift ddl.txt | 2 +- Sql Server/OMOP CDM sql server ddl.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BigQuery/OMOP CDM bigquery ddl.txt b/BigQuery/OMOP CDM bigquery ddl.txt index 44438d9..1ff8bec 100644 --- a/BigQuery/OMOP CDM bigquery ddl.txt +++ b/BigQuery/OMOP CDM bigquery ddl.txt @@ -390,7 +390,7 @@ create table measurement person_id integer not null , measurement_concept_id integer not null , measurement_date date not null , - measurement_time varchar(10) null , + measurement_datetime datetime null , measurement_type_concept_id integer not null , operator_concept_id integer null , value_as_number float null , diff --git a/Impala/OMOP CDM impala ddl.txt b/Impala/OMOP CDM impala ddl.txt index ceab91b..9fec86d 100644 --- a/Impala/OMOP CDM impala ddl.txt +++ b/Impala/OMOP CDM impala ddl.txt @@ -816,7 +816,7 @@ CREATE TABLE measurement measurement_date TIMESTAMP, - measurement_time VARCHAR(10), + measurement_datetime TIMESTAMP, measurement_type_concept_id INTEGER, diff --git a/Netezza/OMOP CDM netezza ddl.txt b/Netezza/OMOP CDM netezza ddl.txt index 87351fa..4bdc44e 100644 --- a/Netezza/OMOP CDM netezza ddl.txt +++ b/Netezza/OMOP CDM netezza ddl.txt @@ -479,7 +479,7 @@ CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime DATETIME NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number REAL NULL , diff --git a/Oracle/OMOP CDM oracle ddl.txt b/Oracle/OMOP CDM oracle ddl.txt index 094d8ed..c1427c4 100644 --- a/Oracle/OMOP CDM oracle ddl.txt +++ b/Oracle/OMOP CDM oracle ddl.txt @@ -447,7 +447,7 @@ CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime TIMESTAMP NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number FLOAT NULL , diff --git a/ParallelDataWarehouse/OMOP CDM pdw ddl.txt b/ParallelDataWarehouse/OMOP CDM pdw ddl.txt index 2a63661..cdee639 100644 --- a/ParallelDataWarehouse/OMOP CDM pdw ddl.txt +++ b/ParallelDataWarehouse/OMOP CDM pdw ddl.txt @@ -422,7 +422,7 @@ IF XACT_STATE() = 1 COMMIT; CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime DATETIME NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number FLOAT NULL , diff --git a/PostgreSQL/OMOP CDM postgresql ddl.txt b/PostgreSQL/OMOP CDM postgresql ddl.txt index 7250334..1edef4a 100644 --- a/PostgreSQL/OMOP CDM postgresql ddl.txt +++ b/PostgreSQL/OMOP CDM postgresql ddl.txt @@ -447,7 +447,7 @@ CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime TIMESTAMP NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number NUMERIC NULL , diff --git a/Redshift/OMOP CDM redshift ddl.txt b/Redshift/OMOP CDM redshift ddl.txt index b66a477..eaef616 100644 --- a/Redshift/OMOP CDM redshift ddl.txt +++ b/Redshift/OMOP CDM redshift ddl.txt @@ -422,7 +422,7 @@ CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime TIMESTAMP NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number FLOAT NULL , diff --git a/Sql Server/OMOP CDM sql server ddl.txt b/Sql Server/OMOP CDM sql server ddl.txt index c5e4bd4..f9c1552 100644 --- a/Sql Server/OMOP CDM sql server ddl.txt +++ b/Sql Server/OMOP CDM sql server ddl.txt @@ -447,7 +447,7 @@ CREATE TABLE measurement person_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL , measurement_date DATE NOT NULL , - measurement_time VARCHAR(10) NULL , + measurement_datetime DATETIME NULL , measurement_type_concept_id INTEGER NOT NULL , operator_concept_id INTEGER NULL , value_as_number FLOAT NULL ,