Closes #150. Changed measurement_time to measurement_datetime.

This commit is contained in:
Clair Blacketer 2018-02-07 13:57:58 -05:00
parent 9431a2cd30
commit dab7208acc
8 changed files with 8 additions and 8 deletions

View File

@ -390,7 +390,7 @@ create table measurement
person_id integer not null , person_id integer not null ,
measurement_concept_id integer not null , measurement_concept_id integer not null ,
measurement_date date not null , measurement_date date not null ,
measurement_time varchar(10) null , measurement_datetime datetime null ,
measurement_type_concept_id integer not null , measurement_type_concept_id integer not null ,
operator_concept_id integer null , operator_concept_id integer null ,
value_as_number float null , value_as_number float null ,

View File

@ -816,7 +816,7 @@ CREATE TABLE measurement
measurement_date TIMESTAMP, measurement_date TIMESTAMP,
measurement_time VARCHAR(10), measurement_datetime TIMESTAMP,
measurement_type_concept_id INTEGER, measurement_type_concept_id INTEGER,

View File

@ -479,7 +479,7 @@ CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime DATETIME NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number REAL NULL , value_as_number REAL NULL ,

View File

@ -447,7 +447,7 @@ CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime TIMESTAMP NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number FLOAT NULL , value_as_number FLOAT NULL ,

View File

@ -422,7 +422,7 @@ IF XACT_STATE() = 1 COMMIT; CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime DATETIME NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number FLOAT NULL , value_as_number FLOAT NULL ,

View File

@ -447,7 +447,7 @@ CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime TIMESTAMP NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number NUMERIC NULL , value_as_number NUMERIC NULL ,

View File

@ -422,7 +422,7 @@ CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime TIMESTAMP NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number FLOAT NULL , value_as_number FLOAT NULL ,

View File

@ -447,7 +447,7 @@ CREATE TABLE measurement
person_id INTEGER NOT NULL , person_id INTEGER NOT NULL ,
measurement_concept_id INTEGER NOT NULL , measurement_concept_id INTEGER NOT NULL ,
measurement_date DATE NOT NULL , measurement_date DATE NOT NULL ,
measurement_time VARCHAR(10) NULL , measurement_datetime DATETIME NULL ,
measurement_type_concept_id INTEGER NOT NULL , measurement_type_concept_id INTEGER NOT NULL ,
operator_concept_id INTEGER NULL , operator_concept_id INTEGER NULL ,
value_as_number FLOAT NULL , value_as_number FLOAT NULL ,