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 3 (NM)
  • sample 1 from channel 4 (NM)
  • sample 1 from channel 5 (NM)
  • sample 1 from channel 6 (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.
    • getSample1FromChannel3

      Returns sample 1 from channel 3 (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getMa3_Sample1FromChannel3

      Returns sample 1 from channel 3 (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getSample1FromChannel4

      Returns sample 1 from channel 4 (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getMa4_Sample1FromChannel4

      Returns sample 1 from channel 4 (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getSample1FromChannel5

      Returns sample 1 from channel 5 (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getMa5_Sample1FromChannel5

      Returns sample 1 from channel 5 (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getSample1FromChannel6

      Returns sample 1 from channel 6 (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getMa6_Sample1FromChannel6

      Returns sample 1 from channel 6 (component 6). This is a convenience method that saves you from casting and handling an exception.