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

SRHLENV.m

Go to the documentation of this file.
  1. SRHLENV ;B'HAM ISC/DLR - KIDS ENVIRONMENT CHECKER FOR HL7 SURGERY INTERFACE ; [ 06/10/98 2:55 PM ]
  1. ;;3.0; Surgery ;**41**;24 Jun 93
  1. N SITE,MSG
  1. W @IOF
  1. W !!,"Checking the SURGERY HL7 Environment",!
  1. I $S($D(DUZ)[0:1,$D(DUZ(0))[0:1,'DUZ:1,1:0) W !!,$C(7),">> DUZ and DUZ(0) must be defined as an active user to initialize." S XPDQUIT=2 Q
  1. S SITE=$$SITE^SROVAR I $G(SITE)="" S MSG="Warning: *** There is no default Institution. ***" D MES^XPDUTL(.MSG) G ABRT
  1. ;check for the existence of HL7 V. 1.6
  1. I $$VERSION^XPDUTL("HL")'=1.6 S MSG="HL7 V. 1.6 must be installed prior to installing this package." D MES^XPDUTL(.MSG) G ABRT
  1. W !!,"Environment check was successful!!"
  1. Q
  1. ABRT ;
  1. W !!,"Environment checker was aborted!!"
  1. S XPDQUIT=1
  1. Q