Expand description
HL7 v2 acknowledgement messages.
A sender waits for an ACK message, not for the single <ACK> control
byte: the byte says “the bytes arrived”, while the message says “the
application accepted it, and here is the control id it accepted”. An
interface engine that receives a bare control character generally treats
the exchange as failed and retries, so a listener that answers with one
looks healthy while every message is resent.
The reply echoes the sender’s MSH-10 in MSA-2, which is how the sender
matches an acknowledgement to the message it sent.
Structs§
- Inbound
Header - What the listener needs from an inbound message to answer it.
Enums§
- AckCode
MSA-1, the acknowledgement code.
Functions§
- build_
ack - Builds an
ACKmessage replying toheader.