Define a database restriction
A database restriction is a means of limiting which cases in the source data are included in a data mining run (MGPS or logistic regression) by specifying or selecting a query. Data mining statistics are based only on cases that meet the criteria of the query. For example, you can limit a data mining run to only cases that have been reported by health professionals. A data mining run can have only one database restriction.
A database restriction limits cases, not records. For example, if you base a database restriction on a query that finds a particular drug, the application includes each case involving the drug in the run. Because there may be multiple drugs per case; however, the application includes drugs other than the particular drug in the run.
When defining a database restriction, you can create a new query or use an existing query. When defining a new query, you have the option to save it to the Query Library. You can then use it to define database restrictions for other data mining runs.
When you re-run a run, the application applies the same database restriction. You cannot switch run types. Thus, if you plan to use a particular database restriction for different run types, make sure that you save the query you define for the database restriction for the first run you set up. Then you can select that query as the database restriction for the other run type(s).
Parent topic: Manage data mining runs