ORY10503 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*105) ;OCT 16,2001 at 15:39
;;3.0;ORDER ENTRY/RESULTS REPORTING;**105**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^ORY105ES
;
;
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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
;
G ^ORY10504
;
Q
;
DATA ;
;
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^EQUALS AN ELEMENT IN THE SET
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT EQUALS ELEMENT IN SET
;;EOR^
;;KEY^863.9:^LOGICAL FALSE
;;R^"863.9:",.01,"E"
;;D^LOGICAL FALSE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;;R^"863.9:",.04,"E"
;;D^IS FALSE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;;R^"863.9:","863.92:1",.01,"E"
;;D^FALSE
;;EOR^
;;KEY^863.9:^LOGICAL TRUE
;;R^"863.9:",.01,"E"
;;D^LOGICAL TRUE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:",.04,"E"
;;D^IS TRUE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:","863.92:1",.01,"E"
;;D^TRUE
;;EOR^
;;KEY^863.9:^STARTS WITH
;;R^"863.9:",.01,"E"
;;D^STARTS WITH
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^STARTS WITH
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC FREE TEXT STARTS WITH
;;R^"863.9:","863.92:1",.01,"E"
;;D^BEGINS WITH
;;EOR^
;;EOF^OCXS(863.9)^1
;;SOF^863.4 OCX MDD ATTRIBUTE
;;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:^CM_CREATININE DAYS
;;R^"863.4:",.01,"E"
;;D^CM_CREATININE DAYS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^CM_CREATININE FLAG
;;R^"863.4:",.01,"E"
;;D^CM_CREATININE 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 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:^DATE/TIME
;;R^"863.4:",.01,"E"
;;D^DATE/TIME
;;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:^FILLER
;;R^"863.4:",.01,"E"
;;D^FILLER
;;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:^HL7 CONTROL CODE
;;R^"863.4:",.01,"E"
;;D^HL7 CONTROL CODE
;;R^"863.4:",.02,"E"
;;D^HL7CCODE
;;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:^HL7 FILLER
;;R^"863.4:",.01,"E"
;;D^HL7 FILLER
;;R^"863.4:",.02,"E"
;;D^HL7FILLR
;;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:^IEN
;;R^"863.4:",.01,"E"
;;D^IEN
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^INPT/OUTPT
;;R^"863.4:",.01,"E"
;;D^INPT/OUTPT
;;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 < THRESHOLD
;;R^"863.4:",.01,"E"
;;D^LAB < THRESHOLD
;;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:^LAB > THRESHOLD
;;R^"863.4:",.01,"E"
;;D^LAB > THRESHOLD
;;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:^LAB SPECIMEN
;;R^"863.4:",.01,"E"
;;D^LAB SPECIMEN
;;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 SPECIMEN ID
;;R^"863.4:",.01,"E"
;;D^LAB SPECIMEN ID
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^LAB TEST ID
;;R^"863.4:",.01,"E"
;;D^LAB TEST ID
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^ORDER FLAGGED
;;R^"863.4:",.01,"E"
;;D^ORDER FLAGGED
;;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:^ORDER MODE
;;R^"863.4:",.01,"E"
;;D^ORDER MODE
;;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 NUMBER
;;R^"863.4:",.01,"E"
;;D^ORDER NUMBER
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^ORDER PATIENT
;;R^"863.4:",.01,"E"
;;D^ORDER PATIENT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^ORDERABLE ITEM
;;R^"863.4:",.01,"E"
;;D^ORDERABLE ITEM
;;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:^ORDERABLE ITEM IEN
;;R^"863.4:",.01,"E"
;;D^ORDERABLE ITEM IEN
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^PT LOCATION
;;R^"863.4:",.01,"E"
;;D^PT LOCATION
;;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:^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:^REQUEST STATUS
;;R^"863.4:",.01,"E"
;;D^REQUEST STATUS
;;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 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^
;;EOF^OCXS(863.4)^1
;;SOF^863.2 OCX MDD SUBJECT
;;KEY^863.2:^PATIENT
;;R^"863.2:",.01,"E"
;;D^PATIENT
;;R^"863.2:","863.21:1",.01,"E"
;;D^FILE
;;R^"863.2:","863.21:1",1,"E"
;;D^2
;;EOR^
;;EOF^OCXS(863.2)^1
;;SOF^863.3 OCX MDD LINK
;;KEY^863.3:^CURRENT_DATE/TIME
;;R^"863.3:",.01,"E"
;;D^CURRENT_DATE/TIME
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^DATE/TIME
;;R^"863.3:",.06,"E"
;;D^999
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^INT2DT($$DT2INT("N"),0)
;;EOR^
;;KEY^863.3:^PATIENT.CM_CREAT_DAYS
;;R^"863.3:",.01,"E"
;;D^PATIENT.CM_CREAT_DAYS
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^CM_CREATININE DAYS
;;R^"863.3:",.06,"E"
;;D^7789
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^CMCDAYS^ORKRA(|PATIENT IEN|)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.CM_CREAT_FLAG
;;R^"863.3:",.01,"E"
;;D^PATIENT.CM_CREAT_FLAG
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^CM_CREATININE FLAG
;;R^"863.3:",.06,"E"
;;D^5677
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^RECCREAT(|PATIENT IEN|,|CM-CREAT DAYS|)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.CONTR_MED_CODE
;;R^"863.3:",.01,"E"
;;D^PATIENT.CONTR_MED_CODE
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^CONTRAST MEDIA CODE
;;R^"863.3:",.06,"E"
;1;
;
ORY10503 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*105) ;OCT 16,2001 at 15:39
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**105**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^ORY105ES
+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("OCXRULE",$JOB,$ORDER(^TMP("OCXRULE",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
IF QUIT
QUIT
+8 ;
+9 GOTO ^ORY10504
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^FREE TEXT
+3 ;;R^"863.9:",.04,"E"
+4 ;;D^EQUALS AN ELEMENT IN THE SET
+5 ;;R^"863.9:","863.91:1",.01,"E"
+6 ;;D^OCXO GENERATE CODE FUNCTION
+7 ;;R^"863.9:","863.91:1",1,"E"
+8 ;;D^GCC FREE TEXT EQUALS ELEMENT IN SET
+9 ;;EOR^
+10 ;;KEY^863.9:^LOGICAL FALSE
+11 ;;R^"863.9:",.01,"E"
+12 ;;D^LOGICAL FALSE
+13 ;;R^"863.9:",.02,"E"
+14 ;;D^BOOLEAN
+15 ;;R^"863.9:",.03,"E"
+16 ;;D^GCC BOOLEAN LOGICAL FALSE
+17 ;;R^"863.9:",.04,"E"
+18 ;;D^IS FALSE
+19 ;;R^"863.9:","863.91:1",.01,"E"
+20 ;;D^OCXO GENERATE CODE FUNCTION
+21 ;;R^"863.9:","863.91:1",1,"E"
+22 ;;D^GCC BOOLEAN LOGICAL FALSE
+23 ;;R^"863.9:","863.92:1",.01,"E"
+24 ;;D^FALSE
+25 ;;EOR^
+26 ;;KEY^863.9:^LOGICAL TRUE
+27 ;;R^"863.9:",.01,"E"
+28 ;;D^LOGICAL TRUE
+29 ;;R^"863.9:",.02,"E"
+30 ;;D^BOOLEAN
+31 ;;R^"863.9:",.03,"E"
+32 ;;D^GCC BOOLEAN LOGICAL TRUE
+33 ;;R^"863.9:",.04,"E"
+34 ;;D^IS TRUE
+35 ;;R^"863.9:","863.91:1",.01,"E"
+36 ;;D^OCXO GENERATE CODE FUNCTION
+37 ;;R^"863.9:","863.91:1",1,"E"
+38 ;;D^GCC BOOLEAN LOGICAL TRUE
+39 ;;R^"863.9:","863.92:1",.01,"E"
+40 ;;D^TRUE
+41 ;;EOR^
+42 ;;KEY^863.9:^STARTS WITH
+43 ;;R^"863.9:",.01,"E"
+44 ;;D^STARTS WITH
+45 ;;R^"863.9:",.02,"E"
+46 ;;D^FREE TEXT
+47 ;;R^"863.9:",.04,"E"
+48 ;;D^STARTS WITH
+49 ;;R^"863.9:","863.91:3",.01,"E"
+50 ;;D^OCXO GENERATE CODE FUNCTION
+51 ;;R^"863.9:","863.91:3",1,"E"
+52 ;;D^GCC FREE TEXT STARTS WITH
+53 ;;R^"863.9:","863.92:1",.01,"E"
+54 ;;D^BEGINS WITH
+55 ;;EOR^
+56 ;;EOF^OCXS(863.9)^1
+57 ;;SOF^863.4 OCX MDD ATTRIBUTE
+58 ;;KEY^863.4:^BIOCHEMICAL RESULTS
+59 ;;R^"863.4:",.01,"E"
+60 ;;D^BIOCHEMICAL RESULTS
+61 ;;R^"863.4:","863.41:1",.01,"E"
+62 ;;D^DATA TYPE
+63 ;;R^"863.4:","863.41:1",1,"E"
+64 ;;D^FREE TEXT
+65 ;;EOR^
+66 ;;KEY^863.4:^CM_CREATININE DAYS
+67 ;;R^"863.4:",.01,"E"
+68 ;;D^CM_CREATININE DAYS
+69 ;;R^"863.4:","863.41:1",.01,"E"
+70 ;;D^DATA TYPE
+71 ;;R^"863.4:","863.41:1",1,"E"
+72 ;;D^NUMERIC
+73 ;;EOR^
+74 ;;KEY^863.4:^CM_CREATININE FLAG
+75 ;;R^"863.4:",.01,"E"
+76 ;;D^CM_CREATININE FLAG
+77 ;;R^"863.4:","863.41:1",.01,"E"
+78 ;;D^DATA TYPE
+79 ;;R^"863.4:","863.41:1",1,"E"
+80 ;;D^BOOLEAN
+81 ;;EOR^
+82 ;;KEY^863.4:^CONTRAST MEDIA CODE
+83 ;;R^"863.4:",.01,"E"
+84 ;;D^CONTRAST MEDIA CODE
+85 ;;R^"863.4:","863.41:1",.01,"E"
+86 ;;D^DATA TYPE
+87 ;;R^"863.4:","863.41:1",1,"E"
+88 ;;D^FREE TEXT
+89 ;;EOR^
+90 ;;KEY^863.4:^DATE/TIME
+91 ;;R^"863.4:",.01,"E"
+92 ;;D^DATE/TIME
+93 ;;R^"863.4:","863.41:1",.01,"E"
+94 ;;D^DATA TYPE
+95 ;;R^"863.4:","863.41:1",1,"E"
+96 ;;D^FREE TEXT
+97 ;;EOR^
+98 ;;KEY^863.4:^FILLER
+99 ;;R^"863.4:",.01,"E"
+100 ;;D^FILLER
+101 ;;R^"863.4:","863.41:1",.01,"E"
+102 ;;D^DATA TYPE
+103 ;;R^"863.4:","863.41:1",1,"E"
+104 ;;D^FREE TEXT
+105 ;;EOR^
+106 ;;KEY^863.4:^HL7 CONTROL CODE
+107 ;;R^"863.4:",.01,"E"
+108 ;;D^HL7 CONTROL CODE
+109 ;;R^"863.4:",.02,"E"
+110 ;;D^HL7CCODE
+111 ;;R^"863.4:","863.41:1",.01,"E"
+112 ;;D^DATA TYPE
+113 ;;R^"863.4:","863.41:1",1,"E"
+114 ;;D^FREE TEXT
+115 ;;EOR^
+116 ;;KEY^863.4:^HL7 FILLER
+117 ;;R^"863.4:",.01,"E"
+118 ;;D^HL7 FILLER
+119 ;;R^"863.4:",.02,"E"
+120 ;;D^HL7FILLR
+121 ;;R^"863.4:","863.41:1",.01,"E"
+122 ;;D^DATA TYPE
+123 ;;R^"863.4:","863.41:1",1,"E"
+124 ;;D^FREE TEXT
+125 ;;EOR^
+126 ;;KEY^863.4:^IEN
+127 ;;R^"863.4:",.01,"E"
+128 ;;D^IEN
+129 ;;R^"863.4:","863.41:1",.01,"E"
+130 ;;D^DATA TYPE
+131 ;;R^"863.4:","863.41:1",1,"E"
+132 ;;D^NUMERIC
+133 ;;EOR^
+134 ;;KEY^863.4:^INPT/OUTPT
+135 ;;R^"863.4:",.01,"E"
+136 ;;D^INPT/OUTPT
+137 ;;R^"863.4:","863.41:1",.01,"E"
+138 ;;D^DATA TYPE
+139 ;;R^"863.4:","863.41:1",1,"E"
+140 ;;D^FREE TEXT
+141 ;;EOR^
+142 ;;KEY^863.4:^LAB < THRESHOLD
+143 ;;R^"863.4:",.01,"E"
+144 ;;D^LAB < THRESHOLD
+145 ;;R^"863.4:","863.41:1",.01,"E"
+146 ;;D^DATA TYPE
+147 ;;R^"863.4:","863.41:1",1,"E"
+148 ;;D^BOOLEAN
+149 ;;EOR^
+150 ;;KEY^863.4:^LAB > THRESHOLD
+151 ;;R^"863.4:",.01,"E"
+152 ;;D^LAB > THRESHOLD
+153 ;;R^"863.4:","863.41:1",.01,"E"
+154 ;;D^DATA TYPE
+155 ;;R^"863.4:","863.41:1",1,"E"
+156 ;;D^BOOLEAN
+157 ;;EOR^
+158 ;;KEY^863.4:^LAB SPECIMEN
+159 ;;R^"863.4:",.01,"E"
+160 ;;D^LAB SPECIMEN
+161 ;;R^"863.4:","863.41:1",.01,"E"
+162 ;;D^DATA TYPE
+163 ;;R^"863.4:","863.41:1",1,"E"
+164 ;;D^FREE TEXT
+165 ;;EOR^
+166 ;;KEY^863.4:^LAB SPECIMEN ID
+167 ;;R^"863.4:",.01,"E"
+168 ;;D^LAB SPECIMEN ID
+169 ;;R^"863.4:","863.41:1",.01,"E"
+170 ;;D^DATA TYPE
+171 ;;R^"863.4:","863.41:1",1,"E"
+172 ;;D^NUMERIC
+173 ;;EOR^
+174 ;;KEY^863.4:^LAB TEST ID
+175 ;;R^"863.4:",.01,"E"
+176 ;;D^LAB TEST ID
+177 ;;R^"863.4:","863.41:1",.01,"E"
+178 ;;D^DATA TYPE
+179 ;;R^"863.4:","863.41:1",1,"E"
+180 ;;D^NUMERIC
+181 ;;EOR^
+182 ;;KEY^863.4:^ORDER FLAGGED
+183 ;;R^"863.4:",.01,"E"
+184 ;;D^ORDER FLAGGED
+185 ;;R^"863.4:","863.41:1",.01,"E"
+186 ;;D^DATA TYPE
+187 ;;R^"863.4:","863.41:1",1,"E"
+188 ;;D^BOOLEAN
+189 ;;EOR^
+190 ;;KEY^863.4:^ORDER MODE
+191 ;;R^"863.4:",.01,"E"
+192 ;;D^ORDER MODE
+193 ;;R^"863.4:","863.41:1",.01,"E"
+194 ;;D^DATA TYPE
+195 ;;R^"863.4:","863.41:1",1,"E"
+196 ;;D^FREE TEXT
+197 ;;EOR^
+198 ;;KEY^863.4:^ORDER NUMBER
+199 ;;R^"863.4:",.01,"E"
+200 ;;D^ORDER NUMBER
+201 ;;R^"863.4:","863.41:1",.01,"E"
+202 ;;D^DATA TYPE
+203 ;;R^"863.4:","863.41:1",1,"E"
+204 ;;D^NUMERIC
+205 ;;EOR^
+206 ;;KEY^863.4:^ORDER PATIENT
+207 ;;R^"863.4:",.01,"E"
+208 ;;D^ORDER PATIENT
+209 ;;R^"863.4:","863.41:1",.01,"E"
+210 ;;D^DATA TYPE
+211 ;;R^"863.4:","863.41:1",1,"E"
+212 ;;D^NUMERIC
+213 ;;EOR^
+214 ;;KEY^863.4:^ORDERABLE ITEM
+215 ;;R^"863.4:",.01,"E"
+216 ;;D^ORDERABLE ITEM
+217 ;;R^"863.4:","863.41:1",.01,"E"
+218 ;;D^DATA TYPE
+219 ;;R^"863.4:","863.41:1",1,"E"
+220 ;;D^FREE TEXT
+221 ;;EOR^
+222 ;;KEY^863.4:^ORDERABLE ITEM IEN
+223 ;;R^"863.4:",.01,"E"
+224 ;;D^ORDERABLE ITEM IEN
+225 ;;R^"863.4:","863.41:1",.01,"E"
+226 ;;D^DATA TYPE
+227 ;;R^"863.4:","863.41:1",1,"E"
+228 ;;D^NUMERIC
+229 ;;EOR^
+230 ;;KEY^863.4:^PT LOCATION
+231 ;;R^"863.4:",.01,"E"
+232 ;;D^PT LOCATION
+233 ;;R^"863.4:","863.41:1",.01,"E"
+234 ;;D^DATA TYPE
+235 ;;R^"863.4:","863.41:1",1,"E"
+236 ;;D^FREE TEXT
+237 ;;EOR^
+238 ;;KEY^863.4:^RENAL TEST ABNORMAL FLAG
+239 ;;R^"863.4:",.01,"E"
+240 ;;D^RENAL TEST ABNORMAL FLAG
+241 ;;R^"863.4:","863.41:1",.01,"E"
+242 ;;D^DATA TYPE
+243 ;;R^"863.4:","863.41:1",1,"E"
+244 ;;D^BOOLEAN
+245 ;;EOR^
+246 ;;KEY^863.4:^REQUEST STATUS
+247 ;;R^"863.4:",.01,"E"
+248 ;;D^REQUEST STATUS
+249 ;;R^"863.4:","863.41:1",.01,"E"
+250 ;;D^DATA TYPE
+251 ;;R^"863.4:","863.41:1",1,"E"
+252 ;;D^FREE TEXT
+253 ;;EOR^
+254 ;;KEY^863.4:^SITE FLAG ORDER
+255 ;;R^"863.4:",.01,"E"
+256 ;;D^SITE FLAG ORDER
+257 ;;R^"863.4:","863.41:1",.01,"E"
+258 ;;D^DATA TYPE
+259 ;;R^"863.4:","863.41:1",1,"E"
+260 ;;D^BOOLEAN
+261 ;;EOR^
+262 ;;EOF^OCXS(863.4)^1
+263 ;;SOF^863.2 OCX MDD SUBJECT
+264 ;;KEY^863.2:^PATIENT
+265 ;;R^"863.2:",.01,"E"
+266 ;;D^PATIENT
+267 ;;R^"863.2:","863.21:1",.01,"E"
+268 ;;D^FILE
+269 ;;R^"863.2:","863.21:1",1,"E"
+270 ;;D^2
+271 ;;EOR^
+272 ;;EOF^OCXS(863.2)^1
+273 ;;SOF^863.3 OCX MDD LINK
+274 ;;KEY^863.3:^CURRENT_DATE/TIME
+275 ;;R^"863.3:",.01,"E"
+276 ;;D^CURRENT_DATE/TIME
+277 ;;R^"863.3:",.02,"E"
+278 ;;D^PATIENT
+279 ;;R^"863.3:",.05,"E"
+280 ;;D^DATE/TIME
+281 ;;R^"863.3:",.06,"E"
+282 ;;D^999
+283 ;;R^"863.3:","863.32:1",.01,"E"
+284 ;;D^OCXO EXTERNAL FUNCTION CALL
+285 ;;R^"863.3:","863.32:1",1,"E"
+286 ;;D^INT2DT($$DT2INT("N"),0)
+287 ;;EOR^
+288 ;;KEY^863.3:^PATIENT.CM_CREAT_DAYS
+289 ;;R^"863.3:",.01,"E"
+290 ;;D^PATIENT.CM_CREAT_DAYS
+291 ;;R^"863.3:",.02,"E"
+292 ;;D^PATIENT
+293 ;;R^"863.3:",.05,"E"
+294 ;;D^CM_CREATININE DAYS
+295 ;;R^"863.3:",.06,"E"
+296 ;;D^7789
+297 ;;R^"863.3:","863.32:1",.01,"E"
+298 ;;D^OCXO EXTERNAL FUNCTION CALL
+299 ;;R^"863.3:","863.32:1",1,"E"
+300 ;;D^CMCDAYS^ORKRA(|PATIENT IEN|)
+301 ;;R^"863.3:","863.32:2",.01,"E"
+302 ;;D^OCXO UP-ARROW PIECE NUMBER
+303 ;;R^"863.3:","863.32:2",1,"E"
+304 ;;D^1
+305 ;;EOR^
+306 ;;KEY^863.3:^PATIENT.CM_CREAT_FLAG
+307 ;;R^"863.3:",.01,"E"
+308 ;;D^PATIENT.CM_CREAT_FLAG
+309 ;;R^"863.3:",.02,"E"
+310 ;;D^PATIENT
+311 ;;R^"863.3:",.05,"E"
+312 ;;D^CM_CREATININE FLAG
+313 ;;R^"863.3:",.06,"E"
+314 ;;D^5677
+315 ;;R^"863.3:","863.32:1",.01,"E"
+316 ;;D^OCXO EXTERNAL FUNCTION CALL
+317 ;;R^"863.3:","863.32:1",1,"E"
+318 ;;D^RECCREAT(|PATIENT IEN|,|CM-CREAT DAYS|)
+319 ;;R^"863.3:","863.32:2",.01,"E"
+320 ;;D^OCXO UP-ARROW PIECE NUMBER
+321 ;;R^"863.3:","863.32:2",1,"E"
+322 ;;D^1
+323 ;;EOR^
+324 ;;KEY^863.3:^PATIENT.CONTR_MED_CODE
+325 ;;R^"863.3:",.01,"E"
+326 ;;D^PATIENT.CONTR_MED_CODE
+327 ;;R^"863.3:",.02,"E"
+328 ;;D^PATIENT
+329 ;;R^"863.3:",.05,"E"
+330 ;;D^CONTRAST MEDIA CODE
+331 ;;R^"863.3:",.06,"E"
+332 ;1;
+333 ;