The only way that I could do that with my NPR level would be to create an MV array and store the data accordingly into it based on the month ranges...
I don't have a sample to supply.. But you would need to look at the procedure code, probably use it as a key, and then store the month data as your fields. So your saving line would look something like this: Inpatients: @inp.count+/MV["DATA",KEY_"-I",<<MONTH COLUMN>>]^/MV["DATA",KEY_"-I",<<MONTH COLUMN>>], @out.count+/MV["DATA",KEY_"-O",<<MONTH COLUMN>>]^/MV["DATA",KEY_"-O",<<MONTH COLUMN>>], Where KEY would have been previously initialized with this: @proc^KEY All done at AL D time, and then printed in a TK region... Good luck with your macro... Damian A Shepard Systems Analyst Information Systems Telephone: (802) 447-5165 ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe George Sent: Friday, June 22, 2007 11:31 AM To: meditech-l@MTUsers.com Subject: [MEDITECH-L] Magic B/AR Good Morning L'ers Has anyone written a B/AR report using BAR.REV.PROC that spreads the quantity(I/P&O/P) by procedure/month in a TK region. Mine prints at every month end date rather than printing one TK region on the last month end date. Meditech tells me they won't be able to get to my request for 8 days. Seems they need to hire more programmers if they are that back logged. ole0.bmp The report should print like: JAN FEB 40800039 SPUTUM COLLECTION INPAT -> 20 11 OUTPAT-> 1 4 Thanks Joseph George IT Director Russell Medical Center This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by legal privileges or statutory protections. If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please immediately notify Joseph George by telephone at 256-329-7111. Upon request, we will reimburse you for reasonable costs incurred in notifying us. File attachment: ole0.bmp The file attached to this email was removed because the file name is not allowed. DISCLAIMER: The information contained in this electronic message is legally privileged and confidential under applicable law and is intended for a particular addressee(s). If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error; any review, copying or distribution or dissemination is strictly prohibited. If you suspect that you have received this transmittal in error, please notify Southwestern VT Health Care Corporation immediately by return email reply to ([EMAIL PROTECTED]), and immediately delete the transmittal and any attachments without making any copy or distribution. Thank you.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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