google search Site Search


meditech report writing group

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


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


Current Articles | RSS Feed RSS Feed

MEDITECH MV Array - Repeat Printing


MV arrays, can you print the same information, using the same MV array, more than once? ANSWER: Yes.

Why would you want to? ANSWER: you might want to print a row of labels 10 times for the Pharmacy or Admitting.

So - how is it done?



After compiling the MV array in an AL D detail macro; I used the MEDITECH move command to copy the array: M(/R.MV["L1"],/MV["L1"]).

When the report reaches the detail section, the ECB attribute LOOPS around the detail section 10 times. The ECE attribute ends the loop, while moving /MV into /R.MV. This repopulation of the MV array is necessary because the MEDITECH report writer automatically includes code to clear the MV array after it is printed.



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




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

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

Medical Information Technology, Inc., commonly known as MEDITECH, is a Massachusetts-based software and service company selling information systems, which are installed in health care organizations throughout the world. Comstock Software, Inc is an independent and impartial consulting firm.