# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | sequence | 0;1 | NUMERIC | B | This field specifies the order in which this item will be displayed or processed. | |
.1 | input transform | .1;E1,245 | FREE TEXT | This is code that will be used as the third piece of DIR(0) when asking this prompt. | ||
1 | parent | 0;11 | POINTER | 101.41 | This 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. | |
2 | item | 0;2 | POINTER | 101.41 | AD | This 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. |
3 | mnemonic | 0;3 | FREE TEXT | This is a short abbreviation for this item dialog to be used when this dialog is displayed for selection. | ||
4 | display text | 0;4 | FREE TEXT | This field allows the text that normally appears for this item to be replaced with alternate text for use in this dialog or menu. | ||
5 | display only? | 0;5 | SET OF CODES | 0: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. | |
6 | required | 0;6 | BOOLEAN | 1:YES 0:NO | This field indicates that the user must enter a response to this prompt. | |
7 | multiple valued | 0;7 | BOOLEAN | 1: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.1 | max number of multiples | 0;12 | NUMERIC | This 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.2 | title | 0;13 | FREE TEXT | This 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.3 | prompt | 0;14 | FREE TEXT | This 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. | ||
8 | ask on edit only | 0;8 | BOOLEAN | 1: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. | |
9 | ask on action | 0;9 | FREE TEXT | This 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. | ||
10 | index | 0;10 | FREE TEXT | For 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". | ||
11 | help message | 1;1 | FREE TEXT | This field contains the help message to be presented when the user enters a question mark at this prompt. | ||
12 | special lookup routine | 1;2 | FREE TEXT | This 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. | ||
13 | ask on condition | 3;E1,245 | FREE TEXT | This 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. | ||
14 | screen | 4;E1,245 | FREE TEXT | For 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. | ||
15 | post-selection action | 5;E1,245 | FREE TEXT | This 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. | ||
16 | xecutable help | 6;E1,245 | FREE TEXT | This is code that is to be executed when the user enters two or more question marks at this prompt. | ||
17 | default | 7;E1,245 | FREE TEXT | This is code that is to be executed to determine the appropriate default value for this prompt, setting Y=internal form of this value. | ||
18 | default word-processing text | 8;0 | WORD-PROCESSING | This is default text to be stuffed into this word-processing prompt. | ||
19 | entry action | 9;E1,245 | FREE TEXT | This 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. | ||
20 | exit action | 10;E1,245 | FREE TEXT | This 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. | ||
21 | order text sequence | 2;1 | NUMERIC | ATXT | This 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. | |
22 | format | 2;2 | FREE TEXT | This is a string of characters that will define any exceptions to how
the external form of this value is generated. Possible values include:
Pointer -> | ||
23 | omit text | 2;3 | FREE TEXT | This 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. | ||
24 | leading text | 2;4 | FREE TEXT | This 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. | ||
25 | trailing text | 2;5 | FREE TEXT | This 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. | ||
26 | start new line | 2;6 | BOOLEAN | 1: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. | |
27 | word-wrap | 2;7 | SET OF CODES | 1: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. | |
101 | windows control | W;1 | FREE TEXT | Stores the type of Windows control necessary to get the data for this prompt. | ||
102 | api name | W;2 | FREE TEXT | This 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. | ||
103 | api parameter #1 | W;3 | FREE TEXT | A parameter that is used by the API call may be stored here. | ||
113 | windows condition | W3;E1,245 | FREE TEXT | This 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. | ||
117 | windows default | W7;E1,245 | FREE TEXT | This code should silently set the default value of a prompt when it is selected. |
Error: Invalid Global File Type: 101.412