OCXDI013 ;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 ^OCXDI014
;
Q
;
DATA ;
;
;;D^ internal format. This expression will foloow the 'Q' of an extrinsic
;;R^"863.8:",1,3
;;D^ function.
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter input transform expression
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^LINE TAG
;;EOR^
;;KEY^863.8:^DIALOGUE OUTPUT TRANSFORM
;;R^"863.8:",.01,"E"
;;D^DIALOGUE OUTPUT TRANSFORM
;;R^"863.8:",.02,"E"
;;D^DT OT
;;R^"863.8:",1,1
;;D^M expression which transforms an internal value (stored in 'X') to an
;;R^"863.8:",1,2
;;D^external format. This expression will follow the 'Q' in an extrinsic
;;R^"863.8:",1,3
;;D^function.
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter output transform expression
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^LINE TAG
;;EOR^
;;KEY^863.8:^INPUT VALUE
;;R^"863.8:",.01,"E"
;;D^INPUT VALUE
;;R^"863.8:",.02,"E"
;;D^INVAL
;;R^"863.8:",1,1
;;D^Stores an input value for a function
;;R^"863.8:",2,"E"
;;D^
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter a variable name
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^TERMINATOR
;;R^"863.8:",.01,"E"
;;D^TERMINATOR
;;R^"863.8:",.02,"E"
;;D^TERMINATOR
;;R^"863.8:",1,1
;;D^A text string terminator; e.g., '?', ': ', '=>'
;;R^"863.8:",2,"E"
;;D^:
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter text string terminator
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:6",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:6",1,"E"
;;D^9
;;EOR^
;;KEY^863.8:^ALL UPPERCASE
;;R^"863.8:",.01,"E"
;;D^ALL UPPERCASE
;;R^"863.8:",.02,"E"
;;D^ALL UC
;;R^"863.8:",1,1
;;D^If = '1' the the string must not contain any lowercase characters
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^SET OF CODES
;;R^"863.8:","863.84:2",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:2",1,"E"
;;D^1:UPPER CASE ONLY;0:LOWER CASE ALLOWED
;;EOR^
;;KEY^863.8:^FREE TEXT MINMAX HELP
;;R^"863.8:",.01,"E"
;;D^FREE TEXT MINMAX HELP
;;R^"863.8:",.02,"E"
;;D^FTMM HELP
;;R^"863.8:",1,1
;;D^A'^' delimeted text string which contains user help re string length.
;;R^"863.8:",1,2
;;D^The 1st piece is used if only FMAX is defined.
;;R^"863.8:",1,3
;;D^The 2nd piece is used if only FMIN is defined.
;;R^"863.8:",1,4
;;D^The 3rd piece is used if both FMIN and FMAX are defined.
;;R^"863.8:",2,"E"
;;D^The maximum string length is |FMAX| characters.^The minimum string length is |FMIN| characters.^String length must be between |FMIN| and |FMAX| characters.
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter MIN/MAX help message
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^NUMERIC MINMAX HELP
;;R^"863.8:",.01,"E"
;;D^NUMERIC MINMAX HELP
;;R^"863.8:",.02,"E"
;;D^NUMM HELP
;;R^"863.8:",1,1
;;D^'^' delimited text string containing min/max help messages for the numeric
;;R^"863.8:",1,2
;;D^data type
;;R^"863.8:",2,"E"
;;D^Not over |MAX|.^Not less than |MIN|.^Must be between |MIN| and |MAX|.^Pos. integer req'd.^Pos. number req'd.^Must be an integer.^No more than |DEC| decimal places allowed.^Neg. integer req'd.^Any number is OK.^Neg. number req'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 a message
;;EOR^
;;KEY^863.8:^POINTER HELP MESSAGE
;;R^"863.8:",.01,"E"
;;D^POINTER HELP MESSAGE
;;R^"863.8:",.02,"E"
;;D^PHELP
;;R^"863.8:",1,1
;;D^Pointer data type help messages in a '^' delimited string
;;R^"863.8:",2,"E"
;;D^Select from a list of |COUNT| entries...^Select a value from the following list =>
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^DIC
;;R^"863.8:",.01,"E"
;;D^DIC
;;R^"863.8:",.02,"E"
;;D^DIC
;;R^"863.8:",1,1
;;D^An open reference used to specify the file in a DIC lookup
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^POINTER TO A FILEMAN FILE
;;R^"863.8:","863.84:2",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:2",1,"E"
;;D^1
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter the name of the file you are pointing to
;;EOR^
;;KEY^863.8:^DIC SUB S
;;R^"863.8:",.01,"E"
;;D^DIC SUB S
;1;
;
OCXDI013 ;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 ^OCXDI014
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^ internal format. This expression will foloow the 'Q' of an extrinsic
+3 ;;R^"863.8:",1,3
+4 ;;D^ function.
+5 ;;R^"863.8:","863.84:4",.01,"E"
+6 ;;D^QUERY
+7 ;;R^"863.8:","863.84:4",1,"E"
+8 ;;D^Enter input transform expression
+9 ;;R^"863.8:","863.84:5",.01,"E"
+10 ;;D^DATA TYPE
+11 ;;R^"863.8:","863.84:5",1,"E"
+12 ;;D^LINE TAG
+13 ;;EOR^
+14 ;;KEY^863.8:^DIALOGUE OUTPUT TRANSFORM
+15 ;;R^"863.8:",.01,"E"
+16 ;;D^DIALOGUE OUTPUT TRANSFORM
+17 ;;R^"863.8:",.02,"E"
+18 ;;D^DT OT
+19 ;;R^"863.8:",1,1
+20 ;;D^M expression which transforms an internal value (stored in 'X') to an
+21 ;;R^"863.8:",1,2
+22 ;;D^external format. This expression will follow the 'Q' in an extrinsic
+23 ;;R^"863.8:",1,3
+24 ;;D^function.
+25 ;;R^"863.8:","863.84:4",.01,"E"
+26 ;;D^QUERY
+27 ;;R^"863.8:","863.84:4",1,"E"
+28 ;;D^Enter output transform expression
+29 ;;R^"863.8:","863.84:5",.01,"E"
+30 ;;D^DATA TYPE
+31 ;;R^"863.8:","863.84:5",1,"E"
+32 ;;D^LINE TAG
+33 ;;EOR^
+34 ;;KEY^863.8:^INPUT VALUE
+35 ;;R^"863.8:",.01,"E"
+36 ;;D^INPUT VALUE
+37 ;;R^"863.8:",.02,"E"
+38 ;;D^INVAL
+39 ;;R^"863.8:",1,1
+40 ;;D^Stores an input value for a function
+41 ;;R^"863.8:",2,"E"
+42 ;;D^
+43 ;;R^"863.8:","863.84:3",.01,"E"
+44 ;;D^QUERY
+45 ;;R^"863.8:","863.84:3",1,"E"
+46 ;;D^Enter a variable name
+47 ;;R^"863.8:","863.84:4",.01,"E"
+48 ;;D^DATA TYPE
+49 ;;R^"863.8:","863.84:4",1,"E"
+50 ;;D^FREE TEXT
+51 ;;EOR^
+52 ;;KEY^863.8:^TERMINATOR
+53 ;;R^"863.8:",.01,"E"
+54 ;;D^TERMINATOR
+55 ;;R^"863.8:",.02,"E"
+56 ;;D^TERMINATOR
+57 ;;R^"863.8:",1,1
+58 ;;D^A text string terminator; e.g., '?', ': ', '=>'
+59 ;;R^"863.8:",2,"E"
+60 ;;D^:
+61 ;;R^"863.8:","863.84:4",.01,"E"
+62 ;;D^QUERY
+63 ;;R^"863.8:","863.84:4",1,"E"
+64 ;;D^Enter text string terminator
+65 ;;R^"863.8:","863.84:5",.01,"E"
+66 ;;D^DATA TYPE
+67 ;;R^"863.8:","863.84:5",1,"E"
+68 ;;D^FREE TEXT
+69 ;;R^"863.8:","863.84:6",.01,"E"
+70 ;;D^FREE TEXT MAXIMUM LENGTH
+71 ;;R^"863.8:","863.84:6",1,"E"
+72 ;;D^9
+73 ;;EOR^
+74 ;;KEY^863.8:^ALL UPPERCASE
+75 ;;R^"863.8:",.01,"E"
+76 ;;D^ALL UPPERCASE
+77 ;;R^"863.8:",.02,"E"
+78 ;;D^ALL UC
+79 ;;R^"863.8:",1,1
+80 ;;D^If = '1' the the string must not contain any lowercase characters
+81 ;;R^"863.8:","863.84:1",.01,"E"
+82 ;;D^DATA TYPE
+83 ;;R^"863.8:","863.84:1",1,"E"
+84 ;;D^SET OF CODES
+85 ;;R^"863.8:","863.84:2",.01,"E"
+86 ;;D^SET CODES
+87 ;;R^"863.8:","863.84:2",1,"E"
+88 ;;D^1:UPPER CASE ONLY;0:LOWER CASE ALLOWED
+89 ;;EOR^
+90 ;;KEY^863.8:^FREE TEXT MINMAX HELP
+91 ;;R^"863.8:",.01,"E"
+92 ;;D^FREE TEXT MINMAX HELP
+93 ;;R^"863.8:",.02,"E"
+94 ;;D^FTMM HELP
+95 ;;R^"863.8:",1,1
+96 ;;D^A'^' delimeted text string which contains user help re string length.
+97 ;;R^"863.8:",1,2
+98 ;;D^The 1st piece is used if only FMAX is defined.
+99 ;;R^"863.8:",1,3
+100 ;;D^The 2nd piece is used if only FMIN is defined.
+101 ;;R^"863.8:",1,4
+102 ;;D^The 3rd piece is used if both FMIN and FMAX are defined.
+103 ;;R^"863.8:",2,"E"
+104 ;;D^The maximum string length is |FMAX| characters.^The minimum string length is |FMIN| characters.^String length must be between |FMIN| and |FMAX| characters.
+105 ;;R^"863.8:","863.84:4",.01,"E"
+106 ;;D^QUERY
+107 ;;R^"863.8:","863.84:4",1,"E"
+108 ;;D^Enter MIN/MAX help message
+109 ;;R^"863.8:","863.84:5",.01,"E"
+110 ;;D^DATA TYPE
+111 ;;R^"863.8:","863.84:5",1,"E"
+112 ;;D^FREE TEXT
+113 ;;EOR^
+114 ;;KEY^863.8:^NUMERIC MINMAX HELP
+115 ;;R^"863.8:",.01,"E"
+116 ;;D^NUMERIC MINMAX HELP
+117 ;;R^"863.8:",.02,"E"
+118 ;;D^NUMM HELP
+119 ;;R^"863.8:",1,1
+120 ;;D^'^' delimited text string containing min/max help messages for the numeric
+121 ;;R^"863.8:",1,2
+122 ;;D^data type
+123 ;;R^"863.8:",2,"E"
+124 ;;D^Not over |MAX|.^Not less than |MIN|.^Must be between |MIN| and |MAX|.^Pos. integer req'd.^Pos. number req'd.^Must be an integer.^No more than |DEC| decimal places allowed.^Neg. integer req'd.^Any number is OK.^Neg. number req'd.
+125 ;;R^"863.8:","863.84:1",.01,"E"
+126 ;;D^DATA TYPE
+127 ;;R^"863.8:","863.84:1",1,"E"
+128 ;;D^FREE TEXT
+129 ;;R^"863.8:","863.84:2",.01,"E"
+130 ;;D^QUERY
+131 ;;R^"863.8:","863.84:2",1,"E"
+132 ;;D^Enter a message
+133 ;;EOR^
+134 ;;KEY^863.8:^POINTER HELP MESSAGE
+135 ;;R^"863.8:",.01,"E"
+136 ;;D^POINTER HELP MESSAGE
+137 ;;R^"863.8:",.02,"E"
+138 ;;D^PHELP
+139 ;;R^"863.8:",1,1
+140 ;;D^Pointer data type help messages in a '^' delimited string
+141 ;;R^"863.8:",2,"E"
+142 ;;D^Select from a list of |COUNT| entries...^Select a value from the following list =>
+143 ;;R^"863.8:","863.84:1",.01,"E"
+144 ;;D^DATA TYPE
+145 ;;R^"863.8:","863.84:1",1,"E"
+146 ;;D^FREE TEXT
+147 ;;EOR^
+148 ;;KEY^863.8:^DIC
+149 ;;R^"863.8:",.01,"E"
+150 ;;D^DIC
+151 ;;R^"863.8:",.02,"E"
+152 ;;D^DIC
+153 ;;R^"863.8:",1,1
+154 ;;D^An open reference used to specify the file in a DIC lookup
+155 ;;R^"863.8:","863.84:1",.01,"E"
+156 ;;D^DATA TYPE
+157 ;;R^"863.8:","863.84:1",1,"E"
+158 ;;D^POINTER TO A FILEMAN FILE
+159 ;;R^"863.8:","863.84:2",.01,"E"
+160 ;;D^DIC
+161 ;;R^"863.8:","863.84:2",1,"E"
+162 ;;D^1
+163 ;;R^"863.8:","863.84:3",.01,"E"
+164 ;;D^QUERY
+165 ;;R^"863.8:","863.84:3",1,"E"
+166 ;;D^Enter the name of the file you are pointing to
+167 ;;EOR^
+168 ;;KEY^863.8:^DIC SUB S
+169 ;;R^"863.8:",.01,"E"
+170 ;;D^DIC SUB S
+171 ;1;
+172 ;