OMOP Common Data Model by OHDSI
Go to file
Clair Blacketer 38a0b9eb5f Updated CDM v5.3 DDLs based on tester feedback 2017-12-15 11:57:18 -05:00
CodeExcerpts fixing intro 2017-06-21 16:23:46 -04:00
DDLGeneratr Updated CDM v5.3 DDLs based on tester feedback 2017-12-15 11:57:18 -05:00
Documentation Added FAQ page 2017-12-11 08:41:40 -05:00
Impala Varchar 1 2 or 3 changed to char and across all database types 2017-09-09 09:21:37 -07:00
Oracle Varchar 1 2 or 3 changed to char and across all database types 2017-09-09 09:21:37 -07:00
PostgreSQL Varchar 1 2 or 3 changed to char and across all database types 2017-09-09 09:21:37 -07:00
Redshift Varchar 1 2 or 3 changed to char and across all database types 2017-09-09 09:21:37 -07:00
Sql Server typo in column name 2017-09-27 22:32:46 -04:00
.gitignore Addresses #64, #70, #79, #92, #120, #132, #131 in code, documentation is still being updated to reflect these changes. 2017-11-09 09:30:50 -05:00
LICENSE Initial commit 2014-10-14 16:20:22 -04:00
OMOP_CDM_v5_2.pdf Removed old pdf and replaced with new pdf. 2017-07-20 10:26:32 -04:00
README.md Update README.md 2017-07-27 14:24:46 -04:00

README.md

Common Data Model v5.2

See full CDM specification file on our github wiki or in the CDM V5.2 PDF

Release Notes for v5.2.0

This version is based on the CDM working group proposals:

  • #71 Adds the field VERBATIM_END_DATE to DRUG_EXPOSURE and makes DRUG_EXPOSURE_END_DATE a required field
  • #73 Removes EFFECTIVE_DRUG_DOSE and DOSE_UNIT_CONCEPT_ID from DRUG_EXPOSURE
  • #75 Adds the field BOX_SIZE to DRUG_STRENGTH
  • #83 Adds the following fields to VISIT_OCCURRENCE:
    • ADMITTING_SOURCE_CONCEPT_ID
    • ADMITTING_SOURCE_VALUE
    • DISCHARGE_TO_CONCEPT_ID
    • DISCHARGE_TO_SOURCE_VALUE
    • PRECEDING_VISIT_OCCURRENCE_ID
  • #84 Adds the following fields to CONDITION_OCCURRENCE:
    • CONDITION_STATUS_CONCEPT_ID
    • CONDITION_STATUS_SOURCE_VALUE
  • #69 Adds the following fields to COST:
    • DRG_CONCEPT_ID
    • DRG_SOURCE_VALUE
  • #85 Adds the NOTE_NLP table and the following fields to NOTE:
    • NOTE_CLASS_CONCEPT_ID
    • NOTE_TITLE
    • ENCODING_CONCEPT_ID
    • LANGUAGE_CONCEPT_ID

Additional Updates

  • Files to generate the '_ERA' tables are now available in the CodeExcerpts folder
  • Redshift DDLs are now available

This version is backwards compatibile with v5.0.1.


This repo contains the definition of the OMOP Common Data Model. It supports the 5 SQL technologies: Impala, Oracle, Postgres, Redshift, and SQL Server. For each, the DDL, constraints and indexes (if appropriate) are defined.

Versions are defined using tagging and versioning. Full versions (V6, 7 etc.) are released each year (1-Jan) and are not backwards compatible. Minor versions (V5.1, 5.2 etc.) are released each quarter (1-Apr, 1-Jul and 1-Sep) and are not guaranteed to be backwards compatible though an effort is made to make sure that current queries will not break. Micro versions (V5.1.1, V5.1.2 etc.) are released irregularly and often, and contain small hot fixes or backward compatible changes to the last minor version.