[613] | 1 | OCXDI015 ;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 ^OCXDI016
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;D^HELP MESSAGE
|
---|
| 21 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 22 | ;;D^This is a free text string which asks the user if it is OK to delete an entry
|
---|
| 23 | ;;EOR^
|
---|
| 24 | ;;KEY^863.8:^FREE TEXT STRING
|
---|
| 25 | ;;R^"863.8:",.01,"E"
|
---|
| 26 | ;;D^FREE TEXT STRING
|
---|
| 27 | ;;R^"863.8:",1,1
|
---|
| 28 | ;;D^Any free text string up to 240 characters
|
---|
| 29 | ;;EOR^
|
---|
| 30 | ;;KEY^863.8:^FAILED LOOKUP OK
|
---|
| 31 | ;;R^"863.8:",.01,"E"
|
---|
| 32 | ;;D^FAILED LOOKUP OK
|
---|
| 33 | ;;R^"863.8:",.02,"E"
|
---|
| 34 | ;;D^PASS ALL
|
---|
| 35 | ;;R^"863.8:",1,1
|
---|
| 36 | ;;D^If this param = 1, the POINTER data type reader will accept an
|
---|
| 37 | ;;R^"863.8:",1,2
|
---|
| 38 | ;;D^invalid lookup.
|
---|
| 39 | ;;R^"863.8:",2,"E"
|
---|
| 40 | ;;D^0
|
---|
| 41 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 42 | ;;D^DATA TYPE
|
---|
| 43 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 44 | ;;D^YES NO
|
---|
| 45 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 46 | ;;D^HELP MESSAGE
|
---|
| 47 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 48 | ;;D^Answer YES if you want the reader to supress an error message on a failed lookup.
|
---|
| 49 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 50 | ;;D^QUERY
|
---|
| 51 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 52 | ;;D^Failed lookup OK
|
---|
| 53 | ;;EOR^
|
---|
| 54 | ;;KEY^863.8:^OLD LOOKUP
|
---|
| 55 | ;;R^"863.8:",.01,"E"
|
---|
| 56 | ;;D^OLD LOOKUP
|
---|
| 57 | ;;R^"863.8:",.02,"E"
|
---|
| 58 | ;;D^OLD
|
---|
| 59 | ;;R^"863.8:",1,1
|
---|
| 60 | ;;D^If = 1, do "old style" DIC lookup where an exact match is always
|
---|
| 61 | ;;R^"863.8:",1,2
|
---|
| 62 | ;;D^considered unambiguous.
|
---|
| 63 | ;;R^"863.8:",2,"E"
|
---|
| 64 | ;;D^0
|
---|
| 65 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 66 | ;;D^DATA TYPE
|
---|
| 67 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 68 | ;;D^YES NO
|
---|
| 69 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 70 | ;;D^HELP MESSAGE
|
---|
| 71 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 72 | ;;D^Enter 'YES' if an exact match is always considered unambiguous.
|
---|
| 73 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 74 | ;;D^QUERY
|
---|
| 75 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 76 | ;;D^Old style DIC lookup
|
---|
| 77 | ;;EOR^
|
---|
| 78 | ;;KEY^863.8:^BEEP
|
---|
| 79 | ;;R^"863.8:",.01,"E"
|
---|
| 80 | ;;D^BEEP
|
---|
| 81 | ;;R^"863.8:",.02,"E"
|
---|
| 82 | ;;D^BEEP
|
---|
| 83 | ;;R^"863.8:",1,1
|
---|
| 84 | ;;D^BEEP when asking a question or printing a message.
|
---|
| 85 | ;;R^"863.8:",2,"E"
|
---|
| 86 | ;;D^0
|
---|
| 87 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 88 | ;;D^DATA TYPE
|
---|
| 89 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 90 | ;;D^YES NO
|
---|
| 91 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 92 | ;;D^HELP MESSAGE
|
---|
| 93 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 94 | ;;D^Enter yes to make the BEEP sound
|
---|
| 95 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 96 | ;;D^QUERY
|
---|
| 97 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 98 | ;;D^Beep
|
---|
| 99 | ;;EOR^
|
---|
| 100 | ;;KEY^863.8:^PRIMARY DELIMITER
|
---|
| 101 | ;;R^"863.8:",.01,"E"
|
---|
| 102 | ;;D^PRIMARY DELIMITER
|
---|
| 103 | ;;R^"863.8:",.02,"E"
|
---|
| 104 | ;;D^PDEL
|
---|
| 105 | ;;R^"863.8:",1,1
|
---|
| 106 | ;;D^Separates pieces in a string
|
---|
| 107 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 108 | ;;D^DATA TYPE
|
---|
| 109 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 110 | ;;D^FREE TEXT
|
---|
| 111 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 112 | ;;D^HELP MESSAGE
|
---|
| 113 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 114 | ;;D^Separates pieces of a string
|
---|
| 115 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 116 | ;;D^QUERY
|
---|
| 117 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 118 | ;;D^Primary delimiter
|
---|
| 119 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 120 | ;;D^FREE TEXT MINIMUM LENGTH
|
---|
| 121 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 122 | ;;D^1
|
---|
| 123 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 124 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 125 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 126 | ;;D^1
|
---|
| 127 | ;;EOR^
|
---|
| 128 | ;;KEY^863.8:^SECONDARY DELIMITER
|
---|
| 129 | ;;R^"863.8:",.01,"E"
|
---|
| 130 | ;;D^SECONDARY DELIMITER
|
---|
| 131 | ;;R^"863.8:",.02,"E"
|
---|
| 132 | ;;D^SDEL
|
---|
| 133 | ;;R^"863.8:",1,1
|
---|
| 134 | ;;D^Breaks each piece into elements
|
---|
| 135 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 136 | ;;D^DATA TYPE
|
---|
| 137 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 138 | ;;D^FREE TEXT
|
---|
| 139 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 140 | ;;D^EDIT CALL
|
---|
| 141 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 142 | ;;D^Separates elements of each delimited piece
|
---|
| 143 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 144 | ;;D^QUERY
|
---|
| 145 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 146 | ;;D^Secondary
|
---|
| 147 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 148 | ;;D^FREE TEXT MINIMUM LENGTH
|
---|
| 149 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 150 | ;;D^1
|
---|
| 151 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 152 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 153 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 154 | ;;D^1
|
---|
| 155 | ;;EOR^
|
---|
| 156 | ;;KEY^863.8:^START WITH
|
---|
| 157 | ;;R^"863.8:",.01,"E"
|
---|
| 158 | ;;D^START WITH
|
---|
| 159 | ;;R^"863.8:",.02,"E"
|
---|
| 160 | ;;D^START WITH
|
---|
| 161 | ;;R^"863.8:",1,1
|
---|
| 162 | ;;D^Free text string stating point for generating a list.
|
---|
| 163 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 164 | ;;D^DATA TYPE
|
---|
| 165 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 166 | ;;D^FREE TEXT
|
---|
| 167 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 168 | ;;D^HELP MESSAGE
|
---|
| 169 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 170 | ;;D^A free text sting designating the inclusive starting point
|
---|
| 171 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 172 | ;;D^QUERY
|
---|
| 173 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 174 | ;;D^Starting point for list/search
|
---|
| 175 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 176 | ;;D^FREE TEXT MINIMUM LENGTH
|
---|
| 177 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 178 | ;;D^1
|
---|
| 179 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 180 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 181 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 182 | ;;D^32
|
---|
| 183 | ;;EOR^
|
---|
| 184 | ;;KEY^863.8:^END WITH
|
---|
| 185 | ;;R^"863.8:",.01,"E"
|
---|
| 186 | ;;D^END WITH
|
---|
| 187 | ;;R^"863.8:",.02,"E"
|
---|
| 188 | ;;D^END WITH
|
---|
| 189 | ;;R^"863.8:",1,1
|
---|
| 190 | ;;D^Ending point of a list or search
|
---|
| 191 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 192 | ;;D^DATA TYPE
|
---|
| 193 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 194 | ;;D^FREE TEXT
|
---|
| 195 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 196 | ;;D^HELP MESSAGE
|
---|
| 197 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 198 | ;;D^Ending point of search/list
|
---|
| 199 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 200 | ;;D^QUERY
|
---|
| 201 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 202 | ;;D^Ending point of list/search
|
---|
| 203 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 204 | ;;D^FREE TEXT MINIMUM LENGTH
|
---|
| 205 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 206 | ;;D^1
|
---|
| 207 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 208 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 209 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 210 | ;1;
|
---|
| 211 | ;
|
---|