YSXRAY1 ; COMPILED XREF FOR FILE #627.8 ; 09/02/14
;
S DIKZK=2
S DIKZ(0)=$G(^YSD(627.8,DA,0))
S X=$P($G(DIKZ(0)),U,2)
I X'="" K ^YSD(627.8,"C",$E(X,1,30),DA)
S DIKZ(1)=$G(^YSD(627.8,DA,1))
S X=$P($G(DIKZ(1)),U,1)
I X'="" S X1=$S(X["ICD":"I",X["DIC":"D",1:"Z") K ^YSD(627.8,"AE",X1,$P(^YSD(627.8,DA,0),"^",2),$P(^YSD(627.8,DA,0),"^",3),$E(X,1,30),DA)
S X=$P($G(DIKZ(1)),U,1)
I X'="" K ^YSD(627.8,"AF",$P(^YSD(627.8,DA,0),"^",2),9999999.0000-$P(^YSD(627.8,DA,0),"^",3),$E(X,1,30),DA)
S X=$P($G(DIKZ(1)),U,1)
I X'="" S X1=$S(X["ICD":"I",X["DIC":"D",1:"Z") K ^YSD(627.8,"AG",X1,$P(^YSD(627.8,DA,0),"^",2),$E(X,1,30),DA)
S X=$P($G(DIKZ(1)),U,4)
I X'="" K ^YSD(627.8,"AC",$P(^YSD(627.8,DA,0),"^",2),9999999-$P(^YSD(627.8,DA,0),"^",3),$P(^YSD(627.8,DA,1),"^"),X,DA)
S X=$P($G(DIKZ(1)),U,3)
I X'="" K:X="y" ^YSD(627.8,"AD",$P(^YSD(627.8,DA,0),"^",2),9999999.0000-$P(^YSD(627.8,DA,0),"^",3),DA)
S X=$P($G(DIKZ(1)),U,3)
I X'="" I "yc"[X K ^YSD(627.8,"AH",$P(^YSD(627.8,DA,0),"^",2),9999999-$P(^YSD(627.8,DA,0),"^",3),DA)
S DIKZ(60)=$G(^YSD(627.8,DA,60))
S X=$P($G(DIKZ(60)),U,2)
I X'="" N X1 S X1=$G(^YSD(627.8,DA,0)) K ^YSD(627.8,"AX4",$P(X1,U,2),9999999-$P(X1,U,3),DA)
S X=$P($G(DIKZ(60)),U,3)
I X'="" N X1 S X1=$G(^YSD(627.8,DA,0)) K ^YSD(627.8,"AX5",$P(X1,U,2),9999999-$P(X1,U,3),DA)
S X=$P($G(DIKZ(0)),U,1)
I X'="" K ^YSD(627.8,"B",$E(X,1,30),DA)
END G ^YSXRAY2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HYSXRAY1 1410 printed Dec 13, 2024@02:16:28 Page 2
YSXRAY1 ; COMPILED XREF FOR FILE #627.8 ; 09/02/14
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(0)=$GET(^YSD(627.8,DA,0))
+4 SET X=$PIECE($GET(DIKZ(0)),U,2)
+5 IF X'=""
KILL ^YSD(627.8,"C",$EXTRACT(X,1,30),DA)
+6 SET DIKZ(1)=$GET(^YSD(627.8,DA,1))
+7 SET X=$PIECE($GET(DIKZ(1)),U,1)
+8 IF X'=""
SET X1=$SELECT(X["ICD":"I",X["DIC":"D",1:"Z")
KILL ^YSD(627.8,"AE",X1,$PIECE(^YSD(627.8,DA,0),"^",2),$PIECE(^YSD(627.8,DA,0),"^",3),$EXTRACT(X,1,30),DA)
+9 SET X=$PIECE($GET(DIKZ(1)),U,1)
+10 IF X'=""
KILL ^YSD(627.8,"AF",$PIECE(^YSD(627.8,DA,0),"^",2),9999999.0000-$PIECE(^YSD(627.8,DA,0),"^",3),$EXTRACT(X,1,30),DA)
+11 SET X=$PIECE($GET(DIKZ(1)),U,1)
+12 IF X'=""
SET X1=$SELECT(X["ICD":"I",X["DIC":"D",1:"Z")
KILL ^YSD(627.8,"AG",X1,$PIECE(^YSD(627.8,DA,0),"^",2),$EXTRACT(X,1,30),DA)
+13 SET X=$PIECE($GET(DIKZ(1)),U,4)
+14 IF X'=""
KILL ^YSD(627.8,"AC",$PIECE(^YSD(627.8,DA,0),"^",2),9999999-$PIECE(^YSD(627.8,DA,0),"^",3),$PIECE(^YSD(627.8,DA,1),"^"),X,DA)
+15 SET X=$PIECE($GET(DIKZ(1)),U,3)
+16 IF X'=""
if X="y"
KILL ^YSD(627.8,"AD",$PIECE(^YSD(627.8,DA,0),"^",2),9999999.0000-$PIECE(^YSD(627.8,DA,0),"^",3),DA)
+17 SET X=$PIECE($GET(DIKZ(1)),U,3)
+18 IF X'=""
IF "yc"[X
KILL ^YSD(627.8,"AH",$PIECE(^YSD(627.8,DA,0),"^",2),9999999-$PIECE(^YSD(627.8,DA,0),"^",3),DA)
+19 SET DIKZ(60)=$GET(^YSD(627.8,DA,60))
+20 SET X=$PIECE($GET(DIKZ(60)),U,2)
+21 IF X'=""
NEW X1
SET X1=$GET(^YSD(627.8,DA,0))
KILL ^YSD(627.8,"AX4",$PIECE(X1,U,2),9999999-$PIECE(X1,U,3),DA)
+22 SET X=$PIECE($GET(DIKZ(60)),U,3)
+23 IF X'=""
NEW X1
SET X1=$GET(^YSD(627.8,DA,0))
KILL ^YSD(627.8,"AX5",$PIECE(X1,U,2),9999999-$PIECE(X1,U,3),DA)
+24 SET X=$PIECE($GET(DIKZ(0)),U,1)
+25 IF X'=""
KILL ^YSD(627.8,"B",$EXTRACT(X,1,30),DA)
END GOTO ^YSXRAY2