Skip to content

Commit 97d9350

Browse files
Merge pull request #158 from OHDSI/cdm_v5.3.-issue-149
Closes #149, vocabulary_version no longer required
2 parents 33294de + 6dc7f67 commit 97d9350

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

BigQuery/OMOP CDM bigquery ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ create table vocabulary (
1717
vocabulary_id varchar(20) not null,
1818
vocabulary_name varchar(255) not null,
1919
vocabulary_reference varchar(255) not null,
20-
vocabulary_version varchar(255) not null,
20+
vocabulary_version varchar(255) null,
2121
vocabulary_concept_id integer not null
2222
)
2323
;

Documentation/CommonDataModel_Wiki_Files/StandardizedVocabularies/VOCABULARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Field|Required|Type|Description
55
|vocabulary_id|Yes|varchar(20)|A unique identifier for each Vocabulary, such as ICD9CM, SNOMED, Visit.|
66
|vocabulary_name|Yes|varchar(255)|The name describing the vocabulary, for example "International Classification of Diseases, Ninth Revision, Clinical Modification, Volume 1 and 2 (NCHS)" etc.|
77
|vocabulary_reference|Yes|varchar(255)|External reference to documentation or available download of the about the vocabulary.|
8-
|vocabulary_version|Yes|varchar(255)|Version of the Vocabulary as indicated in the source.|
8+
|vocabulary_version|No|varchar(255)|Version of the Vocabulary as indicated in the source.|
99
|vocabulary_concept_id|Yes|integer|A foreign key that refers to a standard concept identifier in the CONCEPT table for the Vocabulary the VOCABULARY record belongs to.|
1010

1111
### Conventions

Netezza/OMOP CDM netezza ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ CREATE TABLE vocabulary (
6464
vocabulary_id VARCHAR(20) NOT NULL,
6565
vocabulary_name VARCHAR(255) NOT NULL,
6666
vocabulary_reference VARCHAR(255) NOT NULL,
67-
vocabulary_version VARCHAR(255) NOT NULL,
67+
vocabulary_version VARCHAR(255) NULL,
6868
vocabulary_concept_id INTEGER NOT NULL
6969
)
7070
DISTRIBUTE ON RANDOM

Oracle/OMOP CDM oracle ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CREATE TABLE vocabulary (
6262
vocabulary_id VARCHAR(20) NOT NULL,
6363
vocabulary_name VARCHAR(255) NOT NULL,
6464
vocabulary_reference VARCHAR(255) NOT NULL,
65-
vocabulary_version VARCHAR(255) NOT NULL,
65+
vocabulary_version VARCHAR(255) NULL,
6666
vocabulary_concept_id INTEGER NOT NULL
6767
)
6868
;

ParallelDataWarehouse/OMOP CDM pdw ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ WITH (DISTRIBUTION = REPLICATE);
6060
IF XACT_STATE() = 1 COMMIT; CREATE TABLE vocabulary (vocabulary_id VARCHAR(20) NOT NULL,
6161
vocabulary_name VARCHAR(255) NOT NULL,
6262
vocabulary_reference VARCHAR(255) NOT NULL,
63-
vocabulary_version VARCHAR(255) NOT NULL,
63+
vocabulary_version VARCHAR(255) NULL,
6464
vocabulary_concept_id INTEGER NOT NULL
6565
)
6666
WITH (DISTRIBUTION = REPLICATE);

PostgreSQL/OMOP CDM postgresql ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CREATE TABLE vocabulary (
6262
vocabulary_id VARCHAR(20) NOT NULL,
6363
vocabulary_name VARCHAR(255) NOT NULL,
6464
vocabulary_reference VARCHAR(255) NOT NULL,
65-
vocabulary_version VARCHAR(255) NOT NULL,
65+
vocabulary_version VARCHAR(255) NULL,
6666
vocabulary_concept_id INTEGER NOT NULL
6767
)
6868
;

Redshift/OMOP CDM redshift ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ DISTSTYLE ALL;
6060
CREATE TABLE vocabulary (vocabulary_id VARCHAR(20) NOT NULL,
6161
vocabulary_name VARCHAR(255) NOT NULL,
6262
vocabulary_reference VARCHAR(255) NOT NULL,
63-
vocabulary_version VARCHAR(255) NOT NULL,
63+
vocabulary_version VARCHAR(255) NULL,
6464
vocabulary_concept_id INTEGER NOT NULL
6565
)
6666
DISTSTYLE ALL;

Sql Server/OMOP CDM sql server ddl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CREATE TABLE vocabulary (
6262
vocabulary_id VARCHAR(20) NOT NULL,
6363
vocabulary_name VARCHAR(255) NOT NULL,
6464
vocabulary_reference VARCHAR(255) NOT NULL,
65-
vocabulary_version VARCHAR(255) NOT NULL,
65+
vocabulary_version VARCHAR(255) NULL,
6666
vocabulary_concept_id INTEGER NOT NULL
6767
)
6868
;

0 commit comments

Comments
 (0)