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

DGPTXC3.m

Go to the documentation of this file.
  1. DGPTXC3 ; ;10/15/12
  1. ;;
  1. 1 N X,X1,X2 S DIXR=375 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"D SD6")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"D SD6")
  1. Q
  1. X1(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.21,DION),$P($G(^DGPT(DA,70)),U,21))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q
  1. 2 N X,X1,X2 S DIXR=376 D X2(U) K X2 M X2=X D X2("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"D SD7")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"D SD7")
  1. Q
  1. X2(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.22,DION),$P($G(^DGPT(DA,70)),U,22))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q
  1. 3 N X,X1,X2 S DIXR=377 D X3(U) K X2 M X2=X D X3("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"D SD8")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"D SD8")
  1. Q
  1. X3(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.23,DION),$P($G(^DGPT(DA,70)),U,23))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q
  1. 4 N X,X1,X2 S DIXR=378 D X4(U) K X2 M X2=X D X4("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"D SD9")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"D SD9")
  1. Q
  1. X4(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79.24,DION),$P($G(^DGPT(DA,70)),U,24))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q
  1. 5 N X,X1,X2 S DIXR=379 D X5(U) K X2 M X2=X D X5("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"DXLS")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"DXLS")
  1. Q
  1. X5(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,79,DION),$P($G(^DGPT(DA,70)),U,10))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q
  1. 6 N X,X1,X2 S DIXR=390 D X6(U) K X2 M X2=X D X6("F") K X1 M X1=X
  1. I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D KDGPT9D^DGPTDDCR(.X,.DA,"PDX")
  1. K X M X=X2 I $G(X(1))]"",$G(X(2))]"",$G(X(3))]"",$G(X(4))]"" D
  1. . D SDGPT9D^DGPTDDCR(.X,.DA,"PDX")
  1. Q
  1. X6(DION) K X
  1. S X(1)=$G(@DIEZTMP@("V",45,DIIENS,.01,DION),$P($G(^DGPT(DA,0)),U,1))
  1. S X(2)=$G(@DIEZTMP@("V",45,DIIENS,2,DION),$P($G(^DGPT(DA,0)),U,2))
  1. S X(3)=$G(@DIEZTMP@("V",45,DIIENS,11,DION),$P($G(^DGPT(DA,0)),U,11))
  1. S X(4)=$G(@DIEZTMP@("V",45,DIIENS,80,DION),$P($G(^DGPT(DA,70)),U,11))
  1. S X(5)=$G(@DIEZTMP@("V",45,DIIENS,70,DION),$P($G(^DGPT(DA,70)),U,1))
  1. S X=$G(X(1))
  1. Q