[613] | 1 | ORY14401 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*144) ;JUN 12,2002 at 12:20
|
---|
| 2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**144**;Dec 17,1997
|
---|
| 3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
| 4 | ;
|
---|
| 5 | S ;
|
---|
| 6 | ;
|
---|
| 7 | D DOT^ORY144ES
|
---|
| 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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
|
---|
| 13 | ;
|
---|
| 14 | G ^ORY14402
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;ROOT^OCXS(860.2,0)^ORDER CHECK RULE^860.2I
|
---|
| 21 | ;;ROOT^OCXS(860.3,0)^ORDER CHECK ELEMENT^860.3
|
---|
| 22 | ;;ROOT^OCXS(860.4,0)^ORDER CHECK DATA FIELD^860.4I
|
---|
| 23 | ;;ROOT^OCXS(860.5,0)^ORDER CHECK DATA SOURCE^860.5
|
---|
| 24 | ;;ROOT^OCXS(860.6,0)^ORDER CHECK DATA CONTEXT^860.6
|
---|
| 25 | ;;ROOT^OCXS(860.8,0)^ORDER CHECK COMPILER FUNCTIONS^860.8
|
---|
| 26 | ;;ROOT^OCXS(860.9,0)^ORDER CHECK NATIONAL TERM^860.9
|
---|
| 27 | ;;ROOT^OCXS(863,0)^OCX MDD CLASS^863
|
---|
| 28 | ;;ROOT^OCXS(863.1,0)^OCX MDD APPLICATION^863.1
|
---|
| 29 | ;;ROOT^OCXS(863.2,0)^OCX MDD SUBJECT^863.2
|
---|
| 30 | ;;ROOT^OCXS(863.3,0)^OCX MDD LINK^863.3I
|
---|
| 31 | ;;ROOT^OCXS(863.4,0)^OCX MDD ATTRIBUTE^863.4
|
---|
| 32 | ;;ROOT^OCXS(863.5,0)^OCX MDD VALUES^863.5
|
---|
| 33 | ;;ROOT^OCXS(863.6,0)^OCX MDD METHOD^863.6
|
---|
| 34 | ;;ROOT^OCXS(863.7,0)^OCX MDD PUBLIC FUNCTION^863.7
|
---|
| 35 | ;;ROOT^OCXS(863.8,0)^OCX MDD PARAMETER^863.8
|
---|
| 36 | ;;ROOT^OCXS(863.9,0)^OCX MDD CONDITION/FUNCTION^863.9I
|
---|
| 37 | ;;ROOT^OCXS(864,0)^OCX MDD SITE PREFERENCES^864P
|
---|
| 38 | ;;ROOT^OCXS(864.1,0)^OCX MDD DATATYPE^864.1
|
---|
| 39 | ;;ROOT^OCXD(860.1,0)^ORDER CHECK PATIENT ACTIVE DATA^860.1P
|
---|
| 40 | ;;ROOT^OCXD(860.7,0)^ORDER CHECK PATIENT RULE EVENT^860.7P
|
---|
| 41 | ;;ROOT^OCXD(861,0)^ORDER CHECK RAW DATA LOG^861
|
---|
| 42 | ;;SOF^863.8 OCX MDD PARAMETER
|
---|
| 43 | ;;KEY^863.8:^DATA TYPE
|
---|
| 44 | ;;R^"863.8:",.01,"E"
|
---|
| 45 | ;;D^DATA TYPE
|
---|
| 46 | ;;R^"863.8:",.02,"E"
|
---|
| 47 | ;;D^DATA TYPE
|
---|
| 48 | ;;R^"863.8:",1,1
|
---|
| 49 | ;;D^An MDD data type; i.e., an entry in the OCX MDD DATA TYPE file.
|
---|
| 50 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
| 51 | ;;D^QUERY
|
---|
| 52 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
| 53 | ;;D^Enter the datatype
|
---|
| 54 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
| 55 | ;;D^DIC
|
---|
| 56 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
| 57 | ;;D^864.1
|
---|
| 58 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 59 | ;;D^DATA TYPE
|
---|
| 60 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 61 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 62 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
| 63 | ;;D^DIC LOOKUP INDEX STRING
|
---|
| 64 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
| 65 | ;;D^B^C
|
---|
| 66 | ;;EOR^
|
---|
| 67 | ;;KEY^863.8:^DIC
|
---|
| 68 | ;;R^"863.8:",.01,"E"
|
---|
| 69 | ;;D^DIC
|
---|
| 70 | ;;R^"863.8:",.02,"E"
|
---|
| 71 | ;;D^DIC
|
---|
| 72 | ;;R^"863.8:",1,1
|
---|
| 73 | ;;D^An open reference used to specify the file in a DIC lookup
|
---|
| 74 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 75 | ;;D^DATA TYPE
|
---|
| 76 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 77 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 78 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 79 | ;;D^DIC
|
---|
| 80 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 81 | ;;D^1
|
---|
| 82 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 83 | ;;D^QUERY
|
---|
| 84 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 85 | ;;D^Enter the name of the file you are pointing to
|
---|
| 86 | ;;EOR^
|
---|
| 87 | ;;KEY^863.8:^DIC LOOKUP INDEX STRING
|
---|
| 88 | ;;R^"863.8:",.01,"E"
|
---|
| 89 | ;;D^DIC LOOKUP INDEX STRING
|
---|
| 90 | ;;R^"863.8:",.02,"E"
|
---|
| 91 | ;;D^DICIX
|
---|
| 92 | ;;R^"863.8:",1,1
|
---|
| 93 | ;;D^Contains the names of indices to be used in a DIC lookup in a comma
|
---|
| 94 | ;;R^"863.8:",1,2
|
---|
| 95 | ;;D^delimited string.
|
---|
| 96 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 97 | ;;D^DATA TYPE
|
---|
| 98 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 99 | ;;D^FREE TEXT
|
---|
| 100 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 101 | ;;D^QUERY
|
---|
| 102 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 103 | ;;D^Enter a DIC lookup index string
|
---|
| 104 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 105 | ;;D^HELP MESSAGE
|
---|
| 106 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 107 | ;;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.
|
---|
| 108 | ;;EOR^
|
---|
| 109 | ;;KEY^863.8:^FILE
|
---|
| 110 | ;;R^"863.8:",.01,"E"
|
---|
| 111 | ;;D^FILE
|
---|
| 112 | ;;R^"863.8:",.02,"E"
|
---|
| 113 | ;;D^FILE
|
---|
| 114 | ;;R^"863.8:",1,1
|
---|
| 115 | ;;D^The internal entry number of a file.
|
---|
| 116 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
| 117 | ;;D^QUERY
|
---|
| 118 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
| 119 | ;;D^File
|
---|
| 120 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
| 121 | ;;D^DATA TYPE
|
---|
| 122 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
| 123 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 124 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 125 | ;;D^DIC
|
---|
| 126 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 127 | ;;D^1
|
---|
| 128 | ;;EOR^
|
---|
| 129 | ;;KEY^863.8:^FM MASK
|
---|
| 130 | ;;R^"863.8:",.01,"E"
|
---|
| 131 | ;;D^FM MASK
|
---|
| 132 | ;;R^"863.8:",.02,"E"
|
---|
| 133 | ;;D^FM MASK
|
---|
| 134 | ;;R^"863.8:",1,1
|
---|
| 135 | ;;D^Tag^routine where code is located to parse the FM DD and override the parameter value
|
---|
| 136 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 137 | ;;D^QUERY
|
---|
| 138 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 139 | ;;D^Enter tag^routine where the FM MASK parser is located
|
---|
| 140 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 141 | ;;D^DATA TYPE
|
---|
| 142 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 143 | ;;D^LINE TAG
|
---|
| 144 | ;;EOR^
|
---|
| 145 | ;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
|
---|
| 146 | ;;R^"863.8:",.01,"E"
|
---|
| 147 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 148 | ;;R^"863.8:",.02,"E"
|
---|
| 149 | ;;D^FMAX
|
---|
| 150 | ;;R^"863.8:",1,1
|
---|
| 151 | ;;D^Maximum string length allowed
|
---|
| 152 | ;;R^"863.8:",2,"E"
|
---|
| 153 | ;;D^245
|
---|
| 154 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 155 | ;;D^QUERY
|
---|
| 156 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 157 | ;;D^Maximum text string length allowed
|
---|
| 158 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 159 | ;;D^FM MASK
|
---|
| 160 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 161 | ;;D^FMAX^OCXF6
|
---|
| 162 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 163 | ;;D^DATA TYPE
|
---|
| 164 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 165 | ;;D^POSITIVE INTEGER
|
---|
| 166 | ;;EOR^
|
---|
| 167 | ;;KEY^863.8:^HELP MESSAGE
|
---|
| 168 | ;;R^"863.8:",.01,"E"
|
---|
| 169 | ;;D^HELP MESSAGE
|
---|
| 170 | ;;R^"863.8:",.02,"E"
|
---|
| 171 | ;;D^HELP
|
---|
| 172 | ;;R^"863.8:",1,1
|
---|
| 173 | ;;D^A text string 1-250 characters long which overrides the Fileman help
|
---|
| 174 | ;;R^"863.8:",1,2
|
---|
| 175 | ;;D^message.
|
---|
| 176 | ;;R^"863.8:","863.84:10",.01,"E"
|
---|
| 177 | ;;D^QUERY
|
---|
| 178 | ;;R^"863.8:","863.84:10",1,"E"
|
---|
| 179 | ;;D^Enter a brief help message
|
---|
| 180 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 181 | ;;D^DATA TYPE
|
---|
| 182 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 183 | ;;D^FREE TEXT
|
---|
| 184 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
| 185 | ;;D^FM MASK
|
---|
| 186 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
| 187 | ;;D^HELP^OCXF6
|
---|
| 188 | ;;EOR^
|
---|
| 189 | ;;KEY^863.8:^LOOP QUERY
|
---|
| 190 | ;;R^"863.8:",.01,"E"
|
---|
| 191 | ;;D^LOOP QUERY
|
---|
| 192 | ;;R^"863.8:",.02,"E"
|
---|
| 193 | ;;D^LOOP QUERY
|
---|
| 194 | ;;R^"863.8:",1,1
|
---|
| 195 | ;;D^Alternate query used when repeated answers are required
|
---|
| 196 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 197 | ;;D^DATA TYPE
|
---|
| 198 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 199 | ;;D^FREE TEXT
|
---|
| 200 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 201 | ;;D^QUERY
|
---|
| 202 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 203 | ;;D^Enter loop query text
|
---|
| 204 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 205 | ;;D^HELP MESSAGE
|
---|
| 206 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 207 | ;;D^This is the query text for all entries after the first one
|
---|
| 208 | ;;EOR^
|
---|
| 209 | ;;KEY^863.8:^MANDATORY MESSAGE
|
---|
| 210 | ;;R^"863.8:",.01,"E"
|
---|
| 211 | ;;D^MANDATORY MESSAGE
|
---|
| 212 | ;;R^"863.8:",.02,"E"
|
---|
| 213 | ;;D^MAND MSG
|
---|
| 214 | ;;R^"863.8:",1,1
|
---|
| 215 | ;;D^Message sent to user telling him that his entry is mandatory
|
---|
| 216 | ;;R^"863.8:",2,"E"
|
---|
| 217 | ;;D^Mandatory answer. You must enter a value or '^' to exit.
|
---|
| 218 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 219 | ;;D^QUERY
|
---|
| 220 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 221 | ;;D^Enter message
|
---|
| 222 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 223 | ;;D^DATA TYPE
|
---|
| 224 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 225 | ;;D^FREE TEXT
|
---|
| 226 | ;;EOR^
|
---|
| 227 | ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
|
---|
| 228 | ;;R^"863.8:",.01,"E"
|
---|
| 229 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 230 | ;;EOR^
|
---|
| 231 | ;;KEY^863.8:^OCXO FILE POINTER
|
---|
| 232 | ;;R^"863.8:",.01,"E"
|
---|
| 233 | ;;D^OCXO FILE POINTER
|
---|
| 234 | ;;EOR^
|
---|
| 235 | ;;KEY^863.8:^OCXO HL7 SEGMENT ID
|
---|
| 236 | ;;R^"863.8:",.01,"E"
|
---|
| 237 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 238 | ;;R^"863.8:",.02,"E"
|
---|
| 239 | ;;D^HL7SEGID
|
---|
| 240 | ;;EOR^
|
---|
| 241 | ;;KEY^863.8:^OCXO SEMI-COLON PIECE NUMBER
|
---|
| 242 | ;;R^"863.8:",.01,"E"
|
---|
| 243 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
| 244 | ;;EOR^
|
---|
| 245 | ;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
|
---|
| 246 | ;;R^"863.8:",.01,"E"
|
---|
| 247 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 248 | ;;EOR^
|
---|
| 249 | ;;KEY^863.8:^OCXO VARIABLE NAME
|
---|
| 250 | ;;R^"863.8:",.01,"E"
|
---|
| 251 | ;;D^OCXO VARIABLE NAME
|
---|
| 252 | ;;EOR^
|
---|
| 253 | ;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
|
---|
| 254 | ;;R^"863.8:",.01,"E"
|
---|
| 255 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 256 | ;;EOR^
|
---|
| 257 | ;;KEY^863.8:^QUERY
|
---|
| 258 | ;;R^"863.8:",.01,"E"
|
---|
| 259 | ;;D^QUERY
|
---|
| 260 | ;;R^"863.8:",.02,"E"
|
---|
| 261 | ;;D^QUERY
|
---|
| 262 | ;;R^"863.8:",1,1
|
---|
| 263 | ;;D^Used with methods that manage interactive dialogues. Equivalent to DIC("A")
|
---|
| 264 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 265 | ;;D^DATA TYPE
|
---|
| 266 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 267 | ;;D^FREE TEXT
|
---|
| 268 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 269 | ;;D^QUERY
|
---|
| 270 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 271 | ;;D^Enter the query (free text string)
|
---|
| 272 | ;;EOR^
|
---|
| 273 | ;;KEY^863.8:^REPEAT THE QUERY
|
---|
| 274 | ;;R^"863.8:",.01,"E"
|
---|
| 275 | ;;D^REPEAT THE QUERY
|
---|
| 276 | ;;R^"863.8:",.02,"E"
|
---|
| 277 | ;;D^LOOP
|
---|
| 278 | ;;R^"863.8:",1,1
|
---|
| 279 | ;;D^Set this = 1 to repetitively ask the user to enter a value
|
---|
| 280 | ;1;
|
---|
| 281 | ;
|
---|