Class FhirAuditDataset
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditDataset
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FhirQueryAuditDataset
,GenericFhirAuditDataset
,Iti105AuditDataset
,Iti65AuditDataset
,Iti68AuditDataset
Generic audit dataset for FHIR-based IHE transactions.
- Since:
- 3.1
- Author:
- Christian Ohr
- 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 TypeMethodDescriptionReturns the local address.Patient IDsRemote addressRequest payload.Service endpoint URLvoid
setAuthorization
(String authorization) void
setDestinationUserId
(String destinationUserId) void
setFhirContext
(FhirContext fhirContext) void
setLocalAddress
(String localAddress) Local addressvoid
setRemoteAddress
(String remoteAddress) Remote addressvoid
setRequestPayload
(String requestPayload) Request payload.void
setServiceEndpointUrl
(String serviceEndpointUrl) Service endpoint URLvoid
setSourceUserId
(String sourceUserId) Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditDataset
getEventOutcomeDescription, getEventOutcomeIndicator, getSourceUserName, isDestinationUserIsRequestor, isServerSide, isSourceUserIsRequestor, setEventOutcomeDescription, setEventOutcomeIndicator, setSourceUserName, toString
-
Constructor Details
-
FhirAuditDataset
public FhirAuditDataset(boolean serverSide)
-
-
Method Details
-
getPatientId
- Returns:
- the first present patient ID
or
null
when no patient IDs have been collected.
-
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
-
getRequestPayload
Request payload. -
setRequestPayload
Request payload. -
setLocalAddress
Local address -
setRemoteAddress
Remote address -
getRemoteAddress
Remote address- Specified by:
getRemoteAddress
in classAuditDataset
- Returns:
- the remote address of the transaction
-
getServiceEndpointUrl
Service endpoint URL -
setServiceEndpointUrl
Service endpoint URL -
getPatientIds
Patient IDs -
getHumanUsers
- Specified by:
getHumanUsers
in classAuditDataset
- Returns:
- information about human user(s) participating in the transaction
-
getSourceUserId
- Specified by:
getSourceUserId
in classAuditDataset
- Returns:
- the user ID of the transaction source
-
setSourceUserId
-
getDestinationUserId
- Specified by:
getDestinationUserId
in classAuditDataset
- Returns:
- the user ID of the transaction destination
-
setDestinationUserId
-
getFhirContext
-
setFhirContext
-
getAuthorization
-
setAuthorization
-