## Uses of Class
cdac.medinfo.sdk.hl7282.exceptions.InvalidMessageException

- Packages that use InvalidMessageException
  Package | Description
  --- | ---
  cdac.medinfo.sdk.hl7282.baselibs.messages | Provides Classes necessary to create Message, Acknowledgement and also contains Exception classes which are specific to message operations like serialize, validate & parse.
  cdac.medinfo.sdk.hl7282.commoninterface | Defines contract for base library and HL7 model.
  cdac.medinfo.sdk.hl7282.hl7model.messages.medicalrecords | Provides classes which implement Medical Records Messages.
  cdac.medinfo.sdk.hl7282.hl7model.messages.observationreporting | Provides classes which implement Observation Reporting Messages.
  cdac.medinfo.sdk.hl7282.hl7model.messages.orderentry | Provides classes which implement Order Entry Messages.
  cdac.medinfo.sdk.hl7282.hl7net.auxiliaryprotocol.sequence | Provides classes which are responsible for the Sequencing in the Messages.
  cdac.medinfo.sdk.hl7282.hl7net.commons | Provides Interfaces which are required to be implemented by Session classes, Network Agents & MessageAgents of Client Server.
  cdac.medinfo.sdk.hl7282.hl7net.communication | Provides classes which are required for Message buffer parsing from network stream.
  cdac.medinfo.sdk.hl7282.hl7net.upperlayer | Provides classes which interact with application layer and base network layer.

- - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.baselibs.messages

    Methods in cdac.medinfo.sdk.hl7282.baselibs.messages that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `ISegmentSet` | Message.`getSegmentSet()` Retrieves populated SegmentSet from message structure.
    `int` | Message.`populate(ISegmentSet objSegmentSet)` Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.
    `Message` | Message_Source_Recepient.`populateMessage(EnumMessageCode enumMessageCode, EnumTriggerEvent enumTriggerEvent, ISegmentSet objISegmentSet)` Populates Message with Specified Message Structure & Message Trigger Event from SegmentSet.
    `Message` | IMessageSource.`populateMessage(EnumMessageCode enumMessageCode, EnumTriggerEvent enumTriggerEvent, ISegmentSet objISegmentSet)` Parses Message with Specified Message Structure & Message Trigger Event from HL7 Stream.
    `Message` | IMessageRecepient.`populateMessage(EnumMessageCode enumMessageCode, EnumTriggerEvent enumTriggerEvent, ISegmentSet objISegmentSet)` Parses Message with Specified Message Structure & Message Trigger Event from HL7 Stream.
    `Message` | Message_Source_Recepient.`populateMessage(ISegmentSet objISegmentSet)` Populates Message from HL7 Stream.
    `Message` | LocalExtensionAgent.`populateMessage(ISegmentSet objSegmentSet)` Populates a locally extended message.
    `Message` | IMessageSource.`populateMessage(ISegmentSet objISegmentSet)` Parses Message from HL7 Stream.
    `Message` | IMessageRecepient.`populateMessage(ISegmentSet objISegmentSet)` Parses Message from HL7 Stream.
    `Message` | LocalExtensionAgent.`populateMessage(java.lang.String strMessageCode, java.lang.String strTriggerEvent, ISegmentSet objSegmentSet)` Populates a locally extended message with provided message code and trigger event.
    `boolean` | Message.`validate()` Validates HL7 Message objects.
    `boolean` | Group.`validate()` Validates HL7 Message objects.
    `boolean` | HL7MessageValidator.`validate(IHL7Stream objIHL7Stream)` Validates the stream of HL7 message.
    `boolean` | HL7MessageValidator.`validate(java.lang.String strFilePath)` Validates the HL7 message file.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.commoninterface

    Methods in cdac.medinfo.sdk.hl7282.commoninterface that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `ISegmentSet` | IGroup.`getSegmentSet()` Retrieves all segments present in this group
    `boolean` | IGroup.`validate()` Validates HL7 Message objects.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7model.messages.medicalrecords

    Methods in cdac.medinfo.sdk.hl7282.hl7model.messages.medicalrecords that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | MDM_T02_Common.`validate()` Validates HL7 Message objects.
    `boolean` | MDM_T01_Common.`validate()` Validates HL7 Message objects.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7model.messages.observationreporting

    Methods in cdac.medinfo.sdk.hl7282.hl7model.messages.observationreporting that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `int` | OUL_R24.`populate(ISegmentSet objSegmentSet)` Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.
    `int` | CSU_C09_Common.`populate(ISegmentSet objSegmentSet)` Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7model.messages.orderentry

    Methods in cdac.medinfo.sdk.hl7282.hl7model.messages.orderentry that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `int` | ORD_O04.`populate(ISegmentSet objSegmentSet)` Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.
    `int` | OMD_O03.`populate(ISegmentSet objSegmentSet)` Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7net.auxiliaryprotocol.sequence

    Methods in cdac.medinfo.sdk.hl7282.hl7net.auxiliaryprotocol.sequence that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReceivingSequenceAgent.`processReceive(ISegmentSet objSegmentSet)` Invoked when system receive message.
    `void` | InitiatingSequenceAgent.`processReceive(ISegmentSet objSegmentSet)` Invoked when system receive message.
    `void` | ReceivingSequenceAgent.`processSend(ISegmentSet objSegmentSet)` Process and populate the sequence numbering.
    `void` | InitiatingSequenceAgent.`processSend(ISegmentSet objSegmentSet)` Process and populate the sequence numbering.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7net.commons

    Methods in cdac.medinfo.sdk.hl7282.hl7net.commons that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ISequenceAgent.`processReceive(ISegmentSet objSegmentSet)` Invoked when system receive message.
    `void` | ISequenceAgent.`processSend(ISegmentSet objSegmentSet)` Invoked when system wants to send message.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7net.communication

    Methods in cdac.medinfo.sdk.hl7282.hl7net.communication that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerSideMessageAgent.`sendMessage(Message messageToSend)` Gets automatically invoked when Message is received from remote system.

  - ### Uses of InvalidMessageException in cdac.medinfo.sdk.hl7282.hl7net.upperlayer

    Methods in cdac.medinfo.sdk.hl7282.hl7net.upperlayer that throw InvalidMessageException
    Modifier and Type | Method and Description
    --- | ---
    `void` | UserSession.`notifyData(Message objReceivedMessage, EnumErrorCode enumErrorCode)` Invoked when Message is received from Remote End.