Class QIP

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class QIP extends AbstractComposite

Represents an HL7 QIP (query input parameter list) data type. This type consists of the following components:

  • segment field name (ST)
  • value1&value2&value3 (ST)
See Also:
  • Constructor Details

    • QIP

      public QIP(Message message)
      Creates a new QIP 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.
    • getQip1_SegmentFieldName

      Returns segment field name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getValue1Value2Value3

      Returns value1&value2&value3 (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getQip2_Value1Value2Value3

      Returns value1&value2&value3 (component 2). This is a convenience method that saves you from casting and handling an exception.