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

AGRSSN2.m

Go to the documentation of this file.
AGRSSN2 ; IHS/ASDS/EFG - LISTING OF PATIENTS W/O SSN ;  
 ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
 ;
W1 W !!! S %ZIS="NQ",%ZIS("B")="" D ^%ZIS G:'$D(IO)!(POP) QUIT
 S AG("ION")=ION G:$D(IO("Q")) QUE G S2
PRQUE ;ENTER FROM TASK MANAGER
S2 S L=0,DIC="^AUPNPAT(",FLDS="[AGSSNLIST]",BY="[AGSSNLIST]",FR="@",TO="@"
 S IOP=AG("ION")_";80",AGPGPG=1,DOUT=$I
 D EN1^DIP
QUIT D ^%ZISC K AG
 Q
QUE K IO("Q") S ZTRTN="PRQUE^AGRSSN2",ZTDESC="LISTING OF PATIENTS W/O SSN" F AG="AG(""ION"")" S ZTSAVE(AG)=""
 D ^%ZTLOAD W:$D(ZTSK) !,"REQUEST QUEUED!",! G QUIT