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

ADGUTIL.m

Go to the documentation of this file.
ADGUTIL ; IHS/ADC/PDW/ENM - IHS ADT UTILITIES ; [ 03/25/1999  11:48 AM ]
 ;;5.0;ADMISSION/DISCHARGE/TRANSFER;;MAR 25, 1999
 ;
TIME ;ENTRY POINT to print time only
 N X
 S X=$E($$HTFM^XLFDT($H),1,12)
 W $P($$FMTE^XLFDT(X,"2P")," ",2,3)
 Q
 ;
CONF(X) ;EP; prints confidential message
 W !?X,"*****Confidential Patient Data Covered by Privacy Act*****"
 Q
 ;
KILL ;EP;entry point to kill all ADT variables except package-wide ones
 ;kill Fileman variables
 K DIC,DIR,DA,DICRS,DIDEL,DIE,DIEL,DIEZ,DIFLD,DIG,DIH,DIK,DINUM
 K DIOT,DIP,DIR,DIROUT,DIRUT,DIS,DIS1,DIS2,DIV,DIWF,DIXX,DL
 K DLAYGO,DIB,DLOUT,DN,DNM,DO,DOW,DP,DQ,DR,DR1,DRENT
 K DSC,DU,DV,DW,DWLW,DZ
 K %,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,V,W,X,Y,Z   ;all but U
 ;
 ;kill non-namespaced variables used by VA ADT routines
 K DFN1,AD,ADMD,LL,MSG,MSG1,PTF,TDD
 ;
 ;kill system-wide variables
 K DFN,SSN,AGE,DOB,SEX
 ;
 ;kill variables used by ^AUDICLK
 K G,GL,LKDATA,LKPRINT,PCC
 ;
 ;kill variables used by taskman
 K:$G(ZTSK)]"" ^%ZTSK(ZTSK),ZTSK
 ;
 ;kill namespaced variables
 K DG0,DG1,DG1DAY,DG2,DG3,DG3T,DG4,DG5,DG55,DGA,DGA1,DGAA,DGAACT
 K DGAB,DGAB1,DGAB9,DGABL,DGACNT,DGAD,DGADCNT,DGADCT,DGADM,DGADMT
 K DGADP,DGADT,DGADWK,DGAGE,DGAL,DGALP,DGALT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