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 living in Spokane, WA. More about me.

Email John


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

MEDITECH Macro Naming Conventions

  | Share on Twitter Twitter | Submit to Digg digg it |  Add to delicious  delicious |  Submit to StumbleUpon StumbleUpon |  Share on LinkedIn LinkedIn |  Share On Technorati Technorati | Submit to Reddit reddit 

For a while now, I've been consolidating standard logic from reports into a single report. I call this single report a code library.

I have an allergy/medication routine that until now existed in our Adult & Peds Anesthesia Summary & Adult, Newborn, Obstetrics & Pediatrics Admission Summary reports. Over time this routine has evolved into something generic and very useful. The next step in the process is to move this routine to the code library. I have to ask myself how I will manage changes between facilities and service lines at those facilities.

The last thing I want to do is implement a centrally managed, generic solution and then move the logic back to reports as problems surface. The first problem I can see is a need to change medications but not allergies or vice versa.

The solution may be to implement a set of 2 macros for each set of information (allergies, meds):

1. a setup routine and a data processing routine for allergies
2. a setup routine and a data processing routine for medications

The setup routine would specify queries, data elements or screen ranges to be processed. The data processing routine would gather data to a specified array.

At this time, all facilities I support currently have similar needs. In the future, a facility may need a different solution than the majority of facilities I support.

The solution to this problem may be resolved using a naming convention:

DPM.report.M.allergies.1
DPM.report.M.medications.1

If a facility needs changes that differs from the majority:

DPM.report.M.allergies.facility.1
DPM.report.M.medications.facility.1

If a single department or line of service requires a solution different from the majority of departments at that facility:

DPM.report.M.allergies.facility.dept.1
DPM.report.M.medications.facility.dept.1


.: This relates to NPR Report Writer - Macros. :.


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