All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
I would only use the FCL if your staff will NEVER use the Edit function from within View History, and will NEVER document the CDS from the ASSESSMENT SCREEN and will NEVER have recall set for the intervention. Why? Because if the query has already been answered, and the response defaults in, the FCL statement will not be invoked, so the response will not be put into the temporary variable to be calculated. The best, and most foolproof method is to call a macro on entry to the CDS to populate all of the temporary variables, and then call that macro again from every query that could affect the score. This way, the score is recalculated from scratch with each entry, so it can't miss any values. Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kenny Whiteside Sent: Tuesday, March 07, 2006 9:11 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [MEDITECH-L] Attribute help needed for totalling yes/noqueries All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== Jeanne, I would suggest using FCL attributes on each Y/N query to send the desired value to a variable. Then use either an IFE or DFT attribute (depending on whether you want to allow them to edit) to add these variables together. You have several choices of how to accomplish this but you need to consider how important it is that these totals update appropriately if the user goes back and changes answers. This can become somewhat complex... but can be done! Here is an example of an FCL attribute that would set a value of 4 if the response is "Y": [EMAIL PROTECTED]"Y" 4^VAR1} To use a DFT to total: DFT=(0+VAR1+VAR2+VAR3) Let me know if you need more help, Kenny Whiteside Kenny Whiteside RN, BSN Patient Care Information Systems Catawba Valley Medical Center 810 Fairgrove Church Road Hickory, NC 28602 [EMAIL PROTECTED] >>> "Jeanne Hesseling" <[EMAIL PROTECTED]> 03/06/2006 5:25 PM >>> >>> All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== I am again needing help with an attribute. I have been asked to total 7 yes/no queries that have different values assigned to them and then to take this total and add it to another answer from a group response that also gives a value. The queries that I have are: NURFRSK505 (value of 4), NURFRSK055 (value of 2), NURFRSK060 (value of 1), NURFRSK065 (value of 1), NURFRSKK070 (value of 1) , NURFRSK075 (value of 2), and NURFRSK080 (value of 1). The query NURFRSK085 is the score. And then I need to take this score and add it to NURFRSK100 to get a total score on the query NURFRSK105. Any help with this would be greatly appreciated. Thank you. Jeanne Hesseling Delnor Hospital Geneva,Il 630-208-4439 _______________________________________________ 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
