DGMTXX11 ; COMPILED XREF FOR FILE #408.21 ; 05/22/14
;
S DIKZK=2
S DIKZ(0)=$G(^DGMT(408.21,DA,0))
S X=$P($G(DIKZ(0)),U,2)
I X'="" K ^DGMT(408.21,"AI",X,-$P(^DGMT(408.21,DA,0),U),DA)
S X=$P($G(DIKZ(0)),U,2)
I X'="" K ^DGMT(408.21,"C",$E(X,1,30),DA)
S X=$P($G(DIKZ(0)),U,8)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,9)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,10)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,11)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,12)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,13)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,14)
I X'="" I $D(^DGMT(408.21,DA,0)),$P(^(0),U,14)="" D EMP^DGMTDD3
S X=$P($G(DIKZ(0)),U,14)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,15)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,16)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(0)),U,17)
I X'="" D E40821^DGRTRIG(DA)
S DIKZ(1)=$G(^DGMT(408.21,DA,1))
S X=$P($G(DIKZ(1)),U,1)
I X'="" D AGME101^DGMTSCU4(DA)
S X=$P($G(DIKZ(1)),U,1)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(1)),U,2)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(1)),U,3)
I X'="" D E40821^DGRTRIG(DA)
S DIKZ(2)=$G(^DGMT(408.21,DA,2))
S X=$P($G(DIKZ(2)),U,1)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(2)),U,2)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(2)),U,3)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(2)),U,4)
I X'="" I $D(^DGMT(408.21,DA,2)),$P(^(2),U,4)="" D OTH^DGMTDD3
S X=$P($G(DIKZ(2)),U,4)
I X'="" D E40821^DGRTRIG(DA)
S X=$P($G(DIKZ(2)),U,5)
I X'="" D E40821^DGRTRIG(DA)
S DIKZ("MT")=$G(^DGMT(408.21,DA,"MT"))
S X=$P($G(DIKZ("MT")),U,1)
I X'="" K ^DGMT(408.21,"AM",$E(X,1,30),DA)
S X=$P($G(DIKZ(0)),U,1)
I X'="" K ^DGMT(408.21,"B",$E(X,1,30),DA)
S X=$P($G(DIKZ(0)),U,1)
I X'="" K ^DGMT(408.21,"AI",+$P(^DGMT(408.21,DA,0),U,2),-X,DA)
S X=$P($G(DIKZ(0)),U,1)
I X'="" D E40821^DGRTRIG(DA)
END Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HDGMTXX11 1951 printed Dec 13, 2024@02:45:55 Page 2
DGMTXX11 ; COMPILED XREF FOR FILE #408.21 ; 05/22/14
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(0)=$GET(^DGMT(408.21,DA,0))
+4 SET X=$PIECE($GET(DIKZ(0)),U,2)
+5 IF X'=""
KILL ^DGMT(408.21,"AI",X,-$PIECE(^DGMT(408.21,DA,0),U),DA)
+6 SET X=$PIECE($GET(DIKZ(0)),U,2)
+7 IF X'=""
KILL ^DGMT(408.21,"C",$EXTRACT(X,1,30),DA)
+8 SET X=$PIECE($GET(DIKZ(0)),U,8)
+9 IF X'=""
DO E40821^DGRTRIG(DA)
+10 SET X=$PIECE($GET(DIKZ(0)),U,9)
+11 IF X'=""
DO E40821^DGRTRIG(DA)
+12 SET X=$PIECE($GET(DIKZ(0)),U,10)
+13 IF X'=""
DO E40821^DGRTRIG(DA)
+14 SET X=$PIECE($GET(DIKZ(0)),U,11)
+15 IF X'=""
DO E40821^DGRTRIG(DA)
+16 SET X=$PIECE($GET(DIKZ(0)),U,12)
+17 IF X'=""
DO E40821^DGRTRIG(DA)
+18 SET X=$PIECE($GET(DIKZ(0)),U,13)
+19 IF X'=""
DO E40821^DGRTRIG(DA)
+20 SET X=$PIECE($GET(DIKZ(0)),U,14)
+21 IF X'=""
IF $DATA(^DGMT(408.21,DA,0))
IF $PIECE(^(0),U,14)=""
DO EMP^DGMTDD3
+22 SET X=$PIECE($GET(DIKZ(0)),U,14)
+23 IF X'=""
DO E40821^DGRTRIG(DA)
+24 SET X=$PIECE($GET(DIKZ(0)),U,15)
+25 IF X'=""
DO E40821^DGRTRIG(DA)
+26 SET X=$PIECE($GET(DIKZ(0)),U,16)
+27 IF X'=""
DO E40821^DGRTRIG(DA)
+28 SET X=$PIECE($GET(DIKZ(0)),U,17)
+29 IF X'=""
DO E40821^DGRTRIG(DA)
+30 SET DIKZ(1)=$GET(^DGMT(408.21,DA,1))
+31 SET X=$PIECE($GET(DIKZ(1)),U,1)
+32 IF X'=""
DO AGME101^DGMTSCU4(DA)
+33 SET X=$PIECE($GET(DIKZ(1)),U,1)
+34 IF X'=""
DO E40821^DGRTRIG(DA)
+35 SET X=$PIECE($GET(DIKZ(1)),U,2)
+36 IF X'=""
DO E40821^DGRTRIG(DA)
+37 SET X=$PIECE($GET(DIKZ(1)),U,3)
+38 IF X'=""
DO E40821^DGRTRIG(DA)
+39 SET DIKZ(2)=$GET(^DGMT(408.21,DA,2))
+40 SET X=$PIECE($GET(DIKZ(2)),U,1)
+41 IF X'=""
DO E40821^DGRTRIG(DA)
+42 SET X=$PIECE($GET(DIKZ(2)),U,2)
+43 IF X'=""
DO E40821^DGRTRIG(DA)
+44 SET X=$PIECE($GET(DIKZ(2)),U,3)
+45 IF X'=""
DO E40821^DGRTRIG(DA)
+46 SET X=$PIECE($GET(DIKZ(2)),U,4)
+47 IF X'=""
IF $DATA(^DGMT(408.21,DA,2))
IF $PIECE(^(2),U,4)=""
DO OTH^DGMTDD3
+48 SET X=$PIECE($GET(DIKZ(2)),U,4)
+49 IF X'=""
DO E40821^DGRTRIG(DA)
+50 SET X=$PIECE($GET(DIKZ(2)),U,5)
+51 IF X'=""
DO E40821^DGRTRIG(DA)
+52 SET DIKZ("MT")=$GET(^DGMT(408.21,DA,"MT"))
+53 SET X=$PIECE($GET(DIKZ("MT")),U,1)
+54 IF X'=""
KILL ^DGMT(408.21,"AM",$EXTRACT(X,1,30),DA)
+55 SET X=$PIECE($GET(DIKZ(0)),U,1)
+56 IF X'=""
KILL ^DGMT(408.21,"B",$EXTRACT(X,1,30),DA)
+57 SET X=$PIECE($GET(DIKZ(0)),U,1)
+58 IF X'=""
KILL ^DGMT(408.21,"AI",+$PIECE(^DGMT(408.21,DA,0),U,2),-X,DA)
+59 SET X=$PIECE($GET(DIKZ(0)),U,1)
+60 IF X'=""
DO E40821^DGRTRIG(DA)
END QUIT