YSXRAX1 ; COMPILED XREF FOR FILE #627.5 ; 10/15/04
;
S DIKZK=2
S DIKZ(0)=$G(^DIC(627.5,DA,0))
S X=$P(DIKZ(0),U,2)
I X'="" K ^DIC(627.5,"D",$E(X,1,30),DA)
S DIKZ(1)=$G(^DIC(627.5,DA,1))
S X=$P(DIKZ(1),U,1)
I X'="" S %1=1 F %=1:1:$L(X)+1 S I=$E(X,%) I " "[I S I=$E($E(X,%1,%-1),1,30),%1=%+1 I $L(I)>2 K ^DIC(627.5,"E",I,DA)
S X=$P(DIKZ(0),U,1)
I X'="" K ^DIC(627.5,"B",$E(X,1,30),DA)
END G ^YSXRAX2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HYSXRAX1 420 printed Nov 22, 2024@17:26:25 Page 2
YSXRAX1 ; COMPILED XREF FOR FILE #627.5 ; 10/15/04
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(0)=$GET(^DIC(627.5,DA,0))
+4 SET X=$PIECE(DIKZ(0),U,2)
+5 IF X'=""
KILL ^DIC(627.5,"D",$EXTRACT(X,1,30),DA)
+6 SET DIKZ(1)=$GET(^DIC(627.5,DA,1))
+7 SET X=$PIECE(DIKZ(1),U,1)
+8 IF X'=""
SET %1=1
FOR %=1:1:$LENGTH(X)+1
SET I=$EXTRACT(X,%)
IF " "[I
SET I=$EXTRACT($EXTRACT(X,%1,%-1),1,30)
SET %1=%+1
IF $LENGTH(I)>2
KILL ^DIC(627.5,"E",I,DA)
+9 SET X=$PIECE(DIKZ(0),U,1)
+10 IF X'=""
KILL ^DIC(627.5,"B",$EXTRACT(X,1,30),DA)
END GOTO ^YSXRAX2