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

NPR Report Writer - Page Break Line Attribute

 

PG=6 tells the report writer to issue a page break if fewer than 6 lines are left on the page.

If your page length is set to 60 lines; PG=99 tells the report to issue a page break when the line attribute PG=99 is read. You might do this on a NUR report to put allergies on its own page for instance.

I enjoy faking the page break line attribute when using variable length page trailers with MV arrays. To replicate the functionality in the PG line attribute: count the lines in your MV array for the footer. Subtract the lines in the MV array from the /.LL lines left variable. When the /.LL minus your MV line count exceeds the number of lines on the page (say 66); set /.LL to zero (0).


.: This article applies to Meditech NPR Reports :.

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