Hi Alice,

The DFT attributes only execute their logic if:

1) the cursor stops in the response field,
2) there is no existing response to the query on which it is placed.

Knowing that, we can't use a DFT attribute to "change" the existing
response.  However, you can "erase" the temporary answer to the query
and then the DFT will execute!  This can be done a number of ways but in
your case I would suggest placing an FCLn attribute on the query whose
response you are evaluating.  This way, every time a new response in
entered for that query, the temporary response to the defaulting query
will be erased.  This "erasing" only happens behind the scenes and the
old response will remain visible on the screen until updated.  Since
this may fool the end-user into believing that the query has a response,
I would strongly advise you to make the defaulting query a required
response.  This will prevent anyone from moving the cursor back to the
evaluated query, changing the response which "erases" the temporary
response to second query and then filing the CDS without updating the
second query.

To do this, place on the evaluated query ("NURPAPD"):

FCL1=""^/[ANS%0,"SECONDQUERY"]|0

( Replace SECONDQUERY with your query's mnemonic)


Then keep your DFT attribute on the second query:

DFT=IF{[ANS,"NURPAPD"]|0="N" "*R*";"-"}

Let me know how it goes or if you need any further help,
Kenny Whiteside



Kenny Whiteside BSN, RN
Patient Care Information Systems
Catawba Valley Medical Center
810 Fairgrove Church Road
Hickory, NC 28602
[EMAIL PROTECTED]



>>> "Alice Rogers" <[EMAIL PROTECTED]> 11/15/2006 3:58:30 PM >>>
I have the following attribute: which seems to work the first time but
when you change the answer it will not change.

DFT=IF{[ANS,"NURPAPD"]|0="N" "*R*";"-"}

I am trying to get this up on the status board, so that nurses can see
if they need to reassess the pain.
This message, together with any attachments, is intended only for the
use of the individual or entity to which it is addressed and may
contain
information that is confidential and prohibited from disclosure. If
you
are not the intended recipient, you are hereby notified that any
dissemination, or copying of this message, or any attachment, is
strictly prohibited. Please notify the original sender immediately by
telephone or by return E-mail and delete this message along with any
attachments, from your computer. Thank you.
This e-mail is Property of UMH15/11/2006



======================================
All messages should be posted in plain text.  
HTML will be converted to attachments.    

The meditech-l web site is MTUsers.com
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to