Skip to contents

Computes incidence rates for cohorts against the OMOP Common Data Model

Super class

StrategusModule -> CohortIncidenceModule

Public fields

tablePrefix

The table prefix to append to results tables

Methods

Inherited methods


CohortIncidenceModule$new()

Initialize the module

Usage


CohortIncidenceModule$execute()

Execute the CohortIncidence package

Usage

CohortIncidenceModule$execute(
  connectionDetails,
  analysisSpecifications,
  executionSettings
)

Arguments

connectionDetails

An object of class connectionDetails as created by the DatabaseConnector::createConnectionDetails() function.

analysisSpecifications

An object of type AnalysisSpecifications as created by createEmptyAnalysisSpecificiations().

analysisSpecifications

An object of type AnalysisSpecifications as created by createEmptyAnalysisSpecificiations().

executionSettings

An object of type ExecutionSettings as created by createCdmExecutionSettings() or createResultsExecutionSettings().


CohortIncidenceModule$createResultsDataModel()

Create the results data model for the module

Usage

CohortIncidenceModule$createResultsDataModel(
  resultsConnectionDetails,
  resultsDatabaseSchema,
  tablePrefix = ""
)

Arguments

resultsConnectionDetails

The connection details to the results database which is an object of class connectionDetails as created by the DatabaseConnector::createConnectionDetails() function.

resultsConnectionDetails

The connection details to the results database which is an object of class connectionDetails as created by the DatabaseConnector::createConnectionDetails() function.

resultsDatabaseSchema

The schema in the results database that holds the results data model.

tablePrefix

A prefix to apply to the database table names (optional).

tablePrefix

A prefix to apply to the database table names (optional).


CohortIncidenceModule$getResultsDataModelSpecification()

Get the results data model specification for the module

Usage

CohortIncidenceModule$getResultsDataModelSpecification(tablePrefix = "")

Arguments

tablePrefix

A prefix to apply to the database table names (optional).

tablePrefix

A prefix to apply to the database table names (optional).


CohortIncidenceModule$uploadResults()

Upload the results for the module

Usage

CohortIncidenceModule$uploadResults(
  resultsConnectionDetails,
  analysisSpecifications,
  resultsDataModelSettings
)

Arguments

resultsConnectionDetails

The connection details to the results database which is an object of class connectionDetails as created by the DatabaseConnector::createConnectionDetails() function.

resultsConnectionDetails

The connection details to the results database which is an object of class connectionDetails as created by the DatabaseConnector::createConnectionDetails() function.

analysisSpecifications

An object of type AnalysisSpecifications as created by createEmptyAnalysisSpecificiations().

analysisSpecifications

An object of type AnalysisSpecifications as created by createEmptyAnalysisSpecificiations().

resultsDataModelSettings

The results data model settings as created using createResultsDataModelSettings().


CohortIncidenceModule$createModuleSpecifications()

Creates the CohortIncidence Module Specifications

Usage

CohortIncidenceModule$createModuleSpecifications(irDesign = NULL)

Arguments

irDesign

The incidence rate design created from the CohortIncidence package


CohortIncidenceModule$validateModuleSpecifications()

Validate the module specifications

Usage

CohortIncidenceModule$validateModuleSpecifications(moduleSpecifications)

Arguments

moduleSpecifications

The CohortIncidence module specifications


CohortIncidenceModule$clone()

The objects of this class are cloneable with this method.

Usage

CohortIncidenceModule$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.