source: WorldVistAEHR/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGPMX62.m@ 1259

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

initial load of WorldVistAEHR

File size: 482 bytes
Line 
1DGPMX62 ; ;11/06/06
2 S X=DG(DQ),DIC=DIE
3 S DGPMDDF=9 D ^DGPMDD1
4 S X=DG(DQ),DIC=DIE
5 S DGPMDDF=9,DGPMDDT=1 D ^DGPMDDCN
6 S X=DG(DQ),DIC=DIE
7 I $D(^DGPM(+$P(^DGPM(DA,0),"^",24),0)),($P(^(0),"^",2)=1) S A1B2TAG="ADM1" D ^A1B2XFR
8 S X=DG(DQ),DIC=DIE
9 S Y=^DGPM(DA,0) I +Y,Y<DT S Y=$P(Y,U,2) I Y=6,X'=$P(Y,U,9) S DGHNYT=13 D ^DGPMGLC
10 S X=DG(DQ),DIC=DIE
11 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DFN)
12 I $D(DE(14))'[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.