createDataDiagnosticsSettings.Rd
createDataDiagnosticsSettings
createDataDiagnosticsSettings(
analysisId,
analysisName = "analysis",
minAge = NULL,
maxAge = NULL,
genderConceptIds = c(8507, 8532),
raceConceptIds = NULL,
ethnicityConceptIds = NULL,
studyStartDate = NULL,
studyEndDate = NULL,
requiredDurationDays = 365,
requiredDomains = c("condition", "drug"),
desiredDomains = NULL,
requiredVisits = NULL,
desiredVisits = NULL,
targetName = "target",
targetConceptIds = NULL,
comparatorName = NULL,
comparatorConceptIds = NULL,
indicationName = NULL,
indicationConceptIds = NULL,
includeIndicationInCalc = F,
outcomeName = NULL,
outcomeConceptIds = NULL
)
The identifier for the specific analysis.
The name for the specific analysis.
The minimum age for patients included in the analysis. Default is the lowest age available in the database.
The minimum age for patients included in the analysis. Default is the highest age available in the database.
The required sex(es) at birth for patients included in the analysis, expressed as a vector of concepts. List the standard OMOP concepts for the required values as found here (https://athena.ohdsi.org/search-terms/terms?domain=Gender&standardConcept=Standard&page=1&pageSize=15&query=). Default is c(8507, 8532) for male and female.
The required races for patients included in the analysis, expressed as a vector of concepts, e.g. c(8515,8527). If no restriction leave blank, else list the standard OMOP concepts for the required values as found here (https://athena.ohdsi.org/search-terms/terms?domain=Race&standardConcept=Standard&page=1&pageSize=15&query=).
The required ethnicities for patients included in the analysis, expressed as a vector of concepts, e.g. c(38003564,38003563) If no restriction leave blank, else list the standard OMOP concepts for the required values as found here (https://athena.ohdsi.org/search-terms/terms?domain=Ethnicity&standardConcept=Standard&page=1&pageSize=15&query=).
The start date of the analysis. Date format it 'YYYYMM'. If no restriction leave blank.
The end date of the analysis. Date format it 'YYYYMM'. If no restriction leave blank.
The minimum required follow-up time in days for patients included in the analysis.
The data domains required for ALL patients in the analysis, expressed as a character vector. Valid values are condition,drug,device,measurement,measurementValues,death,procedure,observation. Default is c("condition", "drug")
The domains required for SOME patients in the analysis. Meaning you need the dataset to have these data but each person is not required to have a record. This is most often used to identify the presence of outcomes of interest. Valid values are condition,drug,device,measurement,measurementValues,death,procedure,observation. If no restriction leave blank.
The visits required for ALL patients in the study, expressed as a character vector, e.g. c("IP","OP"). Valid values are IP,OP,ER. If no restriction leave blank.
The visits required for SOME patients in the study, expressed as a character vector. Meaning you need the dataset to have these data but each person is not required to have a record. This is most often used to identify the presence of outcomes of interest. Valid values are IP,OP,ER.
The name of the target of interest.
A vector containing the required target concepts.
The name of the comparator of interest.
A vector containing the required comparator concepts.
The name of the indication of interest.
A vector containing the required indication concepts.
A T/F object indicating whether the proportion of people with the indication concepts should be included in the estimated sample size calculation. Default is FALSE.
The name of the outcome of interest.
A vector containing the required outcome concepts.