Accessing useful routine in MEDITECH CS Software is a very useful routine in MEDITECH's C/S software that provides handy lookups for DPMs, Segments, Procedures, Menus, Macros, and even object-code "Letters" (such as AA for ADM.PAT).  Here are the steps for accessing this routine:

Step 1:

  1. Set up an NPR Report with the report DPM NPR.PROC
  2. The Report Title should be as follows:
    Replace "report" with the name of your report.
  3. Add MIS.APPL.DB.mnemonic as a Select Field with operator LI and a prompt, such as CONNECT TO THESE DATABASES
  4. Add this Footnote: AL START s
  5. File and translate your report

Step 2:

  1. Set up a macro called t with the following code:
  2. File and translate your macro

Step 3:

  1. Set up a macro called s with the following code:"Y"^/(.S).AT.MT,
     DO{+MIS.APPL.DB.c.mnemonic[X]^X %Z.switch.appl(X#0.,"",{1,X,"C"})},
     %Z.debug("s 1"),
     DO{@.appl'="NPR" %Z.switch.appl("")}
  2. File and translate your macro
  3. Retranslate your report
When you run this report, you will first be prompted to select whichever databases you want to connect to.  This can come in handy for looking at the data.

After selecting your databases, you will be brought into the routine, which has lots of great "lookups".  After exiting that routine, you will be brought to the "debug" prompt.  You can enter G to view your "Globals".  Any of the databases you selected should be available for viewing.
Back to Blog

Related Articles

Print Screens/Reports/Macros/Procedure Logic for NPR Procedures in MEDITECH C/S

Select the Report DPM NPR.PROC Enter a report name (any name you like) Page 1 will need a Report...

Print code for $T Macros in Meditech C/S


Use NPR Report to write to the Windows Clipboard (MEDITECH CS)

You can use the following steps to write data to your Windows clipboard from an NPR Report: