If you want to stay at the query (not allow the user to continue) you would 
write the FCL as such:

[EMAIL PROTECTED]"Y"
[EMAIL PROTECTED]("You must document fall checks at a minimum of every 2 
hours.")

If you want the user to be able to continue you would use the `unmatched' FCL:

[EMAIL PROTECTED]"Y" @W.return("You must document fall checks at a minimum of 
every 2 hours.")}

The IFE controls whether or not you even land on the query (field).  This seems 
to have been written correctly, but I'm not sure what you want to do with the 
flag - /INPUT.ON.PAGE being set to the value 1 - if the previous query was 
answered with something other than a "Y" or not answered at all.  I'm assuming 
the previous query was "NURFALL1" but this is not altogether clear.

>>> Patricia Standifer <[EMAIL PROTECTED]> 04/23/07 10:12 AM >>>
Hi all,

I am attempting to write an attribute so that if the user answers "Y" to the 
patient is at risk for fall they are flagged to perform an action but if they 
answer the prior query "N" they receive a reminder that the patient must be 
placed on fall precautions.

IFE=IF{[ANS,"NURFALL1"]|0="Y";1^/INPUT.ON.PAGE,""}
FCL1=IF[ANS,"NURFALL1"]|0="Y"
[EMAIL PROTECTED]"Y"
[EMAIL PROTECTED]("You must document fall checks at a minimum of every 2 
hours.")
[EMAIL PROTECTED]"N"
[EMAIL PROTECTED]("You must place patient on fall protocol.")

Thanks in advance for any assistance.

Pat Standifer, MS RN
Nursing Informatics Coordinator
Haywood Regional Medical Center
262 Leroy George Dr
Clyde, NC 28721
828-452-8819



=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.NET.

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

For help, email [EMAIL PROTECTED]

Visit the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
meditech-l@MTUsers.com
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to