source: FOIAVistA/tag/r/SURGERY-SR/SRHLXTMP.m@ 628

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

initial load of FOIAVistA 6/30/08 version

File size: 483 bytes
Line 
1SRHLXTMP ;B'HAM ISC/DLR - Surgery Interface Purge ^XTMP("SRHL7"_CASE# ; [ 05/06/98 7:14 AM ]
2 ;;3.0; Surgery ;**41**;24 Jun 93
3 ; Per VHA Directive 10-93-142, this routine SHOULD NOT be modified.
4 ;this routine is used to purge entries from the XTMP global
5 N SRX,SRX1
6 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
7 .I '$D(^XTMP(SRX,SRX1,0)) K ^XTMP(SRX)
8 .S X1=DT,X2=-1 D C^%DTC I ^XTMP(SRX,SRX1,0)'>X K ^XTMP(SRX)
9 Q
Note: See TracBrowser for help on using the repository browser.