All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Shirley - Here is my promethazine rule. We also had a problem with age until
my analyst realized that he need a custome keyword for age. Both are below,
but I have no idea what the keyword does.
Charlie
Charles R. Downs Pharm.D.
Washington County Hospital
251 E. Antietam Street
Hagerstown, MD, 21740
301-790-8904
[EMAIL PROTECTED]
Keyword:
Enter/Edit PHA Cus-Defined Keywords
Function RX Name RX
Mnemonic z.age.in.years Assign to Group Z
Active? Y
Name age in years
Multiple Output Lines? Special Flag Value
Minimum Output Length
Maximum Output Length
Number of Arguments
Execute at Translation?
Edit Code?
%Z.age.in.years(@PHA.PAT.computed.birthdate,@.today)
Rule:
"Phenergan contraindicated in patients under 2 years of age"^A,
"Use w/ caution in pediactric patients-potential for fatal resp
depression"^B,
IF{([z.age.in.years]<2) [f rx msg](A);
([z.age.in.years]'<2)&([z.age.in.years]'>12) [f rx msg](B);1}
----- Original Message -----
From: "Shirley Hammack" <[EMAIL PROTECTED]>
To: "Meditech-L (E-mail)" <[email protected]>
Sent: Tuesday, May 23, 2006 4:50 PM
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
>
>
***** CONFIDENTIALITY NOTICE *****
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l