Skip to contents

Drug exposure records for ingredients of interest

Usage

getDrugRecords(
  cdm,
  ingredient,
  includedConceptsTable,
  drugRecordsTable = "drug_exposure",
  tablePrefix = NULL,
  verbose = FALSE
)

Arguments

cdm

CDMConnector reference object

ingredient

Concept ID for ingredient of interest

includedConceptsTable

includedConceptsTable

drugRecordsTable

drugRecordsTable, default "drug_exposure"

tablePrefix

The stem for the permanent tables that will be created when running the diagnostics. Permanent tables will be created using this prefix, and any existing tables that start with this will be at risk of being dropped or overwritten. If NULL, temporary tables will be used throughout.

verbose

verbose

Value

a table containing drug exposure records