All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class QSC extends AbstractComposite

Represents an HL7 QSC (Query Selection Criteria) data type. This type consists of the following components:

  • Segment Field Name (ST)
  • Relational Operator (ID)
  • Value (ST)
  • Relational Conjunction (ID)
See Also:
  • Constructor Details

    • QSC

      public QSC(Message message)
      Creates a new QSC type
  • Method Details

    • getComponents

      public Type[] getComponents()
      Returns an array containing the data elements.
    • getComponent

      public Type getComponent(int number) throws DataTypeException
      Returns an individual data component.
      Parameters:
      number - The component number (0-indexed)
      Throws:
      DataTypeException - if the given element number is out of range.
    • getSegmentFieldName

      Returns Segment Field Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getQsc1_SegmentFieldName

      Returns Segment Field Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getRelationalOperator

      Returns Relational Operator (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getQsc2_RelationalOperator

      Returns Relational Operator (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getValue

      public ST getValue()
      Returns Value (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getQsc3_Value

      public ST getQsc3_Value()
      Returns Value (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getRelationalConjunction

      Returns Relational Conjunction (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getQsc4_RelationalConjunction

      Returns Relational Conjunction (component 4). This is a convenience method that saves you from casting and handling an exception.