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

public class FhirAuditDataset extends AuditDataset
Generic audit dataset for FHIR-based IHE transactions.
Since:
3.1
Author:
Christian Ohr
See Also:
  • Constructor Details

    • FhirAuditDataset

      public FhirAuditDataset(boolean serverSide)
  • Method Details

    • getPatientId

      public String getPatientId()
      Returns:
      the first present patient ID or null when no patient IDs have been collected.
    • getLocalAddress

      public String getLocalAddress()
      Description copied from class: AuditDataset
      Returns the local address. May fall back to AuditUtils.getLocalIPAddress() if not explicitly set
      Specified by:
      getLocalAddress in class AuditDataset
      Returns:
      The machine name or IP address
    • getRequestPayload

      public String getRequestPayload()
      Request payload.
    • setRequestPayload

      public void setRequestPayload(String requestPayload)
      Request payload.
    • setLocalAddress

      public void setLocalAddress(String localAddress)
      Local address
    • setRemoteAddress

      public void setRemoteAddress(String remoteAddress)
      Remote address
    • getRemoteAddress

      public String getRemoteAddress()
      Remote address
      Specified by:
      getRemoteAddress in class AuditDataset
      Returns:
      the remote address of the transaction
    • getServiceEndpointUrl

      public String getServiceEndpointUrl()
      Service endpoint URL
    • setServiceEndpointUrl

      public void setServiceEndpointUrl(String serviceEndpointUrl)
      Service endpoint URL
    • getPatientIds

      public Set<String> getPatientIds()
      Patient IDs
    • getHumanUsers

      public List<AuditDataset.HumanUser> getHumanUsers()
      Specified by:
      getHumanUsers in class AuditDataset
      Returns:
      information about human user(s) participating in the transaction
    • getSourceUserId

      public String getSourceUserId()
      Specified by:
      getSourceUserId in class AuditDataset
      Returns:
      the user ID of the transaction source
    • setSourceUserId

      public void setSourceUserId(String sourceUserId)
    • getDestinationUserId

      public String getDestinationUserId()
      Specified by:
      getDestinationUserId in class AuditDataset
      Returns:
      the user ID of the transaction destination
    • setDestinationUserId

      public void setDestinationUserId(String destinationUserId)
    • getFhirContext

      public FhirContext getFhirContext()
    • setFhirContext

      public void setFhirContext(FhirContext fhirContext)
    • getAuthorization

      public String getAuthorization()
    • setAuthorization

      public void setAuthorization(String authorization)