public final class OMD_O03 extends Message
Represents a OMD_O03 message structure (see chapter 4.7.1 ) This structure contains the following elements:
0: MSH (Message Header segment) SINGLE_COMPULSARYFollowing is the step to create message
Before that, respective Message Source and Message Recipient to be set on Message Factory.
OMD_O03 objO03 = (OMD_O03)MessageFactory.createInstance().createSendSupportedMessage("OMD", "O03");
| Modifier and Type | Method and Description |
|---|---|
void |
addNotesAndCommentsSegment(ISingleCollection<NTE> objNTESegmentCollection)
Adds collection of Notes and Comments Segment(NTE) to this message.
|
void |
addNotesAndCommentsSegment(NTE objNTE)
Adds Notes and Comments Segment(NTE) to this message.
|
void |
addOrderDietGroup(IGroup objGroup)
Adds ORDER_DIET GROUP to this message.
|
void |
addOrderDietGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of ORDER_DIET GROUP to this message.
|
void |
addOrderTrayGroup(IGroup objGroup)
Adds ORDER_TRAY GROUP to this message.
|
void |
addOrderTrayGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of ORDER_TRAY GROUP to this message.
|
void |
addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
Adds collection of Software Segment(SFT) to this message.
|
void |
addSoftwareSegment(SFT objSFT)
Adds Software Segment(SFT) to this message.
|
ISingleCollection<NTE> |
getNotesAndCommentsSegments()
Retrieves Collection of Notes and Comments Segments(NTE) present in this message.
|
ISingleCollection<IGroup> |
getOrderDietGroups()
Retrieves Collection of ORDER_DIET GROUP present in this message.
|
ISingleCollection<IGroup> |
getOrderTrayGroups()
Retrieves Collection of ORDER_TRAY GROUP present in this message.
|
IGroup |
getPatientGroup()
Retrieves Patient Group present in this message.
|
ISingleCollection<SFT> |
getSoftwareSegments()
Retrieves Collection of Software Segments(SFT) present in this message.
|
UAC |
getUserAuthenticationCredentialSegment()
Retrieves User Authentication Credential(UAC) segment present in this message
|
int |
populate(ISegmentSet objSegmentSet)
Populates Message using provided SegmentSet according to Message Structure specified by HL7 standard.
|
void |
setPatientGroup(IGroup objGroup)
Sets value of Patient Group for this message,overwrites if already present.
|
void |
setUserAuthenticationCredentialSegment(UAC objUAC)
Sets value of User Authentication Credential segment for this message,overwrites if already present.
|
contains, dumpMessage, dumpMessage, getACKMode, getGroup, getGroupMap, getHeader, getMessageCode, getMessageControlID, getMessageStructure, getQueryUserParameters, getSegment, getSegmentSet, getSubscriptionType, getTriggerEvent, isQuery, isResponse, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXMLpublic ISingleCollection<SFT> getSoftwareSegments()
public void addSoftwareSegment(SFT objSFT)
objSFT - Specified Software Segment(SFT) to be added in this messageto this message.public void addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
objSFTSegmentCollection - Collection of Software Segments to add in this messagepublic UAC getUserAuthenticationCredentialSegment()
public void setUserAuthenticationCredentialSegment(UAC objUAC)
objUAC - Specified UAC Segmentpublic ISingleCollection<NTE> getNotesAndCommentsSegments()
public void addNotesAndCommentsSegment(NTE objNTE)
objNTE - Specified Notes and Comments Segment(NTE)to add in this message.public void addNotesAndCommentsSegment(ISingleCollection<NTE> objNTESegmentCollection)
objNTESegmentCollection - Collection of Notes and Comments Segments to add in this messagepublic IGroup getPatientGroup()
public void setPatientGroup(IGroup objGroup)
objGroup - Specified Patient Grouppublic ISingleCollection<IGroup> getOrderDietGroups()
public void addOrderDietGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified ORDER_DIET GROUP Collection.public void addOrderDietGroup(IGroup objGroup)
objGroup - Specified ORDER_DIET GROUP.public ISingleCollection<IGroup> getOrderTrayGroups()
public void addOrderTrayGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified ORDER_TRAY GROUP Collection.public void addOrderTrayGroup(IGroup objGroup)
objGroup - Specified ORDER_TRAY GROUP.public int populate(ISegmentSet objSegmentSet) throws InvalidMessageException
populate in class MessageobjSegmentSet - instance of SegmentSetInvalidMessageException - If message validation fails.