The Demo site for our new HL7 Version 2+ (plus) Standard
visit the hl7 website

Draft Website - For Review Purposes Only

QSC - query selection criteria

HL7 Component Table - QSC - query selection criteria
Seq# Description Data Type Usage Vocabulary Length C.LEN Flags
QSC
1 Segment Field Name ST R    
2 Relational Operator ID O [2..2]    
3 Value ST O 199
4 Relational Conjunction ID O [3..3]    

Components: <Segment Field Name (ST)> & <Relational Operator (ID)> & <Value (ST)> & <Relational Conjunction (ID)>


Example:

|@PID.5.1^EQ^EVANS|

QSC-1: Segment Field Name (ST)

Definition: The name of the field that is participating as a qualifier (usually the "key"). Refer to Section 2.A.59.1, “Segment Field Name (ST),” for segment field name conventions.

QSC-2: Relational Operator (ID)

Definition: Refer to HL7 Table 0209 - Relational Operator for valid values.

QSC-3: Value (ST)

Definition: The value to which the field will be compared.

QSC-4: Relational Conjunction (ID)

Definition: Refer to HL7 Table 0210 - Relational Conjunction for valid values. The relational conjunction is defined as follows: If more than one comparison is to be made to select qualifying rows, a conjunction relates this repetition of the field to the next.