All messages should be posted in plain text. HTML will be converted to
attachments. The meditech-l web site is MTUsers.com
======================================
-----Original Message-----
From: Charlie Downs
To: Kawa, William B
Sent: 2/28/06 8:27 AM
Subject: Fw: [MEDITECH-L] Pharmacy Rule for anticoagulants
Bill - I have a similar rule, but it is for Dilantin and Cerebyx since
we
had a patient receiving both. You'll have to create the keyword first,
then
the rule. Just substitute the mneumonics and it should work. Let me
know
how
you make out. Also, could you e-mail me with your contact information
(address and phone # so that I can add this to my address book?
Charlie
Charles R. Downs Pharm.D.
Washington County Hospital
251 E. Antietam Street
Hagerstown, MD, 21740
301-790-8904
[EMAIL PROTECTED]
1. Create customer defined keyword.
Function RX Name RX
Mnemonic z.get.drugs Assign to Group Z
Active? Y
Name Get Drugs
Multiple Output Lines? Special Flag Value
Minimum Output Length
Maximum Output Length
Number of Arguments
Execute at Translation?
Edit Code?
%PHA.RX.zcus.rx.rule.M.get.cerebyx(patient,@urn)
2. Create rule incorporating customer defined keyword.
"*Dilantin and Cerebyx: Duplicate therapy!!!!!!*"^AA,
""^MEDD^DRUG^SW,
[f z.get.drugs]^DRUG,
IF{[f rx med]="FOSP500I10" "1"^MEDD;
[f rx med]="FOSP100I2" "1"^MEDD;
[f rx med]="PHEN100C" "2"^MEDD;
[f rx med]="PHENL4" "2"^MEDD;
[f rx med]="PHEN50T" "2"^MEDD;
[f rx med]="PHEN100I2" "2"^MEDD;
[f rx med]="PHEN250I5" "2"^MEDD},
IF{("1"=DRUG)&("2"=MEDD) "Y"^SW;
("2"=DRUG)&("1"=MEDD) "Y"^SW},
IF{"Y"=SW [f rx msg](AA);1};
***** 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.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
This e-mail and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you are not the addressee you may not copy, forward, disclose or use
any
part of the message or its attachments.
If you have received this message in error, please notify the sender
immediately by return e-mail and delete it from your system.
Unauthorized
forwarding, printing, copying, distributing, or using such information
is
strictly prohibited and may be unlawful.
Internet communications cannot be guaranteed to be secure or error-free
as
information could be intercepted, corrupted, lost, arrive late or
contain
viruses. The sender therefore does not accept liability for any errors
or
omissions in the context of this message which arise as a result of
Internet
transmission.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l