Create a source concept set line item and set its attributes

createSourceConceptSetLineItem(
  sectionLabel = NA_character_,
  domain,
  sourceConceptSet,
  timeInterval,
  statistic,
  typeConceptIds = c()
)

Arguments

sectionLabel

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

domain

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

sourceConceptSet

A SourceConcept R6 object created using the sourceConceptSet function

timeInterval

The Time Interval object used for the line item

statistic

The Statistic object to be used to evaluate the line item

typeConceptIds

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

Value

A SourceConceptSetLineItem object