# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | code(+) | 0;1 | NUMERIC | B | This field contains a number between 1 and 9999999 that uniquely identifies an error or exceptional condition. Numbers below 999 are reserved for package use only. | |
1 | text(+) | 0;2 | FREE TEXT | This field holds the text description of the error or exceptional condition. This field is used to create an error or exceptional condition display in the ^XTMP global. | ||
1.3 | send alert | 0;3 | BOOLEAN | 0:NO 1:YES | This field is used to flag those errors which can generate an alert to a site selectable mail group whenever this error occurs. The site needs to designate a mail group in the LA7 MESSAGE PARAMETER file (#62.48) under the ALERT CONDITION field (#20). | |
2 | build logic | 1;E1,245 | FREE TEXT | This is standard MUMPS code that is executed to log the text description error into the ^XTMP global. The MUMPS code should set the LA7TXT() array to feel in the fields in the text description. Example MUMPS code: S LA7TXT(1)=LA76249 Variable value: LA76249=123 Text description: Message # |1| did not contain a PID segment. ^XTMP: Message # 123 did not contain a PID segment. |
Not Referenced