29 lines
1.0 KiB
Mathematica
29 lines
1.0 KiB
Mathematica
DVBAXA1 ; ;06/08/01
|
|
S X=DG(DQ),DIC=DIE
|
|
S ^DPT("BS",$E(X,6,9),DA)=""
|
|
S X=DG(DQ),DIC=DIE
|
|
K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DPT(D0,0)):^(0),1:"") S X=$P(Y(1),U,20),X=X S DIU=X K Y S X=DIV S X="1" X ^DD(2,.09,1,2,1.4)
|
|
S X=DG(DQ),DIC=DIE
|
|
S ^DPT("BS5",$E(^DPT(DA,0),1)_$E(X,6,9),DA)=""
|
|
S X=DG(DQ),DIC=DIE
|
|
S A1B2TAG="PAT" D ^A1B2XFR
|
|
S X=DG(DQ),DIC=DIE
|
|
I $E(X,1,5)="00000" D SET^DGREGDD1(DA,.6,0,21,1)
|
|
S X=DG(DQ),DIC=DIE
|
|
D EVENT^IVMPLOG(DA)
|
|
S X=DG(DQ),DIC=DIE
|
|
S ^DPT("SSN",$E(X,1,30),DA)=""
|
|
S X=DG(DQ),DIC=DIE
|
|
S VADFN=DA D SET^VADPT6 K VADFN
|
|
S X=DG(DQ),DIC=DIE
|
|
S PPP=X,X="PPPFMX" X ^%ZOSF("TEST") D:$T SNSSN^PPPFMX S X=PPP K PPP
|
|
S X=DG(DQ),DIC=DIE
|
|
S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
|
|
S X=DG(DQ),DIC=DIE
|
|
S PX=X,X="PXXDPT" X ^%ZOSF("TEST") D:$T SETSSN^PXXDPT S X=PX K PX
|
|
S X=DG(DQ),DIC=DIE
|
|
I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".09;" D AVAFC^VAFCDD01(DA)
|
|
S X=DG(DQ),DIC=DIE
|
|
D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
|
|
I $D(DE(6))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET
|