|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.hl7v2.core.utilities.Worker
org.eclipse.ohf.hl7v2.core.message.model.Node
org.eclipse.ohf.hl7v2.core.message.model.ModelProvider
org.eclipse.ohf.hl7v2.core.message.model.Message
org.eclipse.ohf.ihe.common.hl7v2.message.PixPdqMessage
org.eclipse.ohf.ihe.pix.source.PixSourceResponse
public class PixSourceResponse
ACK ADT Acknowledgement IHE HL7 Segments: MSH,MSA,ERR IHE HL7 Standard: HL7 2.3.1
| Field Summary |
|---|
| Fields inherited from class org.eclipse.ohf.hl7v2.core.message.model.Node |
|---|
MODE_TYPE_SEGMENT, NODE_TYPE_COMPONENT, NODE_TYPE_FIELD, NODE_TYPE_LIST, NODE_TYPE_MESSAGE, NODE_TYPE_SUBCOMPONENT |
| Fields inherited from class org.eclipse.ohf.hl7v2.core.utilities.Worker |
|---|
hecAccepted, hecApplicationError, hecBadField, hecBadMessage, hecBadSegCode, hecConformance, hecDataTypeError, hecDefinitionError, hecDuplicateKey, hecDuplicateMsgId, hecHL7LibraryError, hecInternalError, hecNoDefinitions, hecNoTableValue, hecRecordLocked, hecRequiredField, hecRequiredSeg, hecSequenceError, hecSuperfluousSeg, hecUnknownKey, hecUnsEvntCode, hecUnsMsgType, hecUnsProcID, hecUnsVersion, hecValidationFailed, hecXML |
| Constructor Summary | |
|---|---|
PixSourceResponse(org.eclipse.ohf.hl7v2.core.message.MessageManager globalFactory)
Constructs a PIX response message. |
|
| Method Summary | |
|---|---|
java.lang.String |
getControlId()
MSA-2 Message Control ID This field contains the message control ID of the message sent by the sending system. |
java.lang.String[] |
getErrorCodeAndLocation(int segmentIndex,
int repeatIndex)
ERR-1 HL7 Error Code and Location (type CM) |
int |
getErrorCountByRepeat()
The number of errors found in the response using repeats. |
int |
getErrorCountBySegment()
The number of errors found in the response using segments. |
java.lang.String |
getResponseAckCode(boolean expandString)
MSA-1 Acknowledgement Code This field contains an acknowledgment code, see message processing rules. |
boolean |
hasError()
Response contains 1 or more errors. |
void |
init()
Initialize message object structures after data loads. |
| Methods inherited from class org.eclipse.ohf.ihe.common.hl7v2.message.PixPdqMessage |
|---|
changeDefaultCharacterSet, changeDefaultControlId, changeDefaultProcessEnvironment, changeDefaultReceivingApplication, changeDefaultRecievingFacility, changeDefaultSendingApplication, changeDefaultSendingFacility, getCharacterSet, getMessageControlID, getProcessEnvironment, getReceivingApplication, getReceivingFacility, getSendingApplication, getSendingFacility, setField, setNonNullElement |
| Methods inherited from class org.eclipse.ohf.hl7v2.core.message.model.Message |
|---|
addMSHFromFields, addMSHFromFields, bindToMSH, clear, clearContent, elementName, equals, forceElement, getDefaultFormat, getDelimiters, getElement, getEvent, getMessageId, getMessageType, getSegments, getStructId, getStructure, hasStructId, resolveVariableTypes, setDefaultFormat, setDelimiters, setEvent, setMessageId, setMessageType, setStructId, testIsElement |
| Methods inherited from class org.eclipse.ohf.hl7v2.core.message.model.ModelProvider |
|---|
getDefinitions, getVersion, getVersionDefinition, setDefinitions, setVersion |
| Methods inherited from class org.eclipse.ohf.hl7v2.core.message.model.Node |
|---|
getOwner, hasOwner, isElement, setOwner |
| Methods inherited from class org.eclipse.ohf.hl7v2.core.utilities.Worker |
|---|
condition |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PixSourceResponse(org.eclipse.ohf.hl7v2.core.message.MessageManager globalFactory)
throws PixSourceException
globalFactory - - message manager
PixSourceException| Method Detail |
|---|
public void init()
public java.lang.String getResponseAckCode(boolean expandString)
throws PixSourceException
expandString -
PixSourceException
public java.lang.String getControlId()
throws PixSourceException
PixSourceExceptionpublic boolean hasError()
public int getErrorCountBySegment()
public int getErrorCountByRepeat()
public java.lang.String[] getErrorCodeAndLocation(int segmentIndex,
int repeatIndex)
throws PixSourceException
segmentIndex - - (0 - response.getErrorCountBySegment()-1)repeatIndex - - (0 - response.getErrorCountByRepeat()-1)
PixSourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||