WANT the MEDITECH Reports BLOG via EMAIL?

Your email:

About MEDITECH Reports

MEDITECH Reports is an online reference for NPR Report Writing and not affiliated with MEDITECH, Inc @ http://meditech.com. To learn more about NPR report development using the Meditech Report Writer read more here.

View John Sharpe's profile on LinkedInI'm your host, John Sharpe, a MEDITECH Report Writing Consultant in Spokane, WA. More about me.


Email John

Follow Comstock Software on Twitter 

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

MEDITECH Reports

Current Articles | RSS Feed RSS Feed

Join the Conversation (MEDITECH Lookups for NPR Reports)


If you had questions or have ideas regarding the article: Custom F9 Lookups for NPR Reports; come join the conversation here:

http://meditech.stackexchange.com/questions/135/custom-f9-lookups-for-npr-reports

MEDITECH Lookup

 



MEDITECH NPR – Custom F9 Lookups for Client Server NPR Reports


NOTE: This is an advanced topic, the author assumes the reader has an intermediate level of skill on the NPR Report Writer.

If you're looking to mimic the functionality in a standard MEDITECH lookup, the MEDITECH Z.id program will get the job done. The information in your lookup can be a simple list or generated from MEDITECH data. Using Z.id, you can create a lookup for a standard field or a custom field, the process is the same.

MEDITECH F9 Lookup

 

 

 

 

 

 

To get started, read the rest of this article in the February MEDITECH Bulletin.

 


MEDITECH Questions


How do you add a comma in the thousands place?

eg. 1000.00 = 1,000.00 or 1000000.00 = 1,000,000.00

Read the MEDITECH Answer here.

How do you use a predefined list in an NPR LI Select?

I have tried both LI and CL with my criteria ("ED", "PNP") and I am crashing my report.  

Read the MEDITECH Answer here

Where can I find the MEDITECH Programmer's User Manual?  

Read the MEDITECH Answer here

MEDITECH

Come to the MEDITECH KE and ask a question of your own. 


Clinical Calculators for MEDITECH Programmers


MEDITECH Report Writers are often called on to include Clinical Calculations in an NPR Report or MEDITECH Attribute.

MEDITECH Calculations

Bookmark the Medical Calculator page, it might come in handy later.

* Reference: http://www.globalrph.com/medcalcs.htm



Improve your MEDITECH (CS) NPR Report Performance


BUF NONE, it's not just for pretty translation screens & readable object code.

MEDITECH BUF NONE

This overlooked NPR FOOTNOTE can improve the performance of your MEDITECH reports. Joe's tip in the Iatric Systems, December 2009 Newsletter explains why you might want to use this FOOTNOTE in most of your Client Server NPR reports.

MEDITECH

Quoting the MEDITECH NPR Manual: "To turn off buffering, enter BUF NONE in the report's footnote section. If a report has a VAL statement that attempts to replace elements with buffered results increasing a line's length longer than 255 characters, a translation error message appears."



 


@Macro Makes for Readable Code


NPR Report Writer, Ben Dorsey, at Iatric Systems, cleverly used @Macro in a recent MEDITECH CS Report. Not being familiar with @Macro, I've compiled it in a report to share it with you.

MEDITECH NPR Macro

@Macro works by dynamically compiling the local macro named init, into NPR object code.

NPR macros become unweildy, when their length extends beyond a couple hundred lines; at which time, NPR Macro Editor Screen corruption is possible, risking macro integrity.

MEDITECH Open Database

Upside:

  • You don't have to call each macro by its fully qualified name. This saves you trouble later, when the report is copied or renamed.
  • Macros are easier to read & edit, because they are shorter.

NPR Object Code

Downside: Translate your report after any changes - and I'm not sure there is one.



MEDITECH Data Definitions, Only Easier


If you've been writing reports for awhile, you've found that MEDITECH Data Definitions are essential to your success in writing reports. Report writers, everywhere, use them on a daily basis.

MEDITECH Data Definitions

If you'd like to learn how to search them all at once, read the rest here in the MEDITECH Community Bulletin

 


MEDITECH Advanced Database (MAD)


If you haven't seen the new MEDITECH Database internals for 6.0.

MEDITECH 6.x

You'll enjoy Frank's article on the MEDITECH Advanced Database (MAD).

 

 


MEDITECH Text to Upper or Lower Case


Most programming languages have a lot of different functions for manipulating text, example: converting text to lower OR upper case.

Come kick off a new section in The MEDITECH KE, a MEDITECH Community Wiki, titled String Manipulation. The first entry is titled 1 way to Convert MEDITECH Text to Lower or Upper Case.

 


Meditech Data Repository Structures Published for 6.x



Sure is nice to see that green 6.0 peeking out there: http://meditech.com/prdr/Pages/DRxbASTables.htm.


All Posts