All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class WVS extends AbstractComposite

Represents an HL7 WVS (Waveform Source) data type. This type consists of the following components:

  • Source One Name (ST)
  • Source Two Name (ST)
See Also:
  • Constructor Details

    • WVS

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

      public ST getSourceOneName()
      Returns Source One Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getWvs1_SourceOneName

      Returns Source One Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getSourceTwoName

      public ST getSourceTwoName()
      Returns Source Two Name (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getWvs2_SourceTwoName

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