All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
-----Original Message----- From: Gary Hall Sent: Wednesday, October 04, 2006 3:35 PM To: 'Carol Higley' Cc: '[email protected]'; 'Bill Mullins' Subject: RE: [MEDITECH-L] Patient Audit Trail By User -- running for one user OK, Carol, here's how I've got it working for just one user. Note that it's slightly different coding in the "tr" macro for each of the different applications, so if you add other apps than RAD, PCI, or MIS, it may well require different coding for those other apps. Anyway, here's how to make it work: On page 2, set up a selection "initials IG User Initials:". When you run the report, enter the Meditech user id for the user whose activity you want to track. In the tr macro,change each of the loop routines to include a check for the c.initials variable: Change the LOOP.THROUGH.MIS routine to add an imbedded IF as shown: [EMAIL PROTECTED] [EMAIL PROTECTED] @ADD.MIS.FIELDS.TO.TR.MV, @NIL.OUT.MIS.ENTRIES;@NIL.OUT.MIS.ENTRIES}}}}} Change the LOOP.THROUGH.PCI routine to add an imbedded IF as shown: [EMAIL PROTECTED] [EMAIL PROTECTED]|2=c.initials @ADD.PCI.FIELDS.TO.TR.MV, ""^/PCI[time,terminal];""^/PCI[time,terminal]}}} Change the LOOP.THROUGH.RAD routine to add an imbedded IF as shown: [EMAIL PROTECTED] IF{initials=c.initials @ADD.RAD.FIELDS.TO.TR.MV,@NIL.OUT.RAD.ENTRIES;@NIL.OUT.RAD.ENTRIES}}}} Note that the logic is the same in each of the three changes; it's just that the field name that needs to be interrogated in each case is different. I've attached my working version of the report, in case I typo-ed anything above. Have fun!! Gary Hall Clinical Applications Specialist Estes Park Medical Center Information Systems Department 970-577-4443 ________________________________ From: Carol Higley [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 11:06 AM To: Gary Hall Subject: RE: [MEDITECH-L] Patient Audit Trail By User That fixed it! Do you have any idea how to get this to run for just one user instead of all? Carol Carol L. Higley Data Systems Analyst Howard Regional Health System 765-453-8140 The opinions expressed in this e-mail message are those of the author and may not be representative of Howard Regional Health System or affiliates. This e-mail message and attachments, if any, may contain confidential or privileged information. If you are not the addressee or authorized to receive this message for the addressee, you must not use, copy, disclose, or take any action based on this message, any attachments to this message, or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message in entirety. >>> "Gary Hall" <[EMAIL PROTECTED]> 10/3/06 11:53 AM >>> Carol, I was able to get it to not crash. I went into the footnote, and changed the names of the macros to match the correct report name/macro. I think Bill, when he was sending different versions, neglected to adjust that in the footnote. So, it runs now for me, yay! Gary Hall Clinical Applications Specialist Estes Park Medical Center Information Systems Department 970-577-4443 -----Original Message----- From: Gary Hall Sent: Tuesday, October 03, 2006 7:51 AM To: 'Carol Higley' Subject: RE: [MEDITECH-L] Patient Audit Trail By User Crashes for me, also. Haven't figured out why yet... Gary Hall Clinical Applications Specialist Estes Park Medical Center Information Systems Department 970-577-4443 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carol Higley Sent: Monday, October 02, 2006 8:14 AM To: Bill Mullins Cc: [email protected] Subject: RE: [MEDITECH-L] Patient Audit Trail By User All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== 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.
AUDITONEUSER.NPR
Description: AUDITONEUSER.NPR
_______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
