OCXDI014 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
;;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 ^OCXDI015
;
Q
;
DATA ;
;
;;R^"863.8:",.02,"E"
;;D^DICS
;;R^"863.8:",1,1
;;D^Contains DIC("S") code for a DIC lookup
;;R^"863.8:","863.84:1",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:1",1,"E"
;;D^Enter M code to be used in DIC("S")
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^This is valid M code which sets $T to 1 if the lookup passes the screen.
;;R^"863.8:","863.84:3",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:3",1,"E"
;;D^MUMPS CODE
;;EOR^
;;KEY^863.8:^DIC LOOKUP INDEX STRING
;;R^"863.8:",.01,"E"
;;D^DIC LOOKUP INDEX STRING
;;R^"863.8:",.02,"E"
;;D^DICIX
;;R^"863.8:",1,1
;;D^Contains the names of indices to be used in a DIC lookup in a comma
;;R^"863.8:",1,2
;;D^delimited string.
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter a DIC lookup index string
;;R^"863.8:","863.84:3",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:3",1,"E"
;;D^This is an '^' delimited string which contains the names of indices which are to be used in a DIC lookup; e.g., B^C^DOB.
;;EOR^
;;KEY^863.8:^FAILED LOOKUP MESSAGE
;;R^"863.8:",.01,"E"
;;D^FAILED LOOKUP MESSAGE
;;R^"863.8:",.02,"E"
;;D^FLK MSG
;;R^"863.8:",1,1
;;D^Pointer data type dialogue message to the end user that his entry failed
;;R^"863.8:",1,2
;;D^the lookup.
;;R^"863.8:",2,"E"
;;D^Sorry, there are no choices which match your entry...
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter a free text message to let the user know that the lookup failed
;;EOR^
;;KEY^863.8:^HELP FRAME MESSAGE
;;R^"863.8:",.01,"E"
;;D^HELP FRAME MESSAGE
;;R^"863.8:",.02,"E"
;;D^HF MSG
;;R^"863.8:",1,1
;;D^Message to the user that, in addition to the normal help text, a help
;;R^"863.8:",1,2
;;D^frame is available.
;;R^"863.8:",2,"E"
;;D^Do you want to view a more detailed help message
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Help frame request message
;;EOR^
;;KEY^863.8:^PAGE FEED
;;R^"863.8:",.01,"E"
;;D^PAGE FEED
;;R^"863.8:",.02,"E"
;;D^PAGE
;;R^"863.8:",1,1
;;D^Issue a page feed
;;R^"863.8:",2,"E"
;;D^0
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^YES NO
;;EOR^
;;KEY^863.8:^READER REDIRECTION
;;R^"863.8:",.01,"E"
;;D^READER REDIRECTION
;;R^"863.8:",.02,"E"
;;D^RED
;;R^"863.8:",1,1
;;D^If the READER method sees this variable, it will bypass asking the user for
;;R^"863.8:",1,2
;;D^a value and use the value stored in 'RED'
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter a value to be sent to the reader
;;R^"863.8:","863.84:3",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:3",1,"E"
;;D^When the READER method sees this value, it will bypass the user query and take this value instead
;;EOR^
;;KEY^863.8:^DICW
;;R^"863.8:",.01,"E"
;;D^DICW
;;R^"863.8:",.02,"E"
;;D^DICW
;;R^"863.8:",1,1
;;D^A M commmand string equivalent to DIC("W")
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^MUMPS CODE
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter DIC('W') code
;;R^"863.8:","863.84:3",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:3",1,"E"
;;D^M command code equivalent to DIC("W")
;;EOR^
;;KEY^863.8:^COUNT
;;R^"863.8:",.01,"E"
;;D^COUNT
;;R^"863.8:",.02,"E"
;;D^COUNT
;;R^"863.8:",1,1
;;D^This is the number of entries in a file
;;R^"863.8:","863.84:1",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:1",1,"E"
;;D^Enter the number of entries in the file
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^This corresponds to the 4th piece of FileMan's dictionary node
;;R^"863.8:","863.84:3",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:3",1,"E"
;;D^POSITIVE INTEGER
;;EOR^
;;KEY^863.8:^VOID
;;R^"863.8:",.01,"E"
;;D^VOID
;;R^"863.8:",.02,"E"
;;D^VOID
;;R^"863.8:",1,1
;;D^If the user enters a "@" and this parameter '="", the user is asked if
;;R^"863.8:",1,2
;;D^he is sure that he wants to delete the value.
;;R^"863.8:",2,"E"
;;D^
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter 'OK TO DELETE' message
;;R^"863.8:","863.84:3",.01,"E"
;1;
;
OCXDI014 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
+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 ^OCXDI015
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:",.02,"E"
+3 ;;D^DICS
+4 ;;R^"863.8:",1,1
+5 ;;D^Contains DIC("S") code for a DIC lookup
+6 ;;R^"863.8:","863.84:1",.01,"E"
+7 ;;D^QUERY
+8 ;;R^"863.8:","863.84:1",1,"E"
+9 ;;D^Enter M code to be used in DIC("S")
+10 ;;R^"863.8:","863.84:2",.01,"E"
+11 ;;D^HELP MESSAGE
+12 ;;R^"863.8:","863.84:2",1,"E"
+13 ;;D^This is valid M code which sets $T to 1 if the lookup passes the screen.
+14 ;;R^"863.8:","863.84:3",.01,"E"
+15 ;;D^DATA TYPE
+16 ;;R^"863.8:","863.84:3",1,"E"
+17 ;;D^MUMPS CODE
+18 ;;EOR^
+19 ;;KEY^863.8:^DIC LOOKUP INDEX STRING
+20 ;;R^"863.8:",.01,"E"
+21 ;;D^DIC LOOKUP INDEX STRING
+22 ;;R^"863.8:",.02,"E"
+23 ;;D^DICIX
+24 ;;R^"863.8:",1,1
+25 ;;D^Contains the names of indices to be used in a DIC lookup in a comma
+26 ;;R^"863.8:",1,2
+27 ;;D^delimited string.
+28 ;;R^"863.8:","863.84:1",.01,"E"
+29 ;;D^DATA TYPE
+30 ;;R^"863.8:","863.84:1",1,"E"
+31 ;;D^FREE TEXT
+32 ;;R^"863.8:","863.84:2",.01,"E"
+33 ;;D^QUERY
+34 ;;R^"863.8:","863.84:2",1,"E"
+35 ;;D^Enter a DIC lookup index string
+36 ;;R^"863.8:","863.84:3",.01,"E"
+37 ;;D^HELP MESSAGE
+38 ;;R^"863.8:","863.84:3",1,"E"
+39 ;;D^This is an '^' delimited string which contains the names of indices which are to be used in a DIC lookup; e.g., B^C^DOB.
+40 ;;EOR^
+41 ;;KEY^863.8:^FAILED LOOKUP MESSAGE
+42 ;;R^"863.8:",.01,"E"
+43 ;;D^FAILED LOOKUP MESSAGE
+44 ;;R^"863.8:",.02,"E"
+45 ;;D^FLK MSG
+46 ;;R^"863.8:",1,1
+47 ;;D^Pointer data type dialogue message to the end user that his entry failed
+48 ;;R^"863.8:",1,2
+49 ;;D^the lookup.
+50 ;;R^"863.8:",2,"E"
+51 ;;D^Sorry, there are no choices which match your entry...
+52 ;;R^"863.8:","863.84:1",.01,"E"
+53 ;;D^DATA TYPE
+54 ;;R^"863.8:","863.84:1",1,"E"
+55 ;;D^FREE TEXT
+56 ;;R^"863.8:","863.84:2",.01,"E"
+57 ;;D^QUERY
+58 ;;R^"863.8:","863.84:2",1,"E"
+59 ;;D^Enter a free text message to let the user know that the lookup failed
+60 ;;EOR^
+61 ;;KEY^863.8:^HELP FRAME MESSAGE
+62 ;;R^"863.8:",.01,"E"
+63 ;;D^HELP FRAME MESSAGE
+64 ;;R^"863.8:",.02,"E"
+65 ;;D^HF MSG
+66 ;;R^"863.8:",1,1
+67 ;;D^Message to the user that, in addition to the normal help text, a help
+68 ;;R^"863.8:",1,2
+69 ;;D^frame is available.
+70 ;;R^"863.8:",2,"E"
+71 ;;D^Do you want to view a more detailed help message
+72 ;;R^"863.8:","863.84:1",.01,"E"
+73 ;;D^DATA TYPE
+74 ;;R^"863.8:","863.84:1",1,"E"
+75 ;;D^FREE TEXT
+76 ;;R^"863.8:","863.84:2",.01,"E"
+77 ;;D^QUERY
+78 ;;R^"863.8:","863.84:2",1,"E"
+79 ;;D^Help frame request message
+80 ;;EOR^
+81 ;;KEY^863.8:^PAGE FEED
+82 ;;R^"863.8:",.01,"E"
+83 ;;D^PAGE FEED
+84 ;;R^"863.8:",.02,"E"
+85 ;;D^PAGE
+86 ;;R^"863.8:",1,1
+87 ;;D^Issue a page feed
+88 ;;R^"863.8:",2,"E"
+89 ;;D^0
+90 ;;R^"863.8:","863.84:1",.01,"E"
+91 ;;D^DATA TYPE
+92 ;;R^"863.8:","863.84:1",1,"E"
+93 ;;D^YES NO
+94 ;;EOR^
+95 ;;KEY^863.8:^READER REDIRECTION
+96 ;;R^"863.8:",.01,"E"
+97 ;;D^READER REDIRECTION
+98 ;;R^"863.8:",.02,"E"
+99 ;;D^RED
+100 ;;R^"863.8:",1,1
+101 ;;D^If the READER method sees this variable, it will bypass asking the user for
+102 ;;R^"863.8:",1,2
+103 ;;D^a value and use the value stored in 'RED'
+104 ;;R^"863.8:","863.84:1",.01,"E"
+105 ;;D^DATA TYPE
+106 ;;R^"863.8:","863.84:1",1,"E"
+107 ;;D^FREE TEXT
+108 ;;R^"863.8:","863.84:2",.01,"E"
+109 ;;D^QUERY
+110 ;;R^"863.8:","863.84:2",1,"E"
+111 ;;D^Enter a value to be sent to the reader
+112 ;;R^"863.8:","863.84:3",.01,"E"
+113 ;;D^HELP MESSAGE
+114 ;;R^"863.8:","863.84:3",1,"E"
+115 ;;D^When the READER method sees this value, it will bypass the user query and take this value instead
+116 ;;EOR^
+117 ;;KEY^863.8:^DICW
+118 ;;R^"863.8:",.01,"E"
+119 ;;D^DICW
+120 ;;R^"863.8:",.02,"E"
+121 ;;D^DICW
+122 ;;R^"863.8:",1,1
+123 ;;D^A M commmand string equivalent to DIC("W")
+124 ;;R^"863.8:","863.84:1",.01,"E"
+125 ;;D^DATA TYPE
+126 ;;R^"863.8:","863.84:1",1,"E"
+127 ;;D^MUMPS CODE
+128 ;;R^"863.8:","863.84:2",.01,"E"
+129 ;;D^QUERY
+130 ;;R^"863.8:","863.84:2",1,"E"
+131 ;;D^Enter DIC('W') code
+132 ;;R^"863.8:","863.84:3",.01,"E"
+133 ;;D^HELP MESSAGE
+134 ;;R^"863.8:","863.84:3",1,"E"
+135 ;;D^M command code equivalent to DIC("W")
+136 ;;EOR^
+137 ;;KEY^863.8:^COUNT
+138 ;;R^"863.8:",.01,"E"
+139 ;;D^COUNT
+140 ;;R^"863.8:",.02,"E"
+141 ;;D^COUNT
+142 ;;R^"863.8:",1,1
+143 ;;D^This is the number of entries in a file
+144 ;;R^"863.8:","863.84:1",.01,"E"
+145 ;;D^QUERY
+146 ;;R^"863.8:","863.84:1",1,"E"
+147 ;;D^Enter the number of entries in the file
+148 ;;R^"863.8:","863.84:2",.01,"E"
+149 ;;D^HELP MESSAGE
+150 ;;R^"863.8:","863.84:2",1,"E"
+151 ;;D^This corresponds to the 4th piece of FileMan's dictionary node
+152 ;;R^"863.8:","863.84:3",.01,"E"
+153 ;;D^DATA TYPE
+154 ;;R^"863.8:","863.84:3",1,"E"
+155 ;;D^POSITIVE INTEGER
+156 ;;EOR^
+157 ;;KEY^863.8:^VOID
+158 ;;R^"863.8:",.01,"E"
+159 ;;D^VOID
+160 ;;R^"863.8:",.02,"E"
+161 ;;D^VOID
+162 ;;R^"863.8:",1,1
+163 ;;D^If the user enters a "@" and this parameter '="", the user is asked if
+164 ;;R^"863.8:",1,2
+165 ;;D^he is sure that he wants to delete the value.
+166 ;;R^"863.8:",2,"E"
+167 ;;D^
+168 ;;R^"863.8:","863.84:1",.01,"E"
+169 ;;D^DATA TYPE
+170 ;;R^"863.8:","863.84:1",1,"E"
+171 ;;D^FREE TEXT
+172 ;;R^"863.8:","863.84:2",.01,"E"
+173 ;;D^QUERY
+174 ;;R^"863.8:","863.84:2",1,"E"
+175 ;;D^Enter 'OK TO DELETE' message
+176 ;;R^"863.8:","863.84:3",.01,"E"
+177 ;1;
+178 ;