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

ORY53507.m

Go to the documentation of this file.
ORY53507 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*535) ;FEB 15,2024 at 09:13
 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**535**;Dec 17,1997;Build 20
 ;;  ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
 ;
S ;
 ;
 D DOT^ORY535ES
 ;
 ;
 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 ^ORY53508
 ;
 Q
 ;
DATA ;
 ;
 ;;KEY^860.5:^DATABASE LOOKUP
 ;;R^"860.5:",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.5:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;EOR^
 ;;KEY^860.5:^HL7 COMMON ORDER SEGMENT
 ;;R^"860.5:",.01,"E"
 ;;D^HL7 COMMON ORDER SEGMENT
 ;;R^"860.5:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;EOR^
 ;;KEY^860.5:^HL7 PATIENT ID SEGMENT
 ;;R^"860.5:",.01,"E"
 ;;D^HL7 PATIENT ID SEGMENT
 ;;R^"860.5:",.02,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;EOR^
 ;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
 ;;R^"860.5:",.01,"E"
 ;;D^OERR ORDER EVENT FLAG PROTOCOL
 ;;R^"860.5:",.02,"E"
 ;;D^CPRS ORDER PROTOCOL
 ;;EOR^
 ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
 ;;R^"860.5:",.01,"E"
 ;;D^ORDER ENTRY ORDER PRESCAN
 ;;R^"860.5:",.02,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;EOR^
 ;;EOF^OCXS(860.5)^1
 ;;SOF^860.4  ORDER CHECK DATA FIELD
 ;;KEY^860.4:^FILLER
 ;;R^"860.4:",.01,"E"
 ;;D^FILLER
 ;;R^"860.4:",1,"E"
 ;;D^FILL
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
 ;;D^ORDER ENTRY ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
 ;;D^PATIENT.OPS_FILLER
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
 ;;D^HL7 COMMON ORDER SEGMENT
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
 ;;D^PATIENT.HL7_FILLER
 ;;EOR^
 ;;KEY^860.4:^OI LOCAL TEXT
 ;;R^"860.4:",.01,"E"
 ;;D^OI LOCAL TEXT
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
 ;;D^ORDER ENTRY ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
 ;;D^PATIENT.OPS_LOCAL_TEXT
 ;;EOR^
 ;;KEY^860.4:^ORDER MODE
 ;;R^"860.4:",.01,"E"
 ;;D^ORDER MODE
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
 ;;D^CPRS ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
 ;;D^ORDER ENTRY ORDER PRESCAN
 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
 ;;D^PATIENT.OPS_ORD_MODE
 ;;EOR^
 ;;KEY^860.4:^PATIENT IEN
 ;;R^"860.4:",.01,"E"
 ;;D^PATIENT IEN
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
 ;;D^CPRS ORDER PROTOCOL
 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
 ;;D^OERR ORDER EVENT FLAG PROTOCOL
 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
 ;;D^PATIENT.OERR_ORDER_PATIENT
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
 ;;D^PATIENT.IEN
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
 ;;D^GENERIC HL7 MESSAGE ARRAY
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
 ;;D^HL7 PATIENT ID SEGMENT
 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
 ;;D^PATIENT.HL7_PATIENT_ID
 ;;EOR^
 ;;KEY^860.4:^RECENT METFORMIN EGFR DAYS
 ;;R^"860.4:",.01,"E"
 ;;D^RECENT METFORMIN EGFR DAYS
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
 ;;D^PATIENT.METFORMIN_EGFR_DAYS
 ;;EOR^
 ;;KEY^860.4:^RECENT METFORMIN EGFR FLAG
 ;;R^"860.4:",.01,"E"
 ;;D^RECENT METFORMIN EGFR FLAG
 ;;R^"860.4:",101,"E"
 ;;D^BOOLEAN
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
 ;;D^PATIENT.METFORMIN_EGFR_FLAG
 ;;EOR^
 ;;KEY^860.4:^RECENT METFORMIN EGFR RESULT
 ;;R^"860.4:",.01,"E"
 ;;D^RECENT METFORMIN EGFR RESULT
 ;;R^"860.4:",101,"E"
 ;;D^NUMERIC
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
 ;;D^PATIENT.METFORMIN_EGFR_RSLT
 ;;EOR^
 ;;KEY^860.4:^RECENT METFORMIN EGFR TEXT
 ;;R^"860.4:",.01,"E"
 ;;D^RECENT METFORMIN EGFR TEXT
 ;;R^"860.4:",101,"E"
 ;;D^FREE TEXT
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
 ;;D^PATIENT.METFORMIN_EGFR_TEXT
 ;;EOR^
 ;;EOF^OCXS(860.4)^1
 ;;SOF^860.3  ORDER CHECK ELEMENT
 ;;KEY^860.3:^METFORMIN EGFR < 45
 ;;R^"860.3:",.01,"E"
 ;;D^METFORMIN EGFR < 45
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^RECENT METFORMIN EGFR RESULT
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LESS THAN
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^45
 ;;EOR^
 ;;KEY^860.3:^METFORMIN ORDER
 ;;R^"860.3:",.01,"E"
 ;;D^METFORMIN 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^ORDER MODE
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^EQ FREE TEXT
 ;;R^"860.3:","860.31:1",3,"E"
 ;;D^SELECT
 ;;R^"860.3:","860.31:2",.01,"E"
 ;;D^2
 ;;R^"860.3:","860.31:2",1,"E"
 ;;D^FILLER
 ;;R^"860.3:","860.31:2",2,"E"
 ;;D^STARTS WITH
 ;;R^"860.3:","860.31:2",3,"E"
 ;;D^PS
 ;;R^"860.3:","860.31:3",.01,"E"
 ;;D^3
 ;;R^"860.3:","860.31:3",1,"E"
 ;;D^OI LOCAL TEXT
 ;;R^"860.3:","860.31:3",2,"E"
 ;;D^CONTAINS NOCASE ELEMENT IN SET
 ;;R^"860.3:","860.31:3",3,"E"
 ;;D^GLUCOPHAGE,METFORMIN
 ;;R^"860.3:","860.31:3",3.1,"E"
 ;;D^1
 ;;EOR^
 ;;KEY^860.3:^NO METFORMIN EGFR
 ;;R^"860.3:",.01,"E"
 ;;D^NO METFORMIN EGFR
 ;;R^"860.3:",.02,"E"
 ;;D^DATABASE LOOKUP
 ;;R^"860.3:","860.31:1",.01,"E"
 ;;D^1
 ;;R^"860.3:","860.31:1",1,"E"
 ;;D^RECENT METFORMIN EGFR FLAG
 ;;R^"860.3:","860.31:1",2,"E"
 ;;D^LOGICAL FALSE
 ;;EOR^
 ;;EOF^OCXS(860.3)^1
 ;;SOF^860.2  ORDER CHECK RULE
 ;;KEY^860.2:^METFORMIN EGFR - LAB RESULTS
 ;;R^"860.2:",.01,"E"
 ;;D^METFORMIN EGFR - LAB RESULTS
 ;;R^"860.2:","860.21:1",.01,"E"
 ;;D^METFORMIN ORDER
 ;;R^"860.2:","860.21:1",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:1",1,"E"
 ;;D^METFORMIN ORDER
 ;;R^"860.2:","860.21:2",.01,"E"
 ;;D^METFORMIN EGFR < 45
 ;;R^"860.2:","860.21:2",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:2",1,"E"
 ;;D^METFORMIN EGFR < 45
 ;;R^"860.2:","860.21:3",.01,"E"
 ;;D^NO METFORMIN EGFR
 ;;R^"860.2:","860.21:3",.02,"E"
 ;;D^SIMPLE DEFINITION
 ;;R^"860.2:","860.21:3",1,"E"
 ;;D^NO METFORMIN EGFR
 ;;R^"860.2:","860.22:1",.01,"E"
 ;;D^1
 ;;R^"860.2:","860.22:1",1,"E"
 ;;D^METFORMIN ORDER AND METFORMIN EGFR < 45
 ;;R^"860.2:","860.22:1",2,"E"
 ;;D^METFORMIN EGFR-LAB RESULTS
 ;;R^"860.2:","860.22:1",6,"E"
 ;;D^Metformin - EGFR results: |RECENT METFORMIN EGFR TEXT|
 ;;R^"860.2:","860.22:2",.01,"E"
 ;;D^2
 ;;R^"860.2:","860.22:2",1,"E"
 ;;D^METFORMIN ORDER AND NO METFORMIN EGFR
 ;;R^"860.2:","860.22:2",2,"E"
 ;;D^METFORMIN EGFR-LAB RESULTS
 ;1;
 ;