---
title: Accessing useful routine NPR.SEG.id.editor in MEDITECH CS Software
description: Useful routine in MEDITECH CS software that provides lookups for DPMs, Segments, Procedures, Menus, Macros, and even object-code letters (AA for ADM.PAT).
---

[![IPeopleHealthcare_White](https://blog.ipeople.com/hubfs/IPeopleHealthcare_White.png)](https://www.ipeople.com/)

- [Home](https://www.ipeople.com)
- Products 
    - [Professional Services](https://www.ipeople.com/products/meditech-services/)
    - [Downtime Product Suite](https://www.ipeople.com/products/suite)
- [Benefits](https://www.ipeople.com/benefits)
- [About](https://www.ipeople.com/about)
- [Contact](https://www.ipeople.com/contact)
- [IPeople Blog](https://blog.ipeople.com)

January 3, 2022

# Accessing useful routine NPR.SEG.id.editor in MEDITECH CS Software

NPR.SEG.id.editor 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:   
   `"_%(NPR)PROC..zcus.report.M..t(0)_"`   
   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:  
   `IF{/DONE;1^/DONE^/Z.PRT.SUPPRESS.PRINTING},"";`
2. File and translate your macro

#### Step 3:

1. Set up a macro called s with the following code:  
   `@NPR.PARAM.located.at.mt="Y"^/(.S).AT.MT,`  
   ` 1^/REPEAT,`  
   ` %NPR.SEG.id.editor.S(""),`  
   ` ""^X,`  
   ` 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 NPR.SEG.id.editor 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.

 Topics: [NPR Report](https://blog.ipeople.com/topic/npr-report)

## You Might Also Enjoy

<https://blog.ipeople.com/debug-functionality-in-magic-npr>

#### [Debug functionality in MAGIC NPR](https://blog.ipeople.com/debug-functionality-in-magic-npr)

The NPR Procedure Z.ddc comes in very handy for debugging both NPR reports and ...

<https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs>

#### [Add a web page link to NPR Reports printed to web browser is MEDITECH CS](https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs)

Some C/S sites are set up to allow Browser as an option for printing reports. These ...

<https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups>

#### [Using the ID Screen Field Attribute for MEDITECH CS NPR Report Screen lookups](https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups)

The Process Reports routine has an option for enter/editing Attributes to Screen Field ...

<https://blog.ipeople.com/print-code-for-t-programs-in-meditech-c/s>

#### [Print code for $T Programs in Meditech C/S](https://blog.ipeople.com/print-code-for-t-programs-in-meditech-c/s)

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

<https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers>

#### [How to Send Emails from a CDS for MEDITECH CS Customers](https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers)

You can send emails from a CDS in CS but you must have the Meditech Parameters set up to ...

[![IPeopleHealthcare_FullColor](https://blog.ipeople.com/hubfs/IPeopleHealthcare_FullColor.png)](https://www.ipeople.com/)

#### CONTACT

- [+1-214-222-1125](tel:+1-214-222-1125)
- [support@ipeople.com](mailto:support@ipeople.com)
- [sales@ipeople.com](mailto:sales@ipeople.com)

#### [JOIN OUR TEAM](https://ipeople.bamboohr.com/jobs/)

#### FOLLOW

- [![Facebook](https://blog.ipeople.com/hubfs/Facebook.svg)](https://www.facebook.com/IPeoplehealthcareTX)
- [![Instagram](https://blog.ipeople.com/hubfs/Instagram.svg)](https://www.instagram.com/interfacepeople/)
- [![Linkedin](https://blog.ipeople.com/hubfs/Linkedin.svg)](https://www.linkedin.com/company/ipeople-healthcare)
- [![Twitter](https://blog.ipeople.com/hubfs/Twitter.svg)](https://twitter.com/InterfacePeople)
- [![email_icon](https://blog.ipeople.com/hubfs/email_icon.svg)](mailto:support@ipeople.com)

 

![](https://blog.ipeople.com/hubfs/IPeople_2022_Aug/Images/Home/arrow-up.png)