All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
Hi Mark, Thanks to everyone who responded. I sure appreciate your efforts to help me. It's a comforting feeling that you're all out there. Before I put this out to the L I had asked Lenny (Bobcat Lenny) to check this out for me since he created the report. This was his response, "It looks like your #1 problem is in the OK macro. ER patients don't get a DRG, so the line '@drg; Would need to say.... (@pt.status="IN")&'@drg; Anyway I tried this on the copy of the report I was using but it wouldn't work, so that's when I asked the L, anyway, I ended up making the change to the original report and it worked. Something in my copy must not have translated correctly. Thank you all for your responses. Daisy -----Original Message----- From: Blount, Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 2:08 PM To: Daisy Reyna Subject: RE: [MEDITECH-L] SUBMITTING SURVEY DATA Daisy! I don't know much about anything..but it looks like the routine is looking for patients with or in a range of specific DRG's...and I'm not sure that ER patients will have a DRG? That'll stop the code from selecting any of your "ER" patients...I think. ;PROGRAM @Chg.prefix(MRI.PAT,?,*), A^urn, "N"^OK, IF{1, @abs.status'="FINAL"; /[EMAIL PROTECTED]; @dis.disposition="AMA"; @dis.disposition's.expired="Y"; @dis.disposition's.ub82.code'=01; '@sex; @sex'="M"'="F"; '@drg; <-------if there's no drg...ignore. @drg'<424'>437; <-------drg is not between 424 & 437..ignore. @BAD.DX; @EXP.IN.MRI; @BABY.EXP; "Y"^OK}, I think... Mark Blount Programmer Analyst, Information Technology Wayne Memorial Hospital Goldsboro, NC 919.731.6588 "In everything give thanks: for this is the will of God in Christ Jesus concerning you." I Thess. 5:18 PLEASE NOTE: This message is intended only for the use of the person to whom it is addressed and may contain information that is privileged and confidential, the disclosure of which is governed by applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, distribution or copying of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete it from your computer. Thank you. _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
