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

Nexting Vs Physicals

 

Get value using physical address:

To get the name of the first account type in the bar account type dictionary; you could use a physical get like this: ""^Q,+(&BA[Q],X)^Q,X|1^NAME.

Get value using the NPR Report Writer syntax:

Assuming you have the bar.acct.type.dict segment defined as your detail segment, next on the subscript for that segment. ""^mnemonic,@Next(mnemonic),@name^NAME.

In both examples NAME would then contain the name of the first account type. You might choose to use the physical address if you are tight on the maximum number of character in a MEDITECH CDS attribute for example. But using the NPR Report Writer syntax allows less experienced programmers to maintain the code.


.: Physicals vs Standard NPR Report Writer Syntax :.

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