Bigquery vocab version null and era datetimes

This commit is contained in:
clairblacketer 2018-10-02 09:17:30 -04:00
parent 0fe150e2ed
commit 9a0bd8665f
3 changed files with 27 additions and 27 deletions

View File

@ -43,7 +43,7 @@ create table vocabulary (
vocabulary_id STRING not null, vocabulary_id STRING not null,
vocabulary_name STRING not null, vocabulary_name STRING not null,
vocabulary_reference STRING not null, vocabulary_reference STRING not null,
vocabulary_version STRING not null, vocabulary_version STRING null,
vocabulary_concept_id INT64 not null vocabulary_concept_id INT64 not null
) )
; ;
@ -633,8 +633,8 @@ create table drug_era
drug_era_id INT64 not null , drug_era_id INT64 not null ,
person_id INT64 not null , person_id INT64 not null ,
drug_concept_id INT64 not null , drug_concept_id INT64 not null ,
drug_era_start_date date not null , drug_era_start_datetime datetime not null ,
drug_era_end_date date not null , drug_era_end_datetime datetime not null ,
drug_exposure_count INT64 null , drug_exposure_count INT64 null ,
gap_days INT64 null gap_days INT64 null
) )
@ -649,8 +649,8 @@ create table dose_era
drug_concept_id INT64 not null , drug_concept_id INT64 not null ,
unit_concept_id INT64 not null , unit_concept_id INT64 not null ,
dose_value FLOAT64 not null , dose_value FLOAT64 not null ,
dose_era_start_date date not null , dose_era_start_datetime datetime not null ,
dose_era_end_date date not null dose_era_end_datetime datetime not null
) )
; ;
@ -661,8 +661,8 @@ create table condition_era
condition_era_id INT64 not null , condition_era_id INT64 not null ,
person_id INT64 not null , person_id INT64 not null ,
condition_concept_id INT64 not null , condition_concept_id INT64 not null ,
condition_era_start_date date not null , condition_era_start_datetime datetime not null ,
condition_era_end_date date not null , condition_era_end_datetime datetime not null ,
condition_occurrence_count INT64 null condition_occurrence_count INT64 null
) )
; ;

View File

@ -1 +1 @@
***OMOP Common Data Model v5.3.1 Specifications 14June2018*** ***OMOP Common Data Model v6.0 Specifications 11October2018***

View File

@ -21,8 +21,6 @@
* [CONCEPT_ANCESTOR](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_ANCESTOR) * [CONCEPT_ANCESTOR](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_ANCESTOR)
* [SOURCE_TO_CONCEPT_MAP](https://github.com/OHDSI/CommonDataModel/wiki/SOURCE_TO_CONCEPT_MAP) * [SOURCE_TO_CONCEPT_MAP](https://github.com/OHDSI/CommonDataModel/wiki/SOURCE_TO_CONCEPT_MAP)
* [DRUG_STRENGTH](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_STRENGTH) * [DRUG_STRENGTH](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_STRENGTH)
* [COHORT_DEFINITION](https://github.com/OHDSI/CommonDataModel/wiki/COHORT_DEFINITION)
* [ATTRIBUTE_DEFINITION](https://github.com/OHDSI/CommonDataModel/wiki/ATTRIBUTE_DEFINITION)
**[Standardized Metadata](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Metadata)** **[Standardized Metadata](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Metadata)**
* [CDM_SOURCE](https://github.com/OHDSI/CommonDataModel/wiki/CDM_SOURCE) * [CDM_SOURCE](https://github.com/OHDSI/CommonDataModel/wiki/CDM_SOURCE)
@ -55,8 +53,10 @@
* [COST](https://github.com/OHDSI/CommonDataModel/wiki/COST) * [COST](https://github.com/OHDSI/CommonDataModel/wiki/COST)
**[Standardized Derived Elements](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Derived-Elements)** **[Standardized Derived Elements](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Derived-Elements)**
* [COHORT](https://github.com/OHDSI/CommonDataModel/wiki/COHORT)
* [COHORT_ATTRIBUTE](https://github.com/OHDSI/CommonDataModel/wiki/COHORT_ATTRIBUTE)
* [DRUG_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_ERA) * [DRUG_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_ERA)
* [DOSE_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DOSE_ERA) * [DOSE_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DOSE_ERA)
* [CONDITION_ERA](https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_ERA) * [CONDITION_ERA](https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_ERA)
**[Results Schema](https://github.com/OHDSI/CommonDataModel/wiki/Results-Schema)**
* [COHORT](https://github.com/OHDSI/CommonDataModel/wiki/COHORT)
* [COHORT_DEFINITION](https://github.com/OHDSI/CommonDataModel/wiki/COHORT_DEFINITION)