[MEDITECH-L] OE order rules for LABs

310 views
Skip to first unread message

Pervine, Teresa

unread,
Nov 4, 2009, 8:51:03 AM11/4/09
to medit...@mtusers.com
Good Morning Everyone,

I have a couple of order rule questions. First, with all of the Meditech rules that have been built at various facilities, is there anywhere to find them all compiled neatly in one place? It would be a big help to those of us that are not very experienced in rule building. All I could find on the Meditech website was the few standard content ones.

Now for the problem at hand, I have adapted a Meditech rule for LAB to preventing ordering an adult test when a pediatric version is available based on age:

"Patient is less that 18 years. Order Pediatric version."^X,
IF{[f pt age lt](18,0,0) [f lord err msg](X);
[f lord ok]};

I have attached it to the tests and it seems to work fine. Now I need the same thing for OE, only in there I need two separate rules. One to do the above, and one to attach to the pediatric tests to prevent someone in OE from ordering the pediatric version on an adult. Any help would be appreciated. My attempt in OE caused both rules to invoke on the same pediatric test order even though only one was attached to the test I was ordering. I'm still trying to figure out what happened there.

Teresa Pervine MT (ASCP)
Clinical Support Specialist
Information Systems
Murray Calloway County Hospital
270-762-1160
tper...@murrayhospital.org

How many times is it appropriate to say "What?" before you just nod and smile because you still didn't hear what they said? ~Anonymous


====================================

Please do NOT send messages that ask "Please post to the list" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.

To UNSUBSCRIBE, go to http://MTUSers.net
for information.

The meditech-l archives (and other tips) can be found at
http://mtusers.net/zarchives

Job opportunities in the Meditech community can be found at
http://mtusers.net/zjobs

Goodwin, Marti

unread,
Nov 4, 2009, 9:05:11 AM11/4/09
to Pervine, Teresa, medit...@mtusers.com
Teresa,

We are a C/C 5.64 site and have some order rules built for POM. The
following tells them to not order this test on patients greater than 30
days.

IF{[f pt age gt]("0","0","30") [ord pom]("CMPPOM",1),"OK";1};

We have this rule POM enabled and Evaluate at POM ORD. Under the button
area we have Erase Order.

I hope this helps, let me know if you need more information.


Marti Goodwin, MT (ASCP)
LIS Analyst
Norman Regional Health System
Phone: (405) 307-1020
Pager: (405) 327-0463
mgoo...@nrh-ok.com

Good Morning Everyone,


====================================


<FONT face=Tahoma size=2>
<FONT color=#0000ff><U><FONT size=2>
<P>CONFIDENTIALITY NOTICE:</U></P>
<P>This e-mail communication and any attachments may
contain confidential and privileged information for the use
of the designated recipients named above. If you are not
the intended recipient, you are hereby notified that you
have received this communication in error and that any
review, disclosure, dissemination, distribution, or copying
of it or its contents is prohibited. If you have received
this communication in error, please notify the sender
immediately and destroy all copies of this communication
and any attachments.</FONT></FONT></FONT></P>

Paul Goedicke

unread,
Nov 4, 2009, 9:46:05 AM11/4/09
to Pervine, Teresa, medit...@mtusers.com
You didn't specify Magis or C/S - we're Magic. The best LAB tool for rules was a manual Meditech cranked out with Magic 4.5, I believe it was. My first experience with Meditech was with version Magic 4.71, but that manual was priceless. It listed all rule options (keywords) and gave a working example of most. I never saw it available as a download, and forgot to copy it before I left my previous employer. With that said, it may be obvious there is no compilation in a document or on a website. There is limited information available from Meditech and most of those are in individual Knowledge Base articles.
Keeping in mind OE rules may or may not follow the same format as LIS rule keywords, from what you describe, the OE rule chokes on your first criteria and chokes - resulting in an error regardless of input. This is why it seems both rules are checking when only one is attached. To prevent that confusion in the future, work on only one rule at a time and don't start another until the first is either working or removed.

Now, on to your rule issue;
"Patient is less than 18 years. Order Pediatric version."^X,
IF{[f pt cur age]<18 [f lord ok];


[f lord err msg](X)};

It is only my individual preference, but I prefer performing the check for acceptable criteria before invoking the error.

Paul Goedicke
Clinical Analyst III
Jackson County Memorial Hospital
1200 E. Pecan Street
Altus, OK 73521
Phone (580) 379-5565
Fax (580) 379-5559
paulgo...@jcmh.com

Albert Einstein: "The secret to creativity is knowing how to hide your sources."

-----Original Message-----
From: meditech-...@mtusers.com
[mailto:meditech-...@mtusers.com]On Behalf Of Pervine, Teresa
Sent: Wednesday, November 04, 2009 7:51 AM
To: medit...@mtusers.com
Subject: [MEDITECH-L] OE order rules for LABs


Good Morning Everyone,


====================================

---------------------------------------------------------------------------------------------
This email has been scanned by the JCMH IronPort appliance and has been cleared for delivery.
If you have any concerns or questions, call the IT Helpdesk at x5550.
---------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------
The documents accompanying this transmission contain confidential information, belonging to the sender, that is legally privileged.
This information is intended only for the use of the individual or entity named above. The authorized recipient of this information
is prohibited from disclosing this information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any reading, disclosure, copying, distribution, or action taken
in reliance on the contents of these documents is strictly prohibited. Violators may be prosecuted. If you have received this email
in error, please notify the sender immediately and destroy the transmitted information.
------------------------------------------------------------------------------------------------------------------------------------

Russo, Judy

unread,
Nov 4, 2009, 9:46:16 AM11/4/09
to Goodwin, Marti, Pervine, Teresa, medit...@mtusers.com
We are C/S 554, and I have lots of OE rules. Here are a couple that may
help you, they are written in NPR:

IF{[f pt cur age]>5,

"This procedure can only be ordered for patients under 5 years of
age."^X,

[f ord msg](X)};

[f pt cur age]^AGE,

"Patient must be Less than 2 years of age"^MSG,

IF{(AGE#1="M")!(AGE#2="M")!(AGE#1="D")!(AGE#2="D") [f ord ok];

[f ord err msg](MSG)};

Judy Russo, RT(R)(CV)

RIS/PACS Information Analyst

Halifax Health

Daytona Beach, FL

judy....@halifax.org <mailto:judy....@halifax.org>

386-322-4770

Ganesh Seshadri

unread,
Nov 4, 2009, 11:21:09 AM11/4/09
to medit...@mtusers.com
Can someone shed light on the optimal way to use PHA.RX (Magic 5.62) to
list what a patient was given and when?

Segment pha.rx.file ?TR[tr] seems to be the highest level and looks
generally straightforward. Both pha.rx.transactions and pha.rx.admin
seem to be set up to provide details for the first segment; yet one is
set up as a child, and the latter is by itself even though it subscripts
are set up like a child. The transactions segment seems to have all the
transactions including those that are credits and debits that cancel
out.

Do you typically loop through pha.rx.admin as though it were a child of
pha.rx.file by selecting indexed on the mri.urn and also selecting on
the account number, or are there other considerations?

Ganesh Seshadri
Analyst, Indiana Regional Medical Center
(724) 357-7012

Pervine, Teresa

unread,
Nov 4, 2009, 2:46:02 PM11/4/09
to Russo, Judy, Goodwin, Marti, medit...@mtusers.com
Judy,

We are C/S 5.55. I tried the first first rule and it seemed to work fine, except it didn't stop the order from filing. Also, if you could download a list of all of your rules and send the file to me I would be thrilled beyond words. I am particularly interested in LAB, OE (and POM?), but will take anything you are willing to share. I am so ignorant on the subject, I don't even know if POM and OE rules are the same. And what about AOM? Can OE rules be used there? Thanks.


Teresa Pervine MT (ASCP)
Clinical Support Specialist
Information Systems
Murray Calloway County Hospital
270-762-1160
tper...@murrayhospital.org

How many times is it appropriate to say "What?" before you just nod and smile because you still didn't hear what they said? ~Anonymous


-----Original Message-----
From: Russo, Judy [mailto:judy....@halifax.org]
Sent: Wednesday, November 04, 2009 8:46 AM
To: Goodwin, Marti; Pervine, Teresa; medit...@mtusers.com
Subject: RE: [MEDITECH-L] OE order rules for LABs

We are C/S 554, and I have lots of OE rules. Here are a couple that may help you, they are written in NPR:

IF{[f pt cur age]>5,

"This procedure can only be ordered for patients under 5 years of age."^X,

[f ord msg](X)};

[f pt cur age]^AGE,

"Patient must be Less than 2 years of age"^MSG,

IF{(AGE#1="M")!(AGE#2="M")!(AGE#1="D")!(AGE#2="D") [f ord ok];

[f ord err msg](MSG)};

Judy Russo, RT(R)(CV)

RIS/PACS Information Analyst

Halifax Health

Daytona Beach, FL

<mailto:judy....@halifax.org> judy....@halifax.org

Nelson Eric

unread,
Nov 6, 2009, 11:10:44 AM11/6/09
to medit...@mtusers.com
All,

Perhaps I am not internet-savvy (as I should be), but I have repeatedly gone to the Muse Website to enroll in some of the exciting upcoming webcasts, only to be presented with a screen that asks for my credit card number, and there is no indication to me that the site is secure (https:// not present, page properties indicates the page is not encrypted, nothing in that little bottom bar of information on my brownser (IE 6 - I know, a bit outdated - maybe I need to flip a switch on my end???) that shows a locked padlock or anything). If there is another means by which I can be assured that my CC information is secured, could someone tell me what to look for? Perhaps I may be a bit paranoid...

Thank you,

Eric Nelson
San Antonio, Tx

-----Original Message-----
From: meditech-...@mtusers.com [mailto:meditech-...@mtusers.com] On Behalf Of Ganesh Seshadri
Sent: Wednesday, November 04, 2009 10:21 AM
To: medit...@mtusers.com

Reply all
Reply to author
Forward
0 new messages