[613] | 1 | ORY26701 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*267) ;OCT 23,2006 at 10:42
|
---|
| 2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**267**;Dec 17,1997;Build 6
|
---|
| 3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
| 4 | ;
|
---|
| 5 | S ;
|
---|
| 6 | ;
|
---|
| 7 | D DOT^ORY267ES
|
---|
| 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 ^ORY26702
|
---|
| 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:^COMPARISON VALUE
|
---|
| 44 | ;;R^"863.8:",.01,"E"
|
---|
| 45 | ;;D^COMPARISON VALUE
|
---|
| 46 | ;;R^"863.8:",.02,"E"
|
---|
| 47 | ;;D^CVAL
|
---|
| 48 | ;;R^"863.8:",1,1
|
---|
| 49 | ;;D^
|
---|
| 50 | ;;R^"863.8:",1,2
|
---|
| 51 | ;;D^ This is a value to be compared with PRIMARY DATA FIELD
|
---|
| 52 | ;;R^"863.8:",1,3
|
---|
| 53 | ;;D^ in a truth conditional.
|
---|
| 54 | ;;R^"863.8:",1,4
|
---|
| 55 | ;;D^
|
---|
| 56 | ;;EOR^
|
---|
| 57 | ;;KEY^863.8:^DATA TYPE
|
---|
| 58 | ;;R^"863.8:",.01,"E"
|
---|
| 59 | ;;D^DATA TYPE
|
---|
| 60 | ;;R^"863.8:",.02,"E"
|
---|
| 61 | ;;D^DATA TYPE
|
---|
| 62 | ;;R^"863.8:",1,1
|
---|
| 63 | ;;D^An MDD data type; i.e., an entry in the OCX MDD DATA TYPE file.
|
---|
| 64 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
| 65 | ;;D^QUERY
|
---|
| 66 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
| 67 | ;;D^Enter the datatype
|
---|
| 68 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
| 69 | ;;D^DIC
|
---|
| 70 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
| 71 | ;;D^864.1
|
---|
| 72 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 73 | ;;D^DATA TYPE
|
---|
| 74 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 75 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 76 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
| 77 | ;;D^DIC LOOKUP INDEX STRING
|
---|
| 78 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
| 79 | ;;D^B^C
|
---|
| 80 | ;;EOR^
|
---|
| 81 | ;;KEY^863.8:^DIC
|
---|
| 82 | ;;R^"863.8:",.01,"E"
|
---|
| 83 | ;;D^DIC
|
---|
| 84 | ;;R^"863.8:",.02,"E"
|
---|
| 85 | ;;D^DIC
|
---|
| 86 | ;;R^"863.8:",1,1
|
---|
| 87 | ;;D^An open reference used to specify the file in a DIC lookup
|
---|
| 88 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 89 | ;;D^DATA TYPE
|
---|
| 90 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 91 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 92 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 93 | ;;D^DIC
|
---|
| 94 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 95 | ;;D^1
|
---|
| 96 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 97 | ;;D^QUERY
|
---|
| 98 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 99 | ;;D^Enter the name of the file you are pointing to
|
---|
| 100 | ;;EOR^
|
---|
| 101 | ;;KEY^863.8:^DIC LOOKUP INDEX STRING
|
---|
| 102 | ;;R^"863.8:",.01,"E"
|
---|
| 103 | ;;D^DIC LOOKUP INDEX STRING
|
---|
| 104 | ;;R^"863.8:",.02,"E"
|
---|
| 105 | ;;D^DICIX
|
---|
| 106 | ;;R^"863.8:",1,1
|
---|
| 107 | ;;D^Contains the names of indices to be used in a DIC lookup in a comma
|
---|
| 108 | ;;R^"863.8:",1,2
|
---|
| 109 | ;;D^delimited string.
|
---|
| 110 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 111 | ;;D^DATA TYPE
|
---|
| 112 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 113 | ;;D^FREE TEXT
|
---|
| 114 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 115 | ;;D^QUERY
|
---|
| 116 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 117 | ;;D^Enter a DIC lookup index string
|
---|
| 118 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 119 | ;;D^HELP MESSAGE
|
---|
| 120 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 121 | ;;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.
|
---|
| 122 | ;;EOR^
|
---|
| 123 | ;;KEY^863.8:^FILE
|
---|
| 124 | ;;R^"863.8:",.01,"E"
|
---|
| 125 | ;;D^FILE
|
---|
| 126 | ;;R^"863.8:",.02,"E"
|
---|
| 127 | ;;D^FILE
|
---|
| 128 | ;;R^"863.8:",1,1
|
---|
| 129 | ;;D^The internal entry number of a file.
|
---|
| 130 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
| 131 | ;;D^QUERY
|
---|
| 132 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
| 133 | ;;D^File
|
---|
| 134 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
| 135 | ;;D^DATA TYPE
|
---|
| 136 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
| 137 | ;;D^POINTER TO A FILEMAN FILE
|
---|
| 138 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 139 | ;;D^DIC
|
---|
| 140 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 141 | ;;D^1
|
---|
| 142 | ;;EOR^
|
---|
| 143 | ;;KEY^863.8:^FM MASK
|
---|
| 144 | ;;R^"863.8:",.01,"E"
|
---|
| 145 | ;;D^FM MASK
|
---|
| 146 | ;;R^"863.8:",.02,"E"
|
---|
| 147 | ;;D^FM MASK
|
---|
| 148 | ;;R^"863.8:",1,1
|
---|
| 149 | ;;D^Tag^routine where code is located to parse the FM DD and override the parameter value
|
---|
| 150 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 151 | ;;D^QUERY
|
---|
| 152 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 153 | ;;D^Enter tag^routine where the FM MASK parser is located
|
---|
| 154 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 155 | ;;D^DATA TYPE
|
---|
| 156 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 157 | ;;D^LINE TAG
|
---|
| 158 | ;;EOR^
|
---|
| 159 | ;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
|
---|
| 160 | ;;R^"863.8:",.01,"E"
|
---|
| 161 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
| 162 | ;;R^"863.8:",.02,"E"
|
---|
| 163 | ;;D^FMAX
|
---|
| 164 | ;;R^"863.8:",1,1
|
---|
| 165 | ;;D^Maximum string length allowed
|
---|
| 166 | ;;R^"863.8:",2,"E"
|
---|
| 167 | ;;D^245
|
---|
| 168 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 169 | ;;D^QUERY
|
---|
| 170 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 171 | ;;D^Maximum text string length allowed
|
---|
| 172 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 173 | ;;D^FM MASK
|
---|
| 174 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 175 | ;;D^FMAX^OCXF6
|
---|
| 176 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 177 | ;;D^DATA TYPE
|
---|
| 178 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 179 | ;;D^POSITIVE INTEGER
|
---|
| 180 | ;;EOR^
|
---|
| 181 | ;;KEY^863.8:^HELP MESSAGE
|
---|
| 182 | ;;R^"863.8:",.01,"E"
|
---|
| 183 | ;;D^HELP MESSAGE
|
---|
| 184 | ;;R^"863.8:",.02,"E"
|
---|
| 185 | ;;D^HELP
|
---|
| 186 | ;;R^"863.8:",1,1
|
---|
| 187 | ;;D^A text string 1-250 characters long which overrides the Fileman help
|
---|
| 188 | ;;R^"863.8:",1,2
|
---|
| 189 | ;;D^message.
|
---|
| 190 | ;;R^"863.8:","863.84:10",.01,"E"
|
---|
| 191 | ;;D^QUERY
|
---|
| 192 | ;;R^"863.8:","863.84:10",1,"E"
|
---|
| 193 | ;;D^Enter a brief help message
|
---|
| 194 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
| 195 | ;;D^DATA TYPE
|
---|
| 196 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
| 197 | ;;D^FREE TEXT
|
---|
| 198 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
| 199 | ;;D^FM MASK
|
---|
| 200 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
| 201 | ;;D^HELP^OCXF6
|
---|
| 202 | ;;EOR^
|
---|
| 203 | ;;KEY^863.8:^LOOP QUERY
|
---|
| 204 | ;;R^"863.8:",.01,"E"
|
---|
| 205 | ;;D^LOOP QUERY
|
---|
| 206 | ;;R^"863.8:",.02,"E"
|
---|
| 207 | ;;D^LOOP QUERY
|
---|
| 208 | ;;R^"863.8:",1,1
|
---|
| 209 | ;;D^Alternate query used when repeated answers are required
|
---|
| 210 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
| 211 | ;;D^DATA TYPE
|
---|
| 212 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
| 213 | ;;D^FREE TEXT
|
---|
| 214 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
| 215 | ;;D^QUERY
|
---|
| 216 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
| 217 | ;;D^Enter loop query text
|
---|
| 218 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
| 219 | ;;D^HELP MESSAGE
|
---|
| 220 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
| 221 | ;;D^This is the query text for all entries after the first one
|
---|
| 222 | ;;EOR^
|
---|
| 223 | ;;KEY^863.8:^MANDATORY MESSAGE
|
---|
| 224 | ;;R^"863.8:",.01,"E"
|
---|
| 225 | ;;D^MANDATORY MESSAGE
|
---|
| 226 | ;;R^"863.8:",.02,"E"
|
---|
| 227 | ;;D^MAND MSG
|
---|
| 228 | ;;R^"863.8:",1,1
|
---|
| 229 | ;;D^Message sent to user telling him that his entry is mandatory
|
---|
| 230 | ;;R^"863.8:",2,"E"
|
---|
| 231 | ;;D^Mandatory answer. You must enter a value or '^' to exit.
|
---|
| 232 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
| 233 | ;;D^QUERY
|
---|
| 234 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
| 235 | ;;D^Enter message
|
---|
| 236 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
| 237 | ;;D^DATA TYPE
|
---|
| 238 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
| 239 | ;;D^FREE TEXT
|
---|
| 240 | ;;EOR^
|
---|
| 241 | ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
|
---|
| 242 | ;;R^"863.8:",.01,"E"
|
---|
| 243 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 244 | ;;EOR^
|
---|
| 245 | ;;KEY^863.8:^OCXO EXTERNAL FUNCTION CALL
|
---|
| 246 | ;;R^"863.8:",.01,"E"
|
---|
| 247 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 248 | ;;EOR^
|
---|
| 249 | ;;KEY^863.8:^OCXO FILE POINTER
|
---|
| 250 | ;;R^"863.8:",.01,"E"
|
---|
| 251 | ;;D^OCXO FILE POINTER
|
---|
| 252 | ;;EOR^
|
---|
| 253 | ;;KEY^863.8:^OCXO GENERATE CODE FUNCTION
|
---|
| 254 | ;;R^"863.8:",.01,"E"
|
---|
| 255 | ;;D^OCXO GENERATE CODE FUNCTION
|
---|
| 256 | ;;R^"863.8:",.02,"E"
|
---|
| 257 | ;;D^GEN
|
---|
| 258 | ;;EOR^
|
---|
| 259 | ;;KEY^863.8:^OCXO HL7 SEGMENT ID
|
---|
| 260 | ;;R^"863.8:",.01,"E"
|
---|
| 261 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 262 | ;;R^"863.8:",.02,"E"
|
---|
| 263 | ;;D^HL7SEGID
|
---|
| 264 | ;;EOR^
|
---|
| 265 | ;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
|
---|
| 266 | ;;R^"863.8:",.01,"E"
|
---|
| 267 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 268 | ;;EOR^
|
---|
| 269 | ;;KEY^863.8:^OCXO VARIABLE NAME
|
---|
| 270 | ;;R^"863.8:",.01,"E"
|
---|
| 271 | ;;D^OCXO VARIABLE NAME
|
---|
| 272 | ;;EOR^
|
---|
| 273 | ;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
|
---|
| 274 | ;;R^"863.8:",.01,"E"
|
---|
| 275 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 276 | ;;EOR^
|
---|
| 277 | ;;KEY^863.8:^PRIMARY DATA FIELD
|
---|
| 278 | ;;R^"863.8:",.01,"E"
|
---|
| 279 | ;;D^PRIMARY DATA FIELD
|
---|
| 280 | ;;R^"863.8:",.02,"E"
|
---|
| 281 | ;;D^PDFLD
|
---|
| 282 | ;;R^"863.8:",1,1
|
---|
| 283 | ;;D^
|
---|
| 284 | ;;R^"863.8:",1,2
|
---|
| 285 | ;1;
|
---|
| 286 | ;
|
---|