Files > CPRS QUERY DEFINITION

name
CPRS QUERY DEFINITION
number
102.21
location
^ORD(102.21,
description
The CPRS query tool provides a mechanism by which clinical users may search for items typically managed by CPRS. These are very limited types of queries. A wizard helps the user construct the criteria used in the query. This file contains definitions of queries used to build reports of CPRS items (orders, consults, documents). Each query definition contains a list of constraints. These constraints are used by the query routines to return a subset of CPRS items. This file also contains definitions of report criteria. These criteria are selected and modified by the user when building custom reports. A report criterion contains a list of constraints that apply to the particular criterion. A critieron behaves much like a "mini-report". The other part of a query definition stored in this file is the list of fields to be displayed after the query is run. The query produces a columnar report with the selected display field in each column.
Fields
#NameLocationTypeDetailsIndexDescription
.01name(+)0;1FREE TEXTBThis is the name of the report or criterion. Personally created reports are stored as RPTUduz user-created-name. This assures uniqueness of personal custom reports.
2display text0;2FREE TEXTThis is the text that is displayed in the list box when selecting a criterion or a report.
3disable0;3FREE TEXTThis is the text that is desplayed when the definition is disabled.
4type(+)0;4SET OF CODESC:constraint
R:report
S:search item
B:baseline
This specifies whether the record is a report or a criterion.
5owner0;5POINTER200This contains the owner of a custom report.
6parent0;6POINTER102.21This identifies the entry that is the parent criterion. Criteria may appear in a hierarchy.
7tag0;7NUMERICTThis contains an integer that matches the Tag property of the Windows control that references this criterion.
10query text1;0MULTIPLE102.211This multiple allows a sequence of captions to be defined that comprise the default text of a query description.
20format2;0MULTIPLE102.212This multiple contains formatting information for the columns of the report.

Referenced by 1 types

  1. CPRS QUERY DEFINITION (102.21) -- parent