Create a concept set line item and set its attributes

createConceptSetLineItem(
  name = NULL,
  statistic,
  domain,
  conceptSet,
  timeInterval,
  sourceConceptSet = NULL,
  typeConceptIds = c(),
  visitOccurrenceConceptIds = c()
)

Arguments

name

(OPTIONAL) The name of the line item (if not provided, the name will be set to the Capr concept set name)

statistic

The Statistic object to be used to evaluate the line item

domain

The domain of the concept set (must be one of 'Condition', 'Drug', 'Procedure', 'Observation', 'Measurement', 'Device')

conceptSet

The Capr concept set object

timeInterval

The Time Interval object used for the line item

sourceConceptSet

(OPTIONAL) A Capr concept set of source concept IDs to use to limit the concept set

typeConceptIds

(OPTIONAL) A list of type concept IDs to use to limit the concept set

visitOccurrenceConceptIds

(OPTIONAL) A list of visit occurrence concept IDs to use to limit the concept set

Value

A ConceptSetLineItem object