An R6 class to define build options for the tableShell

Active bindings

codesetTempTable

table name for codeset table

sourceCodesetTempTable

table name for source codeset table

timeWindowTempTable

table name for time windows

targetCohortTempTable

table name for target cohorts

tsMetaTempTable

table name for table shell meta

conceptSetOccurrenceTempTable

table name for concept set occurrence table

cohortOccurrenceTempTable

table name for cohort occurrence table

patientLevelDataTempTable

table name for patient level data

patientLevelTableShellTempTable

table name for patient level data table merged with ts meta

categoricalSummaryTempTable

table name for categorical summary table

continuousSummaryTempTable

table name for continuous summary table

cohortAnalysisType

toggle to choose if using cohort era or start date

Methods


Method new()

Usage

BuildOptions$new(
  codesetTempTable = NULL,
  sourceCodesetTempTable = NULL,
  timeWindowTempTable = NULL,
  targetCohortTempTable = NULL,
  tsMetaTempTable = NULL,
  conceptSetOccurrenceTempTable = NULL,
  cohortOccurrenceTempTable = NULL,
  patientLevelDataTempTable = NULL,
  patientLevelTableShellTempTable = NULL,
  categoricalSummaryTempTable = NULL,
  continuousSummaryTempTable = NULL,
  cohortAnalysisType = NULL
)

Arguments

codesetTempTable

the name of the codeset table used in execution. Defaults as a temp table #codeset

sourceCodesetTempTable

the name of the source codeset table used in execution

timeWindowTempTable

the name of the time Window table used in execution. Defaults as a temp table #time_windows

targetCohortTempTable

the name of the target cohort table used in execution. Defaults as a temp table #target_cohorts

tsMetaTempTable

the name of the table shell meta table used in execution. Defaults as a temp table #ts_meta

conceptSetOccurrenceTempTable

the name of the concept set occurrence table used in execution. Defaults as a temp table #concept_set_occ

cohortOccurrenceTempTable

the name of the cohort occurrence table used in execution. Defaults as a temp table #cohort_occ

patientLevelDataTempTable

the name of the patient level data table used in execution. Note this does not contain info of the table shell. Defaults as a temp table #patient_data

patientLevelTableShellTempTable

the name of the patient level data table with additional meta info used in execution. Defaults as a temp table #pat_ts_tab

categoricalSummaryTempTable

the name of the categorical summary table used in execution. Defaults as a temp table #categorical_table

continuousSummaryTempTable

the name of the continuous summary table used in execution. Defaults as a temp table #continuous_table

cohortAnalysisType

a toggle specifying if in a cohort Char whether to use the cohort era ('era') or just the start date ('startDate')


Method clone()

The objects of this class are cloneable with this method.

Usage

BuildOptions$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.