Components: <Sort-by Field (ST)> & <Sequencing (ID)>
Definition: Specifies those parameters by which the response will be sorted and by what method.
Example: In a tabular response query, where the return data is known by column name, the SRT might look like:
Example: In a segment response query, where the return data is known by segment and offset, the SRT field would use segment field name notation:
Definition: Identifies the field by which the response will be sorted. In a tabular response, this will be the column name to sort by. In the Segment Pattern and the Display Response, this will be the segment field name to sort by. See QIP in Section 2.A.59.1, "Segment Field Name (ST)" for segment field name definition.
See Chapter 5, "Query", for a complete discussion of queries and their responses.
Definition: Identifies how the field or parameter will be sorted; and, if sorted, whether the sort will be case sensitive (the default) or not. Refer to HL7 Table 0397 – Sequencing for valid values