# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | error code(+) | 0;1 | FREE TEXT | B | Error code denoting why an entry in the Transmitted Outpatient Encounter file could not be transmitted or successfully processed. | |
.02 | source of error(+) | 0;2 | SET OF CODES | N:NPCD V:VISTA T:HL7 TRANSMISSION | This set of codes indicates the source of the error. | |
11 | error code description | 1;1 | FREE TEXT | Free text description of the error code. | ||
21 | corrective action description | 2;0 | WORD-PROCESSING | This field describes the actions necessary to correct the error. This is the text which would be viewed by a user when using the Incomplete Encounter Management Tools. | ||
31 | validation logic | CHK;E1,245 | FREE TEXT | This field should not be modifed except as directed. This contains the logic that needs to be executed in order to validate the data. If the data does not validate correctly the error code from this entry will be used. The function call contained within this field uses the following variables: Input Data - The value being validated. Returns RES - Result of the function call 1 if entry passed validation 0 if entry does not pass validation | ||
41 | correction logic | COR;E1,245 | FREE TEXT | This field should not be modifed except as directed. This contains the logic that needs to be executed in order to allow the user to correct the error. The function call contained within this field uses the following variables: Returns RES - Result of the function call 0 - if the corrective action was not successful 1 - if the corrective action succeeded This function call makes the assumption that the ^TMP("SCENI XMT",$J,0) global from the Incomplete Encounter Management List Manager tool is available to retrieve the pointer from the TRANSMITTED OUTPATIENT ENCOUNTER FILE (#409.73) which is used to check the entry and retreive the entry from the TRANSMITTED OUTPATIENT ENCOUNTER ERROR FILE (#409.75). |