source: WorldVistAEHR/trunk/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHCE22.m@ 862

Last change on this file since 862 was 623, checked in by George Lilly, 15 years ago

revised back to 6/30/08 version

File size: 1.1 KB
RevLine 
[623]1DVBHCE22 ; ;12/27/07
[613]2 S X=DG(DQ),DIC=DIE
[623]3 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,10),X=X S DIU=X K Y X ^DD(2,.351,1,1,1.1) X ^DD(2,.351,1,1,1.4)
[613]4 S X=DG(DQ),DIC=DIE
[623]5 K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DPT(D0,.35)):^(.35),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y X ^DD(2,.351,1,2,1.1) X ^DD(2,.351,1,2,1.4)
6 S X=DG(DQ),DIC=DIE
7 D DSBULL^DGDEATH
8 S X=DG(DQ),DIC=DIE
9 S ^DPT("AEXP1",$E(X,1,30),DA)=""
10 S X=DG(DQ),DIC=DIE
11 D DEATH^DGOERNOT
12 S X=DG(DQ),DIC=DIE
13 S XX=X,X="PSJADT" X ^%ZOSF("TEST") S X=XX K XX I D END^PSJADT
14 S X=DG(DQ),DIC=DIE
15 S RCX=X,X="RCAMDTH" X ^%ZOSF("TEST") S X=RCX K RCX I D SET^RCAMDTH
16 S X=DG(DQ),DIC=DIE
17 D SET^DGDEPINA
18 S X=DG(DQ),DIC=DIE
[613]19 D AUTOUPD^DGENA2(DA)
[623]20 S X=DG(DQ),DIC=DIE
21 D START^DGMTDELS(DA)
22 S X=DG(DQ),DIC=DIE
23 I $$VERSION^XPDUTL("PSO")>6 D APSOD^PSOCAN3(DA)
24 S X=DG(DQ),DIC=DIE
[613]25 S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
[623]26 S X=DG(DQ),DIC=DIE
[613]27 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".351;" D AVAFC^VAFCDD01(DA)
[623]28 S X=DG(DQ),DIC=DIE
[613]29 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
[623]30 I $D(DE(20))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.