HL7 EDR_R07 Enhanced Display Response
EDR_R07 is an enhanced display response. It answers a query with formatted display data in repeating DSP segments, plus query status and optional continuation handling.
This is mostly a compatibility message now. It is useful when an old receiver expects screen-ready text, but it is a poor fit when the next system needs reusable clinical data.
A small EDR R07 example
What systems do with it
The requester sends a legacy display-style query and the responder returns text lines that a user interface can show with minimal interpretation. QAK gives query status and count context. DSC can appear when the receiver has more data to request later.
Receivers often print, show, or archive the display lines exactly as sent. That is the benefit and the drawback: the message is easy to show but hard to transform safely.
How to read the structure
MSH identifies EDR^R07^EDR_R07. MSA acknowledges the original query. Optional ERR reports problems. Required QAK carries query status. Repeating DSP segments carry the display payload.
If DSC is present, the requester should treat the response as incremental and use the continuation rules from the receiver's query profile.
Implementation traps
The biggest trap is treating DSP text as structured clinical content. Line numbers and display formatting are not stable identifiers. If the receiver needs observations, orders, diagnoses, or charges, use a structured response message instead.
Also avoid reflowing the text unless the interface contract allows it. Some old systems depend on line breaks and column positions.
Reference notes
HL7 v2.3.1 Chapter 2 lists EDR as the enhanced display response alongside related display, tabular, and event replay response messages. See the HL7 v2.3.1 control/query chapter.