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

BGPM5CHK.m

Go to the documentation of this file.
  1. BGPM5CHK ;IHS/MSC/MMT-CREATED BY ^ATXSTX ON AUG 04, 2011;
  1. ;;11.1;IHS CLINICAL REPORTING SYSTEM;**1**;JUN 27, 2011;Build 106
  1. ;
  1. ENV S IN="IHS CLINICAL REPORTING 11.1",INSTDA=""
  1. I '$D(^XPD(9.7,"B",IN)) D Q
  1. .W !,"You must first install the IHS CLINICAL REPORTING 11.1 before installing this patch"
  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 !,"IHS CLINICAL REPORTING 11.1 must be completely installed before installing this patch"
  1. ; The following line prevents the "Disable Options..." and "Move
  1. ; Routines..." questions from being asked during the install.
  1. S (XPDDIQ("XPZ1"),XPDDIQ("XPZ2"))=0
  1. Q
  1. ;
  1. PRE ;PRE-INSTALL ROUTINE
  1. K ^BGPMUIND(90595.11)
  1. K ^BGPMUIND(90596.11)
  1. D PRE^BGP1DPA9
  1. Q
  1. POST ;Post-Install routine
  1. ;S X=$$RENAME^XPDMENU("BGPMU HOSPITAL PERF MEASURES","HOS")
  1. ;I 'X W "Attempt to add BGPMU MAIN MENU option failed." H 3
  1. D POST^BGP1DPA9
  1. D START^BGPM5
  1. Q
  1. PATCHCK(XPXPCH) ;
  1. S X=$$PATCH^XPDUTL(XPXPCH)
  1. W !!,$$C^XBFUNC("Need "_XPXPCH_"....."_XPXPCH_" "_$S(X:"Is",1:"Is Not")_" Present")
  1. Q X