source: FOIAVistA/tag/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHCE21.m@ 812

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

WorldVistAEHR overlayed on FOIAVistA

File size: 889 bytes
Line 
1DVBHCE21 ; ;12/27/07
2 S X=DE(20),DIC=DIE
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,2.1) X ^DD(2,.351,1,1,2.4)
4 S X=DE(20),DIC=DIE
5 ;
6 S X=DE(20),DIC=DIE
7 D DKBULL^DGDEATH
8 S X=DE(20),DIC=DIE
9 K ^DPT("AEXP1",$E(X,1,30),DA)
10 S X=DE(20),DIC=DIE
11 ;
12 S X=DE(20),DIC=DIE
13 ;
14 S X=DE(20),DIC=DIE
15 S RCX=X,X="RCAMDTH" X ^%ZOSF("TEST") S X=RCX K RCX I D ERR^RCAMDTH
16 S X=DE(20),DIC=DIE
17 D KILL^DGDEPINA
18 S X=DE(20),DIC=DIE
19 D AUTOUPD^DGENA2(DA)
20 S X=DE(20),DIC=DIE
21 ;
22 S X=DE(20),DIC=DIE
23 I $$VERSION^XPDUTL("PSO")>6 D APSOD^PSOAUTOC(DA)
24 S X=DE(20),DIC=DIE
25 S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
26 S X=DE(20),DIC=DIE
27 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".351;" D AVAFC^VAFCDD01(DA)
28 S X=DE(20),DIC=DIE
29 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
30 S X=DE(20),DIIX=2_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.