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

ORY42307.m

Go to the documentation of this file.
  1. ORY42307 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*423) ;JUN 29,2016 at 06:15
  1. ;;3.0;ORDER ENTRY/RESULTS REPORTING;**423**;Dec 17,1997;Build 19
  1. ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
  1. ;
  1. S ;
  1. ;
  1. D DOT^ORY423ES
  1. ;
  1. ;
  1. K REMOTE,LOCAL,OPCODE,REF
  1. F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
  1. .S ^TMP("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
  1. ;
  1. ;
  1. ;
  1. Q
  1. ;
  1. DATA ;
  1. ;
  1. ;;R^"860.5:",.02,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;EOR^
  1. ;;EOF^OCXS(860.5)^1
  1. ;;SOF^860.4 ORDER CHECK DATA FIELD
  1. ;;KEY^860.4:^CONTROL CODE
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^CONTROL CODE
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
  1. ;;D^HL7 COMMON ORDER SEGMENT
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
  1. ;;D^PATIENT.HL7_CONTROL_CODE
  1. ;;EOR^
  1. ;;KEY^860.4:^INPT/OUTPT
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^INPT/OUTPT
  1. ;;R^"860.4:",1,"E"
  1. ;;D^IPT/OPT
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
  1. ;;D^PATIENT.INPT/OUTPT
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDER NUMBER
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDER NUMBER
  1. ;;R^"860.4:",101,"E"
  1. ;;D^NUMERIC
  1. ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
  1. ;;D^CPRS ORDER PRESCAN
  1. ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
  1. ;;D^ORDER ENTRY ORDER PRESCAN
  1. ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
  1. ;;D^PATIENT.OPS_ORDER NUMBER
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
  1. ;;D^CPRS ORDER PROTOCOL
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
  1. ;;D^OERR ORDER EVENT FLAG PROTOCOL
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
  1. ;;D^PATIENT.OERR ORDER NUMBER
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
  1. ;;D^HL7 COMMON ORDER SEGMENT
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
  1. ;;D^PATIENT.HL7 ORDER NUMBER
  1. ;;EOR^
  1. ;;KEY^860.4:^ORDER TYPE
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^ORDER TYPE
  1. ;;R^"860.4:",1,"E"
  1. ;;D^ORDTYPE
  1. ;;R^"860.4:",101,"E"
  1. ;;D^FREE TEXT
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
  1. ;;D^ORDER TYPE
  1. ;;EOR^
  1. ;;KEY^860.4:^PATIENT IEN
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^PATIENT IEN
  1. ;;R^"860.4:",101,"E"
  1. ;;D^NUMERIC
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
  1. ;;D^CPRS ORDER PROTOCOL
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
  1. ;;D^OERR ORDER EVENT FLAG PROTOCOL
  1. ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
  1. ;;D^PATIENT.OERR_ORDER_PATIENT
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
  1. ;;D^PATIENT.IEN
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
  1. ;;D^HL7 PATIENT ID SEGMENT
  1. ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
  1. ;;D^PATIENT.HL7_PATIENT_ID
  1. ;;EOR^
  1. ;;KEY^860.4:^SITE FLAGGED ORDER
  1. ;;R^"860.4:",.01,"E"
  1. ;;D^SITE FLAGGED ORDER
  1. ;;R^"860.4:",1,"E"
  1. ;;D^SITEORD
  1. ;;R^"860.4:",101,"E"
  1. ;;D^BOOLEAN
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
  1. ;;D^DATABASE LOOKUP
  1. ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
  1. ;;D^PATIENT.SITE_FLAGGED_ORDER
  1. ;;EOR^
  1. ;;EOF^OCXS(860.4)^1
  1. ;;SOF^860.3 ORDER CHECK ELEMENT
  1. ;;KEY^860.3:^INPATIENT
  1. ;;R^"860.3:",.01,"E"
  1. ;;D^INPATIENT
  1. ;;R^"860.3:",.02,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.3:","860.31:1",.01,"E"
  1. ;;D^1
  1. ;;R^"860.3:","860.31:1",1,"E"
  1. ;;D^ORDER TYPE
  1. ;;R^"860.3:","860.31:1",2,"E"
  1. ;;D^EQ FREE TEXT
  1. ;;R^"860.3:","860.31:1",3,"E"
  1. ;;D^"I"
  1. ;;EOR^
  1. ;;KEY^860.3:^NEW SITE FLAGGED ORDER
  1. ;;R^"860.3:",.01,"E"
  1. ;;D^NEW SITE FLAGGED ORDER
  1. ;;R^"860.3:",.02,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.3:","860.31:1",.01,"E"
  1. ;;D^1
  1. ;;R^"860.3:","860.31:1",1,"E"
  1. ;;D^SITE FLAGGED ORDER
  1. ;;R^"860.3:","860.31:1",2,"E"
  1. ;;D^LOGICAL TRUE
  1. ;;R^"860.3:","860.31:2",.01,"E"
  1. ;;D^2
  1. ;;R^"860.3:","860.31:2",1,"E"
  1. ;;D^CONTROL CODE
  1. ;;R^"860.3:","860.31:2",2,"E"
  1. ;;D^EQUALS ELEMENT IN SET
  1. ;;R^"860.3:","860.31:2",3,"E"
  1. ;;D^NW,SN,XO
  1. ;;EOR^
  1. ;;KEY^860.3:^OUTPATIENT
  1. ;;R^"860.3:",.01,"E"
  1. ;;D^OUTPATIENT
  1. ;;R^"860.3:",.02,"E"
  1. ;;D^GENERIC HL7 MESSAGE ARRAY
  1. ;;R^"860.3:","860.31:1",.01,"E"
  1. ;;D^1
  1. ;;R^"860.3:","860.31:1",1,"E"
  1. ;;D^ORDER TYPE
  1. ;;R^"860.3:","860.31:1",2,"E"
  1. ;;D^EQ FREE TEXT
  1. ;;R^"860.3:","860.31:1",3,"E"
  1. ;;D^"O"
  1. ;;EOR^
  1. ;;EOF^OCXS(860.3)^1
  1. ;;SOF^860.2 ORDER CHECK RULE
  1. ;;KEY^860.2:^SITE FLAGGED ORDER
  1. ;;R^"860.2:",.01,"E"
  1. ;;D^SITE FLAGGED ORDER
  1. ;;R^"860.2:","860.21:1",.01,"E"
  1. ;;D^NEW SITE FLAGGED ORDER
  1. ;;R^"860.2:","860.21:1",.02,"E"
  1. ;;D^SIMPLE DEFINITION
  1. ;;R^"860.2:","860.21:1",1,"E"
  1. ;;D^NEW SITE FLAGGED ORDER
  1. ;;R^"860.2:","860.21:2",.01,"E"
  1. ;;D^INPATIENT
  1. ;;R^"860.2:","860.21:2",.02,"E"
  1. ;;D^SIMPLE DEFINITION
  1. ;;R^"860.2:","860.21:2",1,"E"
  1. ;;D^INPATIENT
  1. ;;R^"860.2:","860.21:3",.01,"E"
  1. ;;D^OUTPATIENT
  1. ;;R^"860.2:","860.21:3",.02,"E"
  1. ;;D^SIMPLE DEFINITION
  1. ;;R^"860.2:","860.21:3",1,"E"
  1. ;;D^OUTPATIENT
  1. ;;R^"860.2:","860.22:1",.01,"E"
  1. ;;D^1
  1. ;;R^"860.2:","860.22:1",1,"E"
  1. ;;D^NEW SITE FLAGGED ORDER AND INPATIENT
  1. ;;R^"860.2:","860.22:1",9,"E"
  1. ;;D^D FIREFLOI^ORB3F1(|ORDER NUMBER|,|PT LOC|,|ORDER ST D/T|,|INPT/OUTPT|)
  1. ;;R^"860.2:","860.22:2",.01,"E"
  1. ;;D^2
  1. ;;R^"860.2:","860.22:2",1,"E"
  1. ;;D^NEW SITE FLAGGED ORDER AND OUTPATIENT
  1. ;;R^"860.2:","860.22:2",9,"E"
  1. ;;D^D FIREFLOI^ORB3F1(|ORDER NUMBER|,|PT LOC|,|ORDER ST D/T|,|INPT/OUTPT|)
  1. ;;EOR^
  1. ;;EOF^OCXS(860.2)^1
  1. ;1;
  1. ;