Skip to content
The Path

Module 3 · Message types·14 min

Results: ORU^R01

OBR, OBX, NTE: value, unit, range, flag and status of a result.

One night at the sleep lab produces dozens of numbers. By the next morning they must land in the patient’s record, readable by another piece of software. That is the job of the ORU^R01 message: a result pushed out as soon as it is ready, without anyone asking for it at that moment.

Here is Marie Dubois’s polysomnography report, as the sleep lab sends it to the patient record on Monday, June 29, once the doctor has signed off the scoring.

The sleep lab sends Marie Dubois’s overnight results to the patient record: AHI, desaturation index, lowest SpO2 and conclusion.

ORU^R01^ORU_R01· Observation result (unsolicited)
||||||||||
||||||||
|||||||||||||||||||||||||
||||||||||||||
||||||||||||||
||||||||||||||
|||||||||||
|||

The shape of an ORU: a header, then measurements

Read the message like a binder. MSH says what it is, PID says who it is about. Then comes an OBR: the test’s cover sheet. Under it, a series of OBX: one per measurement. NTE segments can follow an OBR or an OBX to add a comment.

One ORU can hold several OBRs, each with its own OBXs. A blood panel and a sleep study can travel together. In practice, many systems send one test per message: it is easier to track.

OBR: which test, when, for whom

The result’s OBR echoes the order that triggered it. Four fields get you oriented:

Field Name In our example
OBR-4 Test (Universal Service Identifier) 90568-7, the LOINC polysomnography panel
OBR-7 Observation start June 26, 10 pm, sensors on
OBR-22 Report or status change date/time June 29, 2 pm
OBR-25 Overall result status F, final

OBR-2 and OBR-3 hold the order numbers, on the ordering side and on the lab side. They are how the patient record hooks the result onto the right order.

OBX: one measurement, one line

Every OBX answers the same set of questions. Click the first OBX line in the message above and walk through the fields in order.

Field Question Example
OBX-2 What shape is the value? NM (number)
OBX-3 What was measured? AHI^Apnea-hypopnea index^L
OBX-4 Which one, if several share the same name? empty
OBX-5 What value? 28.5
OBX-6 In which unit? /h^^UCUM
OBX-7 What is the normal range? <5
OBX-8 Is it abnormal? H
OBX-11 Is this result final? F
OBX-14 When was it measured? June 27, 6:30 am

OBX-2 drives everything else. With NM, OBX-5 is a number and OBX-6 makes sense. With ST, OBX-5 is free text, like the conclusion in OBX 4. You will also meet CE (a coded value), TX and FT (longer text), and ED for a whole document, covered in the next lesson.

OBX-3 says what. Its third component names the code system: LN for LOINC, L for a local code. Here the desaturation index has a real LOINC code, 90567-9. For the AHI and the lowest SpO2, the lab uses its own codes. That is very common, and mapping them is the interface’s job.

OBX-6 gives the unit. Its third component says the unit is written in UCUM (/h^^UCUM), which makes it readable by FHIR.

OBX-4 tells twins apart. When two OBXs share the same OBX-3 under one OBR (an AHI on the back and an AHI on the side, say), OBX-4 gives each its own number: 1, 2.

OBX-7 is text. The standard allows three forms: low-high (90-100), >low and <high (<5). The receiver displays it, it does not compute anything from it.

Saturday, June 27, 8:30 am: the automatic analysis goes out with P and an AHI of 27.9. Change the flag or the status and watch the field explanation.

ORU^R01^ORU_R01· Observation result (unsolicited)
||||||||||
||||||||
|||||||||||||||||||||||||
||||||||||||||

The abnormal flag: OBX-8

The flag comes from HL7 table 0078. The codes you see every day:

Code Meaning
empty no abnormality flagged
H / L above / below the normal range
HH / LL beyond the critical (panic) limit, high or low
N normal, for a non-numeric result
A / AA abnormal / very abnormal, for a non-numeric result

In our message, the text conclusion carries A: no number, but the lab still flags it as abnormal.

Preliminary, final, corrected: OBX-11 and OBR-25

A result has a life cycle. Table 0085 gives the status of each OBX, table 0123 the status of the whole OBR.

OBX-11 Meaning What the receiver should do
P preliminary show it, marked as not finished
F final replace the preliminary one
C correction of a final result overwrite the final value
D delete remove this OBX
W wrong, for example wrong patient remove and raise an alert

The usual pattern: a first ORU with P, then the same test sent again with F. If an error is found after sign-off, a third ORU arrives with C. The receiver finds the line to replace using the order number (OBR-3) and the code (OBX-3).

That is exactly Marie’s story. The editable message above is the P from Saturday morning: AHI 27.9, OBR-25 = P. The message at the top of the lesson is the F from Monday, June 29: AHI 28.5. The patient record must replace 27.9 with 28.5, not show both.

NTE: the comment

NTE adds free text. NTE-2 says who is speaking: L for the lab that produced the result, P for the ordering side. NTE-3 holds the comment. Under an OBX, it comments on that measurement. Under the OBR, it comments on the whole test.

And in FHIR?

Each OBX becomes an Observation resource, and the OBR becomes a DiagnosticReport that groups them. The mapping is direct: OBX-3 gives code, OBX-5 and OBX-6 give valueQuantity, OBX-7 gives referenceRange, OBX-8 gives interpretation, OBX-11 gives status (P becomes preliminary, F becomes final, C becomes corrected).

Check your understanding

1 of 5

In an OBX, which field tells you what kind of value you are getting (number, text, code)?

+50 XPPass the quiz (4 correct answers) to complete the lesson.

Reviewed and checked on 27 September 2026