About MEDITECH Reports

 

View John Sharpe's profile on LinkedInI'm your host, John Sharpe, a MEDITECH Consultant living in Spokane, WA. Read more ...

Connect ...

Expand your network by connecting on these social media sites:

Sign up for the MEDITECH Reports Blog; details to attend MEDITECH workshops are sent out 1 week in advance to all MEDITECH Report blog subscribers.

These MEDITECH Workshops are sponsored by Donna Carroll at the MEDITECH Community Bulletin

MEDITECH NPR & RW RESOURCES:

Ascii Table: For NPR Report Writer
Loop Builder: For NPR Macros
Key Codes: For CDS Attributes
List Builder: For NPR Macros
MT Report Names: For NPR Reports
MT Structure Viewer: For Physicals
Strings: Format & Sort

HIT Topics

MEDITECH Reports

Current Articles | RSS Feed RSS Feed

Printing a New Page When Calling a Fragment

 

This trick was originally posted here by Jim Prandi @ CRH Consulting.

I think Jim is saying to use the following code, when you want a fragment to print more than just detail; but a whole new page.

For CS:
^@Pgm.trans(%LAB.M.SPEC.zcus.mm.get.micro.results.RP)^@Z.rpt.new.page.pgm,
@CALL.REPORT.FRAGMENT,
^@Pgm.trans(%PHA.RX.zcus.mm.test.loc.RP)^@Z.rpt.new.page.pgm;

For MAGIC:
%LAB.M.SPEC.zcus.mm.get.micro.results.RP^@Z.rpt.new.page.pgm,
@CALL.REPORT.FRAGMENT,
%PHA.RX.zcus.mm.test.loc.RP^@Z.rpt.new.page.pgm;

A friend of mine was showing me a PHA Big Board and had a need to:

- have the report run continuously as a status board
- print PHA orders to the screen every few minutes
- print a fragment to a physical printer

We couldn't get the printer to switch in the fragment; next time we look at the PHA Big Board, we'll have to see if this resolves that issue.

Want an alert when the next post is published? Click the phone and Subscribe to the MEDITECH Reports Blog!

Subscribe to the Meditech Blog     

                                                                                                                                                                                                          

Comments

Currently, there are no comments. Be the first to post one!
Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics