RT FILE ROOM/REMOTE (245)    SORT TEMPLATE (.401)

Name Value
NAME RT FILE ROOM/REMOTE
SORT FIELD DATA
  • COMPUTED FIELD CODE:   S Y(1)=$S($D(^RTV(195.9,D0,1)):^(1),1:"") S X=$S('$D(^DIC(4.2,+$P(Y(1),U,1),0)):"",1:$P(^(0),U,1)) I D0>0 S X(1)=X
    FROM VALUE INTERNAL:   @z
    FROM VALUE EXTERNAL:   A
    TO VALUE INTERNAL:   z
    CROSS REFERENCE DATA:   ^RTV(195.9,"AE",^RTV(195.9,^2
  • COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.2) S X=$P(Y(1),U,1),C=$S(X="":-1,'$D(@(U_$P(X,";",2)_"0)")):-1,1:$P(^(0),U,2)),X=$S(X="":X,'$D(^(+X,0)):"",1:$P(^(0),U,1)),Y=X,C=$S($D(^DD(+C,.01,0)):$P(^(0),U,2),1:"D") D:X]"" Y^DIQ:C'["D" S X=Y,C="," I D0>0 S X(2)=X
DATE CREATED 1991-09-18 10:53:00
FILE BORROWERS/FILE AREAS