# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | rule id(+) | 0;1 | NUMERIC | B | This is the unique index for this record. It is the IEN. Numbers under 100,000 are reserved for the national database and should not be edited locally. | |
1 | indexquestion | 0;2 | POINTER | 601.72 | Pointer to the QUESTION NUMBER Field (#.01) of the MH QUESTIONS file (#601.72) on which to run the rule. | |
2 | indexvalue | 0;3 | FREE TEXT | Value of the index. | ||
3 | indexvaluedatatype | 0;4 | FREE TEXT | Data type of the index value (viz. string, number, date, or VistA IEN). | ||
4 | indexoperator | 0;5 | FREE TEXT | Logical operator to use with index value. | ||
5 | booloperator | 0;6 | FREE TEXT | Logical operator like 'equals' to match the target response. | ||
6 | targetquestion | 0;7 | POINTER | 601.72 | Pointer to the QUESTION NUMBER field ((#.01) of the MH QUESTIONS file (#601.72). | |
7 | targetvalue | 1;1 | FREE TEXT | Often the Correct answer, this is the value against which to measure the response. | ||
8 | targetvaluedatatype | 1;2 | FREE TEXT | Data type of the target value (viz. string, number, date, or VistA IEN). | ||
9 | targetoperator | 1;3 | FREE TEXT | Logical operator to use in comparisons. | ||
10 | messagetext | 2;1 | FREE TEXT | Message given to the user when the rule is met. | ||
11 | isconsistencycheck | 2;2 | BOOLEAN | Y:Yes N:No | Boolean specifying the type of rule to be a consistency check. |