All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class MA extends AbstractComposite

Represents an HL7 MA (Multiplexed Array) data type. This type consists of the following components:

  • Sample 1 From Channel 1 (NM)
  • Sample 1 From Channel 2 (NM)
  • Sample 1 From Channel N (NM)
  • Sample 2 From Channel 1 (NM)
  • Sample 2 From Channel N (NM)
  • Sample N From Channel N (NM)
See Also:
  • Constructor Details

    • MA

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

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

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

      Returns Sample 1 From Channel 2 (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getMa2_Sample1FromChannel2

      Returns Sample 1 From Channel 2 (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getSample1FromChannelN

      Returns Sample 1 From Channel N (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getMa3_Sample1FromChannelN

      Returns Sample 1 From Channel N (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getSample2FromChannel1

      Returns Sample 2 From Channel 1 (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getMa4_Sample2FromChannel1

      Returns Sample 2 From Channel 1 (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getSample2FromChannelN

      Returns Sample 2 From Channel N (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getMa5_Sample2FromChannelN

      Returns Sample 2 From Channel N (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getSampleNFromChannelN

      Returns Sample N From Channel N (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getMa6_SampleNFromChannelN

      Returns Sample N From Channel N (component 6). This is a convenience method that saves you from casting and handling an exception.