RTXB6 ; COMPILED XREF FOR FILE #195.9001 ; 10/15/04
 ; 
 S DA(1)=DA S DA=0
A1 ;
 I $D(DISET) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
0 ;
A S DA=$O(^RTV(195.9,DA(1),"RECS",DA)) I DA'>0 S DA=0 G END
1 ;
 S DIKZ(0)=$G(^RTV(195.9,DA(1),"RECS",DA,0))
 S X=$P(DIKZ(0),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^RTV(195.9,D0,"RECS",D1,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y X ^DD(195.9001,.01,1,1,1.1) X ^DD(195.9001,.01,1,1,1.4)
 G:'$D(DIKLM) A Q:$D(DISET)
END G ^RTXB7
