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

AQAOPREE.m

Go to the documentation of this file.
  1. AQAOPREE ; IHS/ORDC/LJF - ENVIRONMENT CHECK PRE-INIT ;
  1. ;;1.01;QAI MANAGEMENT;;OCT 05, 1995
  1. ;
  1. ;This is the main driver for QAI pre-inits. It check for the
  1. ;presence of required software before allowing installation of the
  1. ;QAI package. Then is calls the standard IHS pre-init ^AQAOPREI.
  1. ;
  1. W !!!!,"Checking environment . . .",!!
  1. F I=1:1:6 S AQAONS=$P($T(PKG+I),";;",2) Q:AQAONS="" D
  1. .S X=0
  1. .F S X=$O(^DIC(9.4,"C",AQAONS,X)) Q:X="" D
  1. ..S V=$G(^DIC(9.4,X,"VERSION"))
  1. ..I V<$P($T(PKG+I),";;",3),'$O(^DIC(9.4,"C",AQAONS,X)) K DIFQ D
  1. ...W !!,"VERSION ",$P($T(PKG+I),";;",3)," of ",$P($T(PKG+I),";;",4)
  1. ...W " has NOT been installed!"
  1. ;
  1. I '$D(DIFQ) W !!,*7,"CANNOT CONTINUE. INSTALLATION STOPPED." Q
  1. ;
  1. PKDEL ; delete pkg options, templates
  1. S XBPKNSP="AQAO" K XBPKEY D ^XBPKDEL I '$D(DIFQ) Q
  1. ;
  1. PREI ; call standard IHS pre-init
  1. D ^AQAOPREI
  1. ;
  1. END K I,X,V
  1. Q
  1. ;
  1. ;
  1. PKG ;;
  1. ;;XU;;7;;KERNEL
  1. ;;APCD;;1.6;;PCC DATA ENTRY
  1. ;;AUT;;93.2;;IHS DICTIONARIES (POINTERS)
  1. ;;AUPN;;93.1;;IHS DICTIONARIES (PATIENT)
  1. ;;AVA;;93.2;;IHS VA SUPPORT FILES
  1. ;;AMQQ;;2;;Q-MAN
  1. ;;ATS;;2.5;;SEARCH TEMPLATE SYSTEM