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

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

initial load of WorldVistAEHR

File size: 437 bytes
RevLine 
[613]1DGPMX61 ; ;11/06/06
2 S X=DE(14),DIC=DIE
3 S DGPMDDF=9 D ^DGPMDD2
4 S X=DE(14),DIC=DIE
5 S DGPMDDF=9,DGPMDDT=0 D ^DGPMDDCN
6 S X=DE(14),DIC=DIE
7 I $D(^DGPM(+$P(^DGPM(DA,0),"^",24),0)),($P(^(0),"^",2)=1) S A1B2TAG="ADM1" D ^A1B2XFR
8 S X=DE(14),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=14 D ^DGPMGLC
10 S X=DE(14),DIC=DIE
11 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DFN)
12 S X=DE(14),DIIX=2_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.