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