All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class EIP extends AbstractComposite

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

  • Placer Assigned Identifier (EI)
  • Filler Assigned Identifier (EI)
See Also:
  • Constructor Details

    • EIP

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

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

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

      Returns Filler Assigned Identifier (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getEip2_FillerAssignedIdentifier

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