Id2.16.840.1.113883.3.1937.777.10.15.62Effective Date2013‑02‑10
Statusactive ActiveVersion Label
NameSRT_datatypeDisplay NameSRT - Sort order
DescriptionSpecifies those parameters by which the response will be sorted and by what method.
ClassificationHL7 V2/V3 Datatype Level Template
Open/ClosedOpen (other than defined elements are allowed)
Used by / Uses
Used by 0 transactions and 13 templates, Uses 2 templates
Used by as NameVersion
2.16.840.1.113883.3.1937.777.10.12.127linkactive QBP^Q11 - Query by parameter requesting an RSP segment pattern response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.128linkactive QBP^Q13 - Query by parameter requesting an RTB - tabular response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.129linkactive QBP^Q15 - Query by parameter requesting an RDY display response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.130linkactive QBP^Q21 - Get person demographics2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.131linkactive QBP^Z73 - Personnel Information Message by Phone Number2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.139linkactive QSB^Q16 - Create subscription2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.140linkactive QVR^Q17 - Query for previous events2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.172linkactive RSP^K25 - Personnel Information by Segment Response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.173linkactive RSP^K31 - Dispense History Response2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.174linkactive RSP^Z82 - Pharmacy Dispense Message2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.176linkactive RSP^Z88 - Pharmacy Dispense Information2013‑02‑10
2.16.840.1.113883.3.1937.777.10.12.177linkactive RSP^Z90 - Lab Results History2013‑02‑10
2.16.840.1.113883.3.1937.777.10.13.117Containmentactive RCP - Response Control Parameter2013‑02‑10
Uses as NameVersion
2.16.840.1.113883.3.1937.777.10.15.83Containmentactive ID - Coded value for HL7 defined tablesDYNAMIC
2.16.840.1.113883.3.1937.777.10.15.89Containmentactive ST - StringDYNAMIC
Example
In a tabular response query, where the return data is known by column name, the SRT might look like
|LastName^A~FirstName^A|
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
|PID.3.1^A~PID.3.2|
ItemDTCardConfDescriptionLabel
hl7v2:SRT.1
ST0 … 1R

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.


Contains 2.16.840.1.113883.3.1937.777.10.15.89 ST - String (DYNAMIC)
SRT_dotstype
@Type
0 … 1FST
@LongName
0 … 1FSort-by Field
hl7v2:SRT.2
ID0 … 1Identifies 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
Contains 2.16.840.1.113883.3.1937.777.10.15.83 ID - Coded value for HL7 defined tables (DYNAMIC)
SRT_dotstype
@Type
0 … 1FID
@Table
0 … 1FHL70397
@LongName
0 … 1FSequencing