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

ACHSCR5.m

Go to the documentation of this file.
ACHSCR5 ; COMPILED XREF FOR FILE #9002080.018 ; 07/25/18
 ; 
 S DA=0
A1 ;
 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
0 ;
A S DA=$O(^ACHSF(DA(1),18,DA)) I DA'>0 S DA=0 G END
1 ;
 S DIKZ(0)=$G(^ACHSF(DA(1),18,DA,0))
 S X=$P($G(DIKZ(0)),U,2)
 I X'="" K ^ACHSF("HVEA",X,DA(1),DA)
 S X=$P($G(DIKZ(0)),U,1)
 I X'="" K ^ACHSF(DA(1),18,"B",$E(X,1,30),DA)
 G:'$D(DIKLM) A Q:$D(DIKILL)
END G ^ACHSCR6