Class QSC

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.