cdac.medinfo.sdk.hl7282.baselibs.segments

## Class SPR

- java.lang.Object
- - cdac.medinfo.sdk.hl7282.baselibs.segments.Segment
  - - cdac.medinfo.sdk.hl7282.baselibs.segments.SPR

- All Implemented Interfaces:
    ISegment

      public class SPR
      extends Segment

  SPR - Stored Procedure Request.

  The SPR segment is used to issue queries using stored procedure calls.

  Represents an HL7 SPR message segment. This segment has the following fields:

  SPR-1: Query Tag (ST)Optional
  SPR-2: Query/Response Format Code (ID)Required
  SPR-3: Stored Procedure Name (CE)Required
  SPR-4: Input Parameter List (QIP)Optional

  This class provides mechanism to validate message against HL7 v 2.8.2 standard. The class provides accessors & mutators for the elements mentioned above. The class has validate method which validates Message against HL7 v 2.8.2 standard.

  User can also create Segment through `SegmentFactory`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SPR()` Constructs the SPR Segment

  - ### Method Summary

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.baselibs.segments.Segment

      `addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, validate, writeToXML`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SPR

          public SPR()

      Constructs the SPR Segment