Click or drag to resize

IAuditDispatchService Interface

Represents a service that dispatches audits to a central repository

Namespace:  SanteDB.Core.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IAuditDispatchService : IServiceImplementation

The IAuditDispatchService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodSendAudit
Sends the audit to the central authority
Top
Remarks

The auditing of access to clinical data is of the utmost importance. SanteDB generates and stores audits locally using an IRepositoryService for AuditData. However, many implementations will have centralized audit repositories for collecting audits from various health systems in a central place. Such collection is useful to establishing overall patterns of access across systems in an HIE (for example)

The audit dispatching service is responsible for sending AuditData instances to remote audit repositories. The service's responsibilities are:

  1. Ensure that the AuditData instance is complete and contains relevant information for this node
  2. Transform the AuditData class into the appropriate format (IETF RFC3881, FHIR, etc.)
  3. Ensure the delivery of the audit to the central repository
See Also