IBXSC31 ; ;11/29/04
S X=DG(DQ),DIC=DIE
K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DGCR(399,D0,"M")):^("M"),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y X ^DD(399,114,1,1,1.1) X ^DD(399,114,1,1,1.4)
S X=DG(DQ),DIC=DIE
D IX^IBCNS2(DA,"I3")
IBXSC31 ; ;11/29/04
+1 SET X=DG(DQ)
SET DIC=DIE
+2 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^DGCR(399,D0,"M")):^("M"),1:"")
SET X=$PIECE(Y(1),U,3)
SET X=X
SET DIU=X
KILL Y
XECUTE ^DD(399,114,1,1,1.1)
XECUTE ^DD(399,114,1,1,1.4)
+3 SET X=DG(DQ)
SET DIC=DIE
+4 DO IX^IBCNS2(DA,"I3")