source: FOIAVistA/trunk/r/GEN_MED_REC_GENERATOR-GMRG/GMRGXPRE.m@ 1654

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

initial load of FOIAVistA 6/30/08 version

File size: 826 bytes
Line 
1GMRGXPRE ;HIRMFO/RM-GMRG PRE-INIT ROUTINE ;9/18/95
2 ;;3.0;Text Generator;;Jan 24, 1996
3 I $S('$D(DUZ)#2!'$D(DUZ(0)):1,DUZ(0)="@":0,1:1) W !,"The variables DUZ and DUZ(0) must be set initially to continue.",!,"DUZ must be a valid user number, and DUZ(0) must equal @" K DIFQ Q
4 I $T(VERSION^XPDUTL)']"" W !!,"KERNEL TOOLKIT V. 7.2 OR GREATER IS REQUIRED - CANNOT CONTINUE:" K DIFQ Q
5 S GMRG=+$$VERSION^XPDUTL("KERNEL") I GMRG<7.1 W !!,"KERNEL V. 7.1 OR GREATER IS REQUIRED - CANNOT CONTINUE:" K GMRG,DIFQ Q
6 S GMRG=+$$VERSION^XPDUTL("VA FILEMAN") I GMRG<21 W !!,"VA FILEMAN V. 21 OR GREATER IS REQUIRED - CANNOT CONTINUE:" K GMRG,DIFQ Q
7 S GMRG=+$$VERSION^XPDUTL("REGISTRATION") I GMRG<5.3 W !!,"PIMS (MAS) V. 5.3 OR GREATER IS REQUIRED - CANNOT CONTINUE:" K GMRG,DIFQ Q
8 D PRE^GMRGXAGC
9 S GMRGXVER=$$VERSION^XPDUTL("GMRG")
10 Q
Note: See TracBrowser for help on using the repository browser.