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

SRHLXTMP.m

Go to the documentation of this file.
SRHLXTMP ;B'HAM ISC/DLR - Surgery Interface Purge ^XTMP("SRHL7"_CASE# ; [ 05/06/98   7:14 AM ]
 ;;3.0; Surgery ;**41**;24 Jun 93
 ; Per VHA Directive 10-93-142, this routine SHOULD NOT be modified.
 ;this routine is used to purge entries from the XTMP global
 N SRX,SRX1
 S SRX="" F  S SRX=$O(^XTMP(SRX)) Q:SRX=""  I SRX["SRHL7" S SRX1=0 F  S SRX1=$O(^XTMP(SRX,SRX1)) Q:'SRX1  D
 .I '$D(^XTMP(SRX,SRX1,0)) K ^XTMP(SRX)
 .S X1=DT,X2=-1 D C^%DTC I ^XTMP(SRX,SRX1,0)'>X K ^XTMP(SRX)
 Q