RT HOME LIST BY NAME (236)    SORT TEMPLATE (.401)

Name Value
NAME RT HOME LIST BY NAME
SORT FIELD DATA
  • COMPUTED FIELD CODE:   S Y(1)=$S($D(^RT(D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X I D0>0 S X(1)=X
    CROSS REFERENCE DATA:   ^RT("AH",^RT(^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 1987-04-10 00:00:00
FILE RECORDS