Actually...
CDS Screen attribute: DFT=%OE.ORD.zcus.tjt.dft.M.prev.resp(/["aa"],"QUERY") Calls a macro, "prev.resp" that is attached to the NPR "OE.ORD.zcus.tjt.dft", passing parameters A /["aa"], and B "QUERY". The macro code he has: A^PT, B^QRY, ""^SD^RESP, DO{-?POE[PT,SD]^SD&'RESP ""^PO, DO{-?POE[PT,SD,PO]^PO&'RESP @CHECK.CAT.PROC}}, RESP; CHECK.CAT.PROC IF{:PO[PO]|5'=/["pc"]; :PO[PO]|6'=/["pp"]; :PO[PO]R[QRY]|0^RESP} Should work just fine. I think his question was something along the lines of "OE.ORD.zcus.tjt.dft doesn't exist, what do I do to create it???" Answer: You can create a nil report, no detail segment, no index, no footnotes, no detail. File it like that. Then go in and create your macro. Thank you, Mitch Lawrence Lead Applications Analyst - Advanced Report Writer General Financials Support CHRISTUS Information Management ': 361.881.3408 7: 361.888.6117 *: 361.549.8456 )AIM: a1d13 )MSN: [EMAIL PROTECTED] *: [EMAIL PROTECTED] FYI, I will be on vacation from June 22 through July 1, 2007. Send a "thank you" <http://intranet.christushealth.org/spiritBuck/> to someone! _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shepard, Damian Sent: Tuesday, June 19, 2007 12:12 PM To: MEDITECH-L@MTUsers.com Subject: [MEDITECH-L] FW: NPR RW macro help needed This is not a NPR Macro... This is a CDS Screen attribute... Even though the coding looks the same, the logic wouldn't work within NPR alone... What are you trying to do? Damian A Shepard Systems Analyst Information Systems Telephone: (802) 447-5165 _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Roberts Sent: Tuesday, June 19, 2007 10:04 AM To: meditech-l@mtusers.com Subject: [MEDITECH-L] NPR RW macro help needed Could someone please help me with the NPR report macro used in the following example? Advanced Attribute Defaulting a response from a previous OE order Default the most recent response to the same query for the same category and procedure. This is only for defaulting a previous OE order query response to the same query on a new OE order. Requires a macro to be created DFT=%OE.ORD.zcus.tjt.dft.M.prev.resp(/["aa"],"QUERY") Macro code for this attribute A^PT, B^QRY, ""^SD^RESP, DO{-?POE[PT,SD]^SD&'RESP ""^PO, DO{-?POE[PT,SD,PO]^PO&'RESP @CHECK.CAT.PROC}}, RESP; CHECK.CAT.PROC IF{:PO[PO]|5'=/["pc"]; :PO[PO]|6'=/["pp"]; :PO[PO]R[QRY]|0^RESP} Questions: 1. Should the Detail Segment = oe.order? 2. Any Index File? 3. Should Detail = Y ? 4. Does their need to be a Select field? 5. Leave Picture blank? 6. Footnote? Thanks for your help. Brian Roberts Financial Applications Specialist Information Technology Dept. Cambridge Memorial Hospital Phone #: (519) 621-2333 ext. 1491 Email: [EMAIL PROTECTED] 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.
<<image001.gif>>
<<image002.jpg>>
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 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_mtusers.com