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