This class encapsulates the other R6 Class elements that define an IncidenceDesign
The IncidenceDesign class encapsulates the following: - Cohort Definitions - Target Definitions - Outcome Definitions - Time At Risk Definitions - A List of Analyses - Concept Sets - Subgruops - Strata Settings Note, when serializing with a library such as jsonlite, first call toList() on the R6 class before calling jsonlite::toJSON(), or call toJSON directy on this class.
cohortDefs
A list of cohort definitions. Must be a list of class "CohortDefinition"
conceptSets
A list of concept set expressions. Currently unused.
targetDefs
A list of cohort references to be used as target cohorts. Must be a list of class "CohortReference"
outcomeDefs
A list of cohort references to be used as target cohorts. Must be a list of class "CohortReference"
timeAtRiskDefs
A list of cohort references to be used as target cohorts. Must be a list of class "CohortReference"
analysisList
A list of cohort references to be used as target cohorts. Must be a list of class "CohortReference"
subgroups
A list of cohort references to be used as target cohorts. Must be a list of class "CohortReference"
strataSettings
The strata settings for this design. Must be a class "StrataSettings"
studyWindow
a study window for this design. Must be a list of class "DateRange"
new()
creates a new instance, using the provided data param if provided.
IncidenceDesign$new(data = list())