All messages should be posted in plain text.  HTML will be converted to
attachments.    The meditech-l web site is MTUsers.com
======================================

I am trying to get a custom lookup to only list the patient's active
pharmacy orders.  So far, the only thing I get in the lookup is the correct
headers and title.  I do not get any order information at all.  Can anyone
see anything wrong with my coding?  Any suggestions to get this working
would be greatly appreciated.

Thanks,
Donna

ID
ID=%PHA.RX.zcus.rn.med.discharge.report.M.number(A)
ID.ARG=BR


MACRO
IF{'/LOADED @BUILD},
%Z.id.dict.color(^/NUM,A,"Number":12TL_("Med":32TL),"CD:12L_(A,CD]|1:32TL_([
A,CD]|2",B,"Active Orders");

BUILD
c.patient^PHA.RX.patient,  (The user is selecting the patient when they run
the report)
"AC"^PHA.RX.status,
""^PHA.RX.order.type,
[EMAIL PROTECTED](PHA.RX.order.type,@PHA.RX.patient.rx.x) ""^PHA.RX.number,
[EMAIL PROTECTED](PHA.RX.number,@PHA.RX.patient.rx.x,PHA.RX.urn) 1,
Q("Y",@PHA.RX.number,@PHA.RX.med)^/NUM}},
1^/LOADED

PAGE 2 of report
number     LI      ENTER RX NUMBER:  

Donna A. Peters
Lead Applications Programmer/Analyst
TriHealth Information System
(513)569-6816
[EMAIL PROTECTED]



PRIVACY/CONFIDENTIALITY NOTICE REGARDING PROTECTED HEALTH INFORMATION
This email (and accompanying documents) contains protected health
information that is privileged, confidential and/or otherwise exempt from
and protected from disclosure under applicable laws, including the Health
Insurance Portability and Accountability Act. The information contained in
this email (and any accompanying documents) is intended only for the
personal and confidential use of the intended recipient. If the reader of
this message is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this information in error and that any
review, dissemination, distribution, copying or action taken in reliance on
the contents of this communication is strictly prohibited. If you have
received this communication in error, please destroy it immediately.
_______________________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to