Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DGMTXX11

DGMTXX11.m

Go to the documentation of this file.
DGMTXX11 ; COMPILED XREF FOR FILE #408.21 ; 10/15/12
 ; 
 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