OMOP Common Data Model by OHDSI
Go to file
clairblacketer 00c97dbe70 Revert "CDM Documentation updates for v5.2"
This reverts commit 36b2af6a27.

This documentation was added to the master branch in error. Instead it will be added to branch CDM_v5.2.0
2017-07-19 14:31:42 -04:00
CodeExcerpts Added codeexcerpts folder 2017-06-21 08:53:07 -04:00
Documentation Revert "CDM Documentation updates for v5.2" 2017-07-19 14:31:42 -04:00
Impala Change empty 'invalid_reason' field to null for compatibility with Atlas cohort generation. 2017-07-06 09:48:01 +01:00
Oracle Updated headers for v5.1.0 2017-06-23 14:27:17 -04:00
PostgreSQL Updated headers for v5.1.0 2017-06-23 14:29:21 -04:00
Sql Server Update headers for v5.1.0 2017-06-23 14:31:49 -04:00
LICENSE Initial commit 2014-10-14 16:20:22 -04:00
OMOP_CDM_v5_1_1.pdf Updating pdf documentation to reflect v5.1.1. 2017-07-12 15:47:13 -04:00
README.md Update README.md 2017-07-12 15:51:12 -04:00

README.md

Common Data Model v5.1.1

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

Release Notes for v5.1.1

This version has a small bug-fix for impala to make it compatible with ATLAS cohort generation.

Release Notes for v5.1.0

This version is based on the CDM working group proposal #60 and #59 and is backwards compatibile with v5.0.1. The proposed and accepted changes include adding a datetime field to every table that had a date column and adding field DENOMINATOR_VALUE to the DRUG_STRENGTH table. These were the new columns added:

PERSON

  • birth_datetime, not required

SPECIMEN

  • specimen_datetime, not required

DEATH

  • death_datetime, not required

VISIT_OCCURRENCE

  • visit_start_datetime, not required
  • visit_end_datetime, not required

PROCEDURE_OCCURRENCE

  • procedure_datetime, not required

DRUG_EXPOSURE

  • drug_exposure_start_datetime, not required
  • drug_exposure_end_datetime, not required

DRUG_STRENGTH

  • DENOMINATOR_VALUE, not required

DEVICE_EXPOSURE

  • device_exposure_start_datetime, not required
  • device_exposure_end_datetime, not required

CONDITION_OCCURRENCE

  • condition_start_datetime, not required
  • condition_end_datetime, not required

MEASUREMENT

  • measurement_datetime as time, not required

OBSERVATION

  • observation_datetime, not required

NOTE

  • note_datetime, not required

There are additional changes listed on the OHDSI wiki that have been accepted but are not listed in this version because after being accepted they were never added to the DDL. Version 5.1.0 as it is now is being used by members of the community and any changes would cause problems so the additional accepted proposals will be added in subsequent versions.


This repo contains the definition of the OMOP Common Data Model. It supports the 4 SQL technologies: Impala, Oracle, Postgres 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.