30 lines
791 B
Mathematica
30 lines
791 B
Mathematica
RTXR1 ; COMPILED XREF FOR FILE #190 ; 10/15/04
|
|
;
|
|
S DIKZK=2
|
|
S DIKZ(0)=$G(^RT(DA,0))
|
|
S X=$P(DIKZ(0),U,3)
|
|
I X'="" K ^RT("AT",X,$P(^RT(DA,0),U),DA)
|
|
S X=$P(DIKZ(0),U,4)
|
|
I X'="" K ^RT("AA",X,$P(^RT(DA,0),U),DA)
|
|
S X=$P(DIKZ(0),U,5)
|
|
I X'="" K ^RT("P",$E(X,1,30),DA)
|
|
S X=$P(DIKZ(0),U,6)
|
|
I X'="" K ^RT("AH",$E(X,1,30),DA)
|
|
S X=$P(DIKZ(0),U,9)
|
|
I X'="" K ^RT("C",$E(X,1,30),DA)
|
|
S X=$P(DIKZ(0),U,11)
|
|
I X'="" K ^RT("AR",$E(X,1,30),DA)
|
|
S X=$P(DIKZ(0),U,13)
|
|
I X'="" K ^RT("AL",X,DA)
|
|
S DIKZ("CL")=$G(^RT(DA,"CL"))
|
|
S X=$P(DIKZ("CL"),U,5)
|
|
I X'="" K ^RT("ABOR",$E(X,1,30),DA)
|
|
S X=$P(DIKZ("CL"),U,6)
|
|
I X'="" K ^RT("AC",X,DA)
|
|
S DIKZ("OLDBC")=$G(^RT(DA,"OLDBC"))
|
|
S X=$E(DIKZ("OLDBC"),1,45)
|
|
I X'="" K ^RT("AOLDBC",$E(X,1,30),DA)
|
|
S X=$P(DIKZ(0),U,1)
|
|
I X'="" K ^RT("B",$E(X,1,30),DA)
|
|
END Q
|