March 21, 2022

Alternative Routine for viewing Meditech Data Definitions (MAGIC)

There is an alternative method for viewing Meditech Data Definitions that will show all of their segments. 

  1. Create a report with Report DPM NPR.PROC with any report title you like.
  2. Add a Report Title and Active field of Y.
  3. Add Select Field COMMON.free with operator IG and Prompt PLEASE SELECT AN OPTION
  4. File and translate your report.
  5. Use option 8 (Edit Elements) to add the following attributes to the COMMON.c.free field:

 CH=DPM,SEG,ELE
 FCL1=IF{$FE.NPR.DDEF.VIEW $["FE.NPR.DDEF.VIEW"](A)X;
 FCL1=@W.err("The view routine does not exist on your system.")},
 FCL1=231^/Z^t,""^A
 PRE1=A~$L.TO.U^A

The DPM option allows you to pick a DPM and view the Data Definitions.  SEG allows you to be more exact and pick both a DPM and Segment, while ELE allows you to pick both a DPM and a Field.  After picking an option, you can type "?" to get a pop-up window explaining the keystrokes to use to navigate the screens.

Topics: MEDITECH, Magic System, NPR Report, CS System

You Might Also Enjoy

There are two NPR Macros that can either launch a PC-based executable or automatically ...

The PRE Field Checks occur before the FCL Field Checks. They are executed after the ...

SUB is a Field Attribute not documented on Meditech's website. It allows you to define ...

Entering documentation on Field Attributes, Line Attributes, and Footnotes can come in ...

BFI stands for Before Input. BFI attributes can come in pairs, just like FCL attributes. ...