public interface IAlertService { Task> ListByEncounterAsync( Guid encounterId, AlertStatus? status, int page, int pageSize); Task> ListGlobalAsync( AlertStatus? status, AlertSeverity? severity, Department? department, int page, int pageSize); Task GetByIdAsync(Guid id); Task AcknowledgeAsync(Guid id, AcknowledgeAlertRequest req); Task ResolveAsync(Guid id); Task ApplySyncedAcknowledgmentAsync(Guid alertId, SyncedAlertAcknowledgment ack, CancellationToken ct); Task ApplySyncedResolutionAsync(Guid alertId, SyncedAlertResolution resolve, CancellationToken ct); }