source: FOIAVistA/tag/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGRPTX18.m@ 1569

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

WorldVistAEHR overlayed on FOIAVistA

File size: 610 bytes
Line 
1DGRPTX18 ; ;04/21/06
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(7))'[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.