I want to use this attribute on an OE PROC screen to pop up the warning
if the date entered on the query is within 7 days of the order service
date.
This is the original attribute
[EMAIL PROTECTED]<@.today @W.err("Recert date will expire soon")}
It pops the message even if the response it NOT LESS than today. I
changed the attribute to
[EMAIL PROTECTED]<@.OE.INP.inp.ser.date+6 @W.err("Recert date will
expire soon")}
The warning pops up regardless of the date I enter.
Can someone help please?
Thanks,
Aimee
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Schmit
Sent: Thursday, February 03, 2005 8:50 AM
To: Smith, Brian; [email protected]
Subject: RE: [MEDITECH-L] Date Comparison Attribute
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Hi Brian,
Something similar to the following should work for you:
[EMAIL PROTECTED]<@.today @W.err("Standing orders have expired.")}
You do not have to use the Z programs to subtract dates since they are
already stored in the CCYYMMDD format, which makes comparisons much
simpler.
Good luck,
Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access or use by
any other person to this internet email is not authorized and may be
unlawful. If you are not the intended recipient, please delete or
destroy this email. If you do not wish to receive future emails from the
sender, please reply directly to this email requesting you be removed
from any mailing list.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Smith, Brian
Sent: Wednesday, February 02, 2005 12:26 PM
To: [email protected]
Subject: [MEDITECH-L] Date Comparison Attribute
All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
I'd like to pop up a warning message if a query on a CDS has a date less
than today. I thought something like this might possibly work but the
syntax checker is unhappy.
FCL1=IF{%Z.date.sub(@.response,@.today)<0 @W.err("Standing orders have
expired.")}
Has anyone out there built one like this that they would like to share?
Thanks in advance.
Brian Smith, A.R.T.
RIH Accession Supervisor
Phone: 250-314-2645
Fax: 250-314-2328
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
Privileged/Confidential information may be contained in this message.
The information contained in this message is intended only for the use
of the recipient(s) named above and their co-workers who are working on
the same matter.
The recipient of this information is prohibited from disclosing the
information to any other party unless this disclosure has been
authorized in advance.
If you are not intended recipient of this message or any agent
responsible for delivery of the message to the intended recipient, you
are hereby notified that any disclosure, copying, distribution or action
taken in reliance on the contents of this message is strictly
prohibited. You should immediately destroy this message and kindly
notify the sender by reply E-Mail.
Please advise immediately if you or your employer does not consent to
Internet E-Mail for messages of this kind. Opinions, conclusions and
other information in this message that do not relate to the official
business of the firm shall be understood as neither given nor endorsed
by it.
Privileged/Confidential information may be contained in this message. The
information contained in this message is intended only for the use of the
recipient(s) named above and their co-workers who are working on the same
matter. The recipient of this information is prohibited from disclosing the
information to any other party unless this disclosure has been authorized in
advance.
If you are not intended recipient of this message or any agent responsible for
delivery of the message to the intended recipient, you are hereby notified that
any disclosure, copying, distribution or action taken in reliance on the
contents of this message is strictly prohibited. You should immediately
destroy this message and kindly notify the sender by reply E-Mail. Please
advise immediately if you or your employer does not consent to Internet E-Mail
for messages of this kind. Opinions, conclusions and other information in this
message that do not relate to the official business of the firm shall be
understood as neither given nor endorsed by it.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.
To check the status of the meditech-l, visit MTUsers.NET.
For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l