VistA-WorldVistAEHR/r/MENTAL_HEALTH-YS-RUCL-YI-YT/YSXRAW1.m

14 lines
329 B
Mathematica

YSXRAW1 ; COMPILED XREF FOR FILE #627 ; 01/30/05
;
S DIKZK=2
S DIKZ(0)=$G(^DIC(627,DA,0))
S X=$P(DIKZ(0),U,2)
I X'="" K ^DIC(627,"D",$E(X,1,30),DA)
S DIKZ(2)=$G(^DIC(627,DA,2))
S X=$P(DIKZ(2),U,1)
I X'="" X ^DD(627,3,1,1,2)
S DIKZ(0)=$G(^DIC(627,DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" K ^DIC(627,"B",$E(X,1,30),DA)
END Q