Hi Jennifer, Unlike NPR, in MIS attributes you need to place a "p." after the @ to reference standard fields. (I also noticed the lack of the closing quote after HOD but I suspect that this just didn't copy/paste into the email) To evaluate for the disposition of "HOD", use:
[EMAIL PROTECTED]"HOD" To evaluate multiple dispositions but to stop in the query if any one is true: [EMAIL PROTECTED]"HOD";@p.ADM.PAT.er.depart.disposition="THIS"; [EMAIL PROTECTED]"THAT"} You can continue to add more dispositions by copying the format of semicolon and then @p.ADM.PAT.er.depart.disposition="WHATEVER" and move the } to the end. However, you are limited to 255 characters so if you have many of these you are likely to run over. You could use a macro to do this if there is just way too much code to fit. However, you can shorten this attribute considerately by sending the value of @p.ADM.PAT.er.depart.disposition to a variable in the first expression and then evaluate that variable against the other dispositions. This would be done like this: [EMAIL PROTECTED]"HOD";VAR="THIS";VAR="THAT"} Hope this helps, Kenny Whiteside Kenny Whiteside BSN, RN Patient Care Information Systems Catawba Valley Medical Center 810 Fairgrove Church Road Hickory, NC 28602 [EMAIL PROTECTED] >>> "Glover Jennifer K." <[EMAIL PROTECTED]> 07/10/2007 1:28 PM >>> Hi all. I'm new to attributes so don't laugh too hard. I need this attribute to ask the query if one of many discharge dispositions is chosen in the departure disposition field. Here's what I have, but I keep getting a syntax error when trying to file the CDS: [EMAIL PROTECTED]"HOD <mailto:[EMAIL PROTECTED]> " "HOD" is one of the many discharge dispositions I need it to look for and then ask the query. So I need help with two things: (1) what's wrong with this attribute; (2) how do I list multiple responses for it to look for in the er.depart.disposition field? Thanks in advance. Sincerely, Jennifer K. Glover, RN Clinical Information Systems Coordinator Randolph Hospital 364 White Oak Street Asheboro, NC 27203 336-625-5151 336-625-0205 (fax) -- 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 [email protected] http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
