Hi Here is a sample of the attribute it works fine if we are Documenting the Intervention how ever when we Edit the Interevntion we get DT in the Date field and 1 in the time
Date
IFE=IF{[ANS,"NURPAIN02"]|0="Y" 1;
IFE=ANS#2S^OD,
IFE=OD^/[ANS%0,"NURPAIASDT"]|0,
IFE=P(R,S,%Z.date.out(OD))^#,1}
Time:
IFE=IF{[ANS,"NURPAIN02"]|0="Y" 1;ANS#3S^ZTI^/[ANS%0,"NURPAIASTT"]|0
IFE=P(R,S,ZTI)^#,1}
Any help would be appreciated
Sue