View source: R/checkDaysSupply.R
checkDaysSupply | R Documentation |
Check if Days_supply is the same as datediff(drug_exp_start_date,drug_exp_end_date)
checkDaysSupply(
cdm,
drugRecordsTable = "ingredient_drug_records",
byConcept = TRUE,
sampleSize = 10000
)
cdm |
CDMConnector reference object |
drugRecordsTable |
a modified version of the drug exposure table, default "ingredient_drug_records" |
byConcept |
whether to get result by drug concept |
sampleSize |
the sample size given in execute checks |
a table with the stats of days supply compared to start and end date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.