This is an R package for performing various study diagnostics, many of which are not specific to any particular study design.
- 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.
- Explore patient profiles of a random sample of subjects in a cohort.
The CohortDiagnostics package is an R package.
Running the package requires R with the package rJava installed. Also requires Java 1.7 or higher.
To install the latest development version, install from GitHub:
install.packages("drat")
drat::addRepo("OHDSI")
install.packages("CohortDiagnostics")
- Vignette: Running cohort diagnostics using WebAPI
- Package manual: CohortDiagnostics manual
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
CohortDiagnostics is licensed under Apache License 2.0
CohortDiagnostics is being developed in R Studio.
Beta testing