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