RT TIME STUDY (237)    SORT TEMPLATE (.401)

Name Value
NAME RT TIME STUDY
SORT FIELD DATA
  • CROSS REFERENCE DATA:   ^RTV(190.1,"AD",^RTV(190.1,^2
  • COMPUTED FIELD CODE:   S Y(2)=$C(59)_$S($D(^DD(190.1,6,0)):$P(^(0),U,3),1:""),Y(1)=$S($D(^RTV(190.1,D0,0)):^(0),1:"") S X=$P($P(Y(2),$C(59)_$P(Y(1),U,6)_":",2),$C(59),1)'="REQUESTED" I D0>0 S X(2)=X
  • COMPUTED FIELD CODE:   S Y(1)=$S($D(^RTV(190.1,D0,0)):^(0),1:"") S X=$S('$D(^RTV(194.2,+$P(Y(1),U,10),0)):"",1:$P(^(0),U,1))="" I D0>0 S X(3)=X
  • COMPUTED FIELD CODE:   S Y(1)=$S($D(^RTV(190.1,D0,0)):^(0),1:"") S X=$P(Y(1),U,2),X=$P(X,".",1) I D0>0 S X(4)=X
  • COMPUTED FIELD CODE:   X DPP(6,"OVF0",9.2) S X=$E($P(X,".",2)_"0000",1,4),%=X>1159 S:X>1259 X=X-1200 S X=X\100_":"_$E(X#100+100,2,3)_" "_$E("AP",%+1)_"M" I D0>0 S X(6)=X
  • COMPUTED FIELD CODE:   X DPP(7,"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(7)=X
DATE CREATED 1987-04-22 00:00:00
FILE REQUESTED RECORDS