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