[613] | 1 | OCXDI01Z ;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 ^OCXDI020
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;R^"863.3:",.05,"E"
|
---|
| 21 | ;;D^HL7 LOCAL OI TEXT
|
---|
| 22 | ;;R^"863.3:",.06,"E"
|
---|
| 23 | ;;D^35
|
---|
| 24 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 25 | ;;D^OCXO VARIABLE NAME
|
---|
| 26 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 27 | ;;D^OCXODATA("OBR",4)
|
---|
| 28 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 29 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 30 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 31 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 32 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 33 | ;;D^5
|
---|
| 34 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 35 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 36 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 37 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 38 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
| 39 | ;;D^HL7
|
---|
| 40 | ;;EOR^
|
---|
| 41 | ;;KEY^863.3:^PATIENT.MOVE_TYPE_CURRENT
|
---|
| 42 | ;;R^"863.3:",.01,"E"
|
---|
| 43 | ;;D^PATIENT.MOVE_TYPE_CURRENT
|
---|
| 44 | ;;R^"863.3:",.02,"E"
|
---|
| 45 | ;;D^PATIENT
|
---|
| 46 | ;;R^"863.3:",.04,"E"
|
---|
| 47 | ;;D^DGPM
|
---|
| 48 | ;;R^"863.3:",.05,"E"
|
---|
| 49 | ;;D^MOVEMENT TYPE
|
---|
| 50 | ;;R^"863.3:",.06,"E"
|
---|
| 51 | ;;D^99
|
---|
| 52 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 53 | ;;D^OCXO VARIABLE NAME
|
---|
| 54 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 55 | ;;D^DGPMA
|
---|
| 56 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 57 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 58 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 59 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 60 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 61 | ;;D^2
|
---|
| 62 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 63 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 64 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 65 | ;;D^OCXO FILE POINTER
|
---|
| 66 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
| 67 | ;;D^405.3
|
---|
| 68 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 69 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 70 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
| 71 | ;;D^DGPM
|
---|
| 72 | ;;EOR^
|
---|
| 73 | ;;KEY^863.3:^PATIENT.MOV_DATE_CUR
|
---|
| 74 | ;;R^"863.3:",.01,"E"
|
---|
| 75 | ;;D^PATIENT.MOV_DATE_CUR
|
---|
| 76 | ;;R^"863.3:",.02,"E"
|
---|
| 77 | ;;D^PATIENT
|
---|
| 78 | ;;R^"863.3:",.04,"E"
|
---|
| 79 | ;;D^DGPM
|
---|
| 80 | ;;R^"863.3:",.05,"E"
|
---|
| 81 | ;;D^MOVEMENT DATE
|
---|
| 82 | ;;R^"863.3:",.06,"E"
|
---|
| 83 | ;;D^99
|
---|
| 84 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 85 | ;;D^OCXO VARIABLE NAME
|
---|
| 86 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 87 | ;;D^DGPMA
|
---|
| 88 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 89 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 90 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 91 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 92 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 93 | ;;D^1
|
---|
| 94 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 95 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 96 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 97 | ;;D^OCXO FILE POINTER
|
---|
| 98 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 99 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 100 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
| 101 | ;;D^DGPM
|
---|
| 102 | ;;EOR^
|
---|
| 103 | ;;KEY^863.3:^PATIENT.OERR_ORDER_FLAGGED
|
---|
| 104 | ;;R^"863.3:",.01,"E"
|
---|
| 105 | ;;D^PATIENT.OERR_ORDER_FLAGGED
|
---|
| 106 | ;;R^"863.3:",.02,"E"
|
---|
| 107 | ;;D^PATIENT
|
---|
| 108 | ;;R^"863.3:",.04,"E"
|
---|
| 109 | ;;D^OERR
|
---|
| 110 | ;;R^"863.3:",.05,"E"
|
---|
| 111 | ;;D^ORDER FLAGGED
|
---|
| 112 | ;;R^"863.3:",.06,"E"
|
---|
| 113 | ;;D^99
|
---|
| 114 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 115 | ;;D^OCXO VARIABLE NAME
|
---|
| 116 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 117 | ;;D^OCXORD
|
---|
| 118 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 119 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 120 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 121 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 122 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 123 | ;;D^4
|
---|
| 124 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 125 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 126 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 127 | ;;D^OCXO FILE POINTER
|
---|
| 128 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 129 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 130 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
| 131 | ;;D^ORD
|
---|
| 132 | ;;EOR^
|
---|
| 133 | ;;KEY^863.3:^PATIENT.OERR_ORD_REQ_CHART_SIG
|
---|
| 134 | ;;R^"863.3:",.01,"E"
|
---|
| 135 | ;;D^PATIENT.OERR_ORD_REQ_CHART_SIG
|
---|
| 136 | ;;R^"863.3:",.02,"E"
|
---|
| 137 | ;;D^PATIENT
|
---|
| 138 | ;;R^"863.3:",.04,"E"
|
---|
| 139 | ;;D^OERR
|
---|
| 140 | ;;R^"863.3:",.05,"E"
|
---|
| 141 | ;;D^ORDER REQ CHART SIG
|
---|
| 142 | ;;R^"863.3:",.06,"E"
|
---|
| 143 | ;;D^99
|
---|
| 144 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 145 | ;;D^OCXO VARIABLE NAME
|
---|
| 146 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 147 | ;;D^OCXORD
|
---|
| 148 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 149 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 150 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 151 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 152 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 153 | ;;D^5
|
---|
| 154 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 155 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 156 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 157 | ;;D^OCXO FILE POINTER
|
---|
| 158 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 159 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 160 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
| 161 | ;;D^ORD
|
---|
| 162 | ;;EOR^
|
---|
| 163 | ;;KEY^863.3:^PATIENT.SERV_ORD_REQ_SIG
|
---|
| 164 | ;;R^"863.3:",.01,"E"
|
---|
| 165 | ;;D^PATIENT.SERV_ORD_REQ_SIG
|
---|
| 166 | ;;R^"863.3:",.02,"E"
|
---|
| 167 | ;;D^PATIENT
|
---|
| 168 | ;;R^"863.3:",.04,"E"
|
---|
| 169 | ;;D^OERR
|
---|
| 170 | ;;R^"863.3:",.05,"E"
|
---|
| 171 | ;;D^SERVICE ORD. REQ. SIG.
|
---|
| 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^OCXORD
|
---|
| 178 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 179 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 180 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 181 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 182 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 183 | ;;D^6
|
---|
| 184 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 185 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 186 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 187 | ;;D^OCXO FILE POINTER
|
---|
| 188 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 189 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
| 190 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
| 191 | ;;D^ORD
|
---|
| 192 | ;;EOR^
|
---|
| 193 | ;;KEY^863.3:^PATIENT.ORD_REQ_CO_SIG
|
---|
| 194 | ;;R^"863.3:",.01,"E"
|
---|
| 195 | ;;D^PATIENT.ORD_REQ_CO_SIG
|
---|
| 196 | ;;R^"863.3:",.02,"E"
|
---|
| 197 | ;;D^PATIENT
|
---|
| 198 | ;;R^"863.3:",.04,"E"
|
---|
| 199 | ;;D^OERR
|
---|
| 200 | ;;R^"863.3:",.05,"E"
|
---|
| 201 | ;;D^ORDER REQ. CO-SIG.
|
---|
| 202 | ;;R^"863.3:",.06,"E"
|
---|
| 203 | ;;D^99
|
---|
| 204 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 205 | ;;D^OCXO VARIABLE NAME
|
---|
| 206 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 207 | ;;D^OCXORD
|
---|
| 208 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 209 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 210 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 211 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 212 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 213 | ;;D^7
|
---|
| 214 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
| 215 | ;;D^OCXO HL7 SEGMENT ID
|
---|
| 216 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
| 217 | ;;D^OCXO FILE POINTER
|
---|
| 218 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
| 219 | ;1;
|
---|
| 220 | ;
|
---|