cdac.medinfo.sdk.hl7282.hl7model.messages.scheduling

## Class SRR_S02

- java.lang.Object
- - cdac.medinfo.sdk.hl7282.baselibs.messages.Message
  - - cdac.medinfo.sdk.hl7282.baselibs.messages.AbstractQuery
    - - cdac.medinfo.sdk.hl7282.hl7model.messages.scheduling.SRR_S01_Common
      - - cdac.medinfo.sdk.hl7282.hl7model.messages.scheduling.SRR_S02

-     public final class SRR_S02
      extends SRR_S01_Common

  SRR_S02 - Request Appointment Rescheduling (Event S02). This event signals that an existing appointment be rescheduled.

  Represents a SRR_S01 message structure (see chapter 10.3). This structure contains the following elements:

  0: MSH (Message Header Segment) SINGLE_COMPULSARY
  1: MSA (Message Acknowledgment Segment) SINGLE_COMPULSARY
  2: ERR (Error Segment) MULTIPLE_OPTIONAL
  3: SCHEDULE (a Group in SRR_S01 message) SINGLE_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. These elements can be easily populated & populated values can be easily retrieved. The class has validate method which validates Message against HL7 v 2.8.2 standard.

  Following is the step to create message
  Before that, respective Message Source and Message Recipient to be set on Message Factory.

  SRR_S02 objS02 = (SRR_S02)MessageFactory.createInstance().createSendSupportedMessage("SRR", "S02");

- - ### Method Summary

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.hl7model.messages.scheduling.SRR_S01_Common

      `addErrorSegment, addErrorSegments, getErrorSegments, getMessageAcknowledgmentSegment, getScheduleGroup, isResponse, setMessageAcknowledgmentSegment, setScheduleGroup`

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.baselibs.messages.AbstractQuery

      `getQueryIdentifier, getQuerySegments, isBatchRSPExpected, isCanceledQuery, isCanceledResponse, isDeferred, isInteractiveQuery, isInteractiveResponse, setIsCanceledQuery, setIsCanceledResponse, setIsInteractiveQuery, setIsInteractiveResponse`

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.baselibs.messages.Message

      `contains, dumpMessage, dumpMessage, getACKMode, getGroup, getGroupMap, getHeader, getMessageCode, getMessageControlID, getMessageStructure, getQueryUserParameters, getSegment, getSegmentSet, getSubscriptionType, getTriggerEvent, isQuery, populate, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXML`

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

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