Yes - we use to do this. Basically, you have to write a rule that will
change the output labels from 0 to 1 and evaluate it for whatever order
types you want. The syntax of the rule will not pass the rule syntax
checker, so it has to be done with a keyword that calls a macro.
The rule simply says:
[f zcus.rorlabel];
zcus.rorlabel is defined as a custom keyword:
Function RX Name RX
Mnemonic zcus.rorlabel Assign to Group Z
Active? Y
Name call macro to print ror lablel
Multiple Output Lines? N Special Flag Value
Minimum Output Length
Maximum Output Length
Number of Arguments
Execute at Translation? N
Edit Code?
%PHA.RX.zcus.rb.rule.rorlabel.M.ck(urn);
Here is the macro code:
IF{/RULE.EVAL="REFILL" ^?;^/}^q,
@Chg.prefix(PHA.RX,?,[q]),
IF{/RULE.EVAL="REFILL" ^:;^/}^c,
@Chg.prefix(PHA.RX,:,[c]),
/patient^patient,/urn^urn,
/PHA.REF.urn^PHA.REF.urn,/med^med,@t.med.rule^med.rule,/txn.date^txn.dat
e,/txn.q^txn.q,
[EMAIL PROTECTED]"ROR" IF{'/TR[urn]OUTPUT["E","LA"]|0
1^/TR[urn]OUTPUT["E","LA"]|0}},
1;
Hope that helps!
Roger
Roger Beverly, PharmD
Clinical Pharmacy Coordinator
Conway Medical Center, Inc.
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Silver
Sent: Thursday, August 09, 2007 2:50 PM
To: Meditech-L list
Subject: [MEDITECH-L] PHA generating a label for order checking
Hello L-Land
Is there a way to have a MED label print EVERY TIME you fill an order?
We currently only get labels if a med is DISPENSED.
Pharmacy staff (in their old life) had a label print every time to check
against the order.
Is this possible with Meditech?
We are MAGIC 5.5 sr1
Thanks
Tom
Tom Silver
Clinical Staff Pharmacist
Howard Regional Health System
Phone (765)-453-8524 fax (765)-864-6707
Main Pharmacy phone (765)-453-8433
Main Pharmacy fax (765)-453-8141
No trees were killed in the sending of this message.
However; a large number of electrons were terribly inconvenienced. :^)
"The opinions expressed in this e-mail message are those of the author
and may not be representative of Howard Regional Health System or any of
its affiliates. This e-mail message and attachments, if any, may
contain confidential or privileged information. If you are not the
addressee or authorized to received this message for the addressee, you
must not use, copy, disclose, or take any action based on this message,
any attachments to this message, or any information herein. If you have
received this message in error, please advise the sender immediately by
reply e-mail and delete this message in its entirety."
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
To check the status of the meditech-l, visit MTUsers.NET
For help, email [EMAIL PROTECTED]
Please visit and add information to the MTUsers WikiPedia at
MTUsers.NET/mwiki ______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
Conway Medical Center Disclaimer
The information contained in this message may be privileged and confidential
and protected from disclosure. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your computer.
Thank you
T20070801
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com
To check the status of the meditech-l, visit MTUsers.NET
For help, email [EMAIL PROTECTED]
Please visit and add information to the MTUsers WikiPedia at MTUsers.NET/mwiki
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l_mtusers.com