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

PSSPRE38.m

Go to the documentation of this file.
  1. PSSPRE38 ;BIR/RTR-Pre init routine ;04/03/00
  1. ;;1.0;PHARMACY DATA MANAGEMENT;**38**;9/30/97
  1. ;
  1. N PSSSYS
  1. S PSSSYS=+$O(^PS(59.7,0))
  1. I $P($G(^PS(59.7,PSSSYS,80)),"^",3)'=3 W !!,"Dosage conversion is not complete, cannot install!",! S XPDABORT=2 Q
  1. TIME ;
  1. N PSSTIMEZ
  1. K ^XTMP("PSSTIMEX")
  1. S X1=DT,X2=+30 D C^%DTC S PSSTIMEZ=$G(X)
  1. S ^XTMP("PSSTIMEX",0)=PSSTIMEZ_"^"_DT
  1. D NOW^%DTC S ^XTMP("PSSTIMEX","START")=%
  1. Q