public final class BAR_P01 extends Message
Represents a BAR_P01 message structure (see chapter 6.4.1). 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_P01 objP01 = (BAR_P01)MessageFactory.createInstance().createSendSupportedMessage("BAR", "P01");
| Modifier and Type | Method and Description |
|---|---|
void |
addParticipationSegment(PRT objPRT)
Adds Participation(PRT) Segment to this message.
|
void |
addPaticipationSegments(ISingleCollection<PRT> objPRTSegmentCollection)
Adds collection of PArticipation(PRT) Segment to this message.
|
void |
addPatientIdentificationRoleSegment(ISingleCollection<ROL> objROLSegmentCollection)
Adds collection of Role(ROL) segments associated with Patient Identification.
|
void |
addPatientIdentificationRoleSegment(ROL objROL)
Adds Role(ROL) segment associated with Patient Identification.
|
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.
|
void |
addVisitGroup(IGroup objGroup)
Adds VISIT GROUP to this message.
|
void |
addVisitGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of VISIT GROUP to this message.
|
PD1 |
getAdditinalDemographicSegment()
Retrieves Additinal Demographics segment(PD1) present in this message.
|
EVN |
getEventTypeSegment()
Retrieves Event Type(EVN) segment present in this message
|
ISingleCollection<PRT> |
getParticipationSegments()
Retrieves Collection of Participation(PRT) Segment present in this message.
|
ISingleCollection<ROL> |
getPatientIdentificationRoleSegments()
Retrieves Collection of Role(ROL) Segments present in this message.
|
PID |
getPatientIdentificationSegment()
Retrieves Patient Identification(PID) segment 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
|
ISingleCollection<IGroup> |
getVisitGroups()
Retrieves Collection of VISIT GROUP present in this message.
|
void |
setAdditinalDemographicSegment(PD1 objPD1)
Sets value of Additinal Demographics segment(PD1) for this message,overwrites if already present.
|
void |
setEventTypeSegment(EVN objEVN)
Sets value of Event Type segment for this message,overwrites if already present.
|
void |
setPatientIdentificationSegment(PID objPID)
Sets value of PID 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 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 EVN getEventTypeSegment()
public void setEventTypeSegment(EVN objEVN)
objEVN - Specified EVN Segmentpublic PID getPatientIdentificationSegment()
public void setPatientIdentificationSegment(PID objPID)
objPID - Specified PID Segmentpublic PD1 getAdditinalDemographicSegment()
public void setAdditinalDemographicSegment(PD1 objPD1)
objPD1 - Specified Additinal Demographics(PD1) Segment.public ISingleCollection<PRT> getParticipationSegments()
public void addParticipationSegment(PRT objPRT)
objPRT - Specified Participation(PRT) Segment to be added in this message.public void addPaticipationSegments(ISingleCollection<PRT> objPRTSegmentCollection)
objPRTSegmentCollection - Collection of Participation Segments to add in this messagepublic ISingleCollection<ROL> getPatientIdentificationRoleSegments()
public void addPatientIdentificationRoleSegment(ROL objROL)
objROL - Specified Role(ROL) segment associated with Patient Identification.public void addPatientIdentificationRoleSegment(ISingleCollection<ROL> objROLSegmentCollection)
objROLSegmentCollection - Collection of Role(ROL)segments associated with Patient Identification.public ISingleCollection<IGroup> getVisitGroups()
public void addVisitGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified VISIT GROUP Collection.public void addVisitGroup(IGroup objGroup)
objGroup - Specified VISIT GROUP.