Reference·OBX Segment·OBX-8
HL7 v2 Reference

Understanding HL7 v2 OBX-8: Abnormal Flags in Practice

Jul 27, 2026 · 4 min read
← OBX-7 OBX-11 →

Most result-review screens are built and tested against ordinary high and low flags, until a critically abnormal value comes through with HH or LL and the alerting logic treats it the same as a routine out-of-range result instead of escalating it.

Quick answer

OBX-8 is the eighth field of the HL7 v2 OBX segment — a coded flag indicating whether the result in OBX-5 falls outside its reference range, and if so, by how much.

Valid code values

N
Normal
L
Low
H
High
LL
Critically low
HH
Critically high
A
Abnormal (used when direction is not specified)
U
Significant change up
D
Significant change down

Example

Synthetic example Generated by Synthibase
OBX|1|NM|2823-3^Potassium^LN||4.2|mmol/L|3.5-5.1|N|||F|||202607261430

N in OBX-8 marks 4.2 as within the normal reference range for potassium. Synthetic result — not a real patient.

Where this trips people up

It is common to build alerting logic around a simple check for H or L and skip the critical variants entirely, since routine test data rarely includes them. When an HH or LL value comes through in production — the exact case that should trigger urgent notification — a flag check written as "is it H or L" evaluates to false, and a critical result gets routed through the same non-urgent path as a mildly abnormal one.

How to Test HL7 v2 OBX: A Field-by-Field Breakdown
How to Write EDI Test Cases That Actually Catch Go-Live Failures
Healthcare API Testing Guide: FHIR and X12
Generate every abnormal flag automatically
Synthibase generates synthetic OBX segments covering every abnormal flag, including critical HH and LL values, so alerting logic gets tested against the cases that matter most before go-live.
Start free trial →
This page is written independently by Synthibase for testing and informational purposes. It is not an official publication of HL7 International or X12/Washington Publishing Company, and is not a substitute for reviewing the official standard or your trading partner's companion guide. See our Terms of Service for full legal terms.