source: FOIAVistA/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBAXA4.m@ 794

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

initial load of FOIAVistA 6/30/08 version

File size: 609 bytes
Line 
1DVBAXA4 ; ;06/08/01
2 S X=DG(DQ),DIC=DIE
3 X ^DD(2,.301,1,1,1.3) I X S X=DIV S Y(1)=$S($D(^DPT(D0,.3)):^(.3),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(2,.301,1,1,1.4)
4 S X=DG(DQ),DIC=DIE
5 X ^DD(2,.301,1,2,1.3) I X S X=DIV S Y(1)=$S($D(^DPT(D0,.3)):^(.3),1:"") S X=$P(Y(1),U,12),X=X S DIU=X K Y S X="" X ^DD(2,.301,1,2,1.4)
6 S X=DG(DQ),DIC=DIE
7 D AUTOUPD^DGENA2(DA)
8 S X=DG(DQ),DIC=DIE
9 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".301;" D AVAFC^VAFCDD01(DA)
10 S X=DG(DQ),DIC=DIE
11 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
12 I $D(DE(9))'[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.