MajwareMAJWARE
QRD
Message Control12 fields

QRDQuery Definition

Appears in QRY messages (query) and QRY^Q01 and QRY^Q02 message types. Legacy interfaces may still use this heavily.

The QRD segment defines the parameters of a query request in the original-mode query framework. It specifies what data is being requested, from whom, and how results should be returned. This segment is deprecated in HL7 v2.5+ in favor of the newer query framework.

Real-World Context

QRD shows up most often in legacy lab and pharmacy interfaces that pre-date the new query framework. If you are maintaining an older interface that uses QRY messages, QRD defines what data is being requested. New implementations should use the newer query framework, but you will encounter QRD in systems that have not been upgraded.

Field Reference

Click any row to see the full description, common values, and troubleshooting tip.

#Field NameTypeReqMax Len
1Query Date/TimeTSR26
2Query Format CodeIDR1
3Query PriorityIDR1
4Query IDSTR10
5Deferred Response TypeIDO1
6Deferred Response Date/TimeTSO26
7Quantity Limited RequestCQR10
8Who Subject FilterXCNR250
9What Subject FilterCER60
10What Department Data CodeCEO60
11What Data Code Value QualifierCMO20
12Query Results LevelIDO1

Example Segment

HL7 v2.x Message
1QRD||20260310143205|R|I|Q001||25^RD|123456^^^HOSPITAL^MR|DEM^Demographics

Related Segments

Parse messages with QRD in real time

Paste any HL7 message into our free viewer. Decodes every segment and field instantly, client-side.

Open HL7 Message Viewer →

Need HL7 mapping templates?

The HL7 Integration Toolkit includes field mapping worksheets, interface spec templates, and a go-live checklist for every major HL7 message type.

View HL7 Integration Toolkit →
← Back to HL7 Segment Reference