VistA-FOIAVistA/r/REGISTRATION-DGQE-DG-DPT-GR.../DGRPTX20.m

10 lines
484 B
Mathematica

DGRPTX20 ; ;04/10/06
S X=DE(11),DIC=DIE
X ^DD(2,.36205,1,1,2.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,2.4)
S X=DE(11),DIC=DIE
S DFN=DA D EN^DGMTCOR K DGMTCOR
S X=DE(11),DIC=DIE
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,2.4)
S X=DE(11),DIC=DIE
D AUTOUPD^DGENA2(DA)