All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

I don't know if this will work but it may be worth a try.

Try   d.location

That is what I ended up needing to use to default in a campus based on
the location for some OE procedures in RXM.  We had to get the answer
from Meditech. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 7:23 PM
To: [email protected]
Subject: [MEDITECH-L] Second RXM rule problem

All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================


This is my second RXM rule question. This one is really driving me nuts.
I have written a rule in RXM (see below)
Mnemonic       ERREFILL02
                                                  Evaluate at
Active?        Y                                    DOSE
Description    SET REFILLS ON ER 0 (TEST2)
Data Flds from RX
   IF{[f rx location]'="3-B";
   [f rx set rx rf](0)};                                 that's a zero
in the parenthsis.

This rule is meant to set a prescription to 0 refills if a patient is in
the location 3-B.
[f rx location] is the only field I could find that seemed reasonable.
3-B is the location of our ER department. I actually don't need this
particular rule
but I need the answer for a different rule which I will post later.
A rule written in RXM does not seem to be able to identify a patient's
location or status. I have tried using all of the following custom key
words:

  z.adm.pat.location                           [EMAIL PROTECTED]
  z.adm.pat.outpatient.location           = @ADM.PAT.outpatient.location
  z.adm.pat.service                           = @ADM.PAT.service
  z.edm.loc.mis.loc                             [EMAIL PROTECTED]
  z.mis.locn.outpt.type
[EMAIL PROTECTED]
  z.mis.pat.status                               [EMAIL PROTECTED]
  z.pt.status                                       [EMAIL PROTECTED]
  z.rxm.rx.location                              [EMAIL PROTECTED]
  z.status.type                                   [EMAIL PROTECTED]


All substituted for the field [f rx location] '=   (or =)   to the
approprate status, location, type, whatever.

If anyone can find a way fo write an RXM rule that actualy distinguishes
INPATIENT FROM ED PATIENTS FROM AMBULATORY/OUTPATIENTS
that would be really great! Please post it because whatever I am doing -
it won't work. Thanks Cindy






This e-mail message, including its attachments, is for the sole use of
the intended recipient(s) and may contain confidential or privileged
information. Any
unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message.

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to