[613] | 1 | OCXDI02P ;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 ^OCXDI02Q
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
| 21 | ;;D^HL7 DIETARY SEGMENT
|
---|
| 22 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
| 23 | ;;D^PATIENT.HL7_DIET_LOCAL_TEXT
|
---|
| 24 | ;;EOR^
|
---|
| 25 | ;;KEY^860.4:^PATIENT TRANSACTION TYPE CURRENT
|
---|
| 26 | ;;R^"860.4:",.01,"E"
|
---|
| 27 | ;;D^PATIENT TRANSACTION TYPE CURRENT
|
---|
| 28 | ;;R^"860.4:",1,"E"
|
---|
| 29 | ;;D^TRANSACTION TYPE
|
---|
| 30 | ;;R^"860.4:",101,"E"
|
---|
| 31 | ;;D^FREE TEXT
|
---|
| 32 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
| 33 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
| 34 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
| 35 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
| 36 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
| 37 | ;;D^PATIENT.TRANS_TYPE_CURRENT
|
---|
| 38 | ;;EOR^
|
---|
| 39 | ;;KEY^860.4:^SITE FLAGGED ORDER
|
---|
| 40 | ;;R^"860.4:",.01,"E"
|
---|
| 41 | ;;D^SITE FLAGGED ORDER
|
---|
| 42 | ;;R^"860.4:",1,"E"
|
---|
| 43 | ;;D^SITEORD
|
---|
| 44 | ;;R^"860.4:",101,"E"
|
---|
| 45 | ;;D^BOOLEAN
|
---|
| 46 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 47 | ;;D^DATABASE LOOKUP
|
---|
| 48 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 49 | ;;D^DATABASE LOOKUP
|
---|
| 50 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 51 | ;;D^PATIENT.SITE_FLAGGED_ORDER
|
---|
| 52 | ;;EOR^
|
---|
| 53 | ;;KEY^860.4:^SITE FLAGGED RESULT
|
---|
| 54 | ;;R^"860.4:",.01,"E"
|
---|
| 55 | ;;D^SITE FLAGGED RESULT
|
---|
| 56 | ;;R^"860.4:",1,"E"
|
---|
| 57 | ;;D^SITERES
|
---|
| 58 | ;;R^"860.4:",101,"E"
|
---|
| 59 | ;;D^BOOLEAN
|
---|
| 60 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 61 | ;;D^DATABASE LOOKUP
|
---|
| 62 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 63 | ;;D^DATABASE LOOKUP
|
---|
| 64 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 65 | ;;D^PATIENT.SITE_FLAGGED_RESULT
|
---|
| 66 | ;;EOR^
|
---|
| 67 | ;;KEY^860.4:^CONTRAST MEDIA FLAG
|
---|
| 68 | ;;R^"860.4:",.01,"E"
|
---|
| 69 | ;;D^CONTRAST MEDIA FLAG
|
---|
| 70 | ;;R^"860.4:",101,"E"
|
---|
| 71 | ;;D^BOOLEAN
|
---|
| 72 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 73 | ;;D^DATABASE LOOKUP
|
---|
| 74 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 75 | ;;D^DATABASE LOOKUP
|
---|
| 76 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 77 | ;;D^PATIENT.RAD_CON_MEDIA
|
---|
| 78 | ;;EOR^
|
---|
| 79 | ;;KEY^860.4:^MOST RECENT RENAL TEST ABNORMAL FLAG
|
---|
| 80 | ;;R^"860.4:",.01,"E"
|
---|
| 81 | ;;D^MOST RECENT RENAL TEST ABNORMAL FLAG
|
---|
| 82 | ;;R^"860.4:",101,"E"
|
---|
| 83 | ;;D^BOOLEAN
|
---|
| 84 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 85 | ;;D^DATABASE LOOKUP
|
---|
| 86 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 87 | ;;D^DATABASE LOOKUP
|
---|
| 88 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 89 | ;;D^PATIENT.REC_RENAL_ABNORM_FLAG
|
---|
| 90 | ;;EOR^
|
---|
| 91 | ;;KEY^860.4:^ABNORMAL RENAL BIOCHEM RESULTS
|
---|
| 92 | ;;R^"860.4:",.01,"E"
|
---|
| 93 | ;;D^ABNORMAL RENAL BIOCHEM RESULTS
|
---|
| 94 | ;;R^"860.4:",101,"E"
|
---|
| 95 | ;;D^FREE TEXT
|
---|
| 96 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 97 | ;;D^DATABASE LOOKUP
|
---|
| 98 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 99 | ;;D^DATABASE LOOKUP
|
---|
| 100 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 101 | ;;D^PATIENT.REC_RENAL_ABNORM_RES
|
---|
| 102 | ;;EOR^
|
---|
| 103 | ;;KEY^860.4:^CHOLECYSTOGRAM PROCEDURE FLAG
|
---|
| 104 | ;;R^"860.4:",.01,"E"
|
---|
| 105 | ;;D^CHOLECYSTOGRAM PROCEDURE FLAG
|
---|
| 106 | ;;R^"860.4:",101,"E"
|
---|
| 107 | ;;D^BOOLEAN
|
---|
| 108 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 109 | ;;D^DATABASE LOOKUP
|
---|
| 110 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 111 | ;;D^DATABASE LOOKUP
|
---|
| 112 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 113 | ;;D^PATIENT.CHOLE_PROC_FLAG
|
---|
| 114 | ;;EOR^
|
---|
| 115 | ;;KEY^860.4:^RECENT CHOLECYSTOGRAM FLAG
|
---|
| 116 | ;;R^"860.4:",.01,"E"
|
---|
| 117 | ;;D^RECENT CHOLECYSTOGRAM FLAG
|
---|
| 118 | ;;R^"860.4:",101,"E"
|
---|
| 119 | ;;D^BOOLEAN
|
---|
| 120 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 121 | ;;D^DATABASE LOOKUP
|
---|
| 122 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 123 | ;;D^DATABASE LOOKUP
|
---|
| 124 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 125 | ;;D^PATIENT.REC_CHOLEC_FLAG
|
---|
| 126 | ;;EOR^
|
---|
| 127 | ;;KEY^860.4:^RECENT CHOLECYSTOGRAM TEXT
|
---|
| 128 | ;;R^"860.4:",.01,"E"
|
---|
| 129 | ;;D^RECENT CHOLECYSTOGRAM TEXT
|
---|
| 130 | ;;R^"860.4:",101,"E"
|
---|
| 131 | ;;D^FREE TEXT
|
---|
| 132 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 133 | ;;D^DATABASE LOOKUP
|
---|
| 134 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 135 | ;;D^DATABASE LOOKUP
|
---|
| 136 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 137 | ;;D^PATIENT.REC_CHOLEC_TEXT
|
---|
| 138 | ;;EOR^
|
---|
| 139 | ;;KEY^860.4:^PATIENT AGE
|
---|
| 140 | ;;R^"860.4:",.01,"E"
|
---|
| 141 | ;;D^PATIENT AGE
|
---|
| 142 | ;;R^"860.4:",101,"E"
|
---|
| 143 | ;;D^NUMERIC
|
---|
| 144 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 145 | ;;D^DATABASE LOOKUP
|
---|
| 146 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 147 | ;;D^DATABASE LOOKUP
|
---|
| 148 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 149 | ;;D^PATIENT.AGE
|
---|
| 150 | ;;EOR^
|
---|
| 151 | ;;KEY^860.4:^FORMATTED LAB RESULTS
|
---|
| 152 | ;;R^"860.4:",.01,"E"
|
---|
| 153 | ;;D^FORMATTED LAB RESULTS
|
---|
| 154 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 155 | ;;D^DATABASE LOOKUP
|
---|
| 156 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 157 | ;;D^DATABASE LOOKUP
|
---|
| 158 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 159 | ;;D^PATIENT.LAB_RESULTS
|
---|
| 160 | ;;EOR^
|
---|
| 161 | ;;KEY^860.4:^FORMATTED RENAL LAB RESULTS
|
---|
| 162 | ;;R^"860.4:",.01,"E"
|
---|
| 163 | ;;D^FORMATTED RENAL LAB RESULTS
|
---|
| 164 | ;;R^"860.4:",101,"E"
|
---|
| 165 | ;;D^FREE TEXT
|
---|
| 166 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 167 | ;;D^DATABASE LOOKUP
|
---|
| 168 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 169 | ;;D^DATABASE LOOKUP
|
---|
| 170 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 171 | ;;D^PATIENT.REN_LAB_RES
|
---|
| 172 | ;;EOR^
|
---|
| 173 | ;;KEY^860.4:^CONTRAST MEDIA ALLERGY FLAG
|
---|
| 174 | ;;R^"860.4:",.01,"E"
|
---|
| 175 | ;;D^CONTRAST MEDIA ALLERGY FLAG
|
---|
| 176 | ;;R^"860.4:",1,"E"
|
---|
| 177 | ;;D^ConMedAlgyFlag
|
---|
| 178 | ;;R^"860.4:",101,"E"
|
---|
| 179 | ;;D^BOOLEAN
|
---|
| 180 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 181 | ;;D^DATABASE LOOKUP
|
---|
| 182 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 183 | ;;D^DATABASE LOOKUP
|
---|
| 184 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 185 | ;;D^PATIENT.CONT_MED_ALGY
|
---|
| 186 | ;;EOR^
|
---|
| 187 | ;;KEY^860.4:^CONTRAST MEDIA CODE TRANSLATION
|
---|
| 188 | ;;R^"860.4:",.01,"E"
|
---|
| 189 | ;;D^CONTRAST MEDIA CODE TRANSLATION
|
---|
| 190 | ;;R^"860.4:",101,"E"
|
---|
| 191 | ;;D^FREE TEXT
|
---|
| 192 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 193 | ;;D^DATABASE LOOKUP
|
---|
| 194 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 195 | ;;D^DATABASE LOOKUP
|
---|
| 196 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
| 197 | ;;D^PATIENT.CON_MEDIA_TRANS
|
---|
| 198 | ;;EOR^
|
---|
| 199 | ;;KEY^860.4:^CONTRAST MEDIA CODE
|
---|
| 200 | ;;R^"860.4:",.01,"E"
|
---|
| 201 | ;;D^CONTRAST MEDIA CODE
|
---|
| 202 | ;;R^"860.4:",1,"E"
|
---|
| 203 | ;;D^CMC
|
---|
| 204 | ;;R^"860.4:",101,"E"
|
---|
| 205 | ;;D^FREE TEXT
|
---|
| 206 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
| 207 | ;;D^DATABASE LOOKUP
|
---|
| 208 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
| 209 | ;1;
|
---|
| 210 | ;
|
---|