PRCNX5 ; COMPILED XREF FOR FILE #413 ; 10/15/04
;
S DIKZK=1
S DIKZ(0)=$G(^PRCN(413,DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" S ^PRCN(413,"B",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,3)
I X'="" S ^PRCN(413,"AE",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,16)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRCN(413,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV S X=$P(^ENG(6914.1,X,0),U,2) X ^DD(413,4.5,1,1,1.4)
S DIKZ(0)=$G(^PRCN(413,DA,0))
S X=$P(DIKZ(0),U,6)
I X'="" S ^PRCN(413,"AD",$E(X,1,30),DA)=""
S X=$P(DIKZ(0),U,7)
I X'="" S ^PRCN(413,"AC",$E(X,1,30),DA)=""
S DIKZ(2)=$G(^PRCN(413,DA,2))
S X=$P(DIKZ(2),U,14)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^PRCN(413,D0,2)):^(2),1:"") S X=$P(Y(1),U,15),X=X S DIU=X K Y S X=DIV S X=$P($G(^VA(200,X,.13)),U,2) X ^DD(413,30,1,1,1.4)
S DIKZ(2)=$G(^PRCN(413,DA,2))
S X=$P(DIKZ(2),U,18)
I X'="" S SK=0 D XREF^PRCNCMRP K SK
S DIKZ(6)=$G(^PRCN(413,DA,6))
S X=$P(DIKZ(6),U,3)
I X'="" S ^PRCN(413,"E",$E(X,1,30),DA)=""
END G ^PRCNX6
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPRCNX5 1083 printed Nov 22, 2024@17:05:05 Page 2
PRCNX5 ; COMPILED XREF FOR FILE #413 ; 10/15/04
+1 ;
+2 SET DIKZK=1
+3 SET DIKZ(0)=$GET(^PRCN(413,DA,0))
+4 SET X=$PIECE(DIKZ(0),U,1)
+5 IF X'=""
SET ^PRCN(413,"B",$EXTRACT(X,1,30),DA)=""
+6 SET X=$PIECE(DIKZ(0),U,3)
+7 IF X'=""
SET ^PRCN(413,"AE",$EXTRACT(X,1,30),DA)=""
+8 SET X=$PIECE(DIKZ(0),U,16)
+9 IF X'=""
Begin DoDot:1
+10 NEW DIK,DIV,DIU,DIN
+11 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^PRCN(413,D0,0)):^(0),1:"")
SET X=$PIECE(Y(1),U,6)
SET X=X
SET DIU=X
KILL Y
SET X=DIV
SET X=$PIECE(^ENG(6914.1,X,0),U,2)
XECUTE ^DD(413,4.5,1,1,1.4)
End DoDot:1
+12 SET DIKZ(0)=$GET(^PRCN(413,DA,0))
+13 SET X=$PIECE(DIKZ(0),U,6)
+14 IF X'=""
SET ^PRCN(413,"AD",$EXTRACT(X,1,30),DA)=""
+15 SET X=$PIECE(DIKZ(0),U,7)
+16 IF X'=""
SET ^PRCN(413,"AC",$EXTRACT(X,1,30),DA)=""
+17 SET DIKZ(2)=$GET(^PRCN(413,DA,2))
+18 SET X=$PIECE(DIKZ(2),U,14)
+19 IF X'=""
Begin DoDot:1
+20 NEW DIK,DIV,DIU,DIN
+21 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^PRCN(413,D0,2)):^(2),1:"")
SET X=$PIECE(Y(1),U,15)
SET X=X
SET DIU=X
KILL Y
SET X=DIV
SET X=$PIECE($GET(^VA(200,X,.13)),U,2)
XECUTE ^DD(413,30,1,1,1.4)
End DoDot:1
+22 SET DIKZ(2)=$GET(^PRCN(413,DA,2))
+23 SET X=$PIECE(DIKZ(2),U,18)
+24 IF X'=""
SET SK=0
DO XREF^PRCNCMRP
KILL SK
+25 SET DIKZ(6)=$GET(^PRCN(413,DA,6))
+26 SET X=$PIECE(DIKZ(6),U,3)
+27 IF X'=""
SET ^PRCN(413,"E",$EXTRACT(X,1,30),DA)=""
END GOTO ^PRCNX6