RTXB1 ; COMPILED XREF FOR FILE #195.9 ; 10/15/04
;
S DIKZK=2
S DIKZ(0)=$G(^RTV(195.9,DA,0))
S X=$P(DIKZ(0),U,2)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^RTV(195.9,D0,0)):^(0),1:"") S X=$P(Y(1),U,13),X=X S DIU=X K Y S X="" X ^DD(195.9,2,1,2,2.4)
S DIKZ(0)=$G(^RTV(195.9,DA,0))
S X=$P(DIKZ(0),U,3)
I X'="" K ^RTV(195.9,"ABOR",$P(^RTV(195.9,DA,0),U),X,DA)
S X=$P(DIKZ(0),U,4)
I X'="" K ^RTV(195.9,"AC",$E(X,1,30),DA)
S X=$P(DIKZ(0),U,8)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^RTV(195.9,D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y X ^DD(195.9,8,1,1,2.1) X ^DD(195.9,8,1,1,2.4)
S DIKZ(0)=$G(^RTV(195.9,DA,0))
S X=$P(DIKZ(0),U,9)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^RTV(195.9,D0,0)):^(0),1:"") S X=$P(Y(1),U,7),X=X S DIU=X K Y X ^DD(195.9,9,1,1,2.1) X ^DD(195.9,9,1,1,2.4)
S DIKZ(1)=$G(^RTV(195.9,DA,1))
S X=$P(DIKZ(1),U,1)
I X'="" K ^RTV(195.9,"AE",$E(X,1,30),DA)
S DIKZ("ADM")=$G(^RTV(195.9,DA,"ADM"))
S X=$P(DIKZ("ADM"),U,1)
I X'="" K ^RTV(195.9,"AD",$E(X,1,30),DA)
S DIKZ(0)=$G(^RTV(195.9,DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" K ^RTV(195.9,"B",$E(X,1,30),DA)
S X=$P(DIKZ(0),U,1)
I X'="" D
.N DIK,DIV,DIU,DIN
.K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^RTV(195.9,D0,0)):^(0),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y S X="" X ^DD(195.9,.01,1,2,2.4)
END G ^RTXB2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HRTXB1 1438 printed Dec 13, 2024@02:35:13 Page 2
RTXB1 ; COMPILED XREF FOR FILE #195.9 ; 10/15/04
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(0)=$GET(^RTV(195.9,DA,0))
+4 SET X=$PIECE(DIKZ(0),U,2)
+5 IF X'=""
Begin DoDot:1
+6 NEW DIK,DIV,DIU,DIN
+7 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^RTV(195.9,D0,0)):^(0),1:"")
SET X=$PIECE(Y(1),U,13)
SET X=X
SET DIU=X
KILL Y
SET X=""
XECUTE ^DD(195.9,2,1,2,2.4)
End DoDot:1
+8 SET DIKZ(0)=$GET(^RTV(195.9,DA,0))
+9 SET X=$PIECE(DIKZ(0),U,3)
+10 IF X'=""
KILL ^RTV(195.9,"ABOR",$PIECE(^RTV(195.9,DA,0),U),X,DA)
+11 SET X=$PIECE(DIKZ(0),U,4)
+12 IF X'=""
KILL ^RTV(195.9,"AC",$EXTRACT(X,1,30),DA)
+13 SET X=$PIECE(DIKZ(0),U,8)
+14 IF X'=""
Begin DoDot:1
+15 NEW DIK,DIV,DIU,DIN
+16 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^RTV(195.9,D0,0)):^(0),1:"")
SET X=$PIECE(Y(1),U,7)
SET X=X
SET DIU=X
KILL Y
XECUTE ^DD(195.9,8,1,1,2.1)
XECUTE ^DD(195.9,8,1,1,2.4)
End DoDot:1
+17 SET DIKZ(0)=$GET(^RTV(195.9,DA,0))
+18 SET X=$PIECE(DIKZ(0),U,9)
+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(^RTV(195.9,D0,0)):^(0),1:"")
SET X=$PIECE(Y(1),U,7)
SET X=X
SET DIU=X
KILL Y
XECUTE ^DD(195.9,9,1,1,2.1)
XECUTE ^DD(195.9,9,1,1,2.4)
End DoDot:1
+22 SET DIKZ(1)=$GET(^RTV(195.9,DA,1))
+23 SET X=$PIECE(DIKZ(1),U,1)
+24 IF X'=""
KILL ^RTV(195.9,"AE",$EXTRACT(X,1,30),DA)
+25 SET DIKZ("ADM")=$GET(^RTV(195.9,DA,"ADM"))
+26 SET X=$PIECE(DIKZ("ADM"),U,1)
+27 IF X'=""
KILL ^RTV(195.9,"AD",$EXTRACT(X,1,30),DA)
+28 SET DIKZ(0)=$GET(^RTV(195.9,DA,0))
+29 SET X=$PIECE(DIKZ(0),U,1)
+30 IF X'=""
KILL ^RTV(195.9,"B",$EXTRACT(X,1,30),DA)
+31 SET X=$PIECE(DIKZ(0),U,1)
+32 IF X'=""
Begin DoDot:1
+33 NEW DIK,DIV,DIU,DIN
+34 KILL DIV
SET DIV=X
SET D0=DA
SET DIV(0)=D0
SET Y(1)=$SELECT($DATA(^RTV(195.9,D0,0)):^(0),1:"")
SET X=$PIECE(Y(1),U,2)
SET X=X
SET DIU=X
KILL Y
SET X=""
XECUTE ^DD(195.9,.01,1,2,2.4)
End DoDot:1
END GOTO ^RTXB2