OCXDI019 ;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 ^OCXDI01A
;
Q
;
DATA ;
;
;;D^DIC
;;R^"864.1:","864.11:4",1,"E"
;;D^
;;R^"864.1:","864.11:5",.01,"E"
;;D^FAILED LOOKUP MESSAGE
;;R^"864.1:","864.11:6",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^Enter the name of another record in the file
;;R^"864.1:","864.11:7",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:7",1,"E"
;;D^1
;;R^"864.1:","864.11:8",.01,"E"
;;D^FILEMAN FILE NUMBER
;;EOR^
;;KEY^864.1:^MUMPS CODE
;;R^"864.1:",.01,"E"
;;D^MUMPS CODE
;;R^"864.1:",.02,"E"
;;D^MCODE
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:3",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:3",1,"E"
;;D^MCODE^OCXFDFTE
;;R^"864.1:","864.11:5",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:5",1,"E"
;;D^Enter valid M code
;;R^"864.1:","864.11:6",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:6",1,"E"
;;D^You must be able to successfully 'eXecute' the code you enter or it will be judged 'invalid'.
;;R^"864.1:","864.11:7",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:7",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:8",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Enter another line of valid M code
;;R^"864.1:","864.11:9",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:9",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^DATE/TIME
;;R^"864.1:",.01,"E"
;;D^DATE/TIME
;;R^"864.1:",.02,"E"
;;D^DATE
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:10",.01,"E"
;;D^DATE SPECIAL MASK
;;R^"864.1:","864.11:11",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:11",1,"E"
;;D^DATE^OCXFDD
;;R^"864.1:","864.11:12",.01,"E"
;;D^CONDITION CALL
;;R^"864.1:","864.11:12",1,"E"
;;D^COND^OCXFDD1
;;R^"864.1:","864.11:13",.01,"E"
;;D^HELP FRAME MESSAGE
;;R^"864.1:","864.11:13",1,"E"
;;D^Want instructions for entering a valid date and time
;;R^"864.1:","864.11:14",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:14",1,"E"
;;D^Enter date/time
;;R^"864.1:","864.11:15",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:15",1,"E"
;;D^Enter another date/time
;;R^"864.1:","864.11:16",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:16",1,"E"
;;D^0
;;R^"864.1:","864.11:2",.01,"E"
;;D^DATE EXACT
;;R^"864.1:","864.11:2",1,"E"
;;D^X
;;R^"864.1:","864.11:3",.01,"E"
;;D^DATE INPUT FORMAT
;;R^"864.1:","864.11:4",.01,"E"
;;D^DATE LIMIT
;;R^"864.1:","864.11:5",.01,"E"
;;D^DATE MAXIMUM
;;R^"864.1:","864.11:6",.01,"E"
;;D^DATE MINIMUM
;;R^"864.1:","864.11:7",.01,"E"
;;D^DATE SECONDS
;;R^"864.1:","864.11:8",.01,"E"
;;D^DATE SPECIAL OUTPUT FORMAT
;;R^"864.1:","864.11:9",.01,"E"
;;D^DATE TIME
;;EOR^
;;KEY^864.1:^YES NO
;;R^"864.1:",.01,"E"
;;D^YES NO
;;R^"864.1:",.02,"E"
;;D^YES NO
;;R^"864.1:",2,"E"
;;D^BINARY
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^BI^OCXFDBI
;;R^"864.1:","864.11:3",.01,"E"
;;D^TERMINATOR
;;R^"864.1:","864.11:4",.01,"E"
;;D^SET CODES
;;R^"864.1:","864.11:4",1,"E"
;;D^1:YES;0:NO
;;R^"864.1:","864.11:5",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:5",1,"E"
;;D^OK
;;R^"864.1:","864.11:6",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^GENERIC
;;R^"864.1:",.01,"E"
;;D^GENERIC
;;R^"864.1:",.02,"E"
;;D^GENERIC
;;R^"864.1:","864.11:11",.01,"E"
;;D^MANDATORY MESSAGE
;;R^"864.1:","864.11:11",1,"E"
;;D^This answer is mandatory. Enter a response or press '^' to exit.
;;R^"864.1:","864.11:12",.01,"E"
;;D^TERMINATOR
;;R^"864.1:","864.11:12",1,"E"
;;D^:
;;R^"864.1:","864.11:13",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:13",1,"E"
;;D^Enter another value
;;R^"864.1:","864.11:7",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:7",1,"E"
;;D^GEN^OCXFDMOM
;;R^"864.1:","864.11:8",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Enter a value
;;R^"864.1:","864.11:9",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:9",1,"E"
;;D^
;;EOR^
;;KEY^864.1:^BINARY
;;R^"864.1:",.01,"E"
;;D^BINARY
;;R^"864.1:",.02,"E"
;;D^BINARY
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^BI^OCXFDBI
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a value
;;R^"864.1:","864.11:3",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:3",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^MUMPS EXPRESSION
;;R^"864.1:",.01,"E"
;;D^MUMPS EXPRESSION
;;R^"864.1:",.02,"E"
;;D^MEXPR
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter a valid M expression
;;R^"864.1:","864.11:4",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:4",1,"E"
;;D^MEXPR^OCXFDFTE
;;R^"864.1:","864.11:5",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:5",1,"E"
;;D^A MUMPS expression has some value and can be successfully substituted for the term {expr} in the following piece of code: S X={expr}; e.g., X, $E(Y), "ABC", etc.
;1;
;
OCXDI019 ;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 ^OCXDI01A
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^DIC
+3 ;;R^"864.1:","864.11:4",1,"E"
+4 ;;D^
+5 ;;R^"864.1:","864.11:5",.01,"E"
+6 ;;D^FAILED LOOKUP MESSAGE
+7 ;;R^"864.1:","864.11:6",.01,"E"
+8 ;;D^LOOP QUERY
+9 ;;R^"864.1:","864.11:6",1,"E"
+10 ;;D^Enter the name of another record in the file
+11 ;;R^"864.1:","864.11:7",.01,"E"
+12 ;;D^REPEAT THE QUERY
+13 ;;R^"864.1:","864.11:7",1,"E"
+14 ;;D^1
+15 ;;R^"864.1:","864.11:8",.01,"E"
+16 ;;D^FILEMAN FILE NUMBER
+17 ;;EOR^
+18 ;;KEY^864.1:^MUMPS CODE
+19 ;;R^"864.1:",.01,"E"
+20 ;;D^MUMPS CODE
+21 ;;R^"864.1:",.02,"E"
+22 ;;D^MCODE
+23 ;;R^"864.1:",2,"E"
+24 ;;D^FREE TEXT
+25 ;;R^"864.1:","864.11:3",.01,"E"
+26 ;;D^DIALOGUE VALIDATION CODE
+27 ;;R^"864.1:","864.11:3",1,"E"
+28 ;;D^MCODE^OCXFDFTE
+29 ;;R^"864.1:","864.11:5",.01,"E"
+30 ;;D^QUERY
+31 ;;R^"864.1:","864.11:5",1,"E"
+32 ;;D^Enter valid M code
+33 ;;R^"864.1:","864.11:6",.01,"E"
+34 ;;D^HELP MESSAGE
+35 ;;R^"864.1:","864.11:6",1,"E"
+36 ;;D^You must be able to successfully 'eXecute' the code you enter or it will be judged 'invalid'.
+37 ;;R^"864.1:","864.11:7",.01,"E"
+38 ;;D^VALUE CALL
+39 ;;R^"864.1:","864.11:7",1,"E"
+40 ;;D^FT^OCXFDFT
+41 ;;R^"864.1:","864.11:8",.01,"E"
+42 ;;D^LOOP QUERY
+43 ;;R^"864.1:","864.11:8",1,"E"
+44 ;;D^Enter another line of valid M code
+45 ;;R^"864.1:","864.11:9",.01,"E"
+46 ;;D^REPEAT THE QUERY
+47 ;;R^"864.1:","864.11:9",1,"E"
+48 ;;D^0
+49 ;;EOR^
+50 ;;KEY^864.1:^DATE/TIME
+51 ;;R^"864.1:",.01,"E"
+52 ;;D^DATE/TIME
+53 ;;R^"864.1:",.02,"E"
+54 ;;D^DATE
+55 ;;R^"864.1:",2,"E"
+56 ;;D^GENERIC
+57 ;;R^"864.1:","864.11:10",.01,"E"
+58 ;;D^DATE SPECIAL MASK
+59 ;;R^"864.1:","864.11:11",.01,"E"
+60 ;;D^VALUE CALL
+61 ;;R^"864.1:","864.11:11",1,"E"
+62 ;;D^DATE^OCXFDD
+63 ;;R^"864.1:","864.11:12",.01,"E"
+64 ;;D^CONDITION CALL
+65 ;;R^"864.1:","864.11:12",1,"E"
+66 ;;D^COND^OCXFDD1
+67 ;;R^"864.1:","864.11:13",.01,"E"
+68 ;;D^HELP FRAME MESSAGE
+69 ;;R^"864.1:","864.11:13",1,"E"
+70 ;;D^Want instructions for entering a valid date and time
+71 ;;R^"864.1:","864.11:14",.01,"E"
+72 ;;D^QUERY
+73 ;;R^"864.1:","864.11:14",1,"E"
+74 ;;D^Enter date/time
+75 ;;R^"864.1:","864.11:15",.01,"E"
+76 ;;D^LOOP QUERY
+77 ;;R^"864.1:","864.11:15",1,"E"
+78 ;;D^Enter another date/time
+79 ;;R^"864.1:","864.11:16",.01,"E"
+80 ;;D^REPEAT THE QUERY
+81 ;;R^"864.1:","864.11:16",1,"E"
+82 ;;D^0
+83 ;;R^"864.1:","864.11:2",.01,"E"
+84 ;;D^DATE EXACT
+85 ;;R^"864.1:","864.11:2",1,"E"
+86 ;;D^X
+87 ;;R^"864.1:","864.11:3",.01,"E"
+88 ;;D^DATE INPUT FORMAT
+89 ;;R^"864.1:","864.11:4",.01,"E"
+90 ;;D^DATE LIMIT
+91 ;;R^"864.1:","864.11:5",.01,"E"
+92 ;;D^DATE MAXIMUM
+93 ;;R^"864.1:","864.11:6",.01,"E"
+94 ;;D^DATE MINIMUM
+95 ;;R^"864.1:","864.11:7",.01,"E"
+96 ;;D^DATE SECONDS
+97 ;;R^"864.1:","864.11:8",.01,"E"
+98 ;;D^DATE SPECIAL OUTPUT FORMAT
+99 ;;R^"864.1:","864.11:9",.01,"E"
+100 ;;D^DATE TIME
+101 ;;EOR^
+102 ;;KEY^864.1:^YES NO
+103 ;;R^"864.1:",.01,"E"
+104 ;;D^YES NO
+105 ;;R^"864.1:",.02,"E"
+106 ;;D^YES NO
+107 ;;R^"864.1:",2,"E"
+108 ;;D^BINARY
+109 ;;R^"864.1:","864.11:1",.01,"E"
+110 ;;D^VALUE CALL
+111 ;;R^"864.1:","864.11:1",1,"E"
+112 ;;D^BI^OCXFDBI
+113 ;;R^"864.1:","864.11:3",.01,"E"
+114 ;;D^TERMINATOR
+115 ;;R^"864.1:","864.11:4",.01,"E"
+116 ;;D^SET CODES
+117 ;;R^"864.1:","864.11:4",1,"E"
+118 ;;D^1:YES;0:NO
+119 ;;R^"864.1:","864.11:5",.01,"E"
+120 ;;D^QUERY
+121 ;;R^"864.1:","864.11:5",1,"E"
+122 ;;D^OK
+123 ;;R^"864.1:","864.11:6",.01,"E"
+124 ;;D^REPEAT THE QUERY
+125 ;;R^"864.1:","864.11:6",1,"E"
+126 ;;D^0
+127 ;;EOR^
+128 ;;KEY^864.1:^GENERIC
+129 ;;R^"864.1:",.01,"E"
+130 ;;D^GENERIC
+131 ;;R^"864.1:",.02,"E"
+132 ;;D^GENERIC
+133 ;;R^"864.1:","864.11:11",.01,"E"
+134 ;;D^MANDATORY MESSAGE
+135 ;;R^"864.1:","864.11:11",1,"E"
+136 ;;D^This answer is mandatory. Enter a response or press '^' to exit.
+137 ;;R^"864.1:","864.11:12",.01,"E"
+138 ;;D^TERMINATOR
+139 ;;R^"864.1:","864.11:12",1,"E"
+140 ;;D^:
+141 ;;R^"864.1:","864.11:13",.01,"E"
+142 ;;D^LOOP QUERY
+143 ;;R^"864.1:","864.11:13",1,"E"
+144 ;;D^Enter another value
+145 ;;R^"864.1:","864.11:7",.01,"E"
+146 ;;D^VALUE CALL
+147 ;;R^"864.1:","864.11:7",1,"E"
+148 ;;D^GEN^OCXFDMOM
+149 ;;R^"864.1:","864.11:8",.01,"E"
+150 ;;D^QUERY
+151 ;;R^"864.1:","864.11:8",1,"E"
+152 ;;D^Enter a value
+153 ;;R^"864.1:","864.11:9",.01,"E"
+154 ;;D^HELP MESSAGE
+155 ;;R^"864.1:","864.11:9",1,"E"
+156 ;;D^
+157 ;;EOR^
+158 ;;KEY^864.1:^BINARY
+159 ;;R^"864.1:",.01,"E"
+160 ;;D^BINARY
+161 ;;R^"864.1:",.02,"E"
+162 ;;D^BINARY
+163 ;;R^"864.1:",2,"E"
+164 ;;D^GENERIC
+165 ;;R^"864.1:","864.11:1",.01,"E"
+166 ;;D^VALUE CALL
+167 ;;R^"864.1:","864.11:1",1,"E"
+168 ;;D^BI^OCXFDBI
+169 ;;R^"864.1:","864.11:2",.01,"E"
+170 ;;D^QUERY
+171 ;;R^"864.1:","864.11:2",1,"E"
+172 ;;D^Enter a value
+173 ;;R^"864.1:","864.11:3",.01,"E"
+174 ;;D^REPEAT THE QUERY
+175 ;;R^"864.1:","864.11:3",1,"E"
+176 ;;D^0
+177 ;;EOR^
+178 ;;KEY^864.1:^MUMPS EXPRESSION
+179 ;;R^"864.1:",.01,"E"
+180 ;;D^MUMPS EXPRESSION
+181 ;;R^"864.1:",.02,"E"
+182 ;;D^MEXPR
+183 ;;R^"864.1:",2,"E"
+184 ;;D^FREE TEXT
+185 ;;R^"864.1:","864.11:1",.01,"E"
+186 ;;D^QUERY
+187 ;;R^"864.1:","864.11:1",1,"E"
+188 ;;D^Enter a valid M expression
+189 ;;R^"864.1:","864.11:4",.01,"E"
+190 ;;D^DIALOGUE VALIDATION CODE
+191 ;;R^"864.1:","864.11:4",1,"E"
+192 ;;D^MEXPR^OCXFDFTE
+193 ;;R^"864.1:","864.11:5",.01,"E"
+194 ;;D^HELP MESSAGE
+195 ;;R^"864.1:","864.11:5",1,"E"
+196 ;;D^A MUMPS expression has some value and can be successfully substituted for the term {expr} in the following piece of code: S X={expr}; e.g., X, $E(Y), "ABC", etc.
+197 ;1;
+198 ;