76 lines
2.2 KiB
Mathematica
76 lines
2.2 KiB
Mathematica
ORY2210C ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*221) ;AUG 30,2005 at 11:41
|
|
;;3.0;ORDER ENTRY/RESULTS REPORTING;**221**;Dec 17,1997
|
|
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
|
;
|
|
S ;
|
|
;
|
|
D DOT^ORY221ES
|
|
;
|
|
;
|
|
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
|
|
;
|
|
;
|
|
;
|
|
Q
|
|
;
|
|
DATA ;
|
|
;
|
|
;;R^"860.2:","860.21:2",.01,"E"
|
|
;;D^PATIENT TAKING GLUCOPHAGE
|
|
;;R^"860.2:","860.21:2",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:2",1,"E"
|
|
;;D^PATIENT WITH GLUCOPHAGE MED
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^IF PROC USES NON-BARIUM MEDIA AND PATIENT TAKING GLUCOPHAGE
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^GLUCOPHAGE-CONTRAST MEDIA
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Procedure uses intravenous contrast media and patient is taking metformin.
|
|
;;EOR^
|
|
;;KEY^860.2:^GLUCOPHAGE - LAB RESULTS
|
|
;;R^"860.2:",.01,"E"
|
|
;;D^GLUCOPHAGE - LAB RESULTS
|
|
;;R^"860.2:","860.21:1",.01,"E"
|
|
;;D^GLUCOPHAGE ORDER
|
|
;;R^"860.2:","860.21:1",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:1",1,"E"
|
|
;;D^GLUCOPHAGE ORDER
|
|
;;R^"860.2:","860.21:2",.01,"E"
|
|
;;D^GLUCOPHAGE CREATININE > 1.5
|
|
;;R^"860.2:","860.21:2",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:2",1,"E"
|
|
;;D^GLUCOPHAGE CREATININE > 1.5
|
|
;;R^"860.2:","860.21:3",.01,"E"
|
|
;;D^NO GLUCOPHAGE CREATININE
|
|
;;R^"860.2:","860.21:3",.02,"E"
|
|
;;D^SIMPLE DEFINITION
|
|
;;R^"860.2:","860.21:3",1,"E"
|
|
;;D^NO GLUCOPHAGE CREATININE
|
|
;;R^"860.2:","860.22:1",.01,"E"
|
|
;;D^1
|
|
;;R^"860.2:","860.22:1",1,"E"
|
|
;;D^GLUCOPHAGE ORDER AND GLUCOPHAGE CREATININE > 1.5
|
|
;;R^"860.2:","860.22:1",2,"E"
|
|
;;D^GLUCOPHAGE-LAB RESULTS
|
|
;;R^"860.2:","860.22:1",6,"E"
|
|
;;D^Metformin - Creatinine results: |RECENT GLUCOPHAGE CREATININE TEXT|
|
|
;;R^"860.2:","860.22:2",.01,"E"
|
|
;;D^2
|
|
;;R^"860.2:","860.22:2",1,"E"
|
|
;;D^GLUCOPHAGE ORDER AND NO GLUCOPHAGE CREATININE
|
|
;;R^"860.2:","860.22:2",2,"E"
|
|
;;D^GLUCOPHAGE-LAB RESULTS
|
|
;;R^"860.2:","860.22:2",6,"E"
|
|
;;D^Metformin - no serum creatinine within past |RECENT GLUCOPHAGE CREATININE DAYS| days.
|
|
;;EOR^
|
|
;;EOF^OCXS(860.2)^1
|
|
;1;
|
|
;
|