LA7VHLU8 ;DALOI/JMC - LAB Application Acknowledgment builder;04/06/16 13:00
Source file <LA7VHLU8.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ACK(LA7) | ; Returns the application acknowledgement to the sending application.
 ; Indicates any error encountered in processing the message. ; Used when messages are processed separately from when they are received. ; Examples LEDI ORM message that builds Lab Pending Order file.  | 
|
| BLDACK | ; Create/initialize HL ACK (ORR) message
 | 
|
| BLDERR(LA,LA7ERR) | ; Build error info array for ERR segment
 ; Call with LA = LA array (by reference) ; LA7ERR = variable containing error code^text based on file #62.485 entries.  | 
|
| HLC0 | ;;0;;Message accepted;;Success. Optional, as the AA conveys success. Used for systems that must always return a status code.
 | 
|
| HLC100 | ;;100;;Segment sequence error;;Error: The message segments were not in the proper order, or required segments are missing.
 | 
|
| HLC101 | ;;101;;Required field missing;;Error: A required field is missing from a segment
 | 
|
| HLC102 | ;;102;;Data type error;;Error: The field contained data of the wrong data type, e.g., an NM field contained ?FOO?.
 | 
|
| HLC103 | ;;103;;Table value not found;;Error: A field of data type ID or IS was compared against the corresponding table, and no match was found.
 | 
|
| HLC104 | ;;104;;Value too long;;Error: a value exceeded the normative length, or the length that the application is able to safely handle.
 | 
|
| HLC200 | ;;200;;Unsupported message type;;Rejection: The Message Type is not supported.
 | 
|
| HLC201 | ;;201;;Unsupported event code;;Rejection: The Event Code is not supported.
 | 
|
| HLC202 | ;;202;;Unsupported processing id;;Rejection: The Processing ID is not supported.
 | 
|
| HLC203 | ;;203;;Unsupported version id;;Rejection: The Version ID is not supported.
 | 
|
| HLC204 | ;;204;;Unknown key identifier;;Rejection: The ID of the patient, order, etc., was not found. Used for transactions other than additions, e.g., transfer of a non-existent patient.
 | 
|
| HLC205 | ;;205;;Duplicate key identifier;;Rejection: The ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.).
 | 
|
| HLC206 | ;;206;;Application record locked;;Rejection: The transaction could not be performed at the application storage level, e.g., database locked.
 | 
|
| HLC207 | ;;207;;Application internal error;;Rejection: A catchall for internal errors not explicitly covered by other codes
 | 
| FileNo | Call Tags | 
|---|---|
| ^ORD(101 - [#101] | GET1^DIQ |