GRPX73 ; ;11/21/01
S X=DG(DQ),DIC=DIE
X ^DD(2,.3025,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,3),X=X S DIU=X K Y S X="" X ^DD(2,.3025,1,1,1.4)
S X=DG(DQ),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,.3025,1,2,1.4)
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HGRPX73 385 printed Oct 16, 2024@17:56:53 Page 2
GRPX73 ; ;11/21/01
+1 SET X=DG(DQ)
SET DIC=DIE
+2 XECUTE ^DD(2,.3025,1,1,1.3)
IF X
SET X=DIV
SET Y(1)=$SELECT($DATA(^DPT(D0,.3)):^(.3),1:"")
SET X=$PIECE(Y(1),U,3)
SET X=X
SET DIU=X
KILL Y
SET X=""
XECUTE ^DD(2,.3025,1,1,1.4)
+3 SET X=DG(DQ)
SET DIC=DIE
+4 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(0)=X
SET X='$$TOTCHK^DGLOCK2(DA)
IF X
SET X=DIV
SET Y(1)=$SELECT($DATA(^DPT(D0,.362)):^(.362),1:"")
SET X=$PIECE(Y(1),U,20)
SET X=X
SET DIU=X
KILL Y
SET X=""
XECUTE ^DD(2,.3025,1,2,1.4)