MajwareMAJWARE
ERR-3 = 100ErrorTable 0357

HL7 100 — Segment sequence error

Code 100 means the segments arrived in an order the receiver did not expect, or a required segment was missing from its expected position in the message structure.

When you see 100 (Error Condition Code)

Raised when the message does not follow the abstract message structure for its type — for example an OBX before its parent OBR, an EVN missing from an ADT, or segments out of the defined sequence.

Common causes

  • A required segment (e.g. EVN, PID, PV1) is missing or placed out of order.
  • Child segments (OBX, NTE) appear without their parent segment (OBR/ORC).
  • An interface transformation reordered or dropped a segment.

How to fix it

  1. 1Compare the message against the abstract syntax for its message type (see the relevant message-type reference) and restore the correct segment order.
  2. 2Verify required segments are present and grouped correctly with their parents.
  3. 3Check the sending interface's transformation logic for a step that reorders or removes segments.

Example ACK message

A representative acknowledgment carrying ERR-3 = 100. Open it in the HL7 Viewer to inspect every field.

HL7 v2.x Message
1MSH||^~\&|RECEIVER|HOSP|SENDER|HOSP|20260310143400||ACK^A01^ACK|ACK00010|P|2.5.1
2MSA||AE|MSG00001|Segment sequence error
3ERR||||100^Segment sequence error^HL70357|E|||OBX received before parent OBR

Related codes

Frequently asked questions

What causes HL7 error code 100?

Code 100 (Segment sequence error) occurs when segments are out of their expected order or a required segment is missing — for example an OBX appearing before its parent OBR, or a missing EVN in an ADT. Restore the correct segment order defined by the message type.

Debug your ACK in the viewer

Paste the ACK (or original message) and get instant segment parsing, MSA/ERR decoding, and validation. Free, client-side, no signup.

Open HL7 Message Viewer →

All HL7 error & ACK codes

Browse every acknowledgment code (Table 0008) and error condition code (Table 0357) with causes, fixes, and examples.

HL7 Error Code Reference →