public final class OUL_R24 extends Message
Represents a OUL_R24 message structure (see chapter 7.3.10). 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.
OUL_R24 objR24 = (OUL_R24)MessageFactory.createInstance().createSendSupportedMessage("OUL", "R24");
| Modifier and Type | Method and Description |
|---|---|
void |
addNextOfKinSegment(ISingleCollection<NK1> objNK1SegmentCollection)
Adds collection of Next of Kin Segments(NK1) to this message.
|
void |
addNextOfKinSegment(NK1 objNK1)
Adds Next of Kin Segment(NK1) to this message.
|
void |
addOrderGroup(IGroup objGroup)
Adds ORDER GROUP to this message.
|
void |
addOrderGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of ORDER 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.
|
DSC |
getContinuationPointerSegment()
Retrieves Continuation Pointer(DSC) segment present in this message
|
ISingleCollection<NK1> |
getNextOfKinSegments()
Retrieves Collection of Next of Kin Segment(NK1) present in this message.
|
NTE |
getNotesAndCommentsSegment()
Retrieves Notes And Comments(NTE) segment present in this message
|
ISingleCollection<IGroup> |
getOrderGroups()
Retrieves Collection of ORDER 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 |
setContinuationPointerSegment(DSC objDSC)
Sets value of Continuation Pointer segment for this message,overwrites if already present.
|
void |
setNotesAndCommentsSegment(NTE objNTE)
Sets value of Notes And Comments segment for this message,overwrites if already present.
|
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 NTE getNotesAndCommentsSegment()
public void setNotesAndCommentsSegment(NTE objNTE)
objNTE - Specified Notes And Comments Segmentpublic IGroup getPatientGroup()
public void setPatientGroup(IGroup objGroup)
objGroup - Specified Patient Grouppublic void addNextOfKinSegment(NK1 objNK1)
objNK1 - Specified Next of Kin Segment(NK1) to add in message.public void addNextOfKinSegment(ISingleCollection<NK1> objNK1SegmentCollection)
objNK1SegmentCollection - Collection of Next of Kin Segment(NK1) to add in this messagepublic ISingleCollection<NK1> getNextOfKinSegments()
public ISingleCollection<IGroup> getOrderGroups()
public void addOrderGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified ORDER GROUP Collection.public void addOrderGroup(IGroup objGroup)
objGroup - Specified ORDER GROUP.public DSC getContinuationPointerSegment()
public void setContinuationPointerSegment(DSC objDSC)
objDSC - Specified Continuation Pointer Segmentpublic int populate(ISegmentSet objSegmentSet) throws InvalidMessageException
populate in class MessageobjSegmentSet - instance of SegmentSetInvalidMessageException - If message validation fails.