Previous Page TOC Index Next Page

7.2.2 QRY/ORF - query for results of observation (events R02, R04)

QRY      Query        Chapter 
MSH     Message Header        2
QRD     Query Definition        2
QRF     Query Filter         2
  
ORF     Observational Report      Chapter
MSH     Message Header        2
MSA     Message Acknowledgement      2
QRD     Query Definition        2
    [ QRF ]   Query Filter         2
    { [ PID    Patient ID         3
        [{NTE}] ]  Notes and Comments       3
{
      [ ORC ]  Order common
         OBR   Observation request       7
         {[NTE]}  Notes and comments       2
         {
          [OBX]  Observation/Result       7
            {[NTE]} Notes and comments       2
         }   
        {[CTI]}  Clinical Trial Identifier      7
     } }  
[DSC]    Continuation Pointer       2

7.2.2.1 Query usage notes

Display-oriented results reporting is described in Chapter 2, Section 2.15.6.1. The QRD and QRF segments are defined in Chapter 2, Section 2.24, "Messages Control Segments."

The subject filters contained in the QRD and QRF segments are defined by local agreement between the inquiring system and the ancillary system.

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