VistA-WorldVistAEHR/r/AUTOMATED_INFO_COLLECTION_S.../IBDX34.m

18 lines
696 B
Mathematica

IBDX34 ; COMPILED XREF FOR FILE #357.3 ; 01/30/05
;
S DIKZK=1
S DIKZ(0)=$G(^IBE(357.3,DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" S ^IBE(357.3,"B",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,3)
I X'="" S ^IBE(357.3,"C",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,3)
I X'="" I $P($G(^IBE(357.3,DA,0)),U,5)]"",$P(^(0),U,4) S ^IBE(357.3,"APO",X,$P(^(0),U,4),$P(^(0),U,5),DA)=""
S X=$P(DIKZ(0),U,4)
I X'="" S ^IBE(357.3,"D",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,4)
I X'="" I $P($G(^IBE(357.3,DA,0)),U,5)]"",$P(^(0),U,3) S ^IBE(357.3,"APO",$P(^(0),U,3),X,$P(^(0),U,5),DA)=""
S X=$P(DIKZ(0),U,5)
I X'="" I $P($G(^IBE(357.3,DA,0)),U,3),$P(^(0),U,4) S ^IBE(357.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)=""
END G ^IBDX35