public abstract class MDM_T01_Common extends Message
Represents a MDM_T01 message structure (see chapter 9.6.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.
MDM_T01 objT01 = (MDM_T01)MessageFactory.createInstance().createSendSupportedMessage("MDM", "T01");
| Modifier and Type | Method and Description |
|---|---|
void |
addCommonOrderGroup(IGroup objGroup)
Adds Common Order GROUP to this message.
|
void |
addCommonOrderGroups(ISingleCollection<IGroup> objSingleCollection)
Adds Collection of Common Order GROUP to this message.
|
void |
addConsentSegment(ConsentSeg objCON)
Adds Consent Segment(CON) to this message.
|
void |
addConsentSegment(ISingleCollection<ConsentSeg> objCONSegmentCollection)
Adds collection of Consent Segment(CON) 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<IGroup> |
getCommonOrderGroups()
Retrieves Collection of Common Order GROUP present in this message.
|
ISingleCollection<ConsentSeg> |
getConsentSegments()
Retrieves Collection of Consent Segments(CON) present in this message.
|
TXA |
getDocumentNotificationSegment()
Retrieves Document Notification(TXA) segment present in this message.
|
EVN |
getEventTypeSegment()
Retrieves Event Type(EVN) 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<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 |
setDocumentNotificationSegment(TXA objTXA)
Sets value of TXA segment 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 |
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 segment for this message,overwrites if already present.
|
boolean |
validate()
Validates HL7 Message objects.
|
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, 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 PV1 getPatientVisitSegment()
public void setPatientVisitSegment(PV1 objPV1)
objPV1 - Specified PV1 Segmentpublic ISingleCollection<IGroup> getCommonOrderGroups()
public void addCommonOrderGroups(ISingleCollection<IGroup> objSingleCollection)
objSingleCollection - Specified Common Order GROUP Collection.public void addCommonOrderGroup(IGroup objGroup)
objGroup - Specified Common Order GROUP.public TXA getDocumentNotificationSegment()
public void setDocumentNotificationSegment(TXA objTXA)
objTXA - Specified Document Notification Segmentpublic ISingleCollection<ConsentSeg> getConsentSegments()
public void addConsentSegment(ConsentSeg objCON)
objCON - Specified Consent Segment(CON) to be added in this messageto this message.public void addConsentSegment(ISingleCollection<ConsentSeg> objCONSegmentCollection)
objCONSegmentCollection - Collection of Consent Segments to add in this messagepublic boolean validate()
throws InvalidMessageException
validate in class MessageInvalidMessageException - Thrown when Message validation fails.