Merge pull request #159 from OHDSI/cdm_v5.3.-bugfix.2

closes #140, #144, #135
This commit is contained in:
clairblacketer 2018-02-07 19:54:30 -05:00 committed by GitHub
commit 8ac00ca598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View File

@ -578,7 +578,7 @@ create table cost
payer_plan_period_id integer null , payer_plan_period_id integer null ,
amount_allowed float null , amount_allowed float null ,
revenue_code_concept_id integer null , revenue_code_concept_id integer null ,
reveue_code_source_value varchar(50) null, revenue_code_source_value varchar(50) null,
drg_concept_id integer null, drg_concept_id integer null,
drg_source_value varchar(3) null drg_source_value varchar(3) null
) )

View File

@ -8,7 +8,7 @@ Field|Required|Type|Description
|definition_type_concept_id|Yes|integer|Type defining what kind of Cohort Definition the record represents and how the syntax may be executed| |definition_type_concept_id|Yes|integer|Type defining what kind of Cohort Definition the record represents and how the syntax may be executed|
|cohort_definition_syntax|No|varchar(MAX)|Syntax or code to operationalize the Cohort definition| |cohort_definition_syntax|No|varchar(MAX)|Syntax or code to operationalize the Cohort definition|
|subject_concept_id|Yes|integer|A foreign key to the Concept to which defines the domain of subjects that are members of the cohort (e.g., Person, Provider, Visit).| |subject_concept_id|Yes|integer|A foreign key to the Concept to which defines the domain of subjects that are members of the cohort (e.g., Person, Provider, Visit).|
|cohort_instantiation_date|No|Date|A date to indicate when the Cohort was instantiated in the COHORT table| |cohort_initiation_date|No|Date|A date to indicate when the Cohort was instantiated in the COHORT table|
### Conventions ### Conventions
* The cohort_definition_syntax does not prescribe any specific syntax or programming language. Typically, it would be any flavor SQL, a cohort definition language, or a free-text description of the algorithm. * The cohort_definition_syntax does not prescribe any specific syntax or programming language. Typically, it would be any flavor SQL, a cohort definition language, or a free-text description of the algorithm.

View File

@ -8,6 +8,6 @@ The CONCEPT_SYNONYM table is used to store alternate names and descriptions for
### Conventions ### Conventions
* The concept_name field contains a valid Synonym of a concept, including the description in the concept_name itself. I.e. each Concept has at least one Synonym in the CONCEPT_SYNONYM table. As an example, for a SNOMED-CT Concept, if the fully specified name is stored as the concept_name of the CONCEPT table, then the Preferred Term and Synonyms associated with the Concept are stored in the CONCEPT_SYNONYM table. * The concept_synonym_name field contains a valid Synonym of a concept, including the description in the concept_name itself. I.e. each Concept has at least one Synonym in the CONCEPT_SYNONYM table. As an example, for a SNOMED-CT Concept, if the fully specified name is stored as the concept_name of the CONCEPT table, then the Preferred Term and Synonyms associated with the Concept are stored in the CONCEPT_SYNONYM table.
* Only Synonyms that are active and current are stored in the CONCEPT_SYNONYM table. Tracking synonym/description history and mapping of obsolete synonyms to current Concepts/Synonyms is out of scope for the Standard Vocabularies. * Only Synonyms that are active and current are stored in the CONCEPT_SYNONYM table. Tracking synonym/description history and mapping of obsolete synonyms to current Concepts/Synonyms is out of scope for the Standard Vocabularies.
* Currently, only English Synonyms are included. * Currently, only English Synonyms are included.

View File

@ -1187,7 +1187,7 @@ CREATE TABLE cost
revenue_code_concept_id INTEGER, revenue_code_concept_id INTEGER,
reveue_code_source_value VARCHAR(50), revenue_code_source_value VARCHAR(50),
drg_concept_id INTEGER, drg_concept_id INTEGER,

View File

@ -695,7 +695,7 @@ CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed REAL NULL , amount_allowed REAL NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )

View File

@ -650,7 +650,7 @@ CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed FLOAT NULL , amount_allowed FLOAT NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )

View File

@ -616,7 +616,7 @@ IF XACT_STATE() = 1 COMMIT; CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed FLOAT NULL , amount_allowed FLOAT NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )

View File

@ -650,7 +650,7 @@ CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed NUMERIC NULL , amount_allowed NUMERIC NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )

View File

@ -616,7 +616,7 @@ CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed FLOAT NULL , amount_allowed FLOAT NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )

View File

@ -650,7 +650,7 @@ CREATE TABLE cost
payer_plan_period_id INTEGER NULL , payer_plan_period_id INTEGER NULL ,
amount_allowed FLOAT NULL , amount_allowed FLOAT NULL ,
revenue_code_concept_id INTEGER NULL , revenue_code_concept_id INTEGER NULL ,
reveue_code_source_value VARCHAR(50) NULL, revenue_code_source_value VARCHAR(50) NULL,
drg_concept_id INTEGER NULL, drg_concept_id INTEGER NULL,
drg_source_value VARCHAR(3) NULL drg_source_value VARCHAR(3) NULL
) )