Connection
Authentication
Message format
The message must be framed using the MLLP protocol. The receiver also accepts messages with missing start or end blocks.Message segments
The receiver processes the following HL7 segments from each inbound message.Response
The receiver returns an HL7 acknowledgment (ACK) over the same TCP connection. The ACK always indicates acceptance to avoid retry loops from the sending system.The receiver always returns an accept acknowledgment. Processing failures are tracked internally and do not produce a negative ACK to the sender.
Error handling
For authentication credentials and access setup, contact the medWrite team.
Next steps
HL7 Phases
ADT event types: A01, A02, A03, A04, A08, A11–A13.
Get Approved Outputs
Retrieve approved letters via API.
