source: WorldVistAEHR/trunk/r/AUTOMATED_MED_INFO_EXCHANGE-DVBA-DVBC/DVBAXA4.m@ 1361

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

initial load of WorldVistAEHR

File size: 609 bytes
RevLine 
[613]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.