# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | data name | 0;1 | FREE TEXT | The value of this field is the name of the data element supported by the search engine. The names must be unique in the file context. The data element is supported if either the routine that processes the file can load the value using an application API or there is a DBIA that allows access to the corresponding field via the 'GETS^DIQ' FileMan procedure. | ||
.02 | code(+) | 0;2 | NUMERIC | C | This field stores the unique code of the data element. Data elements can be referenced either by their names (only in the file context) or by their codes. You can enter "+" to get the next available code for a new data element. | |
1 | loader api(+) | 0;5 | NUMERIC | This field stores the code of the API that is used to load a value of the data element defined by the descriptor. The descriptor of this API must be defined in the "API" multiple (subfile #799.23). The only exception is the API #1. It is always considered as the 'GETS^DIQ' FileMan procedure. | ||
2 | required | 0;3 | BOOLEAN | 0:NO 1:YES | AR | If the value of the data element is required by the search engine itself, the REQUIRED field should be set to "YES" so that the value of the element will be loaded whether it is referenced by the selection rules or not. |
4 | value type(+) | 0;4 | SET OF CODES | E:External I:Internal EI:Both | The VALUE TYPE field contains the code of the data element value type(s) supported by the search engine. The corresponding API must be able to load the value(s). | |
4.1 | external data | 4.1;E1,50 | FREE TEXT | This field can contain any optional data that helps to load the external value of the data element (variable name, subscript, position, etc.). Many data elements use the following data structure: PN[^SN]. The 'SN' is a subscript of the node in the local array (optional) and the 'PN' is the number of the "^"-piece of the node value. These values are used to extract the value from the local variable created by the API. | ||
4.2 | internal data | 4.2;E1,50 | FREE TEXT | This field can contain any optional data that helps to load the internal value of the data element (variable name, subscript, position, etc.). Many data elements use the following data structure: PN[^SN]. The 'SN' is a subscript of the node in the local array (optional) and the 'PN' is the number of the "^"-piece of the node value. These values are used to extract the value from the local variable created by the API. | ||
6 | field number | 0;6 | NUMERIC | The FIELD NUMBER field holds the number of the field (referenced hereinafter as the search field) that the data element is loaded from. If the FileMan API #1 (GETS^DIQ) is used to load the value of the data element, the FIELD NUMBER field must have a value. Otherwise, this field can be empty. However, it is recommended to populate it for clarity. |
Error: Invalid Global File Type: 799.22