OCXDI01M ;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 ^OCXDI01N
;
Q
;
DATA ;
;
;;R^"863.9:",.04,"E"
;;D^IS 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 DATE/TIME EQUALS
;;R^"863.9:","863.92:1",.01,"E"
;;D^EQUAL TO
;;R^"863.9:","863.92:2",.01,"E"
;;D^EQUALS
;;R^"863.9:","863.92:3",.01,"E"
;;D^ON
;;R^"863.9:","863.92:4",.01,"E"
;;D^=
;;EOR^
;;KEY^863.9:^DATE EXCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^DATE EXCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.03,"E"
;;D^GCC DATE/TIME EXCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;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 EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^DATE INCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^DATE INCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.03,"E"
;;D^GCC DATE/TIME INCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS INCLUSIVELY BETWEEN
;;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 INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^EQUAL TO
;;R^"863.9:",.01,"E"
;;D^EQUAL TO
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:","863.92:1",.01,"E"
;;D^EQUAL TO
;;R^"863.9:","863.92:2",.01,"E"
;;D^EQUALS
;;R^"863.9:","863.92:3",.01,"E"
;;D^ON
;;R^"863.9:","863.92:4",.01,"E"
;;D^=
;;EOR^
;;KEY^863.9:^FREE TEXT CONTAINS
;;R^"863.9:",.01,"E"
;;D^FREE TEXT CONTAINS
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT CONTAINS
;;R^"863.9:",.04,"E"
;;D^CONTAINS
;;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 CONTAINS
;;EOR^
;;KEY^863.9:^FREE TEXT ENDS WITH
;;R^"863.9:",.01,"E"
;;D^FREE TEXT ENDS WITH
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT ENDS WITH
;;R^"863.9:",.04,"E"
;;D^ENDS WITH
;;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 ENDS WITH
;;EOR^
;;KEY^863.9:^FREE TEXT EQUALS
;;R^"863.9:",.01,"E"
;;D^FREE TEXT EQUALS
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT EQUALS
;;R^"863.9:",.04,"E"
;;D^IS 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 EQUALS
;;EOR^
;;KEY^863.9:^FREE TEXT EXCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT EXCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT EXCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;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 EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^FREE TEXT FOLLOWS
;;R^"863.9:",.01,"E"
;;D^FREE TEXT FOLLOWS
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT FOLLOWS ALPHABETICALLY
;;R^"863.9:",.04,"E"
;;D^FOLLOWS ALPHABETICALLY
;;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 FOLLOWS ALPHABETICALLY
;;EOR^
;;KEY^863.9:^FREE TEXT INCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT INCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT INCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;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 INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^FREE TEXT IS NOT EQUAL TO
;;R^"863.9:",.01,"E"
;;D^FREE TEXT IS NOT EQUAL TO
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT NOT EQUALS
;;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:^FREE TEXT LENGTH EXCL. BETWEEN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT LENGTH EXCL. BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT LENGTH IS EXCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^LENGTH IS EXCLUSIVELY BETWEEN
;;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 LENGTH IS EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^FREE TEXT LENGTH GREATER THAN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT LENGTH GREATER THAN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT LENGTH IS GREATER THAN
;;R^"863.9:",.04,"E"
;;D^LENGTH IS GREATER THAN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;1;
;
OCXDI01M ;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 ^OCXDI01N
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.9:",.04,"E"
+3 ;;D^IS EQUAL TO
+4 ;;R^"863.9:","863.91:1",.01,"E"
+5 ;;D^OCXO GENERATE CODE FUNCTION
+6 ;;R^"863.9:","863.91:1",1,"E"
+7 ;;D^GCC DATE/TIME EQUALS
+8 ;;R^"863.9:","863.92:1",.01,"E"
+9 ;;D^EQUAL TO
+10 ;;R^"863.9:","863.92:2",.01,"E"
+11 ;;D^EQUALS
+12 ;;R^"863.9:","863.92:3",.01,"E"
+13 ;;D^ON
+14 ;;R^"863.9:","863.92:4",.01,"E"
+15 ;;D^=
+16 ;;EOR^
+17 ;;KEY^863.9:^DATE EXCLUSIVELY BETWEEN
+18 ;;R^"863.9:",.01,"E"
+19 ;;D^DATE EXCLUSIVELY BETWEEN
+20 ;;R^"863.9:",.02,"E"
+21 ;;D^DATE/TIME
+22 ;;R^"863.9:",.03,"E"
+23 ;;D^GCC DATE/TIME EXCLUSIVELY BETWEEN
+24 ;;R^"863.9:",.04,"E"
+25 ;;D^IS EXCLUSIVELY BETWEEN
+26 ;;R^"863.9:","863.91:1",.01,"E"
+27 ;;D^OCXO GENERATE CODE FUNCTION
+28 ;;R^"863.9:","863.91:1",1,"E"
+29 ;;D^GCC DATE/TIME EXCLUSIVELY BETWEEN
+30 ;;EOR^
+31 ;;KEY^863.9:^DATE INCLUSIVELY BETWEEN
+32 ;;R^"863.9:",.01,"E"
+33 ;;D^DATE INCLUSIVELY BETWEEN
+34 ;;R^"863.9:",.02,"E"
+35 ;;D^DATE/TIME
+36 ;;R^"863.9:",.03,"E"
+37 ;;D^GCC DATE/TIME INCLUSIVELY BETWEEN
+38 ;;R^"863.9:",.04,"E"
+39 ;;D^IS INCLUSIVELY BETWEEN
+40 ;;R^"863.9:","863.91:1",.01,"E"
+41 ;;D^OCXO GENERATE CODE FUNCTION
+42 ;;R^"863.9:","863.91:1",1,"E"
+43 ;;D^GCC DATE/TIME INCLUSIVELY BETWEEN
+44 ;;EOR^
+45 ;;KEY^863.9:^EQUAL TO
+46 ;;R^"863.9:",.01,"E"
+47 ;;D^EQUAL TO
+48 ;;R^"863.9:",.02,"E"
+49 ;;D^DATE/TIME
+50 ;;R^"863.9:","863.92:1",.01,"E"
+51 ;;D^EQUAL TO
+52 ;;R^"863.9:","863.92:2",.01,"E"
+53 ;;D^EQUALS
+54 ;;R^"863.9:","863.92:3",.01,"E"
+55 ;;D^ON
+56 ;;R^"863.9:","863.92:4",.01,"E"
+57 ;;D^=
+58 ;;EOR^
+59 ;;KEY^863.9:^FREE TEXT CONTAINS
+60 ;;R^"863.9:",.01,"E"
+61 ;;D^FREE TEXT CONTAINS
+62 ;;R^"863.9:",.02,"E"
+63 ;;D^FREE TEXT
+64 ;;R^"863.9:",.03,"E"
+65 ;;D^GCC FREE TEXT CONTAINS
+66 ;;R^"863.9:",.04,"E"
+67 ;;D^CONTAINS
+68 ;;R^"863.9:","863.91:1",.01,"E"
+69 ;;D^OCXO GENERATE CODE FUNCTION
+70 ;;R^"863.9:","863.91:1",1,"E"
+71 ;;D^GCC FREE TEXT CONTAINS
+72 ;;EOR^
+73 ;;KEY^863.9:^FREE TEXT ENDS WITH
+74 ;;R^"863.9:",.01,"E"
+75 ;;D^FREE TEXT ENDS WITH
+76 ;;R^"863.9:",.02,"E"
+77 ;;D^FREE TEXT
+78 ;;R^"863.9:",.03,"E"
+79 ;;D^GCC FREE TEXT ENDS WITH
+80 ;;R^"863.9:",.04,"E"
+81 ;;D^ENDS WITH
+82 ;;R^"863.9:","863.91:1",.01,"E"
+83 ;;D^OCXO GENERATE CODE FUNCTION
+84 ;;R^"863.9:","863.91:1",1,"E"
+85 ;;D^GCC FREE TEXT ENDS WITH
+86 ;;EOR^
+87 ;;KEY^863.9:^FREE TEXT EQUALS
+88 ;;R^"863.9:",.01,"E"
+89 ;;D^FREE TEXT EQUALS
+90 ;;R^"863.9:",.02,"E"
+91 ;;D^FREE TEXT
+92 ;;R^"863.9:",.03,"E"
+93 ;;D^GCC FREE TEXT EQUALS
+94 ;;R^"863.9:",.04,"E"
+95 ;;D^IS EQUAL TO
+96 ;;R^"863.9:","863.91:1",.01,"E"
+97 ;;D^OCXO GENERATE CODE FUNCTION
+98 ;;R^"863.9:","863.91:1",1,"E"
+99 ;;D^GCC FREE TEXT EQUALS
+100 ;;EOR^
+101 ;;KEY^863.9:^FREE TEXT EXCLUSIVELY BETWEEN
+102 ;;R^"863.9:",.01,"E"
+103 ;;D^FREE TEXT EXCLUSIVELY BETWEEN
+104 ;;R^"863.9:",.02,"E"
+105 ;;D^FREE TEXT
+106 ;;R^"863.9:",.03,"E"
+107 ;;D^GCC FREE TEXT EXCLUSIVELY BETWEEN
+108 ;;R^"863.9:",.04,"E"
+109 ;;D^IS EXCLUSIVELY BETWEEN
+110 ;;R^"863.9:","863.91:1",.01,"E"
+111 ;;D^OCXO GENERATE CODE FUNCTION
+112 ;;R^"863.9:","863.91:1",1,"E"
+113 ;;D^GCC FREE TEXT EXCLUSIVELY BETWEEN
+114 ;;EOR^
+115 ;;KEY^863.9:^FREE TEXT FOLLOWS
+116 ;;R^"863.9:",.01,"E"
+117 ;;D^FREE TEXT FOLLOWS
+118 ;;R^"863.9:",.02,"E"
+119 ;;D^FREE TEXT
+120 ;;R^"863.9:",.03,"E"
+121 ;;D^GCC FREE TEXT FOLLOWS ALPHABETICALLY
+122 ;;R^"863.9:",.04,"E"
+123 ;;D^FOLLOWS ALPHABETICALLY
+124 ;;R^"863.9:","863.91:1",.01,"E"
+125 ;;D^OCXO GENERATE CODE FUNCTION
+126 ;;R^"863.9:","863.91:1",1,"E"
+127 ;;D^GCC FREE TEXT FOLLOWS ALPHABETICALLY
+128 ;;EOR^
+129 ;;KEY^863.9:^FREE TEXT INCLUSIVELY BETWEEN
+130 ;;R^"863.9:",.01,"E"
+131 ;;D^FREE TEXT INCLUSIVELY BETWEEN
+132 ;;R^"863.9:",.02,"E"
+133 ;;D^FREE TEXT
+134 ;;R^"863.9:",.03,"E"
+135 ;;D^GCC FREE TEXT INCLUSIVELY BETWEEN
+136 ;;R^"863.9:",.04,"E"
+137 ;;D^IS EXCLUSIVELY BETWEEN
+138 ;;R^"863.9:","863.91:1",.01,"E"
+139 ;;D^OCXO GENERATE CODE FUNCTION
+140 ;;R^"863.9:","863.91:1",1,"E"
+141 ;;D^GCC FREE TEXT INCLUSIVELY BETWEEN
+142 ;;EOR^
+143 ;;KEY^863.9:^FREE TEXT IS NOT EQUAL TO
+144 ;;R^"863.9:",.01,"E"
+145 ;;D^FREE TEXT IS NOT EQUAL TO
+146 ;;R^"863.9:",.02,"E"
+147 ;;D^FREE TEXT
+148 ;;R^"863.9:",.03,"E"
+149 ;;D^GCC FREE TEXT NOT EQUALS
+150 ;;R^"863.9:",.04,"E"
+151 ;;D^IS NOT EQUAL TO
+152 ;;R^"863.9:","863.91:1",.01,"E"
+153 ;;D^OCXO GENERATE CODE FUNCTION
+154 ;;R^"863.9:","863.91:1",1,"E"
+155 ;;D^GCC FREE TEXT NOT EQUALS
+156 ;;R^"863.9:","863.91:2",.01,"E"
+157 ;;D^OCXO NULL VALUE ALLOWED
+158 ;;R^"863.9:","863.91:2",1,"E"
+159 ;;D^1
+160 ;;EOR^
+161 ;;KEY^863.9:^FREE TEXT LENGTH EXCL. BETWEEN
+162 ;;R^"863.9:",.01,"E"
+163 ;;D^FREE TEXT LENGTH EXCL. BETWEEN
+164 ;;R^"863.9:",.02,"E"
+165 ;;D^FREE TEXT
+166 ;;R^"863.9:",.03,"E"
+167 ;;D^GCC FREE TEXT LENGTH IS EXCLUSIVELY BETWEEN
+168 ;;R^"863.9:",.04,"E"
+169 ;;D^LENGTH IS EXCLUSIVELY BETWEEN
+170 ;;R^"863.9:","863.91:1",.01,"E"
+171 ;;D^OCXO GENERATE CODE FUNCTION
+172 ;;R^"863.9:","863.91:1",1,"E"
+173 ;;D^GCC FREE TEXT LENGTH IS EXCLUSIVELY BETWEEN
+174 ;;EOR^
+175 ;;KEY^863.9:^FREE TEXT LENGTH GREATER THAN
+176 ;;R^"863.9:",.01,"E"
+177 ;;D^FREE TEXT LENGTH GREATER THAN
+178 ;;R^"863.9:",.02,"E"
+179 ;;D^FREE TEXT
+180 ;;R^"863.9:",.03,"E"
+181 ;;D^GCC FREE TEXT LENGTH IS GREATER THAN
+182 ;;R^"863.9:",.04,"E"
+183 ;;D^LENGTH IS GREATER THAN
+184 ;;R^"863.9:","863.91:1",.01,"E"
+185 ;;D^OCXO GENERATE CODE FUNCTION
+186 ;1;
+187 ;