Dana L Olson, RN
Clinical Systems Coordinator
Southwest Medical Center
PO Box 1340
Liberal, KS 67905
620-629-6338, Fax 620-629-6352
dol...@swmedcenter.com
________________________________
Confidential: This electronic message and all contents contain information from Southwest Medical Center which may be privileged, confidential or otherwise protected from disclosure. This information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies. Thank you.
====================================
Please do NOT send messages that ask "Please post to the list" These are useless messages that just waste the email server's resources. Instead, email the original requester and ask that they send you or post the results of their question.
To UNSUBSCRIBE, go to http://MTUSers.net
for information.
The meditech-l archives (and other tips) can be found at
http://mtusers.net/zarchives
Job opportunities in the Meditech community can be found at
http://mtusers.net/zjobs
If you want an alert to display when the drug is selected in PHA, you could actually have the rule display some kind of message, at MED or DOSE.
Joe Cocuzzo
Vice President
NPR Services
Iatric Systems, Inc.
Phone/Fax: (978) 805-4115
Email: mailto:Joe.C...@iatric.com
Web: http://www.iatric.com/
Iatric Systems is a leading provider of integrated software applications, interfaces and reporting solutions for hospitals and healthcare systems.
__________
Roger
It is easy to set an RX Comment - there is a Meditech field which will
do that - [f rx set rx comment]("MESSAGE HERE"). I do not like to use
those because we have eMAR and the Rx Comments are now readily visible
in eMAR. We use label comments instead.
In order to set a value as a label comment, you are going to have to use
a keyword in a rule to do a program call to a macro. Something like:
IF{[q PHA.SALA]="Y" [f z.sala.lbl.cmt],1;1};
If the query PHA.SALA is answered yes, then call the custom keyword
z.sala.cmt.
The keyword must be setup first, and it simply calls an NPR report which
has several macros attached, one being sala.lc. Here is the keyword
definition.
%PHA.RX.zcus.rb.rules.M.sala.lc(/urn)X
Here is the macro content with some explanation. (Herb B. gave me the
basic idea of how to add label comments.) The top portion is just
copied from a rule in the PHA.RX.zcus.rx.rule macros. (This is where all
the translated pharmacy rules live.)
;Look at the total number of comments, then add one to each.
;Set the label comment as the sala confused med
;THIS IS THE STANDARD RULE STUFF
/.EMAR.FN^FN,
IF{/RULE.EVAL$3'="MAR"
"";FN="FD"!(FN="ED")!(FN="QD")!(FN="BD")!(FN="SM") 1;""}^FN,
IF{/RULE.EVAL="REFILL"!(/RULE.EVAL="TXN")!(/RULE.EVAL="DUE")!FN
^?;^/}^q,
@Chg.prefix(PHA.RX,?,[q]),
IF{/RULE.EVAL="REFILL"!(/RULE.EVAL="TXN")!(/RULE.EVAL="DUE")!FN
^:;^/}^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,
;HERE IS THE ACTUAL RULE BEGINNING
/med^PHA.DRUG.mnemonic,
;THIS STATEMENT STOPS THE RULE IF A COPY EDIT FUNCTION IS BEING USED
IF{/.PHA.RX.NUMBER;
;ADDED SOME ECLUSIONS - ONLY INPT ORDERS, QUERY = Y
@PHA.RX.ord.rx.pt.type'="IN";
@PHA.DRUG.query.response["PHA.SALA"]="Y" 1,
;BELOW IS THE TEXT I'M ADDING AS THE LABEL COMMENT
"(SALA) Caution Sound-alike / Look-alike med"^CONF,
;GET THE LAST COMMENT LINE NUMBER
@Last(label.comment.q)^/CT^LLC,
""^LCQ^DONE,
;CHECKING TO SEE IF THE ABOVE COMMENT IS ALREADY THERE SO I DON'T
DUPLICATE
;BY LOOPING THROUGH LABEL COMMENTS AND LOOKING FOR SALA AS FIRST WORD
DO{+/TR[urn]CM[LCQ]^LCQ IF{@label.comment[LCQ]$5="(SALA" 1^DONE}},
IF{'DONE /CT+1^/CT,
;ADD COMMENT TO CURRENT QUEUE + 1 - AT THE BOTTOM OF LIST
CONF^/TR[urn]CM[/CT]^/IAT[/CT],""^DONE,
;IF YOU WANT TO SEE THE CHANGE, YOU HAVE TO ENTER THE LABEL CMT EDITOR
;OR USE THE BELOW code TO REPRINT THE SCREEN IN THAT AREA.
;HAVE TO ELIMINATE EVERYTHING EXCEPT MED ORDER ENTRY SCREEN
IF{@PHA.RX.order.type's.type="IV";
;ALSO ELIMIATE ORDER SETS FR0M UPDATING - DON'T SEE THE CMT BOX
@ee.so.start.time_"."="." IF{@PHA.PARAM.med.comment.length;60}^LEN,
ZZ%OP(!S,"P"),
%Z.text.ed.shell(^/IAT,24+LLC,27,LEN,0,"D","PHA.RX","comment"),
C(!U)}}};
Hope that gets you started.
Roger
-----Original Message-----
From: Terry Crissman [mailto:Terry.C...@duncanregional.com]
Sent: Thursday, January 28, 2010 11:51 AM
To: Roger Beverly
Subject: RE: [MEDITECH-L] Flagging High Risk Medications in PHA
Roger,
Could you post a template for sending comments to the label comments?
thanks
Terry Crissman DPh
Director of Pharmacy
Duncan Regional Hospital
Duncan,OK 73533
terry.c...@duncanregional.com
Roger
====================================
====================================
Please consider the environment before printing this e-mail.
"CONFIDENTIALITY NOTICE: This e-mail and any files transmitted
with it are the property of DRH and/or its affiliates,
are confidential, and are intended solely for the use of the
individual or entity to whom this e-mail is addressed.
If you are not one of the named recipient(s) or otherwise have
reason to believe that you have received this message in error,
please notify 580.251.8773 and delete this message immediately
from your computer. Any other use, retention, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited."