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

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

revised back to 6/30/08 version

File size: 484 bytes
Line 
1DGRPTX21 ; ;04/21/06
2 S X=DG(DQ),DIC=DIE
3 X ^DD(2,.36205,1,1,1.3) I X S X=DIV S Y(1)=$S($D(^DPT(D0,.362)):^(.362),1:"") S X=$P(Y(1),U,1),X=X S DIU=X K Y S X="" X ^DD(2,.36205,1,1,1.4)
4 S X=DG(DQ),DIC=DIE
5 S DFN=DA D EN^DGMTCOR K DGMTCOR
6 S X=DG(DQ),DIC=DIE
7 K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X S X='$$TOTCHK^DGLOCK2(DA) I X S X=DIV S Y(1)=$S($D(^DPT(D0,.362)):^(.362),1:"") S X=$P(Y(1),U,20),X=X S DIU=X K Y S X="" X ^DD(2,.36205,1,3,1.4)
8 S X=DG(DQ),DIC=DIE
9 D AUTOUPD^DGENA2(DA)
Note: See TracBrowser for help on using the repository browser.