Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ORY12807

ORY12807.m

Go to the documentation of this file.
ORY12807 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*128) ;JAN 3,2002 at 16:11
 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**128**;Dec 17,1997
 ;;  ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
 ;
S ;
 ;
 D DOT^ORY128ES
 ;
 ;
 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 ;
 ;
 ;;D^ALLERGY ASSESSMENT
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL FALSE
 ;;R^"860.3:","860.31:2",.01,"E"
 ;;D^2
 ;;R^"860.3:","860.31:2",1,"E"
 ;;D^ORDER MODE
 ;;R^"860.3:","860.31:2",2,"E"
 ;;D^EQ FREE TEXT
 ;;R^"860.3:","860.31:2",3,"E"
 ;;D^SELECT
 ;;EOR^
 ;;KEY^860.3:^PHARMACY ORDER
 ;;R^"860.3:",.01,"E"
 ;;D^PHARMACY ORDER
 ;;R^"860.3:",.02,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^FILLER
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^STARTS WITH
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^PS
 ;;EOR^
 ;;KEY^860.3:^RADIOLOGY ORDER
 ;;R^"860.3:",.01,"E"
 ;;D^RADIOLOGY ORDER
 ;;R^"860.3:",.02,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^FILLER
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^EQ FREE TEXT
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^RA
 ;;EOR^
 ;;EOF^OCXS(860.3)^1
 ;;SOF^860.2  ORDER CHECK RULE
 ;;KEY^860.2:^NO ALLERGY ASSESSMENT
 ;;R^"860.2:",.01,"E"
 ;;D^NO ALLERGY ASSESSMENT
 ;;R^"860.2:","860.21:1",.01,"E"
 ;;D^NO ALLERGY ASSESSMENT
 ;;R^"860.2:","860.21:1",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:1",1,"E"
 ;;D^NO ALLERGY ASSESSMENT
 ;;R^"860.2:","860.21:3",.01,"E"
 ;;D^PHARMACY ORDER
 ;;R^"860.2:","860.21:3",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:3",1,"E"
 ;;D^PHARMACY ORDER
 ;;R^"860.2:","860.21:4",.01,"E"
 ;;D^DIET ORDER
 ;;R^"860.2:","860.21:4",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:4",1,"E"
 ;;D^DIET ORDER
 ;;R^"860.2:","860.21:5",.01,"E"
 ;;D^RADIOLOGY ORDER
 ;;R^"860.2:","860.21:5",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:5",1,"E"
 ;;D^RADIOLOGY ORDER
 ;;R^"860.2:","860.22:1",.01,"E"
 ;;D^1
 ;;R^"860.2:","860.22:1",1,"E"
 ;;D^NO ALLERGY ASSESSMENT AND (RADIOLOGY ORDER OR PHARMACY ORDER OR DIET ORDER)
 ;;R^"860.2:","860.22:1",2,"E"
 ;;D^NO ALLERGY ASSESSMENT
 ;;R^"860.2:","860.22:1",6,"E"
 ;;D^Patient has no allergy assessment.
 ;;R^"860.2:","860.22:1",9,"E"
 ;;D^Q:'$$NEWRULE(DFN,$J,39,1,999,"Patient has no allergy assessment.")
 ;;EOR^
 ;;EOF^OCXS(860.2)^1
 ;1;
 ;