Updates to documentation

This commit is contained in:
Clair Blacketer 2018-10-26 11:07:49 -04:00
parent 99439a4388
commit f61bb3dab8
5 changed files with 71 additions and 83 deletions

View File

@ -1,69 +1,73 @@
***OMOP Common Data Model v5.3 Specifications***
***OMOP Common Data Model v6.0 Specifications***
<br>*Authors: Christian Reich, Patrick Ryan, Rimma Belenkaya, Karthik Natarajan, Clair Blacketer*
<br>*3 January 2018*
<br>*11 October 2018*
Welcome to the Common Data Model wiki! This wiki houses all of the documentation for the latest version as well as changes added with each release. You can find a pdf added to each [release](https://github.com/OHDSI/CommonDataModel/releases) with a historical version of the wiki as it was at the time of the release. You can navigate the pages using the table of contents below or the links to the right.
# Table of Contents
**[License](wiki/License)**
<br>
<br>**[Background](wiki/Background)**
<br> [The Role of the Common Data Model](wiki/The-Role-of-the-Common-Data-Model)
<br> [Design Principles](wiki/Design-Principles)
<br> [Data Model Conventions](wiki/Data-Model-Conventions)
<br> [Frequently Asked Questions](wiki/Frequently-Asked-Questions)
<br>
<br>**[Glossary of Terms](wiki/Glossary-of-Terms)**
<br>
<br>**[Standardized Vocabularies](wiki/Standardized-Vocabularies)**
<br>[CONCEPT](wiki/CONCEPT)
<br>[VOCABULARY](wiki/VOCABULARY)
<br>[DOMAIN](wiki/DOMAIN)
<br>[CONCEPT_CLASS](wiki/CONCEPT_CLASS)
<br>[CONCEPT_RELATIONSHIP](wiki/CONCEPT_RELATIONSHIP)
<br>[RELATIONSHIP](wiki/RELATIONSHIP)
<br>[CONCEPT_SYNONYM](wiki/CONCEPT_SYNONYM)
<br>[CONCEPT_ANCESTOR](wiki/CONCEPT_ANCESTOR)
<br>[SOURCE_TO_CONCEPT_MAP](wiki/SOURCE_TO_CONCEPT_MAP)
<br>[DRUG_STRENGTH](wiki/DRUG_STRENGTH)
<br>[COHORT_DEFINITION](wiki/COHORT_DEFINITION)
<br>[ATTRIBUTE_DEFINITION](wiki/ATTRIBUTE_DEFINITION)
<br>
<br>**[Standardized Metadata](wiki/Standardized-Metadata)**
<br>[CDM_SOURCE](wiki/CDM_SOURCE)
<br>[METADATA](wiki/METADATA)
<br>
<br>**[Standardized Clinical Data Tables](Standardized-Clinical-Data-Tables)**
<br>[PERSON](wiki/PERSON)
<br>[OBSERVATION_PERIOD](wiki/OBSERVATION_PERIOD)
<br>[SPECIMEN](wiki/SPECIMEN)
<br>[DEATH](wiki/DEATH)
<br>[VISIT_OCCURRENCE](wiki/VISIT_OCCURRENCE)
<br>[VISIT_DETAIL](wiki/VISIT_DETAIL)
<br>[PROCEDURE_OCCURRENCE](wiki/PROCEDURE_OCCURRENCE)
<br>[DRUG_EXPOSURE](wiki/DRUG_EXPOSURE)
<br>[DEVICE_EXPOSURE](wiki/DEVICE_EXPOSURE)
<br>[CONDITION_OCCURRENCE](wiki/CONDITION_OCCURRENCE)
<br>[MEASUREMENT](wiki/MEASUREMENT)
<br>[NOTE](wiki/NOTE)
<br>[NOTE_NLP](wiki/NOTE_NLP)
<br>[OBSERVATION](wiki/OBSERVATION)
<br>[FACT_RELATIONSHIP](wiki/FACT_RELATIONSHIP)
<br>
<br>**[Standardized Health System Data Tables](wiki/Standardized-Health-System-Data-Tables)**
<br>[LOCATION](wiki/LOCATION)
<br>[CARE_SITE](wiki/CARE_SITE)
<br>[PROVIDER](wiki/PROVIDER)
<br>
<br>**[Standardized Health Economics Data Tables](wiki/Standardized-Health-Economics-Data-Tables)**
<br>[PAYER_PLAN_PERIOD](wiki/PAYER_PLAN_PERIOD)
<br>[COST](wiki/COST)
<br>
<br>**[Standardized Derived Elements](wiki/Standardized-Derived-Elements)**
<br>[COHORT](wiki/COHORT)
<br>[COHORT_ATTRIBUTE](wiki/COHORT_ATTRIBUTE)
<br>[DRUG_ERA](wiki/DRUG_ERA)
<br>[DOSE_ERA](wiki/DOSE_ERA)
<br>[CONDITION_ERA](wiki/CONDITION_ERA)
**[Home](https://github.com/OHDSI/CommonDataModel/wiki)**
**[License](https://github.com/OHDSI/CommonDataModel/wiki/License)**
**[Background](https://github.com/OHDSI/CommonDataModel/wiki/Background)**
* [The Role of the Common Data Model](https://github.com/OHDSI/CommonDataModel/wiki/The-Role-of-the-Common-Data-Model)
* [Design Principles](https://github.com/OHDSI/CommonDataModel/wiki/Design-Principles)
* [Data Model Conventions](https://github.com/OHDSI/CommonDataModel/wiki/Data-Model-Conventions)
* [Frequently Asked Questions](https://github.com/OHDSI/CommonDataModel/wiki/Frequently-Asked-Questions)
**[Glossary of Terms](https://github.com/OHDSI/CommonDataModel/wiki/Glossary-of-Terms)**
**[Standardized Vocabularies](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Vocabularies)**
* [CONCEPT](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT)
* [VOCABULARY](https://github.com/OHDSI/CommonDataModel/wiki/VOCABULARY)
* [DOMAIN](https://github.com/OHDSI/CommonDataModel/wiki/DOMAIN)
* [CONCEPT_CLASS](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_CLASS)
* [CONCEPT_RELATIONSHIP](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_RELATIONSHIP)
* [RELATIONSHIP](https://github.com/OHDSI/CommonDataModel/wiki/RELATIONSHIP)
* [CONCEPT_SYNONYM](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_SYNONYM)
* [CONCEPT_ANCESTOR](https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_ANCESTOR)
* [SOURCE_TO_CONCEPT_MAP](https://github.com/OHDSI/CommonDataModel/wiki/SOURCE_TO_CONCEPT_MAP)
* [DRUG_STRENGTH](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_STRENGTH)
**[Standardized Metadata](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Metadata)**
* [CDM_SOURCE](https://github.com/OHDSI/CommonDataModel/wiki/CDM_SOURCE)
* [METADATA](https://github.com/OHDSI/CommonDataModel/wiki/METADATA)
**[Standardized Clinical Data Tables](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Clinical-Data-Tables)**
* [PERSON](https://github.com/OHDSI/CommonDataModel/wiki/PERSON)
* [OBSERVATION_PERIOD](https://github.com/OHDSI/CommonDataModel/wiki/OBSERVATION_PERIOD)
* [VISIT_OCCURRENCE](https://github.com/OHDSI/CommonDataModel/wiki/VISIT_OCCURRENCE)
* [VISIT_DETAIL](https://github.com/OHDSI/CommonDataModel/wiki/VISIT_DETAIL)
* [CONDITION_OCCURRENCE](https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_OCCURRENCE)
* [DEATH](https://github.com/OHDSI/CommonDataModel/wiki/DEATH)
* [DRUG_EXPOSURE](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_EXPOSURE)
* [PROCEDURE_OCCURRENCE](https://github.com/OHDSI/CommonDataModel/wiki/PROCEDURE_OCCURRENCE)
* [DEVICE_EXPOSURE](https://github.com/OHDSI/CommonDataModel/wiki/DEVICE_EXPOSURE)
* [MEASUREMENT](https://github.com/OHDSI/CommonDataModel/wiki/MEASUREMENT)
* [NOTE](https://github.com/OHDSI/CommonDataModel/wiki/NOTE)
* [NOTE_NLP](https://github.com/OHDSI/CommonDataModel/wiki/NOTE_NLP)
* [SURVEY_CONDUCT](https://github.com/OHDSI/CommonDataModel/wiki/SURVEY_CONDUCT)
* [OBSERVATION](https://github.com/OHDSI/CommonDataModel/wiki/OBSERVATION)
* [SPECIMEN](https://github.com/OHDSI/CommonDataModel/wiki/SPECIMEN)
* [FACT_RELATIONSHIP](https://github.com/OHDSI/CommonDataModel/wiki/FACT_RELATIONSHIP)
**[Standardized Health System Data Tables](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Health-System-Data-Tables)**
* [LOCATION](https://github.com/OHDSI/CommonDataModel/wiki/LOCATION)
* [LOCATION_HISTORY](https://github.com/OHDSI/CommonDataModel/wiki/LOCATION_HISTORY)
* [CARE_SITE](https://github.com/OHDSI/CommonDataModel/wiki/CARE_SITE)
* [PROVIDER](https://github.com/OHDSI/CommonDataModel/wiki/PROVIDER)
**[Standardized Health Economics Data Tables](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Health-Economics-Data-Tables)**
* [PAYER_PLAN_PERIOD](https://github.com/OHDSI/CommonDataModel/wiki/PAYER_PLAN_PERIOD)
* [COST](https://github.com/OHDSI/CommonDataModel/wiki/COST)
**[Standardized Derived Elements](https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Derived-Elements)**
* [DRUG_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DRUG_ERA)
* [DOSE_ERA](https://github.com/OHDSI/CommonDataModel/wiki/DOSE_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)

View File

@ -1,5 +1,3 @@
# SURVEY_CONDUCT
The SURVEY_CONDUCT table is used to store an instance of a completed survey or questionnaire. It captures details of the individual questionnaire such as who completed it, when it was completed and to which patient treatment or visit it relates to (if any). Each SURVEY has a SURVEY_CONCEPT_ID, a concept in the CONCEPT table identifying the questionnaire e.g. EQ5D, VR12, SF12. Each questionnaire should exist in the CONCEPT table. Each SURVEY can be optionally related to a specific patient visit in order to link it both to the visit during which it was completed and any subsequent visit where treatment was assigned based on the patient's responses.
Field | Required | Type | Description
@ -9,8 +7,8 @@ PERSON_ID | Yes | integer | A foreign key identifier to the Person in the PERSON
SURVEY_CONCEPT_ID | Yes | integer | A foreign key to the predefined Concept identifier in the Standardized Vocabularies reflecting the name and identity of the survey.
SURVEY_START_DATE | No | date | Date on which the survey was started.
SURVEY_START_DATETIME | No | datetime | Date and time the survey was started.
SURVEY_END_DATE | Yes | date | Date on which the survey was completed.
SURVEY_END_DATETIME | No | datetime | Date and time the survey was completed.
SURVEY_END_DATE | No | date | Date on which the survey was completed.
SURVEY_END_DATETIME | Yes | datetime | Date and time the survey was completed.
PROVIDER_ID | No  | integer  | A foreign key to the provider in the provider table who was associated with the survey completion.
ASSISTED_CONCEPT_ID | Yes | integer | A foreign key to the predefined Concept identifier in the Standardized Vocabularies indicating whether the survey was completed with assistance.
RESPONDENT_TYPE_CONCEPT_ID | Yes | integer | A foreign key to the predefined Concept identifier in the Standardized Vocabularies reflecting the respondent type. Example: Research Associate, Patient.

View File

@ -14,8 +14,8 @@ Field|Required|Type|Description
|care_site_id|No|integer|A foreign key to the care site in the care site table that was visited.|
|visit_source_value|No|varchar(50)|The source code for the visit as it appears in the source data.|
|visit_source_concept_id|Yes|integer|A foreign key to a Concept that refers to the code used in the source.|
|admitting_source_concept_id |Yes |integer |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the admitting source for a visit.|
|admitting_source_value | No|varchar(50)| The source code for the admitting source as it appears in the source data.|
|admitted_from_concept_id |Yes |integer |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting where the patient was admitted from.|
|admitted_from_source_value | No|varchar(50)| The source code for where the patient was admitted from as it appears in the source data.|
|discharge_to_concept_id |Yes | integer |A foreign key to the predefined concept in the Place of Service Vocabulary reflecting the discharge disposition for a visit.|
|discharge_to_source_value | No| varchar(50)| The source code for the discharge disposition as it appears in the source data.|
|preceding_visit_occurrence_id | No |integer|A foreign key to the VISIT_OCCURRENCE table of the visit immediately preceding this visit|

View File

@ -36,7 +36,7 @@ No.|Convention Description
| 7 | Drug costs are composed of ingredient cost (the amount charged by the wholesale distributor or manufacturer), the dispensing fee (the amount charged by the pharmacy and the sales tax). |
| 8 | In claims data, generally there is one field representing the total payment from the payer for the service/device/drug. However, this field could be a calculated field if the source data provides separate payment information for the ingredient cost and the dispensing fee in case of prescription benefits. If there is more than one Payer in the source data, several cost records indicate that fact. The Payer reporting this reimbursement should be indicated under the PAYER_PLAN_ID field. |
| 10 | REVENUE_CODE_CONCEPT_ID: Revenue codes are a method to charge for a class of procedures and conditions in the U.S. hospital system.
| 11 | DRG_CONCEPT_ID: Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups. Only the MS-DRG system should be used (mapped to vocabulary_id 'DRG) and all other DRG values should be mapped to 0 ([THEMIS issue #19](https://github.com/OHDSI/Themis/issues/19)). |
| 11 | DRG_CONCEPT_ID: Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups. APR-DRG codes were recently added to the vocabulary and are now supported along with MS-DRGs ([THEMIS issue #19](https://github.com/OHDSI/Themis/issues/19)). |
The COST table will store information reporting money or currency amounts. There are three types of cost data, defined in the COST_TYPE_CONCEPT_ID:
@ -58,15 +58,3 @@ cost_id |person_id| cost_event_id| cost_event_field_concept_id| cost_concept_id|
|2 |175127601| 1002| *TBD*| 2345| 5032| 0| 44818668| 3 |1/1/2000| |2/28/2000| 0 |0| || 3045|
|3 |175127601| 1002| *TBD*| 3456| 5032| 0| 44818668| 88 |1/1/2000| | 2/28/2000| 0 |0| || 3045|
|4 |175127601| 1002| *TBD*| 4567| 5032| 0| 44818668| 113 |1/1/2000| | 2/28/2000| 0 |0| || 3045|
No.|Convention Description
:--------|:------------------------------------
| 1 | The cost information is linked through the COST_EVENT_ID field to its entity, which denotes a record in a table referenced by the COST_EVENT_FIELD_CONCEPT_ID field.
| 2 | One cost record is generated for each response by a payer. In a claims databases, the payment and payment terms reported by the payer for the goods or services billed will generate one cost record. If the source data has payment information for more than one payer (i.e. primary insurance and secondary insurance payment for one entity), then a cost record is created for each reporting payer. Therefore, it is possible for one procedure to have multiple cost records for each payer, but typically it contains one or no record per entity. Payer reimbursement cost records will be identified by using the PAYER_PLAN_ID field. |
| 3 | One cost record is generated for each money or currency amount associated with a record in one of the event tables. |
| 4 | The COST field represents the dollar amount, either incoming or outgoing |
| 5 | When dealing with summary costs, the cost of the goods or services the provider provides is often not known directly, but derived from the hospital charges multiplied by an average cost-to-charge ratio. This data is currently available for [NIS](https://www.hcup-us.ahrq.gov/db/nation/nis/nisdbdocumentation.jsp) datasets, or any other [HCUP](https://www.hcup-us.ahrq.gov/databases.jsp) datasets. See also cost calculation explanation from AHRQ | 6 | In claims data, total paid is considered the calculated field the payer expects the provider to get reimbursed for goods and services, based on the payer's contractual obligations. |
| 7 | Drug costs are composed of ingredient cost (the amount charged by the wholesale distributor or manufacturer), the dispensing fee (the amount charged by the pharmacy and the sales tax). |
| 8 | In claims data, generally there is one field representing the total payment from the payer for the service/device/drug. However, this field could be a calculated field if the source data provides separate payment information for the ingredient cost and the dispensing fee in case of prescription benefits. If there is more than one Payer in the source data, several cost records indicate that fact. The Payer reporting this reimbursement should be indicated under the PAYER_PLAN_ID field. |
| 10 | REVENUE_CODE_CONCEPT_ID: Revenue codes are a method to charge for a class of procedures and conditions in the U.S. hospital system.
| 11 | DRG_CONCEPT_ID: Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups. Only the MS-DRG system should be used (mapped to vocabulary_id 'DRG) and all other DRG values should be mapped to 0. |

View File

@ -1,5 +1,3 @@
## LOCATION_HISTORY
The LOCATION HISTORY table stores relationships between Persons or Care Sites and geographic locations over time.
Field|Required|Type|Description