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

ACHSCR15.m

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