Hi Ruth,

There are various ways that this can be accomplished.  My suggestion would be 
to use the field check attributes (FCLn) without the corresponding Field Check 
Action (FCLnA) attributes.  It is the non-nil value of the FCLnA that will 
prevent a user from being able to keep the response that they are trying to use.

Further, I would suggestion using the Z program for elapsed time to caluculate 
the number of hours from today that the entered response is.  With the number 
of hours, divided that by 24 to get the number of days and then just check for 
greater than 30.

FCL1=IF{(%Z.elapsed.time(@.today,0000,@.response,0000,"hh.hh")/24)>30 
@W.return("Your
FCL1= message here!")}

(I think this will give you a positive number but I can't test it since I'm not 
at work.  If it doesn't work, reverse the > to < and it should work!  If not, 
let me know and I'll let you know how to see the value being calculating.)

Iatric Systems has a good reference for the Z programs on their website found 
under NPR Resources.  This provides information about what programs can be 
used, what arguments are needed, and what the output will be.

Also, remember that field check attributes only work for NEW responses.  So if 
the date defaulted in from a previously entered response, the FCL will not work.

Good luck,
Kenny Whiteside

>>> "Ruth Chapman" <[EMAIL PROTECTED]> 06/20/07 4:21 PM >>>
Hello L:
Attribute help again please, as I seem to not be able to get this one to work.
I have one date query.  If the date that is entered is more than 30 days ago, I 
want a message to appear, but not forbid the user from going on.
 
I either get a message all the time or no message at all, so something is amuck.
 
So any help would be appreciated,
 
Thank you,
 
 
 
Ruth Chapman BSN, RN-BC

Nursing Analyst
Central Michigan Community Hospital
[EMAIL PROTECTED]






***Note: The information contained in this message may be
privileged and confidential and protected from disclosure.
If the reader of this message is not the intended recipient,
or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received
this communication in error, please notify the Sender
immediately by replying to the message and deleting it
from your computer.
Thank you.  Central Michigan Community Hospital

-- 
This message has been scanned for viruses and
dangerous content, and is
believed to be clean.


Catawba Valley Medical Center
810 Fairgrove Church Rd
Hickory NC 28602
828-326-3000

**This electronic message may contain information that is confidential and/or 
legally privileged. It is intended only for the use of the individual(s) and 
entity named as recipients in the message, please notify the sender immediately 
and delete the material from any computer. Do not deliever, distribute or copy 
this message, and do not disclose its contents or take any action in reliance 
on the information it contains. 

Thank you

-- 
This message has been scanned for viruses and
dangerous content, and is
believed to be clean.


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit 
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

To check the status of the meditech-l, visit MTUsers.NET

For help, email [EMAIL PROTECTED]

Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
meditech-l@MTUsers.com
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com

Reply via email to