$$ACK |
Output |
Function call returns 1 on success, 0 on failure.
|
HLMSTATE |
Both |
Obtained by calling $$STARTMSG^HLOPRS when parsing
the original message. It is used internally by HLO.
|
PARMS |
Input |
Optional. These subscripts may be defined:
("ACK CODE") - MSA1 contains AA, AE, or AR. ("ERROR MESSAGE") - MSA3, should
be used only if AE or AR. ("ACCEPT ACK RESPONSE") - Optional. The
<tag^routine> to call in response to a commit ack. ("ACCEPT ACK TYPE") -
{AL,NE} (Optional, defaults to AL). ("CONTINUATION POINTER") -Indicates a
fragmented messages. ("COUNTRY") - The three-character country code
(optional). ("EVENT") - The three-character event type (optional, defaults to
the event code of the original message). ("ENCODING CHARACTERS") - The four
HL7 encoding characters (optional, defaults to "^~\&". ("FAILURE RESPONSE") -
Optional. The <tag>^<routine> that the sending application routine should
execute if the transmission of the message fails, i.e., the message can not be
sent or a requested commit ack is not received. ("FIELD SEPARATOR") - Field
separator (optional, defaults to "|"). ("MESSAGE TYPE") - If not defined, ACK
is used. ("MESSAGE STRUCTURE CODE") - Optional. ("QUEUE")- Optional. An
application can name its own private queue (a string under 20 characters, it
should be namespaced). The default is the name of the queue of the original
message ("SECURITY") - Optional. Security information to include in the header
segment, SEQ 8. ("VERSION") - The HL7 Version ID (optional, defaults to 2.4).
|
ACK |
Output |
The acknowledgement message being built.
|
ERROR |
Output |
On failure, an error message is returned.
|