All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class WVI extends AbstractComposite

Represents an HL7 WVI (Channel Identifier) data type. This type consists of the following components:

  • Channel Number (NM)
  • Channel Name (ST)
See Also:
  • Constructor Details

    • WVI

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

      public NM getChannelNumber()
      Returns Channel Number (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getWvi1_ChannelNumber

      Returns Channel Number (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getChannelName

      public ST getChannelName()
      Returns Channel Name (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getWvi2_ChannelName

      Returns Channel Name (component 2). This is a convenience method that saves you from casting and handling an exception.