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

LR7OPOS.m

Go to the documentation of this file.
  1. LR7OPOS ;slc/dcm - POST-Initialization routine ;12/18/97 08:34
  1. ;;5.2;LAB SERVICE;**166**;Sep 27, 1994
  1. ;
  1. EN ;Enter here for post initialization patch LR*5.2*166
  1. I $$VER^LR7OU1<3 Q ;OE/RR 2.5 Check
  1. N LRCHK
  1. S X=$O(^ORD(101,"B","OR RECEIVE",0)) I 'X D MES^XPDUTL("Unable to continue. OE/RR 3.0 not installed. Conversion aborted!") Q ;OE/RR not installed
  1. S Y=$O(^ORD(101,"B","LR7O CH EVSEND OR",0)) I 'Y D MES^XPDUTL("Unable to continue. Lab protocols for OE/RR have not been installed"),MES^XPDUTL("Conversion aborted!") Q ;Lab protocol not found
  1. I '$D(^ORD(101,Y,10,"B",X)) D MES^XPDUTL("Unable to continue. OE/RR protocol 'OR RECEIVE' has not been placed on the"),MES^XPDUTL("Lab protocols. Conversion aborted!") Q ;OE/RR not on Lab protocol
  1. S LRCHK=$$NEWCP^XPDUTL("POST3","L69^LR7OPOS")
  1. Q
  1. L69 ;Send Lab order parameters to OE/RR
  1. Q:'$L($T(XPAR^XPAR))
  1. N X
  1. D BMES^XPDUTL("Now sending Lab order parameters to OE/RR...")
  1. D EN^LR7OV1
  1. Q