Hi Cristina, You could write an IF statement for your DFT. Make the condition evaluate whether today is the same day the last response was filed. If so, then place the current logic in the "THEN" logic. It should look something like this:
[EMAIL PROTECTED]"YOURQUERY"[EMAIL PROTECTED] *AA.CCDQR[/["aa"],"QUERYA-GRANDTOTAL"]|0} So, if the date is the same, the last filed value is defaulted. If not the same, nothing will default as the value of the DFT will be nil. Let me know how it goes, Kenny Whiteside Kenny Whiteside BSN, RN Patient Care Information Systems Catawba Valley Medical Center 810 Fairgrove Church Road Hickory, NC 28602 [EMAIL PROTECTED] >>> "Kimball, Cristina" <[EMAIL PROTECTED]> 07/31/2007 4:20:38 PM >>> Hello to All, Here is the scenario: The therapist did the treatment today and incurred a current total treatment time of 45 min. on the initial session (as seen on the screen below). Initial Documentation: Time In: 0800 Time Out: 0830 Elapsed Time: 30 Time In: 0845 Time Out: 0900 Elapsed Time: 15 Time In: Time Out: Elapsed Time: Current Total Treatment Tm (min): 45 + Prev Total Treatment Tm (min): = GRAND TOTAL TREATMENT TM(min): 45 Another treatment was given today in which it produced the current total time of 30 min. on the subsequent session and as seen on the screen below. Subsequent Documentation: (same day) Time In: 1000 Time Out: 1030 Elapsed Time: 30 Time In: Time Out: Elapsed Time: Time In: Time Out: Elapsed Time: Current Total Treatment Tm (min): 30 + Prev Total Treatment Tm (min): 45 = GRAND TOTAL TREATMENT TM(min): 75 On the following day, when a therapist documents the 1st time for that day, our PT Manager wants to start anew without any defaults from previous documentation. In other words, the default attribute does not carry over to the next day. How can it be accomplished if feasible? The default attribute that I use is: DFT=*AA.CCDQR[/["aa"],"QUERYA-GRANDTOTAL"]|0 And it resides on the "Prev Total Treatment Time" query. I appreciate any input you may have. Thanks! Cristina C. Kimball, BSN, RN Manager, Clinical Informatics Pacific Alliance Medical Center 531 W. College St. Los Angeles, Ca 90012 Ph: (213) 437-4214 Fax: (213) 617-9203 Email: [EMAIL PROTECTED] This electronic message is intended only for the individual or entity to which it is addressed and may contain information that is confidential and protected by law. If you are not the intended recipient of this e-mail, you are cautioned that use of its contents in any way is prohibited and may be unlawful. If you have received this communication in error, please destroy it and notify the sender immediately by e-mail. -- 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/or entity named as recipients in the message. Please notify the sender immediately and delete the material from your computer if you have received this message in error. Do not deliver, distribute, or copy this message, and do not disclose its contents or take any action as a result of 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