public final class BAR_P02 extends Message
Represents a BAR_P02 message structure (see chapter 6.4.2). This structure contains the following elements:
0: MSH (Message Header segment)Following is the step to create message
Before that, respective Message Source and Message Recipient to be set on Message Factory.
BAR_P02 objP02 = (BAR_P02)MessageFactory.createInstance().createSendSupportedMessage("BAR", "P02");
| Modifier and Type | Method and Description |
|---|---|
void |
addPatientGroup(IGroup objGroup)
Adds PATIENT GROUP to this message.
|
void |
addPatientGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of PATIENT 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.
|
EVN |
getEventTypeSegment()
Retrieves Event Type(EVN) segment present in this message
|
ISingleCollection<IGroup> |
getPatientGroups()
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
|
void |
setEventTypeSegment(EVN objEVN)
Sets value of Event Type segment for this message,overwrites if already present.
|
void |
setUserAuthenticationCredentialSegment(UAC objUAC)
Sets value of User Authentication Credential(UAC) 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, populate, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXMLpublic void addSoftwareSegment(SFT objSFT)
objSFT - Specified Software Segment(SFT) to be added in this messagepublic void addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)
objSFTSegmentCollection - Collection of Software Segments to add in this messagepublic ISingleCollection<SFT> getSoftwareSegments()
public UAC getUserAuthenticationCredentialSegment()
public void setUserAuthenticationCredentialSegment(UAC objUAC)
objUAC - Specified UAC Segmentpublic EVN getEventTypeSegment()
public void setEventTypeSegment(EVN objEVN)
objEVN - Specified EVN Segmentpublic ISingleCollection<IGroup> getPatientGroups()
public void addPatientGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified PATIENT GROUP Collection.public void addPatientGroup(IGroup objGroup)
objGroup - Specified PATIENT GROUP.