Creates R6 object for CohortSubgroup
createCohortSubgroup(id, name, description, cohortRef)
the unique identifier for this subgroup
The subgroup name
The subgroup description
A cohort reference, as an R6 Class CohortReference
a R6 class: CohortSubgroup