Skip to contents

Check missings in drug exposure records

Usage

getDrugMissings(
  cdm,
  drugRecordsTable = "ingredient_drug_records",
  byConcept = TRUE,
  sampleSize = 10000
)

Arguments

cdm

CDMConnector reference object

drugRecordsTable

a modified version of the drug exposure table, default "ingredient_drug_records"

byConcept

by individual drug Concept

sampleSize

the sample size given in execute checks

Value

a table with a summary of missing records