source: WorldVistAEHR/trunk/r/LAB_SERVICE-LR-LS/LR175.m@ 724

Last change on this file since 724 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 1.1 KB
RevLine 
[613]1LR175 ;DALISC/SED - LR*5.2*175 PATCH ENVIRNMENT CHECK ROUTINE ; 5/1/98
2 ;;5.2;LAB SERVICE;**175**;Sep 27, 1994
3EN ; Does not prevent loading of the transport global.
4 ;Environment check is done only during the install.
5 Q:'$G(XPDENV)
6 D CHECK
7EXIT I $G(XPDQUIT) W !!,$$CJ^XLFSTR("Install Environment Check FAILED",80)
8 I '$G(XPDQUIT) W !!,$$CJ^XLFSTR("Environment Check is Ok ---",80)
9 K VER,RN,LN2
10 Q
11CHECK I $S('$G(IOM):1,'$G(IOSL):1,$G(U)'="^":1,1:0) W !,$$CJ^XLFSTR("Terminal Device is not defined",80),!! S XPDQUIT=2 Q
12 I $S('$G(DUZ):1,$D(DUZ)[0:1,$D(DUZ(0))[0:1,1:0) W !!,$$CJ^XLFSTR("Please Log in to set local DUZ... variables",80),! S XPDQUIT=2 Q
13 I '$D(^VA(200,$G(DUZ),0))#2 W !,$$CJ^XLFSTR("You are not a valid user on this system",80),! S XPDQUIT=2 Q
14LAB S VER=$$VERSION^XPDUTL("LR")
15 I VER'>5.1 W !,$$CJ^XLFSTR("You must have LAB V5.2 Installed",80),! S XPDQUIT=2 Q
16HL7 S VER=$$VERSION^XPDUTL("HL")
17 I VER'=1.6 W !,$$CJ^XLFSTR("You must have Health Level 7 V1.6 Installed",80),! S XPDQUIT=2 Q
18 S RN="LREPI2"
19 X "ZL @RN S LN2=$T(+2)" I LN2'["132" W !,$$CJ^XLFSTR("It appears that Patch 'LR*5.2*132' has not been installed",80),! S XPDQUIT=2
20 Q
Note: See TracBrowser for help on using the repository browser.