3.2 Report Parameters File
The Report Parameters file is required. It is used to define the parameters to customize the report and specify the relevant input files. The structure of this input file is such that each row contains a parameter name (in the parameter field) and the parameter values (in the values field). These are applied to all QRP output being included in the report.21 Table 3.3 contains the detailed specifications for the Report Parameters file.
Parameter | Field Name | Description |
---|---|---|
Name of Parameter | PARAMETER | All applicable REPORT PARAMETRS parameters (listed below in Table 2). |
Format: SAS character $32 | ||
Example: reporttype, stratifybydp, etc. | ||
Value of Parameter | VALUE | All applicable REPORTPARAMETERS parameter values. |
Format: SAS character $32 |
#Note: A PDF report can be produced as a “leave behind” report by using the the QRP Reporting Tool as a submodule of QRP.
Table 3.4 contains detailed specifications for Report Parameters file parameter values. Only parameter values that are relevant to the analysis need to be included in the Report Parameters file.
Description | Name of PARAMETER | Specification |
---|---|---|
RequestID | REPORTID | Report ID. Used to name output files. |
Note 1: REPORTID is recommended to be 10 characters | ||
Example: wp001 | ||
Database Name | DATABASE | Name of database to be reported in all table titles and figure titles (will appear in titles as: “…in the [DATABASE] from [Query Start] to [Query End]”). |
Note 1: if left blank, DATABASE will default to “Sentinel Distributed Database”. | ||
Note 2: DATABASE cannot be left blank when running the report as a leave behind. | ||
Example: Medicare Synthetic Public Use Files | ||
Full Name of Data Partner | DPNAME | Full name of Data Partner to be reported in footnote indicating the included Data Partners in Appendix A (Dates of Available Data for Each Data Partner). |
Note 1: if left blank, DPNAME will default to DP ID. | ||
Note 2: DPNAME cannot be left blank when running the report as a leave behind. | ||
Example: Medicare Synthetic Public Use Files | ||
SAS Report Data Indicator | REPORTDATA | Option to produce report data in SAS dataset format. |
Valid Values are:
|
||
Note 1: if REPORTDATA = Y, a reportdata_[reportid] folder containing the SAS datasets will be created in the msoc folder. | ||
Note 2: REPORTDATA cannot be left blank when running the report as a leave behind. | ||
Example: Y | ||
File Name for Report Logo | LOGOFILE | Specify file name (including extension) for logo to display in report. |
Note 1: to ensure correct formatting, logo should be a JPG | ||
Note 2: if blank, no logo will be displayed | ||
Note 3: LOGOFILE cannot be left blank when running the report as a leave behind. | ||
Example: Sentinel_logo.jpg | ||
Option to Include Unnweighted, Trimmed Output | INCLUDE_UNWEIGHTED_TRIM | Option to include unweighted/trimmed output in Table 1s, rows in table 2s, figures, and appendices. |
Valid values are:
|
||
Note 1: When blank, the default is N | ||
Note 2: Only relevant for T2L2 and T4L2 | ||
Example: Y | ||
Report Type Identifier | REPORTTYPE | Identifies which report to produce. |
Valid values are:
|
||
Note 1: REPORTTYPE cannot be left blank. | ||
Note 2: When generating a report for an L2 analysis, L1 reports and tables (e.g. t2cida, t2followuptime, code distribution, etc.) will not be output. In order to generate the L1 components of the report, the analyst will need to run another qrp_report package with just the L1 components. | ||
Note 3: When REPORTTYPE = T3, only Exposure Cohort results are output to the report. Results for the Analytic Cohort cannot be output in the report. Output is limited to the following results tables when REPORTTYPE = T3:
|
||
Example: T2L1 | ||
Report Output File Type | REPORT_DESTINATION | Indicates which file type(s) are desired for outputting the report. |
Valid values are:
|
||
Note 1: if REPORT_DESTINATION is left blank, report will be output as both an Excel file and a PDF. | ||
Note 2: REPORT_DESTINATION is ignored/not relevant when REPORTTYPE = TREE2, TREE3, or TREE4. Reporting tool output will be .sas7bdat files that can be uploaded to TreeScan.org. | ||
Example: EXCEL | ||
Stratify Tables by DP Indicator | STRATIFYBYDP | Y/N indicator to produce Data Partner-specific results. By default, output is always aggregated across all Data Partners. |
Valid values are:
|
||
Note 1: If set to Y, the following will be stratified by DP:
|
||
Request Distribution Date | DATEDISTRIBUTED | Free text field to specify the date query request package was distributed to Data Partners. Value will appear in Appendix A title as “Dates of Available Data for Each Data Partner (DP) as of Request Distribution Date (MMMM DD, YYYY)”. |
Note 1: if DATEDISTRIBUTED is left blank, then title will read: “Dates of Available Data for Each Data Partner (DP) as of Request Distribution Date”. | ||
Example: December 31, 2020 | ||
Randomization Seed Identifier | SEED | Numeric value to use as seed value when randomizing Data Partner IDs. |
Note 1: SEED cannot be left blank. | ||
Example: 5 | ||
Highlight Small Cells Indicator | SMALL_CELLCOUNTS | Y/N indicator to highlight small cells in the report. Cell counts in the report with values between 1 and 10 will be highlighted yellow if “Y” is specified. |
Valid values are:
|
||
Note 1: SMALL_CELLCOUNTS cannot be left blank. | ||
Example: Y | ||
Collapse Categories | COLLAPSE_VARS | Collapse demographic categories containing 1-10 patients into one category that contains all patients from the collapsed categories. The row originally containing a count of 1-10 patients will be removed. This applies in the baseline and relevant stratified tables, in order to prevent small cell counts. |
Valid values are:
|
||
Note 1: COLLAPSE_VARS only applies to Level 1 analyses. | ||
Note 2: leave blank if you do not wish to collapse race categories. Race is currently the only available option. | ||
Note 3: if STRATIFYBYDP = Y, then Data Partner-specific baseline tables will be collapsed for patient counts 1-10 and the collapsed counts will carry forward to the aggregate tables. If STRATIFYBYDP = N, then the aggregate table will only be collapsed if the aggregate counts are 1-10. | ||
Note 4: for Type 6 baseline tables, if there are 1-10 patients in a category at any anchor date (index, first switch, second switch), then that category will be collapsed for all anchor dates. | ||
Note 5: if a baseline table contains a comparison cohort, then the row will be collapsed if either of the counts being compared is 1-10. | ||
Example: race | ||
Query Period Start Identifier | LOOK_START | Identifies at what period ID, as specified in the Monitoring file, the report should begin outputting results. |
Note 1: LOOK_START cannot be left blank. | ||
Example: 1 | ||
Query Period End Identifier | LOOK_END | Identifies at what period ID, as specified in the Monitoring file, the report should end outputting results. |
Note 1: LOOK_END cannot be left blank. | ||
Example: 1 | ||
Customize Columns | CUSTOMIZECOLUMNS | This parameter allows users to customize which columns are output in the results tables for ReportType = T2L2 or = T4L2. By default, the following columns are output: |
T2L2:
|
||
Note 2: if CUSTOMIZECOLUMNS is left blank, neither Events nor Person-Time columns will be redacted; and neither Incidence Rate Difference nor Risk Difference will be included. | ||
Note 3: Kaplan-Meier plots and forest plots cannot be produced if either REDACTEVENTS or SUMEVENTS is specified. | ||
Note 4: when SUMEVENTS is specified, incidence rate, risk, hazard ratios/risk ratios and confidence intervals will all be redacted. | ||
Note 5: REDACTPT is not relevant for T4L2 as the columns that it redacts do not appear in that report. | ||
Note 6: when REDACTEVENTS or SUMEVENTS is specified, the number of patients with an event will be redacted from the attrition table. | ||
Example: REDACTEVENTS REDACTPT | ||
Data Partner Information File | DPINFOFILE | Name of the SAS dataset listing Data Partners to include in report. |
Example: report_dp_info | ||
L2 Comparison File | L2COMPARISONFILE | Name of the SAS dataset containing list of comparisons and parameters related to each comparison for L2 reports. |
Note 1: if REPORTTYPE = T2L2 or T4L2, L2COMPARISONFILE must be specified. Otherwise L2COMPARISONFILE is not relevant. | ||
Example: report_l2comparison | ||
Groups File | GROUPSFILE | Name of the SAS dataset containing list of groups and parameters related to each group for L1 reports. |
Note 1: GROUPSFILE cannot be left blank when REPORTTYPE = T1, T2L1, T4L1, T5, and T6. | ||
Note 2: only relevant for REPORTTYPE = T1, T2L1, T4L1, T5, and T6. | ||
Example: report_groups_info | ||
Baseline Tables File | BASELINEFILE | Name of the SAS dataset containing options for baseline tables. |
Note 1: if BASELINEFILE is missing, no baseline tables will be produced. | ||
Example: report_baseline | ||
Table Parameters File | TABLEFILE | Name of the SAS dataset containing all tables to produce. User specifies the INCLUDEINREPORT parameter in the Table File to request the table. Specifications for the Table File vary depending on the study type and are described in the Lookup Tables section of the documentation. |
Note 1: if TABLEFILE is missing, then only baseline tables will be produced, if specified. | ||
Example: report_tables | ||
Figure Parameters File | FIGUREFILE | Name of the SAS dataset containing all figures to produce. User specifies the INCLUDEINREPORT parameter in the Figure File to request the figure. Specifications for Figure File vary depending on the study type and are described in the Lookup Tables section of the documentation. |
Note 1: if FIGUREFILE is missing, then no figures will be produced. | ||
Example: report_figures | ||
Label Parameters File | LABELFILE | Name of the SAS dataset containing all labels to be used in the report. |
Note 1: if LABELFILE is missing, then the parameter name in the distributed input files will be used. | ||
Example: report_labels | ||
ITS Regression File | ITSREGRESSIONFILE (Not yet functional) | Name of the SAS dataset containing the parameters for an Interrupted Time Series analysis. |
Note 1: ITSREGRESSIONFILE cannot be left blank when REPORTTYPE = ITS. | ||
Note 2: only relevant for REPORTTYPE = ITS. | ||
Example: report_itsregression | ||
Tree Aggregation File | TREEAGGFILE | Name of the SAS dataset containing tree aggregation parameters for Signal Identification analysis. |
Note 1: only relevant for REPORTTYPE = T2L2, T4L2, and T3 signal identification queries. | ||
Example: report_treeagg | ||
Appendix File | APPENDIXFILE | Name of the lookup table defining report appendices. |
Note 1: if APPENDIXFILE is missing, then code list appendices will not be output. | ||
Example: report_appendix | ||
Code Descriptions File | CODEDESCRIPTIONSFILE | Name of the lookup table to map code to code description for Code Distribution output table. |
Note 1: if CODEDESCRIPTIONSFILE is missing, then code descriptions will be missing. | ||
Note 2: only relevant for CODEDIST = EXP, HOI, and EXP HOI. | ||
Example: report_codedescriptions | ||
Table Columns File | TABLECOLUMNSFILE | Name of SAS dataset identifying all default columns, column names, column order, and custom columns to include in report tables. |
Note 1: only relevant for REPORTTYPE = T1, T2L1, or T4L1. | ||
Example: report_columns |
Please Note: A user can combine any number of QRP runs into a single QRP Report. However, unlike QRP where a user can execute multiple runs of QRP at once, QRP Report does not allow this. A user wishing to create multiple reports will need multiple report parameter files.↩︎