13 lines
507 B
Mathematica
13 lines
507 B
Mathematica
A1CKC7 ; ;04/21/06
|
|
S X=DE(6),DIC=DIE
|
|
;
|
|
S X=DE(6),DIC=DIE
|
|
K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(2,.361,1,2,2.2) I DIV(1)>0 S DIK(0)=DA,DIK="^DPT(DIV(0),""E"",",DA(1)=DIV(0),DA=DIV(1) D ^DIK S DA=DIK(0) K DIK
|
|
S X=DE(6),DIC=DIE
|
|
X "I $S('$D(^DIC(8,+X,0)):0,$P(^(0),""^"",1)[""DOM"":0,'$D(^DPT(DA,.36)):1,'$D(^DIC(8,+^(.36),0)):1,$P(^(0),""^"",1)'[""DOM"":1,1:0) S DGXRF=.361 D ^DGDDC Q"
|
|
S X=DE(6),DIC=DIE
|
|
K ^DPT("AEL",DA,+X)
|
|
S X=DE(6),DIC=DIE
|
|
D AUTOUPD^DGENA2(DA)
|
|
S X=DE(6),DIIX=2_U_DIFLD D AUDIT^DIET
|