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

GMTS1003.m

Go to the documentation of this file.
  1. GMTS1003 ;IHS/MSC/MGH - GMTS Package Update Utility ;23-Mar-2010 16:23;DU
  1. ;;2.7;VA Health Summary;**1003**;APR 24, 1997;Build 3
  1. ;=================================================================
  1. ;
  1. ;
  1. ENV ; EP Environment checker for EHR patch 6 updates
  1. N PATCH,X,Y
  1. S X=$$NOW^XLFDT
  1. ;Check for patch 6 of the EHR
  1. S IN="EHR*1.1*6",INSTDA=""
  1. I '$D(^XPD(9.7,"B",IN)) D Q
  1. .W !,"You must first install the EHR patch 6 before installing GMTS patch 1003" S XPDQUIT=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. .W !,"EHR patch 6 must be completely installed before installing GMTS patch 1003" S XPDQUIT=2
  1. S (XPDDIQ("XPZ1"),XPDDIQ("XPZ2"))=0
  1. Q