All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class EI extends AbstractComposite

Represents an HL7 EI (Entity Identifier) data type. This type consists of the following components:

  • Entity Identifier (ST)
  • Namespace ID (IS)
  • Universal ID (ST)
  • Universal ID Type (ID)
See Also:
  • Constructor Details

    • EI

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

      Returns Entity Identifier (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getEi1_EntityIdentifier

      Returns Entity Identifier (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getNamespaceID

      public IS getNamespaceID()
      Returns Namespace ID (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getEi2_NamespaceID

      Returns Namespace ID (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getUniversalID

      public ST getUniversalID()
      Returns Universal ID (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getEi3_UniversalID

      Returns Universal ID (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getUniversalIDType

      Returns Universal ID Type (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getEi4_UniversalIDType

      Returns Universal ID Type (component 4). This is a convenience method that saves you from casting and handling an exception.