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

AGED7A.m

Go to the documentation of this file.
AGED7A ; IHS/ASDS/EFG - PAGE 7 (cont) ;  
 ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
 ;
ALPHORD ;
 D ^AGED
 W ! ;!,"POLICIES:",!
 S AG("CNAME")=" ",AG("CCTR")=0
 F  S AG("CNAME")=$O(AG("ALPHORD",AG("CNAME"))) Q:AG("CNAME")=""  D
 .S AG("INSDUP")=""
 .F AG("CTR2")=1:1 S AG("INSDUP")=$O(AG("ALPHORD",AG("CNAME"),AG("INSDUP"))) Q:'+AG("INSDUP")  S AG("CCTR")=AG("CCTR")+1 D
 ..S AG("ALPHORD",AG("CCTR"))=+AG("ALPHORD",AG("CNAME"),AG("INSDUP"))
 ..W !,$J(AG("CCTR"),2),". ",AG("CNAME")
 ..W ?35,$P(AG("ALPHORD",AG("CNAME"),AG("INSDUP")),U,3)
 ..W ?52,$P(AG("ALPHORD",AG("CNAME"),AG("INSDUP")),U,5)
 Q