OCXDI01S ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI01T
;
Q
;
DATA ;
;
;;R^"863.4:",.01,"E"
;;D^LOCAL CODING SYSTEM
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^ORDER EFFECTIVE DATE
;;R^"863.4:",.01,"E"
;;D^ORDER EFFECTIVE DATE
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^DATE/TIME
;;EOR^
;;KEY^863.4:^HL7 DIET LOCAL OI TEXT
;;R^"863.4:",.01,"E"
;;D^HL7 DIET LOCAL OI TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^RESULT STATUS OBR
;;R^"863.4:",.01,"E"
;;D^RESULT STATUS OBR
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^RESULT STATUS OBX
;;R^"863.4:",.01,"E"
;;D^RESULT STATUS OBX
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^DECEASED
;;R^"863.4:",.01,"E"
;;D^DECEASED
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^DATE/TIME
;;EOR^
;;KEY^863.4:^TRANSACTION TYPE
;;R^"863.4:",.01,"E"
;;D^TRANSACTION TYPE
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^SITE FLAG RESULT
;;R^"863.4:",.01,"E"
;;D^SITE FLAG RESULT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^SITE FLAG ORDER
;;R^"863.4:",.01,"E"
;;D^SITE FLAG ORDER
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^HL7 LOCAL OI IEN
;;R^"863.4:",.01,"E"
;;D^HL7 LOCAL OI IEN
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^CONTRAST MEDIA FLAG
;;R^"863.4:",.01,"E"
;;D^CONTRAST MEDIA FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^RENAL TEST ABNORMAL FLAG
;;R^"863.4:",.01,"E"
;;D^RENAL TEST ABNORMAL FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^BIOCHEMICAL RESULTS
;;R^"863.4:",.01,"E"
;;D^BIOCHEMICAL RESULTS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^CHOLECYSGRAM FLAG
;;R^"863.4:",.01,"E"
;;D^CHOLECYSGRAM FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^RECENT CHOLE FLAG
;;R^"863.4:",.01,"E"
;;D^RECENT CHOLE FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^CHOLECYSTOGRAM TEXT
;;R^"863.4:",.01,"E"
;;D^CHOLECYSTOGRAM TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^LAB RESULTS
;;R^"863.4:",.01,"E"
;;D^LAB RESULTS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^CONTRAST MEDIA ALLERGY FLAG
;;R^"863.4:",.01,"E"
;;D^CONTRAST MEDIA ALLERGY FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^CONTRAST MEDIA
;;R^"863.4:",.01,"E"
;;D^CONTRAST MEDIA
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^CONTRAST MEDIA CODE
;;R^"863.4:",.01,"E"
;;D^CONTRAST MEDIA CODE
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^MACPLT
;;R^"863.4:",.01,"E"
;;D^MACPLT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^BARIUM FLAG
;;R^"863.4:",.01,"E"
;;D^BARIUM FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^BARIUM TEXT
;;R^"863.4:",.01,"E"
;;D^BARIUM TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^WBC FLAG
;;R^"863.4:",.01,"E"
;;D^WBC FLAG
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^WBC TEXT
;;R^"863.4:",.01,"E"
;;D^WBC TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^DRUG CLASS
;;R^"863.4:",.01,"E"
;;D^DRUG CLASS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^LAB RESULT TEXT
;;R^"863.4:",.01,"E"
;;D^LAB RESULT TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^OVERSIZE TEXT
;;R^"863.4:",.01,"E"
;;D^OVERSIZE TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^OVERSIZE FLAG
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI01S 5583 printed Nov 22, 2024@17:33:32 Page 2
OCXDI01S ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
if TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
if QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI01T
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.4:",.01,"E"
+3 ;;D^LOCAL CODING SYSTEM
+4 ;;R^"863.4:","863.41:1",.01,"E"
+5 ;;D^DATA TYPE
+6 ;;R^"863.4:","863.41:1",1,"E"
+7 ;;D^FREE TEXT
+8 ;;EOR^
+9 ;;KEY^863.4:^ORDER EFFECTIVE DATE
+10 ;;R^"863.4:",.01,"E"
+11 ;;D^ORDER EFFECTIVE DATE
+12 ;;R^"863.4:","863.41:1",.01,"E"
+13 ;;D^DATA TYPE
+14 ;;R^"863.4:","863.41:1",1,"E"
+15 ;;D^DATE/TIME
+16 ;;EOR^
+17 ;;KEY^863.4:^HL7 DIET LOCAL OI TEXT
+18 ;;R^"863.4:",.01,"E"
+19 ;;D^HL7 DIET LOCAL OI TEXT
+20 ;;R^"863.4:","863.41:1",.01,"E"
+21 ;;D^DATA TYPE
+22 ;;R^"863.4:","863.41:1",1,"E"
+23 ;;D^FREE TEXT
+24 ;;EOR^
+25 ;;KEY^863.4:^RESULT STATUS OBR
+26 ;;R^"863.4:",.01,"E"
+27 ;;D^RESULT STATUS OBR
+28 ;;R^"863.4:","863.41:1",.01,"E"
+29 ;;D^DATA TYPE
+30 ;;R^"863.4:","863.41:1",1,"E"
+31 ;;D^FREE TEXT
+32 ;;EOR^
+33 ;;KEY^863.4:^RESULT STATUS OBX
+34 ;;R^"863.4:",.01,"E"
+35 ;;D^RESULT STATUS OBX
+36 ;;R^"863.4:","863.41:1",.01,"E"
+37 ;;D^DATA TYPE
+38 ;;R^"863.4:","863.41:1",1,"E"
+39 ;;D^FREE TEXT
+40 ;;EOR^
+41 ;;KEY^863.4:^DECEASED
+42 ;;R^"863.4:",.01,"E"
+43 ;;D^DECEASED
+44 ;;R^"863.4:","863.41:1",.01,"E"
+45 ;;D^DATA TYPE
+46 ;;R^"863.4:","863.41:1",1,"E"
+47 ;;D^DATE/TIME
+48 ;;EOR^
+49 ;;KEY^863.4:^TRANSACTION TYPE
+50 ;;R^"863.4:",.01,"E"
+51 ;;D^TRANSACTION TYPE
+52 ;;R^"863.4:","863.41:1",.01,"E"
+53 ;;D^DATA TYPE
+54 ;;R^"863.4:","863.41:1",1,"E"
+55 ;;D^FREE TEXT
+56 ;;EOR^
+57 ;;KEY^863.4:^SITE FLAG RESULT
+58 ;;R^"863.4:",.01,"E"
+59 ;;D^SITE FLAG RESULT
+60 ;;R^"863.4:","863.41:1",.01,"E"
+61 ;;D^DATA TYPE
+62 ;;R^"863.4:","863.41:1",1,"E"
+63 ;;D^BOOLEAN
+64 ;;EOR^
+65 ;;KEY^863.4:^SITE FLAG ORDER
+66 ;;R^"863.4:",.01,"E"
+67 ;;D^SITE FLAG ORDER
+68 ;;R^"863.4:","863.41:1",.01,"E"
+69 ;;D^DATA TYPE
+70 ;;R^"863.4:","863.41:1",1,"E"
+71 ;;D^BOOLEAN
+72 ;;EOR^
+73 ;;KEY^863.4:^HL7 LOCAL OI IEN
+74 ;;R^"863.4:",.01,"E"
+75 ;;D^HL7 LOCAL OI IEN
+76 ;;R^"863.4:","863.41:1",.01,"E"
+77 ;;D^DATA TYPE
+78 ;;R^"863.4:","863.41:1",1,"E"
+79 ;;D^FREE TEXT
+80 ;;EOR^
+81 ;;KEY^863.4:^CONTRAST MEDIA FLAG
+82 ;;R^"863.4:",.01,"E"
+83 ;;D^CONTRAST MEDIA FLAG
+84 ;;R^"863.4:","863.41:1",.01,"E"
+85 ;;D^DATA TYPE
+86 ;;R^"863.4:","863.41:1",1,"E"
+87 ;;D^BOOLEAN
+88 ;;EOR^
+89 ;;KEY^863.4:^RENAL TEST ABNORMAL FLAG
+90 ;;R^"863.4:",.01,"E"
+91 ;;D^RENAL TEST ABNORMAL FLAG
+92 ;;R^"863.4:","863.41:1",.01,"E"
+93 ;;D^DATA TYPE
+94 ;;R^"863.4:","863.41:1",1,"E"
+95 ;;D^BOOLEAN
+96 ;;EOR^
+97 ;;KEY^863.4:^BIOCHEMICAL RESULTS
+98 ;;R^"863.4:",.01,"E"
+99 ;;D^BIOCHEMICAL RESULTS
+100 ;;R^"863.4:","863.41:1",.01,"E"
+101 ;;D^DATA TYPE
+102 ;;R^"863.4:","863.41:1",1,"E"
+103 ;;D^FREE TEXT
+104 ;;EOR^
+105 ;;KEY^863.4:^CHOLECYSGRAM FLAG
+106 ;;R^"863.4:",.01,"E"
+107 ;;D^CHOLECYSGRAM FLAG
+108 ;;R^"863.4:","863.41:1",.01,"E"
+109 ;;D^DATA TYPE
+110 ;;R^"863.4:","863.41:1",1,"E"
+111 ;;D^BOOLEAN
+112 ;;EOR^
+113 ;;KEY^863.4:^RECENT CHOLE FLAG
+114 ;;R^"863.4:",.01,"E"
+115 ;;D^RECENT CHOLE FLAG
+116 ;;R^"863.4:","863.41:1",.01,"E"
+117 ;;D^DATA TYPE
+118 ;;R^"863.4:","863.41:1",1,"E"
+119 ;;D^BOOLEAN
+120 ;;EOR^
+121 ;;KEY^863.4:^CHOLECYSTOGRAM TEXT
+122 ;;R^"863.4:",.01,"E"
+123 ;;D^CHOLECYSTOGRAM TEXT
+124 ;;R^"863.4:","863.41:1",.01,"E"
+125 ;;D^DATA TYPE
+126 ;;R^"863.4:","863.41:1",1,"E"
+127 ;;D^FREE TEXT
+128 ;;EOR^
+129 ;;KEY^863.4:^LAB RESULTS
+130 ;;R^"863.4:",.01,"E"
+131 ;;D^LAB RESULTS
+132 ;;R^"863.4:","863.41:1",.01,"E"
+133 ;;D^DATA TYPE
+134 ;;R^"863.4:","863.41:1",1,"E"
+135 ;;D^FREE TEXT
+136 ;;EOR^
+137 ;;KEY^863.4:^CONTRAST MEDIA ALLERGY FLAG
+138 ;;R^"863.4:",.01,"E"
+139 ;;D^CONTRAST MEDIA ALLERGY FLAG
+140 ;;R^"863.4:","863.41:1",.01,"E"
+141 ;;D^DATA TYPE
+142 ;;R^"863.4:","863.41:1",1,"E"
+143 ;;D^BOOLEAN
+144 ;;EOR^
+145 ;;KEY^863.4:^CONTRAST MEDIA
+146 ;;R^"863.4:",.01,"E"
+147 ;;D^CONTRAST MEDIA
+148 ;;R^"863.4:","863.41:1",.01,"E"
+149 ;;D^DATA TYPE
+150 ;;R^"863.4:","863.41:1",1,"E"
+151 ;;D^FREE TEXT
+152 ;;EOR^
+153 ;;KEY^863.4:^CONTRAST MEDIA CODE
+154 ;;R^"863.4:",.01,"E"
+155 ;;D^CONTRAST MEDIA CODE
+156 ;;R^"863.4:","863.41:1",.01,"E"
+157 ;;D^DATA TYPE
+158 ;;R^"863.4:","863.41:1",1,"E"
+159 ;;D^FREE TEXT
+160 ;;EOR^
+161 ;;KEY^863.4:^MACPLT
+162 ;;R^"863.4:",.01,"E"
+163 ;;D^MACPLT
+164 ;;R^"863.4:","863.41:1",.01,"E"
+165 ;;D^DATA TYPE
+166 ;;R^"863.4:","863.41:1",1,"E"
+167 ;;D^FREE TEXT
+168 ;;EOR^
+169 ;;KEY^863.4:^BARIUM FLAG
+170 ;;R^"863.4:",.01,"E"
+171 ;;D^BARIUM FLAG
+172 ;;R^"863.4:","863.41:1",.01,"E"
+173 ;;D^DATA TYPE
+174 ;;R^"863.4:","863.41:1",1,"E"
+175 ;;D^BOOLEAN
+176 ;;EOR^
+177 ;;KEY^863.4:^BARIUM TEXT
+178 ;;R^"863.4:",.01,"E"
+179 ;;D^BARIUM TEXT
+180 ;;R^"863.4:","863.41:1",.01,"E"
+181 ;;D^DATA TYPE
+182 ;;R^"863.4:","863.41:1",1,"E"
+183 ;;D^FREE TEXT
+184 ;;EOR^
+185 ;;KEY^863.4:^WBC FLAG
+186 ;;R^"863.4:",.01,"E"
+187 ;;D^WBC FLAG
+188 ;;R^"863.4:","863.41:1",.01,"E"
+189 ;;D^DATA TYPE
+190 ;;R^"863.4:","863.41:1",1,"E"
+191 ;;D^BOOLEAN
+192 ;;EOR^
+193 ;;KEY^863.4:^WBC TEXT
+194 ;;R^"863.4:",.01,"E"
+195 ;;D^WBC TEXT
+196 ;;R^"863.4:","863.41:1",.01,"E"
+197 ;;D^DATA TYPE
+198 ;;R^"863.4:","863.41:1",1,"E"
+199 ;;D^FREE TEXT
+200 ;;EOR^
+201 ;;KEY^863.4:^DRUG CLASS
+202 ;;R^"863.4:",.01,"E"
+203 ;;D^DRUG CLASS
+204 ;;R^"863.4:","863.41:1",.01,"E"
+205 ;;D^DATA TYPE
+206 ;;R^"863.4:","863.41:1",1,"E"
+207 ;;D^FREE TEXT
+208 ;;EOR^
+209 ;;KEY^863.4:^LAB RESULT TEXT
+210 ;;R^"863.4:",.01,"E"
+211 ;;D^LAB RESULT TEXT
+212 ;;R^"863.4:","863.41:1",.01,"E"
+213 ;;D^DATA TYPE
+214 ;;R^"863.4:","863.41:1",1,"E"
+215 ;;D^FREE TEXT
+216 ;;EOR^
+217 ;;KEY^863.4:^OVERSIZE TEXT
+218 ;;R^"863.4:",.01,"E"
+219 ;;D^OVERSIZE TEXT
+220 ;;R^"863.4:","863.41:1",.01,"E"
+221 ;;D^DATA TYPE
+222 ;;R^"863.4:","863.41:1",1,"E"
+223 ;;D^FREE TEXT
+224 ;;EOR^
+225 ;;KEY^863.4:^OVERSIZE FLAG
+226 ;1;
+227 ;