All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
|
Donna – I do not know what you have tried so far, but I
have a report in PHA.DRUG that will print the monographs. It involves a
fragment to PHA.MON with the PHA.DRUG.monograph and the language being selects
in the fragment report. You should be able to use something similar for
what you are trying to accomplish. I will attach the PHA.MON fragment for you
to look at. You should be able to build an array of PHA.DRUG.monographs
by subscripting on med in the PHA.RX report. The report that I have is simply
for one drug at a time, but changing the select from EQ to LI should allow for
more that one to be printed. Here is the downloaded report for 5.5 MAGIC – MEDITECH.CUST.RPTS^ @@VERSION:1 PHA.MON.zcus.rb.mon @@PROC PHA.MON.zcus.rb.mon PHA.MON @@RPT Y AT 825237890 RBEVERLYE CI F1
F2 language language[1]10L F2‑SE2 [1]EQ c.language F3
F‑S1 mnemonic F‑S1‑SE1 [1]LI c.mnemonic FI10 [1]301 FI1[1]32 [1]102 FI20 [1]923 FI30 [1]923 L1 D L2 D L3 D P1 name__________________________ language__ P2 line________________________________________________________________________________________ P3 line________________________________________________________________________________________ T1 mnemonic
U 825237871 RBEVERLYLIVE.MIS U 825237926 RBEVERLYLIVE.MIS U 825237961 RBEVERLYLIVE.MIS U 825237974 RBEVERLYLIVE.MIS U 825237990 RBEVERLYLIVE.MIS @@SCRN Y CS
P1
P1‑F1 c.mnemonic 120
P1‑F1‑C‑ID.ARG BR P1‑F1‑C‑IFE 1 P1‑F1‑C‑REQ N P1‑F1‑C‑REQI N P1‑F2 c.language 26[1]17
P1‑F2‑C‑ID.ARG BR P1‑F2‑C‑IFE 1 P1‑F2‑C‑REQ 1 P1‑MF1 31 P1‑P1 FOR MONOGRAPHS P1‑P2 @1 P1‑P3 @1 P1‑P4 @1 P1‑P5 P1‑P6 FOR LANGUAGE @2 P1‑S1 N123
P1‑S2 N [1],2 Roger Beverly, PharmD Clinical Pharmacy Coordinator Conway Medical Center, Inc. Message: 13 Date: Mon, 24 Apr 2006
07:51:33 -0400 From: "Peters,
Donna" <[EMAIL PROTECTED]> Subject: [MEDITECH-L] PHA
Report Help To:
"'[email protected]'" <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" I am writing a report that
allows the user to select the rx numbers when they run the report.
Then based on the rx's they select at run time, those meds list out on a discharge
report. What I want to happen is, in
the report trailer, I want the monographs for all the meds to print.
I created a AL TR close macro where I can get the monographs to print.
However, I am only getting the last drug selected. I need all the drugs. So I need some help sending
all drug mnemonics to the macro - not just the last. How do I loop
thru the drug mnemonics selected? The report is written out of
PHA.RX pha.rx.file. Any suggestions? Donna A. Peters Lead Applications
Programmer/Analyst TriHealth Information System (513)569-6816 [EMAIL PROTECTED] |
_______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
