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

Here is ours:

Mnemonic         AGELT2YO                 Last Edited by PHA.JDT
Date  05/03/2006-0758
Active?          Y                                    Print On Order
History
Description      message age less than 2              Print From PCI
N
Data Flds from   RX                                   POM Enabled?
N
Eval Stock Meds                                       Evaluate at
MED



 ;display message if age < 2 years old
 "Patient is 2 or under.  This medication is contraindicated for this
age!"^X,
 ;730 days = 2 years
 ;age.in.days gives neg number!
 IF{[f z.age.in.days]>(0-730) [f rx msg](X);[f rx ok]};
 

I used the Z function to take care of the "odd" ways of displaying age.
HTH.

Jeff Thompson, R.Ph.
Pharmacy Informatics
Newman Regional Health
Emporia, KS 66801
Direct: 620-340-6150

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack
Sent: Tuesday, May 23, 2006 3:50 PM
To: Meditech-L (E-mail)
Subject: [MEDITECH-L] Pharmacy order rule for less than 2 yrs old.

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

Our pharmacist is trying to create a rule that puts out a warning it the
patient is less than 2 years old.  When he uses "02" then 3-9 year olds
get the warning.  When he uses just "2" it doesn't work at all.  We were
wondering if the ages on the really young are stored in a different
format.

Any wisdom you can impart would be greatly appreciated!

;THIS RULE GIVES A WARNING THAT PROMETHAZINE IS CONTRAINDICATED IN
CHILDREN, "!!!!!!PROMEHTAZINE CONTRAINDICATED IN CHILDREN LESS THAN 2
YRS OLD!!"^E, IF{[f pt cur age]<02 [f rx err msg](E);[f rx ok]};

Shirley Hammack
I.T. Financial Analyst
Jackson County Memorial Hospital
580-477-7484


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.

_______________________________________________
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