Closes #150. Changed measurement_time to measurement_datetime.
This commit is contained in:
parent
9431a2cd30
commit
dab7208acc
|
@ -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 ,
|
||||
|
|
|
@ -816,7 +816,7 @@ CREATE TABLE measurement
|
|||
|
||||
measurement_date TIMESTAMP,
|
||||
|
||||
measurement_time VARCHAR(10),
|
||||
measurement_datetime TIMESTAMP,
|
||||
|
||||
measurement_type_concept_id INTEGER,
|
||||
|
||||
|
|
|
@ -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 ,
|
||||
|
|
|
@ -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 ,
|
||||
|
|
|
@ -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 ,
|
||||
|
|
|
@ -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 ,
|
||||
|
|
|
@ -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 ,
|
||||
|
|
|
@ -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 ,
|
||||
|
|
Loading…
Reference in New Issue