Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

EN^XQORM(): Menu Item Display and Selection

Reference Type: Supported, Category: Unwinder, ICR#: 10140

Description

The EN^XQORM API handles the display of and selection from a menu; this routine processes a single menu only. This is the call that the EN^XQOR(): Navigating Protocols API uses to obtain menu selections. The caller is responsible to handle any selections from the menu that are returned in the y array. If you want navigation to the selected items handled for you, use the EN^XQOR(): Navigating Protocols API. The menus handled by this routine are the multiple selection, multiple column menus that are typical in Order Entry/Results Reporting (OE/RR).

Format

  EN^XQORM(xqorm,xqorm(0))

Input Parameters

xqorm:

(required) A VARIABLE POINTER to the menu that should be displayed (e.g. XQORM="1234;ORD(101,").

xqorm(0):

(required) A string of flags that control the display and prompting of the menu:

  • Numeric—Maximum number of selections allowed.

  • A—Prompt for a selection from the menu.

  • D—Display the menu.

Output Parameters

y():

This array contains the items that the user selected from the menu.