Impala era datetimes
This commit is contained in:
parent
35a4d66037
commit
046feb3fea
|
@ -682,13 +682,13 @@ Standardized derived elements
|
||||||
--HINT DISTRIBUTE_ON_KEY(person_id)
|
--HINT DISTRIBUTE_ON_KEY(person_id)
|
||||||
CREATE TABLE drug_era
|
CREATE TABLE drug_era
|
||||||
(
|
(
|
||||||
drug_era_id BIGINT ,
|
drug_era_id BIGINT ,
|
||||||
person_id BIGINT ,
|
person_id BIGINT ,
|
||||||
drug_concept_id INTEGER ,
|
drug_concept_id INTEGER ,
|
||||||
drug_era_start_date TIMESTAMP ,
|
drug_era_start_datetime TIMESTAMP ,
|
||||||
drug_era_end_date TIMESTAMP ,
|
drug_era_end_datetime TIMESTAMP ,
|
||||||
drug_exposure_count INTEGER ,
|
drug_exposure_count INTEGER ,
|
||||||
gap_days INTEGER
|
gap_days INTEGER
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -696,13 +696,13 @@ CREATE TABLE drug_era
|
||||||
--HINT DISTRIBUTE_ON_KEY(person_id)
|
--HINT DISTRIBUTE_ON_KEY(person_id)
|
||||||
CREATE TABLE dose_era
|
CREATE TABLE dose_era
|
||||||
(
|
(
|
||||||
dose_era_id BIGINT ,
|
dose_era_id BIGINT ,
|
||||||
person_id BIGINT ,
|
person_id BIGINT ,
|
||||||
drug_concept_id INTEGER ,
|
drug_concept_id INTEGER ,
|
||||||
unit_concept_id INTEGER ,
|
unit_concept_id INTEGER ,
|
||||||
dose_value FLOAT ,
|
dose_value FLOAT ,
|
||||||
dose_era_start_date TIMESTAMP ,
|
dose_era_start_datetime TIMESTAMP ,
|
||||||
dose_era_end_date TIMESTAMP
|
dose_era_end_datetime TIMESTAMP
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -710,11 +710,11 @@ CREATE TABLE dose_era
|
||||||
--HINT DISTRIBUTE_ON_KEY(person_id)
|
--HINT DISTRIBUTE_ON_KEY(person_id)
|
||||||
CREATE TABLE condition_era
|
CREATE TABLE condition_era
|
||||||
(
|
(
|
||||||
condition_era_id BIGINT ,
|
condition_era_id BIGINT ,
|
||||||
person_id BIGINT ,
|
person_id BIGINT ,
|
||||||
condition_concept_id INTEGER ,
|
condition_concept_id INTEGER ,
|
||||||
condition_era_start_date TIMESTAMP ,
|
condition_era_start_datetime TIMESTAMP ,
|
||||||
condition_era_end_date TIMESTAMP ,
|
condition_era_end_datetime TIMESTAMP ,
|
||||||
condition_occurrence_count INTEGER
|
condition_occurrence_count INTEGER
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue