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