Class AUI

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.