Class MllpAuditDataset
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
org.openehealth.ipf.commons.ihe.hl7v2.audit.MllpAuditDataset
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FeedAuditDataset
,Iti64AuditDataset
,QueryAuditDataset
Generic audit dataset for MLLP-based IHE transactions.
- Author:
- Dmytro Rud
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
AuditDataset.HumanUser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe identity of the Destination Actor facility and receiving application from the HL7 message; concatenated together, separated by the | characterReturns the local address.Message control ID from MSH-10Message type from MSH-9Receiving application from MSH-5Receiving facility from MSH-6Remote addressSending application from MSH-3Sending facility from MSH-4The identity of the Source Actor facility and sending application from the HL7 message; concatenated together, separated by the | character.void
setLocalAddress
(String localAddress) Local addressvoid
setMessageControlId
(String messageControlId) Message control ID from MSH-10void
setMessageType
(String messageType) Message type from MSH-9void
setReceivingApplication
(String receivingApplication) Receiving application from MSH-5void
setReceivingFacility
(String receivingFacility) Receiving facility from MSH-6void
setRemoteAddress
(String remoteAddress) Remote addressvoid
setSendingApplication
(String sendingApplication) Sending application from MSH-3void
setSendingFacility
(String sendingFacility) Sending facility from MSH-4Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
getEventOutcomeDescription, getEventOutcomeIndicator, getSourceUserName, isDestinationUserIsRequestor, isServerSide, isSourceUserIsRequestor, setEventOutcomeDescription, setEventOutcomeIndicator, setSourceUserName, toString
-
Constructor Details
-
MllpAuditDataset
public MllpAuditDataset(boolean serverSide) Constructor.- Parameters:
serverSide
- Where we are — server side (true
) or client side (false
).
-
-
Method Details
-
getSourceUserId
The identity of the Source Actor facility and sending application from the HL7 message; concatenated together, separated by the | character.- Specified by:
getSourceUserId
in classAuditDataset
- Returns:
- identity of the Source Actor facility
-
getDestinationUserId
The identity of the Destination Actor facility and receiving application from the HL7 message; concatenated together, separated by the | character- Specified by:
getDestinationUserId
in classAuditDataset
- Returns:
- identity of the Destination Actor facility
-
getLocalAddress
Description copied from class:AuditDataset
Returns the local address. May fall back toAuditUtils.getLocalIPAddress()
if not explicitly set- Specified by:
getLocalAddress
in classAuditDataset
- Returns:
- The machine name or IP address
-
getHumanUsers
- Specified by:
getHumanUsers
in classAuditDataset
- Returns:
- information about human user(s) participating in the transaction
-
getSendingApplication
Sending application from MSH-3 -
setSendingApplication
Sending application from MSH-3 -
getSendingFacility
Sending facility from MSH-4 -
setSendingFacility
Sending facility from MSH-4 -
getReceivingApplication
Receiving application from MSH-5 -
setReceivingApplication
Receiving application from MSH-5 -
getReceivingFacility
Receiving facility from MSH-6 -
setReceivingFacility
Receiving facility from MSH-6 -
getMessageType
Message type from MSH-9 -
setMessageType
Message type from MSH-9 -
getMessageControlId
Message control ID from MSH-10 -
setMessageControlId
Message control ID from MSH-10 -
setLocalAddress
Local address -
setRemoteAddress
Remote address -
getRemoteAddress
Remote address- Specified by:
getRemoteAddress
in classAuditDataset
- Returns:
- the remote address of the transaction
-