Previous Page TOC Index Next Page

4.2.3 OSQ - query response for order status

OSQ      Query        Chapter 
MSH     Message Header        2
MSA     Message Acknowledgment      2
[ERR]    Error          2
     [{NTE}]   Notes and Comments (for Header)    2
QRD     Query Definition        2
    [ QRF ]   Query Filter         2
[  
  [PID    Patient Identification      3
     [{NTE}]]  Notes and Comments (for Patient ID)   2
 {
   ORC    Common Order         4
   [Order Detail Segment] OBR, etc.        4
     [{NTE}]   Notes and Comments (for Detail)    2
     [{CTI}]   Clinical Trial Identification     7
 }
]
 [DSC]    Continuation Pointer       2

4.2.3.1 Query usage notes

The QRD and QRF segments are defined in Chapter 2, Section 2.24, "Message Control Segments."

The subject filters contained in the QRD and QRF segments describe the kind of information that is required to satisfy the request. They are defined by local agreement between the inquiring system and the ancillary system. See the Implementation Guide for detailed examples of the use of query filter fields.

The Set ID fields in the various segments (including PID) are used to count the number of segments of one kind transmitted at one level of the hierarchy.

The Query Result Level field of the QRD determines the amount of data requested. See Chapter 2, Section 2.24.4, "QRD - original style query definition segment."

Previous Page TOC Index Next Page