stratifyByUnit {DrugUtilisation}R Documentation

Function to stratify a conceptSet by unit

Description

[Deprecated]

Usage

stratifyByUnit(conceptSet, cdm, ingredientConceptId)

Arguments

conceptSet

List of concepts to be included.

cdm

A cdm_reference object.

ingredientConceptId

Ingredient OMOP concept that we are interested for the study.

Value

The conceptSet stratified by unit

Examples


library(DrugUtilisation)

cdm <- mockDrugUtilisation()

codelist <- CodelistGenerator::getDrugIngredientCodes(cdm, "acetaminophen")

codelistStratified <- stratifyByUnit(codelist, cdm, 1125315)

codelistStratified



[Package DrugUtilisation version 0.8.0 Index]