[613] | 1 | OCXDI023 ;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 ^OCXDI024
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;R^"863.3:",.02,"E"
|
---|
| 21 | ;;D^PATIENT
|
---|
| 22 | ;;R^"863.3:",.05,"E"
|
---|
| 23 | ;;D^BIOCHEMICAL RESULTS
|
---|
| 24 | ;;R^"863.3:",.06,"E"
|
---|
| 25 | ;;D^999
|
---|
| 26 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 27 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 28 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 29 | ;;D^ABREN(|PATIENT IEN|)
|
---|
| 30 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 31 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 32 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 33 | ;;D^2
|
---|
| 34 | ;;EOR^
|
---|
| 35 | ;;KEY^863.3:^PATIENT.CHOLE_PROC_FLAG
|
---|
| 36 | ;;R^"863.3:",.01,"E"
|
---|
| 37 | ;;D^PATIENT.CHOLE_PROC_FLAG
|
---|
| 38 | ;;R^"863.3:",.02,"E"
|
---|
| 39 | ;;D^PATIENT
|
---|
| 40 | ;;R^"863.3:",.05,"E"
|
---|
| 41 | ;;D^CHOLECYSGRAM FLAG
|
---|
| 42 | ;;R^"863.3:",.06,"E"
|
---|
| 43 | ;;D^9999
|
---|
| 44 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 45 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 46 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 47 | ;;D^CH(|ORDERABLE ITEM IEN|)
|
---|
| 48 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 49 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 50 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 51 | ;;D^1
|
---|
| 52 | ;;EOR^
|
---|
| 53 | ;;KEY^863.3:^PATIENT.REC_CHOLEC_FLAG
|
---|
| 54 | ;;R^"863.3:",.01,"E"
|
---|
| 55 | ;;D^PATIENT.REC_CHOLEC_FLAG
|
---|
| 56 | ;;R^"863.3:",.02,"E"
|
---|
| 57 | ;;D^PATIENT
|
---|
| 58 | ;;R^"863.3:",.05,"E"
|
---|
| 59 | ;;D^RECENT CHOLE FLAG
|
---|
| 60 | ;;R^"863.3:",.06,"E"
|
---|
| 61 | ;;D^999
|
---|
| 62 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 63 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 64 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 65 | ;;D^RECCH(|PATIENT IEN|,7)
|
---|
| 66 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 67 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 68 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 69 | ;;D^1
|
---|
| 70 | ;;EOR^
|
---|
| 71 | ;;KEY^863.3:^PATIENT.REC_CHOLEC_TEXT
|
---|
| 72 | ;;R^"863.3:",.01,"E"
|
---|
| 73 | ;;D^PATIENT.REC_CHOLEC_TEXT
|
---|
| 74 | ;;R^"863.3:",.02,"E"
|
---|
| 75 | ;;D^PATIENT
|
---|
| 76 | ;;R^"863.3:",.05,"E"
|
---|
| 77 | ;;D^CHOLECYSTOGRAM TEXT
|
---|
| 78 | ;;R^"863.3:",.06,"E"
|
---|
| 79 | ;;D^999
|
---|
| 80 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 81 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 82 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 83 | ;;D^RECCH(|PATIENT IEN|,7)
|
---|
| 84 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 85 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
| 86 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
| 87 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 88 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
| 89 | ;;D^3
|
---|
| 90 | ;;EOR^
|
---|
| 91 | ;;KEY^863.3:^PATIENT.AGE
|
---|
| 92 | ;;R^"863.3:",.01,"E"
|
---|
| 93 | ;;D^PATIENT.AGE
|
---|
| 94 | ;;R^"863.3:",.02,"E"
|
---|
| 95 | ;;D^PATIENT
|
---|
| 96 | ;;R^"863.3:",.05,"E"
|
---|
| 97 | ;;D^AGE
|
---|
| 98 | ;;R^"863.3:",.06,"E"
|
---|
| 99 | ;;D^999
|
---|
| 100 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 101 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 102 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 103 | ;;D^AGE^ORQPTQ4(|PATIENT IEN|)
|
---|
| 104 | ;;EOR^
|
---|
| 105 | ;;KEY^863.3:^PATIENT.LAB_RESULTS
|
---|
| 106 | ;;R^"863.3:",.01,"E"
|
---|
| 107 | ;;D^PATIENT.LAB_RESULTS
|
---|
| 108 | ;;R^"863.3:",.02,"E"
|
---|
| 109 | ;;D^PATIENT
|
---|
| 110 | ;;R^"863.3:",.05,"E"
|
---|
| 111 | ;;D^LAB RESULTS
|
---|
| 112 | ;;R^"863.3:",.06,"E"
|
---|
| 113 | ;;D^999
|
---|
| 114 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 115 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 116 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 117 | ;;D^FLAB(|PATIENT IEN|,|LTNC|,"")
|
---|
| 118 | ;;EOR^
|
---|
| 119 | ;;KEY^863.3:^PATIENT.REN_LAB_RES
|
---|
| 120 | ;;R^"863.3:",.01,"E"
|
---|
| 121 | ;;D^PATIENT.REN_LAB_RES
|
---|
| 122 | ;;R^"863.3:",.02,"E"
|
---|
| 123 | ;;D^PATIENT
|
---|
| 124 | ;;R^"863.3:",.05,"E"
|
---|
| 125 | ;;D^LAB RESULTS
|
---|
| 126 | ;;R^"863.3:",.06,"E"
|
---|
| 127 | ;;D^99
|
---|
| 128 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 129 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 130 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 131 | ;;D^FLAB(|PATIENT IEN|,"SERUM CREATININE^SERUM UREA NITROGEN","SERUM SPECIMEN")
|
---|
| 132 | ;;EOR^
|
---|
| 133 | ;;KEY^863.3:^PATIENT.CONT_MED_ALGY
|
---|
| 134 | ;;R^"863.3:",.01,"E"
|
---|
| 135 | ;;D^PATIENT.CONT_MED_ALGY
|
---|
| 136 | ;;R^"863.3:",.02,"E"
|
---|
| 137 | ;;D^PATIENT
|
---|
| 138 | ;;R^"863.3:",.05,"E"
|
---|
| 139 | ;;D^CONTRAST MEDIA ALLERGY FLAG
|
---|
| 140 | ;;R^"863.3:",.06,"E"
|
---|
| 141 | ;;D^99
|
---|
| 142 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 143 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 144 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 145 | ;;D^ORCHK^GMRAOR(|PATIENT IEN|,"CM","")
|
---|
| 146 | ;;EOR^
|
---|
| 147 | ;;KEY^863.3:^PATIENT.CON_MEDIA_TRANS
|
---|
| 148 | ;;R^"863.3:",.01,"E"
|
---|
| 149 | ;;D^PATIENT.CON_MEDIA_TRANS
|
---|
| 150 | ;;R^"863.3:",.02,"E"
|
---|
| 151 | ;;D^PATIENT
|
---|
| 152 | ;;R^"863.3:",.05,"E"
|
---|
| 153 | ;;D^CONTRAST MEDIA
|
---|
| 154 | ;;R^"863.3:",.06,"E"
|
---|
| 155 | ;;D^99
|
---|
| 156 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 157 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 158 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 159 | ;;D^CONTRANS(|CONTRAST MEDIA CODE|)
|
---|
| 160 | ;;EOR^
|
---|
| 161 | ;;KEY^863.3:^PATIENT.CONTR_MED_CODE
|
---|
| 162 | ;;R^"863.3:",.01,"E"
|
---|
| 163 | ;;D^PATIENT.CONTR_MED_CODE
|
---|
| 164 | ;;R^"863.3:",.02,"E"
|
---|
| 165 | ;;D^PATIENT
|
---|
| 166 | ;;R^"863.3:",.05,"E"
|
---|
| 167 | ;;D^CONTRAST MEDIA CODE
|
---|
| 168 | ;;R^"863.3:",.06,"E"
|
---|
| 169 | ;;D^99
|
---|
| 170 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 171 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 172 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 173 | ;;D^CM^ORQQRA(|ORDERABLE ITEM IEN|)
|
---|
| 174 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 175 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 176 | ;;EOR^
|
---|
| 177 | ;;KEY^863.3:^PATIENT.MACPLT
|
---|
| 178 | ;;R^"863.3:",.01,"E"
|
---|
| 179 | ;;D^PATIENT.MACPLT
|
---|
| 180 | ;;R^"863.3:",.02,"E"
|
---|
| 181 | ;;D^PATIENT
|
---|
| 182 | ;;R^"863.3:",.05,"E"
|
---|
| 183 | ;;D^MACPLT
|
---|
| 184 | ;;R^"863.3:",.06,"E"
|
---|
| 185 | ;;D^99
|
---|
| 186 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 187 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 188 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 189 | ;;D^MTSTF("PROTHROMBIN TIME,PARTIAL THROMBOPLASTIN TIME")
|
---|
| 190 | ;;EOR^
|
---|
| 191 | ;;KEY^863.3:^PATIENT.REC_BA_FLAG
|
---|
| 192 | ;;R^"863.3:",.01,"E"
|
---|
| 193 | ;;D^PATIENT.REC_BA_FLAG
|
---|
| 194 | ;;R^"863.3:",.02,"E"
|
---|
| 195 | ;;D^PATIENT
|
---|
| 196 | ;;R^"863.3:",.05,"E"
|
---|
| 197 | ;;D^BARIUM FLAG
|
---|
| 198 | ;;R^"863.3:",.06,"E"
|
---|
| 199 | ;;D^99
|
---|
| 200 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 201 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 202 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
| 203 | ;;D^RECBAR(|PATIENT IEN|,48)
|
---|
| 204 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
| 205 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
| 206 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
| 207 | ;;D^1
|
---|
| 208 | ;;EOR^
|
---|
| 209 | ;;KEY^863.3:^PATIENT.REC_BAR_TEXT
|
---|
| 210 | ;;R^"863.3:",.01,"E"
|
---|
| 211 | ;;D^PATIENT.REC_BAR_TEXT
|
---|
| 212 | ;;R^"863.3:",.02,"E"
|
---|
| 213 | ;;D^PATIENT
|
---|
| 214 | ;;R^"863.3:",.05,"E"
|
---|
| 215 | ;;D^BARIUM TEXT
|
---|
| 216 | ;;R^"863.3:",.06,"E"
|
---|
| 217 | ;;D^99
|
---|
| 218 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
| 219 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
| 220 | ;1;
|
---|
| 221 | ;
|
---|