Creates R6 object for CohortSubgroup

createCohortSubgroup(id, name, description, cohortRef)

Arguments

id

the unique identifier for this subgroup

name

The subgroup name

description

The subgroup description

cohortRef

A cohort reference, as an R6 Class CohortReference

Value

a R6 class: CohortSubgroup