Print Page as PDF
DBIA169-A ICR (169)

DBIA169-A    ICR (169)

Name Value
NUMBER 169
IA # 169
DATE CREATED 1992/06/17
CUSTODIAL PACKAGE KERNEL
CUSTODIAL ISC Salt Lake City
USAGE Private
TYPE Routine
ROUTINE XQORM
NAME DBIA169-A
ORIGINAL NUMBER 169
GENERAL DESCRIPTION
The Consult/Request Tracking package populates the
Protocol File (101) with protocol items representing responses to prompts.
These responses are selectable via calls to the Menu Utility, XQORM, routines.
For example, "Select Action: ", "Place of Consultation: ", and "Urgency: "
prompts all use the XQORM routines to handle the users response.  Variable,
XQORM("NO^^"), has been added for those responses that it is inappropriate to
"^^" jump.

Variables set to call XQORM

XQORM=variable pointer to Protocol File (101) entry.  The Protocol File
entries specified are all Protocol Menu Type entries.(e.g., GMRCPLACEM -
INPATIENT is the Protocol Name of a distributed Protocol Menu used at "Place
of Consultation: " prompts.)

XQORM("NO^^")="" When defined, this variable tells XQORM not to allow "^^"
jumping at the prompt.

XQORM(0)=This controls the display and prompting of the menu.  XQORM(0) may
contain a number, and/or letters A,D, and F.  If there is a number, it must
always be at the beginning of the string.  The parameters do the following:
#: maximum number of selections allowed.  If there is no number, as many
selections as menu items are allowed.

A: The user will be prompted to make a selection.

D: The menu will be displayed.

F: Selection will NOT be saved in ^DISV.

For example, XQORM(0)="2A" will allow the user to make a maximum of two
selections.  The menu will not be displayed (unless a ? is typed), and the
selections will be saved in ^DISV.

XQORM("A")=Text here will be used as the select prompt.

XQORM("B")=Text here will be used as the default menu selection.

XQORM("?")=MUMPS code that replaces the standard help.

XQORM("S")=(Not used by Consult/Request Tracking)  MUMPS code that will
screen the items on the menu.
STATUS Retired
DURATION Till Otherwise Agreed
ID XQORM
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
XQORM
VARIABLES TYPE
XQORM Input
XQORM() Input
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
CONSULT/REQUEST TRACKING Salt Lake City