Class PRL

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class PRL extends AbstractComposite

Represents an HL7 PRL (parent result link) data type. This type consists of the following components:

  • OBX-3 observation identifier of parent result (CE)
  • OBX-4 sub-ID of parent result (ST)
  • part of OBX-5 observation result from parent (TX)
See Also:
  • Constructor Details

    • PRL

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

      Returns OBX-3 observation identifier of parent result (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getPrl1_OBX3ObservationIdentifierOfParentResult

      Returns OBX-3 observation identifier of parent result (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getOBX4SubIDOfParentResult

      Returns OBX-4 sub-ID of parent result (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPrl2_OBX4SubIDOfParentResult

      Returns OBX-4 sub-ID of parent result (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPartOfOBX5ObservationResultFromParent

      Returns part of OBX-5 observation result from parent (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getPrl3_PartOfOBX5ObservationResultFromParent

      Returns part of OBX-5 observation result from parent (component 3). This is a convenience method that saves you from casting and handling an exception.