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