OCXDI03B ;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
;
;
;
Q
;
DATA ;
;
;;D^Procedure uses non-barium contrast media and patient is taking glucophage.
;;EOR^
;;KEY^860.2:^POLYPHARMACY
;;R^"860.2:",.01,"E"
;;D^POLYPHARMACY
;;R^"860.2:","860.21:1",.01,"E"
;;D^POLYPHARMACY
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^POLYPHARMACY
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^POLYPHARMACY
;;R^"860.2:","860.22:1",2,"E"
;;D^POLYPHARMACY
;;R^"860.2:","860.22:1",6,"E"
;;D^Potential polypharmacy - patient currently receiving |NUMBER OF MEDS| medications.
;;EOR^
;;KEY^860.2:^LAB RESULTS
;;R^"860.2:",.01,"E"
;;D^LAB RESULTS
;;R^"860.2:","860.21:1",.01,"E"
;;D^HL7 LAB RESULTS
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^HL7 FINAL LAB RESULT
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^HL7 LAB RESULTS
;;R^"860.2:","860.22:1",3,"E"
;;D^LAB RESULTS
;;R^"860.2:","860.22:1",5,"E"
;;D^Labs resulted - [|ORDERABLE ITEM NAME|]
;;EOR^
;;EOF^OCXS(860.2)^1
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI03B 1537 printed Dec 13, 2024@02:24:24 Page 2
OCXDI03B ;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 ;
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^Procedure uses non-barium contrast media and patient is taking glucophage.
+3 ;;EOR^
+4 ;;KEY^860.2:^POLYPHARMACY
+5 ;;R^"860.2:",.01,"E"
+6 ;;D^POLYPHARMACY
+7 ;;R^"860.2:","860.21:1",.01,"E"
+8 ;;D^POLYPHARMACY
+9 ;;R^"860.2:","860.21:1",.02,"E"
+10 ;;D^SIMPLE DEFINITION
+11 ;;R^"860.2:","860.21:1",1,"E"
+12 ;;D^POLYPHARMACY
+13 ;;R^"860.2:","860.22:1",.01,"E"
+14 ;;D^1
+15 ;;R^"860.2:","860.22:1",1,"E"
+16 ;;D^POLYPHARMACY
+17 ;;R^"860.2:","860.22:1",2,"E"
+18 ;;D^POLYPHARMACY
+19 ;;R^"860.2:","860.22:1",6,"E"
+20 ;;D^Potential polypharmacy - patient currently receiving |NUMBER OF MEDS| medications.
+21 ;;EOR^
+22 ;;KEY^860.2:^LAB RESULTS
+23 ;;R^"860.2:",.01,"E"
+24 ;;D^LAB RESULTS
+25 ;;R^"860.2:","860.21:1",.01,"E"
+26 ;;D^HL7 LAB RESULTS
+27 ;;R^"860.2:","860.21:1",.02,"E"
+28 ;;D^SIMPLE DEFINITION
+29 ;;R^"860.2:","860.21:1",1,"E"
+30 ;;D^HL7 FINAL LAB RESULT
+31 ;;R^"860.2:","860.22:1",.01,"E"
+32 ;;D^1
+33 ;;R^"860.2:","860.22:1",1,"E"
+34 ;;D^HL7 LAB RESULTS
+35 ;;R^"860.2:","860.22:1",3,"E"
+36 ;;D^LAB RESULTS
+37 ;;R^"860.2:","860.22:1",5,"E"
+38 ;;D^Labs resulted - [|ORDERABLE ITEM NAME|]
+39 ;;EOR^
+40 ;;EOF^OCXS(860.2)^1
+41 ;1;
+42 ;