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

BADEENV2.m

Go to the documentation of this file.
  1. BADEENV2 ;IHS/MSC/MGH - BADE ENVIRONMENT CHECK ROUTINE PATCH 2;20-Feb-2013 16:21;FJE
  1. ;;1.0;DENTAL/EDR INTERFACE;**1,2**;FEB 20, 2013;Build 7
  1. ;
  1. ENV ;EP
  1. N IN,PATCH,INSTDA,STAT
  1. ;Check for the installation of the EDR Patch 1
  1. S IN="BADE*1.0*1",INSTDA=""
  1. I '$D(^XPD(9.7,"B",IN)) D Q
  1. .D MES("You must first install the DENTAL/EDR INTERFACE BADE Patch 1 before this patch",2)
  1. S INSTDA=$O(^XPD(9.7,"B",IN,INSTDA),-1)
  1. S STAT=+$P($G(^XPD(9.7,INSTDA,0)),U,9)
  1. I STAT'=3 D Q
  1. .D MES("DENTAL/EDR INTERFACE BADE Patch 1 must be completely installed before installing this patch",2)
  1. ;
  1. ;Check for the installation of the AGG Patch 1
  1. S IN="AGG*1.0*1",INSTDA=""
  1. I '$D(^XPD(9.7,"B",IN)) D Q
  1. .D MES("You must first install the Patient Registration GUI Version 1.0 Patch 1 before this patch",2)
  1. S INSTDA=$O(^XPD(9.7,"B",IN,INSTDA),-1)
  1. S STAT=+$P($G(^XPD(9.7,INSTDA,0)),U,9)
  1. I STAT'=3 D Q
  1. .D MES("Patient Registration GUI Patch 1 must be completely installed before installing this patch",2)
  1. S (XPDDIQ("XPZ1"),XPDDIQ("XPZ2"))=0
  1. Q
  1. ;
  1. MES(TXT,QUIT) ;EP
  1. D BMES^XPDUTL(" "_$G(TXT))
  1. S:$G(QUIT) XPDABORT=QUIT
  1. Q
  1. ;