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(101),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="," S D0=I(0,0) I D0>0 S X(2)=X
-
- COMPUTED FIELD CODE: X DPP(3,"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(3)=X
|