-----Original Message----- From: Gary Hall [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 8:08 AM To: Shirley Hammack Subject: RE: [MEDITECH-L] Line Check logic
Shirley, I'm not sure, but you might try LC=(@cd.response["PP.HLTH2"[EMAIL PROTECTED]"PP.HHHIST",1])& LC=(c.xx.current.selection="0")!(c.xx.current.selection="A") Any time you're mixing ORs and ANDs it convolutes the logic. It's early morning, so my brain may be on the wrong frequency yet (haven't finished the cup o' coffee yet), but this may work better! Gary Hall Clinical Applications Specialist Estes Park Medical Center Information Systems Department 970-577-4443 -----Original Message----- From: meditech-l@MTUsers.com [mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack Sent: Thursday, May 24, 2007 10:32 AM To: Meditech-L (E-mail) Subject: [MEDITECH-L] Line Check logic I have a report in PP.PER that is pulling several sets of data from a CDS. The user has requested that she have the option to select one set or all sets. Each line check is checking for two things: (1)Her selection and (2)the presence of actual data in that section. Here's my code: LC=(@cd.response["PP.HLTH2"[EMAIL PROTECTED]"PP.HHHIST",1])& LC=(c.xx.current.selection="0"!c.xx.current.selection="A") It worked until I added the second phrase on the second line about the current selection being equal to "A" to give her the second option. Now, if the selection is "A" the line prints but if the selection is "0" (zero) it doesn't print. Shirley Hammack I.T. Financial Analyst Jackson County Memorial Hospital 580-477-7484 The documents accompanying this transmission contain confidential information, belonging to the sender, that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any reading, disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. Violators may be prosecuted. If you have received this email in error, please notify the sender immediately and destroy the transmitted information. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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 The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender of this communication immediately. This email has been scanned by the JCMH McAfee Webshield appliance and has been cleared for delivery. If you have any concerns or questions, call the IT Helpdesk at x2646. The documents accompanying this transmission contain confidential information, belonging to the sender, that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information after its stated need has been fulfilled. If you are not the intended recipient, you are hereby notified that any reading, disclosure, copying, distribution, or action taken in reliance on the contents of these documents is strictly prohibited. Violators may be prosecuted. If you have received this email in error, please notify the sender immediately and destroy the transmitted information. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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