HL7 v2 OBX-7 Field Guide: Reference Range Codes and Common Mistakes
A results screen that highlights abnormal values in red usually depends on comparing OBX-5 against OBX-7, not just trusting the OBX-8 flag — and reference ranges vary by lab, by age, and sometimes by sex, so a hardcoded range is a bug waiting for the wrong patient.
OBX-7 is the seventh field of the HL7 v2 OBX segment — it carries the normal reference range for the result in OBX-5, most often as a low-high pair separated by a hyphen.
What this field contains
Example
3.5-5.1 in OBX-7 is the normal reference range that 4.2 falls within, consistent with the N abnormal flag. Synthetic result — not a real patient.
Where this trips people up
Reference ranges frequently differ by the age or sex of the patient, or by the specific instrument that ran the test, which means the same LOINC code can legitimately carry different OBX-7 values across messages. Systems that cache a single "normal range" per test rather than reading OBX-7 fresh from every result will occasionally flag a genuinely normal value as abnormal, or the reverse, for patients outside whatever range got cached first.