All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
Yes they are stored in a different format I believe for under 3yrs?
See rules below...
Mnemonic AGELT2 Print On Order
History
Active? Y Print From PCI
N
Description UNDER 2 TESTING POM Enabled?
N
Data Flds from RX Evaluate at
MED
Eval Stock Meds
"Patient is 2 or under, This Medication Is Contraindicated for this
Age!"^X,
IF{[f z.age.in.days]<730 [f rx msg](X);[f rx ok]};
Custom data field for z.age.in.days
Function RX Name RX
Mnemonic z.age.in.days Assign to Group Z
Active? Y
Name AGE IN DAYS
Multiple Output Lines? Special Flag Value
Minimum Output Length
Maximum Output Length
Number of Arguments
Execute at Translation?
Edit Code?
%Z.date.sub(@MIS.PAT.birthdate,/.DAT)
-------------------------------------------------------------------
Mnemonic PTAGE1 Print On Order
History
Active? Y Print From PCI
N
Description PT AGE MESSAGE - PEDIATRIC POM Enabled?
N
Data Flds from RX Evaluate at
MED
Eval Stock Meds
"Patient is UNDER 2 yrs old!- Enter Gentamicin Pediatric Vials
instead!!! "^A,
IF{[f z.age.in.years]<2 [f rx msg](A);[f rx ok]};
The z.age.in.years is a PHA Custom Field This custom field does the
calculation for you and you use the custom field in the rule...
See below:
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(@MIS.PAT.birthdate,/.DAT)
--------------------------------------------------------------------
Good Luck,
Bill Mullins RN
Williamson Medical Center
2021 Carothers Road
Franklin,Tn 37067
615-435-5630
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sherlene Christen
Sent: Wednesday, May 24, 2006 8:51 AM
To: Shirley Hammack
Cc: [EMAIL PROTECTED]; Meditech-L (E-mail)
Subject: Re: [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
======================================
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
This footnote also confirms that this email message has been swept by Sophos
and MIMEsweeper for the presence of computer viruses.
**********************************************************************
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l