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

PSOEPVR.m

Go to the documentation of this file.
PSOEPVR ;BIRMINGHAM/VRN - ePCS VERSION CHECK ;7/8/21  14:57
 ;;7.0;OUTPATIENT PHARMACY;**545,735,731**;DEC 1997;Build 18
 ;
 Q
 ;
GUICHK(RESULTS,EPCSARY)   ; Return server version and minimum GUI client version
 ;
 ; RPC : ePCS VERSION CHECK
 ;
 K RESULTS
 I $G(EPCSARY)="" Q
 N EPCSLST,EPCSMINV
 S EPCSMINV="2.2.2.0"
 D FIND^DIC(19,"",1,"X",EPCSARY,1,,,,"EPCSLST")
 I 'EPCSLST("DILIST",0) Q
 S RESULTS=EPCSLST("DILIST","ID",1,1)
 S RESULTS=$P(RESULTS,"version ",2)_U_EPCSMINV
 Q