OCXDI01L ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI01M
;
Q
;
DATA ;
;
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC DATE/TIME EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^ENDS WITH
;;R^"863.9:",.01,"E"
;;D^ENDS WITH
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^ENDS WITH
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT ENDS WITH
;;EOR^
;;KEY^863.9:^MATCHES PATTERN
;;R^"863.9:",.01,"E"
;;D^MATCHES PATTERN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^MATCHES THE PATTERN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT MATCHES PATTERN
;;EOR^
;;KEY^863.9:^PRECEDES ALPHABETICALLY
;;R^"863.9:",.01,"E"
;;D^PRECEDES ALPHABETICALLY
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
;;EOR^
;;KEY^863.9:^FOLLOWS ALPHABETICALLY
;;R^"863.9:",.01,"E"
;;D^FOLLOWS ALPHABETICALLY
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT FOLLOWS ALPHABETICALLY
;;EOR^
;;KEY^863.9:^INCL BETWEEN FREE TEXT
;;R^"863.9:",.01,"E"
;;D^INCL BETWEEN FREE TEXT
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^IS INCLUSIVELY BETWEEN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^EXCL BETWEEN FREE TEXT
;;R^"863.9:",.01,"E"
;;D^EXCL BETWEEN FREE TEXT
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^LENGTH IS GREATER THAN
;;R^"863.9:",.01,"E"
;;D^LENGTH IS GREATER THAN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT LENGTH IS GREATER THAN
;;EOR^
;;KEY^863.9:^LENGTH IS LESS THAN
;;R^"863.9:",.01,"E"
;;D^LENGTH IS LESS THAN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT LENGTH IS LESS THAN
;;EOR^
;;KEY^863.9:^LENGTH IS INCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^LENGTH IS INCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^LENGTH IS EXCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^LENGTH IS EXCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT LENGTH IS EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^NOT EQUAL TO
;;R^"863.9:",.01,"E"
;;D^NOT EQUAL TO
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^IS NOT EQUAL TO
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT NOT EQUALS
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO NULL VALUE ALLOWED
;;R^"863.9:","863.91:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.9:^DATE AFTER
;;R^"863.9:",.01,"E"
;;D^DATE AFTER
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.03,"E"
;;D^GCC DATE/TIME AFTER
;;R^"863.9:",.04,"E"
;;D^IS AFTER
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC DATE/TIME AFTER
;;R^"863.9:","863.92:1",.01,"E"
;;D^AFTER
;;R^"863.9:","863.92:2",.01,"E"
;;D^GREATER THAN
;;R^"863.9:","863.92:3",.01,"E"
;;D^SINCE
;;R^"863.9:","863.92:4",.01,"E"
;;D^>
;;EOR^
;;KEY^863.9:^DATE BEFORE
;;R^"863.9:",.01,"E"
;;D^DATE BEFORE
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.03,"E"
;;D^GCC DATE/TIME BEFORE
;;R^"863.9:",.04,"E"
;;D^IS BEFORE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC DATE/TIME BEFORE
;;R^"863.9:","863.92:1",.01,"E"
;;D^BEFORE
;;R^"863.9:","863.92:2",.01,"E"
;;D^LESS THAN
;;R^"863.9:","863.92:3",.01,"E"
;;D^PRIOR TO
;;R^"863.9:","863.92:4",.01,"E"
;;D^<
;;EOR^
;;KEY^863.9:^DATE BETWEEN
;;R^"863.9:",.01,"E"
;;D^DATE BETWEEN
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:","863.92:1",.01,"E"
;;D^BETWEEN
;;R^"863.9:","863.92:2",.01,"E"
;;D^WITHIN
;;R^"863.9:","863.92:3",.01,"E"
;;D^DURING
;;EOR^
;;KEY^863.9:^DATE EQUALS
;;R^"863.9:",.01,"E"
;;D^DATE EQUALS
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.03,"E"
;;D^GCC DATE/TIME EQUALS
;1;
;
OCXDI01L ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
IF TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
IF QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI01M
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.9:","863.91:2",.01,"E"
+3 ;;D^OCXO GENERATE CODE FUNCTION
+4 ;;R^"863.9:","863.91:2",1,"E"
+5 ;;D^GCC DATE/TIME EXCLUSIVELY BETWEEN
+6 ;;EOR^
+7 ;;KEY^863.9:^ENDS WITH
+8 ;;R^"863.9:",.01,"E"
+9 ;;D^ENDS WITH
+10 ;;R^"863.9:",.02,"E"
+11 ;;D^FREE TEXT
+12 ;;R^"863.9:",.04,"E"
+13 ;;D^ENDS WITH
+14 ;;R^"863.9:","863.91:2",.01,"E"
+15 ;;D^OCXO GENERATE CODE FUNCTION
+16 ;;R^"863.9:","863.91:2",1,"E"
+17 ;;D^GCC FREE TEXT ENDS WITH
+18 ;;EOR^
+19 ;;KEY^863.9:^MATCHES PATTERN
+20 ;;R^"863.9:",.01,"E"
+21 ;;D^MATCHES PATTERN
+22 ;;R^"863.9:",.02,"E"
+23 ;;D^FREE TEXT
+24 ;;R^"863.9:",.04,"E"
+25 ;;D^MATCHES THE PATTERN
+26 ;;R^"863.9:","863.91:2",.01,"E"
+27 ;;D^OCXO GENERATE CODE FUNCTION
+28 ;;R^"863.9:","863.91:2",1,"E"
+29 ;;D^GCC FREE TEXT MATCHES PATTERN
+30 ;;EOR^
+31 ;;KEY^863.9:^PRECEDES ALPHABETICALLY
+32 ;;R^"863.9:",.01,"E"
+33 ;;D^PRECEDES ALPHABETICALLY
+34 ;;R^"863.9:",.02,"E"
+35 ;;D^FREE TEXT
+36 ;;R^"863.9:","863.91:2",.01,"E"
+37 ;;D^OCXO GENERATE CODE FUNCTION
+38 ;;R^"863.9:","863.91:2",1,"E"
+39 ;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
+40 ;;EOR^
+41 ;;KEY^863.9:^FOLLOWS ALPHABETICALLY
+42 ;;R^"863.9:",.01,"E"
+43 ;;D^FOLLOWS ALPHABETICALLY
+44 ;;R^"863.9:",.02,"E"
+45 ;;D^FREE TEXT
+46 ;;R^"863.9:","863.91:2",.01,"E"
+47 ;;D^OCXO GENERATE CODE FUNCTION
+48 ;;R^"863.9:","863.91:2",1,"E"
+49 ;;D^GCC FREE TEXT FOLLOWS ALPHABETICALLY
+50 ;;EOR^
+51 ;;KEY^863.9:^INCL BETWEEN FREE TEXT
+52 ;;R^"863.9:",.01,"E"
+53 ;;D^INCL BETWEEN FREE TEXT
+54 ;;R^"863.9:",.02,"E"
+55 ;;D^FREE TEXT
+56 ;;R^"863.9:",.04,"E"
+57 ;;D^IS INCLUSIVELY BETWEEN
+58 ;;R^"863.9:","863.91:2",.01,"E"
+59 ;;D^OCXO GENERATE CODE FUNCTION
+60 ;;R^"863.9:","863.91:2",1,"E"
+61 ;;D^GCC FREE TEXT INCLUSIVELY BETWEEN
+62 ;;EOR^
+63 ;;KEY^863.9:^EXCL BETWEEN FREE TEXT
+64 ;;R^"863.9:",.01,"E"
+65 ;;D^EXCL BETWEEN FREE TEXT
+66 ;;R^"863.9:",.02,"E"
+67 ;;D^FREE TEXT
+68 ;;R^"863.9:",.04,"E"
+69 ;;D^IS EXCLUSIVELY BETWEEN
+70 ;;R^"863.9:","863.91:2",.01,"E"
+71 ;;D^OCXO GENERATE CODE FUNCTION
+72 ;;R^"863.9:","863.91:2",1,"E"
+73 ;;D^GCC FREE TEXT EXCLUSIVELY BETWEEN
+74 ;;EOR^
+75 ;;KEY^863.9:^LENGTH IS GREATER THAN
+76 ;;R^"863.9:",.01,"E"
+77 ;;D^LENGTH IS GREATER THAN
+78 ;;R^"863.9:",.02,"E"
+79 ;;D^FREE TEXT
+80 ;;R^"863.9:","863.91:2",.01,"E"
+81 ;;D^OCXO GENERATE CODE FUNCTION
+82 ;;R^"863.9:","863.91:2",1,"E"
+83 ;;D^GCC FREE TEXT LENGTH IS GREATER THAN
+84 ;;EOR^
+85 ;;KEY^863.9:^LENGTH IS LESS THAN
+86 ;;R^"863.9:",.01,"E"
+87 ;;D^LENGTH IS LESS THAN
+88 ;;R^"863.9:",.02,"E"
+89 ;;D^FREE TEXT
+90 ;;R^"863.9:","863.91:2",.01,"E"
+91 ;;D^OCXO GENERATE CODE FUNCTION
+92 ;;R^"863.9:","863.91:2",1,"E"
+93 ;;D^GCC FREE TEXT LENGTH IS LESS THAN
+94 ;;EOR^
+95 ;;KEY^863.9:^LENGTH IS INCLUSIVELY BETWEEN
+96 ;;R^"863.9:",.01,"E"
+97 ;;D^LENGTH IS INCLUSIVELY BETWEEN
+98 ;;R^"863.9:",.02,"E"
+99 ;;D^FREE TEXT
+100 ;;R^"863.9:","863.91:2",.01,"E"
+101 ;;D^OCXO GENERATE CODE FUNCTION
+102 ;;R^"863.9:","863.91:2",1,"E"
+103 ;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
+104 ;;EOR^
+105 ;;KEY^863.9:^LENGTH IS EXCLUSIVELY BETWEEN
+106 ;;R^"863.9:",.01,"E"
+107 ;;D^LENGTH IS EXCLUSIVELY BETWEEN
+108 ;;R^"863.9:",.02,"E"
+109 ;;D^FREE TEXT
+110 ;;R^"863.9:","863.91:2",.01,"E"
+111 ;;D^OCXO GENERATE CODE FUNCTION
+112 ;;R^"863.9:","863.91:2",1,"E"
+113 ;;D^GCC FREE TEXT LENGTH IS EXCLUSIVELY BETWEEN
+114 ;;EOR^
+115 ;;KEY^863.9:^NOT EQUAL TO
+116 ;;R^"863.9:",.01,"E"
+117 ;;D^NOT EQUAL TO
+118 ;;R^"863.9:",.02,"E"
+119 ;;D^FREE TEXT
+120 ;;R^"863.9:",.04,"E"
+121 ;;D^IS NOT EQUAL TO
+122 ;;R^"863.9:","863.91:1",.01,"E"
+123 ;;D^OCXO GENERATE CODE FUNCTION
+124 ;;R^"863.9:","863.91:1",1,"E"
+125 ;;D^GCC FREE TEXT NOT EQUALS
+126 ;;R^"863.9:","863.91:2",.01,"E"
+127 ;;D^OCXO NULL VALUE ALLOWED
+128 ;;R^"863.9:","863.91:2",1,"E"
+129 ;;D^1
+130 ;;EOR^
+131 ;;KEY^863.9:^DATE AFTER
+132 ;;R^"863.9:",.01,"E"
+133 ;;D^DATE AFTER
+134 ;;R^"863.9:",.02,"E"
+135 ;;D^DATE/TIME
+136 ;;R^"863.9:",.03,"E"
+137 ;;D^GCC DATE/TIME AFTER
+138 ;;R^"863.9:",.04,"E"
+139 ;;D^IS AFTER
+140 ;;R^"863.9:","863.91:1",.01,"E"
+141 ;;D^OCXO GENERATE CODE FUNCTION
+142 ;;R^"863.9:","863.91:1",1,"E"
+143 ;;D^GCC DATE/TIME AFTER
+144 ;;R^"863.9:","863.92:1",.01,"E"
+145 ;;D^AFTER
+146 ;;R^"863.9:","863.92:2",.01,"E"
+147 ;;D^GREATER THAN
+148 ;;R^"863.9:","863.92:3",.01,"E"
+149 ;;D^SINCE
+150 ;;R^"863.9:","863.92:4",.01,"E"
+151 ;;D^>
+152 ;;EOR^
+153 ;;KEY^863.9:^DATE BEFORE
+154 ;;R^"863.9:",.01,"E"
+155 ;;D^DATE BEFORE
+156 ;;R^"863.9:",.02,"E"
+157 ;;D^DATE/TIME
+158 ;;R^"863.9:",.03,"E"
+159 ;;D^GCC DATE/TIME BEFORE
+160 ;;R^"863.9:",.04,"E"
+161 ;;D^IS BEFORE
+162 ;;R^"863.9:","863.91:1",.01,"E"
+163 ;;D^OCXO GENERATE CODE FUNCTION
+164 ;;R^"863.9:","863.91:1",1,"E"
+165 ;;D^GCC DATE/TIME BEFORE
+166 ;;R^"863.9:","863.92:1",.01,"E"
+167 ;;D^BEFORE
+168 ;;R^"863.9:","863.92:2",.01,"E"
+169 ;;D^LESS THAN
+170 ;;R^"863.9:","863.92:3",.01,"E"
+171 ;;D^PRIOR TO
+172 ;;R^"863.9:","863.92:4",.01,"E"
+173 ;;D^<
+174 ;;EOR^
+175 ;;KEY^863.9:^DATE BETWEEN
+176 ;;R^"863.9:",.01,"E"
+177 ;;D^DATE BETWEEN
+178 ;;R^"863.9:",.02,"E"
+179 ;;D^DATE/TIME
+180 ;;R^"863.9:","863.92:1",.01,"E"
+181 ;;D^BETWEEN
+182 ;;R^"863.9:","863.92:2",.01,"E"
+183 ;;D^WITHIN
+184 ;;R^"863.9:","863.92:3",.01,"E"
+185 ;;D^DURING
+186 ;;EOR^
+187 ;;KEY^863.9:^DATE EQUALS
+188 ;;R^"863.9:",.01,"E"
+189 ;;D^DATE EQUALS
+190 ;;R^"863.9:",.02,"E"
+191 ;;D^DATE/TIME
+192 ;;R^"863.9:",.03,"E"
+193 ;;D^GCC DATE/TIME EQUALS
+194 ;1;
+195 ;