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

ACRCD16.m

Go to the documentation of this file.
ACRCD16 ; COMPILED XREF FOR FILE #9002196.0111 ; 09/30/09
 ; 
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^ACRDOC(D0,"TRNG3")):^("TRNG3"),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y X ^DD(9002196,148181,1,1,1.1) X ^DD(9002196,148181,1,1,1.4)
 S X=$P(DIKZ("TRNG3"),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^ACRDOC(D0,"TRNG3")):^("TRNG3"),1:"") S X=$P(Y(1),U,2),X=X S DIU=X K Y X ^DD(9002196,148181,1,2,1.1) X ^DD(9002196,148181,1,2,1.4)
 S X=$P(DIKZ("TRNG3"),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^ACRDOC(D0,"TRNG3")):^("TRNG3"),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y X ^DD(9002196,148181,1,3,1.1) X ^DD(9002196,148181,1,3,1.4)
 S X=$P(DIKZ("TRNG3"),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^ACRDOC(D0,"TRNG3")):^("TRNG3"),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y X ^DD(9002196,148181,1,4,1.1) X ^DD(9002196,148181,1,4,1.4)
 S X=$P(DIKZ("TRNG3"),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(9002196,148181,1,5,89.2) S X=$S('$D(^AUTTVNDR(+$P(Y(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) S DIU=X K Y S X=DIV S X=DIV,X=X X ^DD(9002196,148181,1,5,1.4)
 S X=$P(DIKZ("TRNG3"),U,1)
 I X'="" S ^ACRDOC("I",$E(X,1,30),DA)=""
 S DIKZ("TRNG")=$G(^ACRDOC(DA,"TRNG"))
 S X=$P(DIKZ("TRNG"),U,25)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .X ^DD(9002196,148250,1,1,1.3) I X S X=DIV S Y(1)=$S($D(^ACRDOC(D0,"FA")):^("FA"),1:"") S X=$P(Y(1),U,1),X=X S DIU=X K Y S X=DIV S X=DIV,X=X X ^DD(9002196,148250,1,1,1.4)
 S DIKZ("TRNG4")=$G(^ACRDOC(DA,"TRNG4"))
 S X=$P(DIKZ("TRNG4"),U,5)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^ACRDOC(D0,"AU")):^("AU"),1:"") S X=$P(Y(1),U,1),X=X S DIU=X K Y S X=DIV S X=DIV,X=X X ^DD(9002196,148310,1,1,1.4)
 S DIKZ("TRNG4")=$G(^ACRDOC(DA,"TRNG4"))
 S X=$P(DIKZ("TRNG4"),U,13)
 I X'="" S ^ACRDOC("R",$E(X,1,30),DA)=""
 S DIKZ("PR")=$G(^ACRDOC(DA,"PR"))
 S X=$P(DIKZ("PR"),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .X ^DD(9002196,999010,1,1,1.3) I X S X=DIV S Y(1)=$S($D(^ACRDOC(D0,"TRNG")):^("TRNG"),1:"") S X=$P(Y(1),U,4),X=X S DIU=X K Y X ^DD(9002196,999010,1,1,1.1) X ^DD(9002196,999010,1,1,1.4)
 S X=$P(DIKZ("PR"),U,1)
 I X'="" S ^ACRDOC("PR",$E(X,1,30),DA)=""
END G ^ACRCD17