HL7 Component Table - QSC - Query Selection Criteria
Core Framework | Base Standard Profile | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Seq# | Description | Interpretation | Flags | Cardinality | Length | C.LEN | Vocabulary | Data Type | Implement | Cardinality | Vocabulary |
QSC | |||||||||||
1 | Segment Field Name | [1..1] | ST | SHALL | |||||||
2 | Relational Operator | [0..1] | relationalOperator (CD VS) | ID | (CS) | ||||||
3 | Value | [0..1] | ST | ||||||||
4 | Relational Conjunction | [0..1] | relationalConjunction (CD VS) | ID | (CS) |
Definition: This field indicates the conditions that qualify the rows to be returned in the query response.
Example:
|@PID.5.1^EQ^EVANS|
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.
Definition: Refer to HL7 Table 0209 - Relational Operator for valid values.
Definition: The value to which the field will be compared.
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.