public final class BAR_P12 extends Message
Represents a BAR_P12 message structure (see chapter 6.4.9). 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_P12 objP12 = (BAR_P12)MessageFactory.createInstance().createSendSupportedMessage("BAR", "P12");
| Modifier and Type | Method and Description |
|---|---|
void |
addDiagnosisSegment(DG1 objDG1)
Adds Diagnosis Segment(DG1) to this message.
|
void |
addDiagnosisSegments(ISingleCollection<DG1> objDG1SegmentCollection)
Adds collection of Diagnosis(DG1) to this message.
|
void |
addProcedureGroup(IGroup objGroup)
Adds Procedure Group to this message.
|
void |
addProcedureGroups(ISingleCollection<IGroup> objSingleCollection)
Adds collection of Procedure Segment 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.
|
DRG |
getDiagnosisRelatedGroupSegment()
Retrieves Diagnosis Related Group(DRG ) segment present in this message.
|
ISingleCollection<DG1> |
getDiagnosisSegments()
Retrieves Collection of Diagnosis(DG1) present in this message.
|
EVN |
getEventTypeSegment()
Retrieves Event Type(EVN) segment present in this message
|
OBX |
getObservationResultSegment()
Retrieves Observation Result(OBX) Segment present in this message.
|
PID |
getPatientIdentificationSegment()
Retrieves Patient Identification(PID) segment present in this message.
|
PV1 |
getPatientVisitSegment()
Retrieves Patient Visit(PV1) segment present in this message.
|
ISingleCollection<IGroup> |
getProcedureGroups()
Retrieves Collection of Procedure 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 |
setDiagnosisRelatedGroupSegment(DRG objDRG)
Sets value of Diagnosis Related Group segment(DRG) 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 |
setObservationResultSegment(OBX objOBX)
Sets value of Observation Result(OBX) 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 |
setPatientVisitSegment(PV1 objPV1)
Sets value of PV1 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 Segmentspublic 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 PID getPatientIdentificationSegment()
public void setPatientIdentificationSegment(PID objPID)
objPID - Specified PID Segmentpublic PV1 getPatientVisitSegment()
public void setPatientVisitSegment(PV1 objPV1)
objPV1 - Specified PV1 Segmentpublic void addDiagnosisSegment(DG1 objDG1)
objDG1 - Specified Diagnosis(DG1) segmentpublic void addDiagnosisSegments(ISingleCollection<DG1> objDG1SegmentCollection)
objDG1SegmentCollection - Collection of Diagnosis(DG1) segmentspublic ISingleCollection<DG1> getDiagnosisSegments()
public DRG getDiagnosisRelatedGroupSegment()
public void setDiagnosisRelatedGroupSegment(DRG objDRG)
objDRG - Specified DRG Segmentpublic void addProcedureGroup(IGroup objGroup)
objGroup - Specified Procedure Grouppublic void addProcedureGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Collection of Software Segmentspublic ISingleCollection<IGroup> getProcedureGroups()
public OBX getObservationResultSegment()
public void setObservationResultSegment(OBX objOBX)
objOBX - Specified OBX Segment