drugRefills: Function to create refills attribute

View source: R/attributes-op.R

drugRefillsR Documentation

Function to create refills attribute

Description

This function is used only for a drug query. refills is a column in the drug exposure table of the cdm. This attribute allows a subquery to find drugs that satisfy certain values determined by the op logic.

Usage

drugRefills(op)

Arguments

op

an opAttribute object that is either numeric or integer that defines the logical operation used to determine eligible number of refills

Value

An attribute that can be used in a cohort definition


OHDSI/Capr documentation built on Feb. 20, 2025, 4 a.m.