Files > ITEMS

parent
101.41
name
ITEMS
number
101.412
Fields
#NameLocationTypeDetailsIndexDescription
.01sequence0;1NUMERICBThis field specifies the order in which this item will be displayed or processed.
.1input transform.1;E1,245FREE TEXTThis is code that will be used as the third piece of DIR(0) when asking this prompt.
1parent0;11POINTER101.41This field controls the behavior of this prompt. If a parent is defined here, this prompt will be asked from within the parent's dialog; when it is invoked independently based on its position sequence number, the child prompt will be ignored.
2item0;2POINTER101.41ADThis field points to an order dialog which is subordinate to this dialog. NOTE: The parent dialog menu or one of its ancestors may not be entered as an item.
3mnemonic0;3FREE TEXTThis is a short abbreviation for this item dialog to be used when this dialog is displayed for selection.
4display text0;4FREE TEXTThis field allows the text that normally appears for this item to be replaced with alternate text for use in this dialog or menu.
5display only?0;5SET OF CODES0:NO
1:YES
2:YES-HEADER
This field identifies an item as being free text for display purposes only. The text in the Display Text field will be displayed, but it is not selectable; if designated as a header, the text will be underlined.
6required0;6BOOLEAN1:YES
0:NO
This field indicates that the user must enter a response to this prompt.
7multiple valued0;7BOOLEAN1:YES
0:NO
This field determines if this prompt will be allowed to have multiple values, or be prompted for only once; if this prompt is a sub-dialog, the entire dialog will be asked once or many times, as a group.
7.1max number of multiples0;12NUMERICThis is the maximum number of values that may be entered for this prompt, if it is flagged as being multiple-valued. For example, a diet order may have up to 5 diet modifications entered, where 5 is the maximum allowed that would be entered here.
7.2title0;13FREE TEXTThis is text that will be used in place of the prompt when the order is displayed for place, edit, or cancel, or at the top of a multiple-valued prompt. The Display Text for the prompt will be used together with the instance number to prompt for user input; for example if Title="Lab Tests:" and Display Text="Test:" the user would see Lab Tests: 1. Test: 2. Test:
7.3prompt0;14FREE TEXTThis field contains text that will be appended to the beginning of the display text when prompting for additional values; if this field is empty, then "Another " will be used.
8ask on edit only0;8BOOLEAN1:YES
0:NO
This field determines the behaviour of the dialog driver for this prompt; if no value or the defined default is usually correct for this prompt, enter YES here to have this prompt skipped on the first pass through this dialog when creating an order.
9ask on action0;9FREE TEXTThis field determines the behaviour of the dialog driver for this prompt when taking a particular action on an order created by this dialog. If this string contains "R", this prompt will be asked when renewing an order; if this string contains "C", this prompt will be asked when changing an order; if this string contains "W", this prompt will be asked when rewriting an order.
10index0;10FREE TEXTFor pointer-type prompts, this is the index to use when searching the file; it must be in the form of a regular cross-reference. To search on multiple indices, enter a string of index names separated by semi-colons, i.e. "B;C".
11help message1;1FREE TEXTThis field contains the help message to be presented when the user enters a question mark at this prompt.
12special lookup routine1;2FREE TEXTThis field contains a routine to execute that will replace the standard DIC lookup for this prompt; it must be entered here as LINETAG;ROUTINE using a ; instead of ^ and where LINETAG is optional.
13ask on condition3;E1,245FREE TEXTThis is MUMPS code that sets $T to determine if this prompt should be asked or simply given a default value and presented to the user for acceptance or editing. For example, the prompt "Pregnant: " may have code here to check the sex of the current patient, i.e. I ORSEX="F" will allow it to be asked only for female patients.
14screen4;E1,245FREE TEXTFor pointer-type prompts, this field may contain MUMPS code that will be set into DIC("S") to screen the possible choices in the pointed-to file.
15post-selection action5;E1,245FREE TEXTThis is code that will be executed after a response is entered to this prompt; if this prompt should be re-asked, kill the variable DONE. If execution of the ordering dialog should be stopped, set ORQUIT=1.
16xecutable help6;E1,245FREE TEXTThis is code that is to be executed when the user enters two or more question marks at this prompt.
17default7;E1,245FREE TEXTThis is code that is to be executed to determine the appropriate default value for this prompt, setting Y=internal form of this value.
18default word-processing text8;0WORD-PROCESSINGThis is default text to be stuffed into this word-processing prompt.
19entry action9;E1,245FREE TEXTThis is code that will be executed at the beginning of the processing of this prompt, before the Default and Ask on Condition fields are executed; any special setup required for this field should be done here.
20exit action10;E1,245FREE TEXTThis is code that will be executed at the very end of the processing of this prompt, after prompting and the Validation field is executed; any special cleanup should be done here.
21order text sequence2;1NUMERICATXTThis field indicates the order in which values will be concatenated together to build the order text; this may differ from the prompting order defined in the .01 Sequence field.
22format2;2FREE TEXTThis is a string of characters that will define any exceptions to how the external form of this value is generated. Possible values include: Pointer -> ~, default =.01 Set of Codes -> 1~ to use code for name Date/Time -> Format string to pass $$FMTE^XLFDT (default = 2) Suppress value -> @ Replace value -> @ where ptr is the Dialog IEN of the prompt whose value, when present, supersedes this value Required value -> * where ptr is the Dialog IEN of the prompt whose value is required to be present to include this value Ignore if same -> = where ptr is the Dialog IEN of the prompt whose value, if the external form is the same, supersedes this value
23omit text2;3FREE TEXTThis is the external form of a value that is not to be included when building the order text. E.g. to include the urgency in the order text unless it is routine, enter "ROUTINE" here.
24leading text2;4FREE TEXTThis field contains text that will be appended to the order text immediately in front of this value, e.g. "Instructions:". If this text is contained in a variable, enter @NAME where NAME is the variable name.
25trailing text2;5FREE TEXTThis field contains text that will be appended to the order text immediately following this value, e.g. "refills". If this text is contained in a variable, enter @NAME where NAME is the variable name.
26start new line2;6BOOLEAN1:YES
0:NO
This field determines if this value is concatenated onto the current line when building the order text, or if a new line is started with this value.
27word-wrap2;7SET OF CODES1:DON'T WRAP
0:WRAP
This field determines if this text should be wrapped when added to the order text, or appended line by line as stored in the file; this is only used for word-processing type prompts.
101windows controlW;1FREE TEXTStores the type of Windows control necessary to get the data for this prompt.
102api nameW;2FREE TEXTThis is the API that should be called when the control is used. How the API is used varys with the control. Examples are: filling list boxes, getting boilerplate text, etc.
103api parameter #1W;3FREE TEXTA parameter that is used by the API call may be stored here.
113windows conditionW3;E1,245FREE TEXTThis is silent code that is executed when building the dialog for windows. It identifies which prompts should be included in the dialog. The condition should leave $T false if the prompt should not be asked.
117windows defaultW7;E1,245FREE TEXTThis code should silently set the default value of a prompt when it is selected.

Error: Invalid Global File Type: 101.412