STANDARD DATA DICTIONARY #801.1 -- REMINDER ORDER CHECK RULES FILE 9/29/25 PAGE 1
STORED IN ^PXD(801.1, (2 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 2.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains a list of order check rules. An order check rule can only contain one reminder term or one reminder definition.
When the order check rule is processed, it runs either the reminder term or the reminder definition evaluation process. When the
order check rule evaluates as true, it returns the appropriate order check text.
PRIMARY KEY: A (#121)
Uniqueness Index: B (#1042)
File, Field: 1) RULE NAME (801.1,.01)
POINTED TO BY: CROC RULE field (#86) of the ORDER CHECK INSTANCES File (#100.05)
RULE field (#.01) of the RULE LIST sub-field (#801.04) of the REMINDER ORDER CHECK ITEMS GROUP File (#801)
INDEXED BY: REMINDER DEFINITION (AD), REMINDER TERM (AT), RULE NAME (B), DISPLAY NAME (D), REMINDER DEFINITION (R), REMINDER
TERM (T)
LAST MODIFIED: JUN 24,2020@12:14:07
801.1,.01 RULE NAME 0;1 FREE TEXT (Required) (Key field)
INPUT TRANSFORM: K:($L(X)>64)!($L(X)<3)!'(X'?1P.E)!('$$VNAME^PXRMINTR(.X)) X
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Answer must be 3-64 characters in length.
DESCRIPTION: This is the internal name of the rule. The name may not start with "VA-", as that is reserved for
national reminder components. The name you enter will be made upper case.
DELETE TEST: 1,0)= I $$RULEIUSE^PXRMORED(DA)=0 D EN^DDIOL($C(7)_"RULE IN USE - CANNOT BE DELETED")
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
FIELD INDEX: B (#1042) REGULAR IR LOOKUP & SORTING
Unique for: Key A (#121), File #801.1
Short Descr: This is the "B" cross-reference redone as a new style cross-reference.
Set Logic: S ^PXD(801.1,"B",$E(X,1,64),DA)=""
Kill Logic: K ^PXD(801.1,"B",$E(X,1,64),DA)
Whole Kill: K ^PXD(801.1,"B")
X(1): RULE NAME (801.1,.01) (Subscr 1) (Len 64) (forwards)
801.1,1 DISPLAY NAME 0;2 FREE TEXT (Required)
INPUT TRANSFORM: K:$$INVALDIS^PXRMORED(.X) X
MAXIMUM LENGTH: 64
LAST EDITED: NOV 07, 2017
HELP-PROMPT: Answer must be 3-64 characters in length. Display Name must be unique.
DESCRIPTION:
This is the name that will display in the CPRS Order Check Window.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
FIELD INDEX: D (#1153) REGULAR IR LOOKUP & SORTING
Short Descr: This xref is by Display Name for lookup.
Description: This cross-reference is use by a look-up to prevent the same Display Name in more than one rule.
Set Logic: S ^PXD(801.1,"D",$E(X,1,64),DA)=""
Kill Logic: K ^PXD(801.1,"D",$E(X,1,64),DA)
Whole Kill: K ^PXD(801.1,"D")
X(1): DISPLAY NAME (801.1,1) (Subscr 1) (Len 64) (forwards)
801.1,2 STATUS 0;3 SET (Required)
'I' FOR INACTIVE;
'P' FOR PRODUCTION;
'T' FOR TESTING;
LAST EDITED: OCT 17, 2018
HELP-PROMPT: Select if the rule is inactive, for production use only, or testing use only.
DESCRIPTION: This field determines if the rule is inactive, set for production use, or for testing use. If the
rule is set to INACTIVE, then the rule will not be evaluated for the orderable item list. The value
should be set to TESTING when a rule is first created so the creator of the rule can test it before
turning it on for the entire facility. To turn it on for the entire facility, this field must be
set to PRODUCTION.
801.1,4 SEVERITY 0;5 SET (Required)
'3' FOR LOW;
'2' FOR MEDIUM;
'1' FOR HIGH;
LAST EDITED: JAN 31, 2012
HELP-PROMPT: What's the severity of the order check?
DESCRIPTION: Enter a severity for the order check. If multiple reminder order checks are run against an
orderable item, the results are displayed by order of severity, from high to low. Also, a severity
of HIGH requires the user to enter an override reason when signing the order.
801.1,10 RULE DESCRIPTION 1;0 WORD-PROCESSING #801.11 (IGNORE "|")
DESCRIPTION: This is the description of what the creator is trying to accomplish with this particular rule.
LAST EDITED: JAN 27, 2012
DESCRIPTION: This is the description of what the creator is trying to accomplish with this particular rule.
801.1,20 REMINDER TERM 2;1 POINTER TO REMINDER TERM FILE (#811.5)
LAST EDITED: JAN 27, 2012
HELP-PROMPT: Select the reminder term.
DESCRIPTION: If a reminder term is defined in this field when an order is placed in CPRS, the reminder term will
be evaluated. The reminder term evaluation will return either a TRUE or FALSE value. The value
returned by the reminder term evaluation is used in conjunction with the TERM EVALUATION STATUS
field.
FIELD INDEX: AT (#1041) MUMPS IR ACTION
Short Descr: Delete the associated field when the term is deleted.
Description: This cross-reference will delete the value in the TERM EVALUATION STATUS field (#21).
Set Logic: Q
Kill Logic: D TDEL^PXRMOCR(DA,X1,X2)
X(1): REMINDER TERM (801.1,20) (forwards)
FIELD INDEX: T (#1044) REGULAR IR LOOKUP & SORTING
Short Descr: Quick look up of terms in the rules
Set Logic: S ^PXD(801.1,"T",X,DA)=""
Kill Logic: K ^PXD(801.1,"T",X,DA)
Whole Kill: K ^PXD(801.1,"T")
X(1): REMINDER TERM (801.1,20) (Subscr 1) (forwards)
801.1,21 TERM EVALUATION STATUS 2;2 SET
'1' FOR TRUE;
'0' FOR FALSE;
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Enter the value for the reminder term results that should trigger an order check.
DESCRIPTION: This field is used in conjunction with the REMINDER TERM field; it will be used to determine if the
rule should appear in the order check window in CPRS. When the reminder term is defined in field
#20, the TRUE/FALSE result of the term evaluation will be compared to the value defined in this
field. If the value matches, the text defined in the Order Check Text field will appear in the
order check window with the DISPLAY NAME.
TECHNICAL DESCR: This field is deleted by the AT index of the REMINDER TERM (#20) field.
801.1,30 REMINDER DEFINITION 3;1 POINTER TO REMINDER DEFINITION FILE (#811.9)
INPUT TRANSFORM: S DIC("S")="I $P($G(^(100)),U,4)[""O""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
LAST EDITED: JAN 27, 2012
HELP-PROMPT: Select the reminder definition.
DESCRIPTION: If a reminder definition is defined in this field when an order is placed in CPRS, the reminder
definition will be evaluated. The reminder definition evaluation will return an evaluation status.
The value of the status returned by the reminder definition evaluation is used in conjunction with
the DEFINITION EVALUATION STATUS field.
SCREEN: S DIC("S")="I $P($G(^(100)),U,4)[""O"""
EXPLANATION: This screen only allows selection of reminder definitions with a USAGE value of Order Check.
FIELD INDEX: AD (#1040) MUMPS IR ACTION
Short Descr: Delete the associated fields when the definition is deleted.
Description: This cross-reference will delete the values in the DEFINITION EVALUATION STATUS (#31) and OUTPUT
TEXT (#32) fields.
Set Logic: Q
Kill Logic: D DDEL^PXRMOCR(DA,X1,X2)
X(1): REMINDER DEFINITION (801.1,30) (forwards)
FIELD INDEX: R (#1043) REGULAR IR LOOKUP & SORTING
Short Descr: Quick lookup of reminder definition in the rules.
Set Logic: S ^PXD(801.1,"R",X,DA)=""
Kill Logic: K ^PXD(801.1,"R",X,DA)
Whole Kill: K ^PXD(801.1,"R")
X(1): REMINDER DEFINITION (801.1,30) (Subscr 1) (forwards)
801.1,31 DEFINITION EVALUATION STATUS 3;2 SET
'D' FOR DUE;
'A' FOR APPLICABLE;
'N' FOR N/A;
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Enter the value for the reminder definition evaluation status that should trigger an order check.
DESCRIPTION: This field is used in conjunction with the REMINDER DEFINITION field. It will be used to determine
if the rule should appear in the order check window in CPRS. When a reminder definition is defined
in field #30, the status value from the definition evaluation will be compared to the value defined
in this field. If the evaluation status value matches then the rule will appear in the order check
window. This field can have one of three possible values: DUE, APPLICABLE, and N/A.
DUE includes the status of DUE NOW and DUE SOON.
APPLICABLE includes the status of DUE NOW, DUE SOON, and RESOLVED.
N/A includes the status of N/A and NEVER.
TECHNICAL DESCR: This field is deleted by the AD index on the REMINDER DEFINITION (#30) field.
801.1,32 OUTPUT TEXT 3;3 SET
'O' FOR ORDER CHECK TEXT ONLY;
'D' FOR DEFINITION TEXT ONLY;
'B' FOR BOTH ORDER CHECK AND DEFINITION TEXT;
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Select what text should appear in the order check window.
DESCRIPTION: This field controls which text will appear in the order check window.
ORDER CHECK TEXT ONLY will display the text defined in the ORDER CHECK TEXT field in the Order
Check Window.
DEFINITION TEXT ONLY will display the text returned from the reminder evaluation. This text is
similar to the Clinical Maintenance Output, but without the status line and the frequency line in
the output.
BOTH ORDER CHECK and DEFINITION TEXT: This value will display both the text defined in the ORDER
CHECK TEXT field and the text returned by the reminder evaluation, without the Status Line and the
Frequency Line. The text defined in the ORDER CHECK TEXT field will appear first in the output.
TECHNICAL DESCR: This field is deleted by the AD index on the REMINDER DEFINITION (#30) field.
801.1,40 ORDER CHECK TEXT 4;0 WORD-PROCESSING #801.12 (IGNORE "|")
DESCRIPTION: This field stores the text that should display in the Order Check Window. This text will only
appear if the rule is true and the evaluation is done for a reminder term or if the evaluation is
done for a reminder definition and the value of the OUTPUT TEXT field is not DEFINITION TEXT ONLY.
LAST EDITED: JAN 27, 2012
801.1,45 NO. OF ORDER CHECK TEXT LINES 5;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>5!($L(X)<1) X
LAST EDITED: OCT 16, 2011
HELP-PROMPT: Answer must be 1-5 characters in length.
DESCRIPTION: This is the number of lines in the ORDER CHECK TEXT. If the number ends with "T" then the text
contains a TIU object. This field is set automatically during the rule edit and should never be
edited by hand.
801.1,46 NO. OF FORMATTED LINES 5;2 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
LAST EDITED: NOV 21, 2011
HELP-PROMPT: Type a number between 0 and 99, 0 decimal digits.
DESCRIPTION: This is the number of formatted Order Check Text lines, it is set automatically. If the Order Check
Text contains a TIU Object it cannot be formatted and this will be set to 0.
801.1,47 FORMATTED ORDER CHECK TEXT 6;0 WORD-PROCESSING #801.147 (IGNORE "|")
DESCRIPTION: This word-processing field contains the formatted Order Check Text. This speeds up order checking
because the text does not have to be formatted every time. This field is set automatically by the
software.
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Do not enter this is set automatically
DESCRIPTION:
801.1,100 CLASS 100;1 SET (Required)
'L' FOR LOCAL;
'V' FOR VISN;
'N' FOR NATIONAL;
INPUT TRANSFORM: K:'$$VCLASS^PXRMINTR(X) X
LAST EDITED: JAN 27, 2012
HELP-PROMPT: Enter a class.
DESCRIPTION: This is the CLASS of the Orderable Item Group.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
801.1,101 SPONSOR 100;2 POINTER TO REMINDER SPONSOR FILE (#811.6)
LAST EDITED: OCT 16, 2011
HELP-PROMPT: Select the sponsor.
DESCRIPTION:
This is the organization or group that sponsors this orderable item group.
801.1,102 REVIEW DATE 100;3 DATE
INPUT TRANSFORM: S %DT="E" D ^%DT S X=Y K:Y<1 X
LAST EDITED: OCT 16, 2011
HELP-PROMPT: Enter the date the order check group should be reviewed.
DESCRIPTION: The REVIEW DATE is used to determine when the orderable item group should be reviewed to verify
that it is current with the latest standards and guidelines.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
801.1,110 EDIT HISTORY 110;0 DATE Multiple #801.13 (Add New Entry without Asking)
DESCRIPTION: This multiple is used to record a history of changes made to the order check rule.
801.13,.01 EDIT DATE 0;1 DATE
INPUT TRANSFORM: S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Enter the date the record was edited (set by the system)
DESCRIPTION: This is the date and time when the editing was done. This field is set automatically and should
not be changed by the user.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 801.13^B
1)= S ^PXD(801.1,DA(1),110,"B",$E(X,1,30),DA)=""
2)= K ^PXD(801.1,DA(1),110,"B",$E(X,1,30),DA)
801.13,1 EDIT BY 0;2 POINTER TO NEW PERSON FILE (#200)
LAST EDITED: JAN 31, 2012
HELP-PROMPT: Select the user who edited the record (set by the system)
DESCRIPTION: This is the person who did the editing. This field is set automatically and should not be changed
by the user.
801.13,2 EDIT COMMENTS 1;0 WORD-PROCESSING #801.132 (IGNORE "|")
DESCRIPTION: This word-processing field can be used to record the changes made during the editing session.
LAST EDITED: OCT 16, 2011
DESCRIPTION:
This word-processing field can be used to record the changes made during the editing session.
FILES POINTED TO FIELDS
NEW PERSON (#200) EDIT HISTORY:EDIT BY (#1)
REMINDER DEFINITION (#811.9) REMINDER DEFINITION (#30)
REMINDER SPONSOR (#811.6) SPONSOR (#101)
REMINDER TERM (#811.5) REMINDER TERM (#20)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
PXRM ORDER CHECK RULE INQUIRY APR 26, 2012@14:25 USER #0 REMINDER ORDER CHECKS RULES LIST
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):
PXRM OCR EDIT OCT 27, 2011@15:14 USER #0
PXRM OCR MAIN BLOCK DD #801.1
PXRM OCR TERM DD #801.1
PXRM OCR DEFINITION DD #801.1
PXRM OCR EDIT HISTORY NOV 18, 2011@09:21 USER #0
PXRM OCR EDIT HISTORY DD #801.13
PXRM OCR EDIT RESTRICTED NOV 02, 2011@14:43 USER #0
PXRM OCR EDIT RESTRICTED DD #801.1