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.