All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class AUI extends AbstractComposite

Represents an HL7 AUI (Authorization Information) data type. This type consists of the following components:

  • Authorization Number (ST)
  • Date (DT)
  • Source (ST)
See Also:
  • Constructor Details

    • AUI

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

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

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

      public DT getDate()
      Returns Date (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getAui2_Date

      public DT getAui2_Date()
      Returns Date (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getSource

      public ST getSource()
      Returns Source (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getAui3_Source

      public ST getAui3_Source()
      Returns Source (component 3). This is a convenience method that saves you from casting and handling an exception.