[613] | 1 | OCXDI025 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
---|
| 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 ^OCXDI026
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 21 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 22 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 23 | ;;D^1
|
---|
| 24 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 25 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 26 | ;;EOR^
|
---|
| 27 | ;;KEY^863.3:^PATIENT.HL7_RX_OI_TEXT
|
---|
| 28 | ;;R^"863.3:",.01,"E"
|
---|
| 29 | ;;D^PATIENT.HL7_RX_OI_TEXT
|
---|
| 30 | ;;R^"863.3:",.02,"E"
|
---|
| 31 | ;;D^PATIENT
|
---|
| 32 | ;;R^"863.3:",.05,"E"
|
---|
| 33 | ;;D^ORDERABLE ITEM
|
---|
| 34 | ;;R^"863.3:",.06,"E"
|
---|
| 35 | ;;D^99
|
---|
| 36 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 37 | ;;D^OCXO VARIABLE NAME
|
---|
| 38 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 39 | ;;D^OCXODATA("RXO",1)
|
---|
| 40 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 41 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 42 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 43 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 44 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 45 | ;;D^5
|
---|
| 46 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 47 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 48 | ;;EOR^
|
---|
| 49 | ;;KEY^863.3:^PATIENT.WARD_ROOM-BED
|
---|
| 50 | ;;R^"863.3:",.01,"E"
|
---|
| 51 | ;;D^PATIENT.WARD_ROOM-BED
|
---|
| 52 | ;;R^"863.3:",.02,"E"
|
---|
| 53 | ;;D^PATIENT
|
---|
| 54 | ;;R^"863.3:",.05,"E"
|
---|
| 55 | ;;D^WARD ROOM-BED
|
---|
| 56 | ;;R^"863.3:",.06,"E"
|
---|
| 57 | ;;D^99
|
---|
| 58 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 59 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 60 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 61 | ;;D^WARDRMBD(|PATIENT IEN|)
|
---|
| 62 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 63 | ;;D^OCXO VARIABLE NAME
|
---|
| 64 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 65 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 66 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 67 | ;;D^2
|
---|
| 68 | ;;EOR^
|
---|
| 69 | ;;KEY^863.3:^INPATIENT
|
---|
| 70 | ;;R^"863.3:",.01,"E"
|
---|
| 71 | ;;D^INPATIENT
|
---|
| 72 | ;;R^"863.3:",.02,"E"
|
---|
| 73 | ;;D^PATIENT
|
---|
| 74 | ;;R^"863.3:",.05,"E"
|
---|
| 75 | ;;D^INPATIENT
|
---|
| 76 | ;;R^"863.3:",.06,"E"
|
---|
| 77 | ;;D^99
|
---|
| 78 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 79 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 80 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 81 | ;;D^WARDRMBD(|PATIENT IEN|)
|
---|
| 82 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 83 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 84 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 85 | ;;D^1
|
---|
| 86 | ;;EOR^
|
---|
| 87 | ;;KEY^863.3:^PATIENT.HL7_SEND_APP
|
---|
| 88 | ;;R^"863.3:",.01,"E"
|
---|
| 89 | ;;D^PATIENT.HL7_SEND_APP
|
---|
| 90 | ;;R^"863.3:",.02,"E"
|
---|
| 91 | ;;D^PATIENT
|
---|
| 92 | ;;R^"863.3:",.04,"E"
|
---|
| 93 | ;;D^HL7
|
---|
| 94 | ;;R^"863.3:",.05,"E"
|
---|
| 95 | ;;D^PACKAGE ID
|
---|
| 96 | ;;R^"863.3:",.06,"E"
|
---|
| 97 | ;;D^99
|
---|
| 98 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 99 | ;;D^OCXO VARIABLE NAME
|
---|
| 100 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 101 | ;;D^OCXODATA("MSH",2)
|
---|
| 102 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 103 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 104 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 105 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 106 | ;;EOR^
|
---|
| 107 | ;;KEY^863.3:^PATIENT.HL7_RECV_APP
|
---|
| 108 | ;;R^"863.3:",.01,"E"
|
---|
| 109 | ;;D^PATIENT.HL7_RECV_APP
|
---|
| 110 | ;;R^"863.3:",.02,"E"
|
---|
| 111 | ;;D^PATIENT
|
---|
| 112 | ;;R^"863.3:",.04,"E"
|
---|
| 113 | ;;D^HL7
|
---|
| 114 | ;;R^"863.3:",.05,"E"
|
---|
| 115 | ;;D^PACKAGE ID
|
---|
| 116 | ;;R^"863.3:",.06,"E"
|
---|
| 117 | ;;D^99
|
---|
| 118 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 119 | ;;D^OCXO VARIABLE NAME
|
---|
| 120 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 121 | ;;D^OCXODATA("MSH",4)
|
---|
| 122 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 123 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 124 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 125 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 126 | ;;EOR^
|
---|
| 127 | ;;KEY^863.3:^PATIENT.HL7_EXT_APP
|
---|
| 128 | ;;R^"863.3:",.01,"E"
|
---|
| 129 | ;;D^PATIENT.HL7_EXT_APP
|
---|
| 130 | ;;R^"863.3:",.02,"E"
|
---|
| 131 | ;;D^PATIENT
|
---|
| 132 | ;;R^"863.3:",.04,"E"
|
---|
| 133 | ;;D^HL7
|
---|
| 134 | ;;R^"863.3:",.05,"E"
|
---|
| 135 | ;;D^PACKAGE ID
|
---|
| 136 | ;;R^"863.3:",.06,"E"
|
---|
| 137 | ;;D^99
|
---|
| 138 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 139 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 140 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 141 | ;;D^EXTOERR(|SENDING APPLICATION|,|RECIEVING APPLICATION|)
|
---|
| 142 | ;;EOR^
|
---|
| 143 | ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
|
---|
| 144 | ;;R^"863.3:",.01,"E"
|
---|
| 145 | ;;D^PATIENT.HL7_PATIENT_ID
|
---|
| 146 | ;;R^"863.3:",.02,"E"
|
---|
| 147 | ;;D^PATIENT
|
---|
| 148 | ;;R^"863.3:",.04,"E"
|
---|
| 149 | ;;D^HL7
|
---|
| 150 | ;;R^"863.3:",.05,"E"
|
---|
| 151 | ;;D^IEN
|
---|
| 152 | ;;R^"863.3:",.06,"E"
|
---|
| 153 | ;;D^99
|
---|
| 154 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 155 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 156 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 157 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 158 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 159 | ;;D^OCXO VARIABLE NAME
|
---|
| 160 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 161 | ;;D^OCXODATA("PID",3)
|
---|
| 162 | ;;EOR^
|
---|
| 163 | ;;KEY^863.3:^PATIENT.FAC_TREAT_SPEC_CURR
|
---|
| 164 | ;;R^"863.3:",.01,"E"
|
---|
| 165 | ;;D^PATIENT.FAC_TREAT_SPEC_CURR
|
---|
| 166 | ;;R^"863.3:",.02,"E"
|
---|
| 167 | ;;D^PATIENT
|
---|
| 168 | ;;R^"863.3:",.04,"E"
|
---|
| 169 | ;;D^DGPM
|
---|
| 170 | ;;R^"863.3:",.05,"E"
|
---|
| 171 | ;;D^TREATING SPECIALTY
|
---|
| 172 | ;;R^"863.3:",.06,"E"
|
---|
| 173 | ;;D^99
|
---|
| 174 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 175 | ;;D^OCXO VARIABLE NAME
|
---|
| 176 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 177 | ;;D^DGPMA
|
---|
| 178 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 179 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 180 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 181 | ;;D^9
|
---|
| 182 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 183 | ;;D^OCXO FILE POINTER
|
---|
| 184 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 185 | ;;D^45.7
|
---|
| 186 | ;;EOR^
|
---|
| 187 | ;;KEY^863.3:^PATIENT.FAC_TREAT_SPEC_PREV
|
---|
| 188 | ;;R^"863.3:",.01,"E"
|
---|
| 189 | ;;D^PATIENT.FAC_TREAT_SPEC_PREV
|
---|
| 190 | ;;R^"863.3:",.02,"E"
|
---|
| 191 | ;;D^PATIENT
|
---|
| 192 | ;;R^"863.3:",.04,"E"
|
---|
| 193 | ;;D^DGPM
|
---|
| 194 | ;;R^"863.3:",.05,"E"
|
---|
| 195 | ;;D^TREATING SPECIALTY
|
---|
| 196 | ;;R^"863.3:",.06,"E"
|
---|
| 197 | ;;D^99
|
---|
| 198 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 199 | ;;D^OCXO VARIABLE NAME
|
---|
| 200 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 201 | ;;D^DGPM0
|
---|
| 202 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 203 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 204 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 205 | ;;D^9
|
---|
| 206 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 207 | ;;D^OCXO FILE POINTER
|
---|
| 208 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 209 | ;;D^45.7
|
---|
| 210 | ;;EOR^
|
---|
| 211 | ;;KEY^863.3:^PATIENT.MOVE_WARD_CURR
|
---|
| 212 | ;;R^"863.3:",.01,"E"
|
---|
| 213 | ;;D^PATIENT.MOVE_WARD_CURR
|
---|
| 214 | ;;R^"863.3:",.02,"E"
|
---|
| 215 | ;;D^PATIENT
|
---|
| 216 | ;;R^"863.3:",.04,"E"
|
---|
| 217 | ;;D^DGPM
|
---|
| 218 | ;;R^"863.3:",.05,"E"
|
---|
| 219 | ;;D^WARD NAME
|
---|
| 220 | ;;R^"863.3:",.06,"E"
|
---|
| 221 | ;;D^99
|
---|
| 222 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 223 | ;;D^OCXO VARIABLE NAME
|
---|
| 224 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 225 | ;;D^DGPMA
|
---|
| 226 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 227 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 228 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 229 | ;1;
|
---|
| 230 | ;
|
---|