Creates R6 object for Outcome
createOutcomeDef(id, name, cohortId = 0, cleanWindow = 0, excludeCohortId)
the unique identifier for this outcome definition
an optional name for this outcome definition
the cohort id reference for this outcome
the number of days to extend the outcome cohort’s end date. See executeAnalysis()
for details on how this is applied.
a cohort ID from the outcomeCohrotTable that is used to exclude time at risk. See executeAnalysis()
for details on how this is applied.
a R6 class: Outcome