All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
I know this is probably not that hard but I just can't get this right. I have a simple little report that totals the number of ACTIVE prescriptions for a patient's current account. Her is the report: PHA.RX.zcus.ce.frag.active.med.orders Page 1 Detail DPM = PHA.RX Detail segment = pha.rx.file Index DPM = PHA.RX Index file = pha.rx.active.index Page 2 sort fields urn patient's.acct.number Select fields: patient EQ /patient patient IG PATIENT: dc.date.or.active EQ (Active RX's are stored in this index as "~" and get changed to "DC" when they are dc'd) "~" PAGE 3 D number i.e. @number (Where @number = the rx number) TR count i.e. %Z.count This report works fine. I put in the patient's name and it totals the number of active RX's. ( Oh - I put a Line check on the detail line so it doesn't print (LC="") Now I need to use this report somehow to bring the total of a patient's active RX's either onto another report I have which is written in PHA.CLV - or I need to bring the total onto a PHA Customer defined screen on a query which I placed on an Intervntion. THe purpose is to have the total nmber of the patient's active RX's automatically populate either the query in the CDS or fill in on the report I made for the Clinical Interventions. I have tried re-writing this and using it as a slash variable in the PHA.CLV report but either I did it wrong or it won't work that way. Any help will really be appreciated! Thanks CIndy. This e-mail message, including its attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
