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

12 lines
348 B
Mathematica
Raw Normal View History

2009-11-29 13:37:14 -05:00
IBDX21 ; COMPILED XREF FOR FILE #357.2 ; 01/30/05
;
S DIKZK=2
S DIKZ(0)=$G(^IBE(357.2,DA,0))
S X=$P(DIKZ(0),U,2)
I X'="" K ^IBE(357.2,"C",$E(X,1,30),DA)
S X=$P(DIKZ(0),U,14)
I X'="" K:X&$P($G(^IBE(357.2,DA,0)),U,2) ^IBE(357.2,"AD",$P($G(^IBE(357.2,DA,0)),U,2),DA)
S X=$P(DIKZ(0),U,1)
I X'="" K ^IBE(357.2,"B",$E(X,1,30),DA)
END G ^IBDX22