r
library(SqlRender)
knitr::opts_chunk$set(
cache = FALSE,
comment = "#>",
error = FALSE,
tidy = FALSE
)
The CohortDiagnostics package allows one to generate a wide set of diagnostics to evaluate cohort definitions against a database in the Common Data Model (CDM). These diagnostics include incidence rates (optionally stratified by age, gender, and calendar year), cohort characteristics (comorbidities, drug use, etc.), and the codes found in the data triggering the various rules in the cohort definitions.
The CohortDiagnostics package in general works in two steps:
The use of Cohort Diagnostics is a recommended best practice to help improve the confidence in your cohort definitions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.