Skip to content

OHDSI/CohortDiagnostics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8efc214 · Apr 15, 2025
Oct 1, 2024
Apr 15, 2025
Apr 15, 2025
Apr 15, 2025
Apr 15, 2025
Mar 24, 2022
Apr 1, 2025
Apr 15, 2025
Mar 28, 2023
Jul 6, 2022
Aug 5, 2022
Mar 14, 2025
Apr 15, 2025
Apr 1, 2025
Mar 14, 2025
Oct 1, 2024
Sep 30, 2024
Feb 19, 2021
Feb 19, 2021

Repository files navigation

CohortDiagnostics

Build Status codecov.io

CohortDiagnostics is part of HADES.

Introduction

CohortDiagnostics is an R utility package for the development and evaluation of phenotype algorithms for OMOP CDM compliant data sets. This package provides a standard, end to end, set of analytics for understanding patient capture including data generation and result exploration through an R Shiny interface. Analytics computed include cohort characteristics, record counts, index event misclassification, captured observation windows and basic incidence rates and proportions for age, gender and calendar year (based crude data set wide metrics). Through the identification of errors, CohortDiagnostics enables the comparison of multiple candidate cohort definitions across one or more data sources, facilitating reproducible research.

Features

  • Show cohort inclusion rule attrition.
  • List all source codes used when running a cohort definition on a specific database.
  • Find orphan codes, (source) codes that should be, but are not included in a particular concept set.
  • Compute cohort incidence across calendar years, age, and gender.
  • Break down index events into the specific concepts that triggered them.
  • Compute overlap between two cohorts.
  • Characterize cohorts, and compare these characterizations. Perform cohort comparison and temporal comparisons.
  • Explore patient profiles of a random sample of subjects in a cohort.

Screenshot

The Diagnostics Explorer Shiny app

Technology

The CohortDiagnostics package is an R package.

System Requirements

Requires R. Some of the packages used by CohortDiagnostics require Java.

Installation

  1. See the instructions here for configuring your R environment, including Java.

  2. In R, use the following commands to download and install CohortDiagnostics:

remotes::install_github("OHDSI/CohortDiagnostics")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available:

Support

Contributing

Read here how you can contribute to this package.

License

CohortDiagnostics is licensed under Apache License 2.0

Development

CohortDiagnostics is being developed in R Studio.

Development status

Stable