Class CM_BATCH_TOTAL

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_BATCH_TOTAL extends AbstractComposite

Represents an HL7 CM_BATCH_TOTAL (CM for Batch Totals) data type. This type consists of the following components:

  • Batch total 1 (NM)
  • Batch total 2 (NM)
See Also:
  • Constructor Details

  • 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.
    • getBatchTotal1

      public NM getBatchTotal1()
      Returns Batch total 1 (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_batch_total1_BatchTotal1

      Returns Batch total 1 (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getBatchTotal2

      public NM getBatchTotal2()
      Returns Batch total 2 (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_batch_total2_BatchTotal2

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