Table of Contents

Interface IConflictDetectionStrategy

Namespace
Core.CliniCore.Scheduling.Management
Assembly
Core.CliniCore.dll

Interface for conflict detection strategies. Alternative suggestions are handled centrally by ScheduleConflictDetector using IBookingStrategy.

public interface IConflictDetectionStrategy

Methods

DetectConflicts(AppointmentTimeInterval, PhysicianSchedule, List<UnavailableTimeInterval>?, Guid?)

Detects conflicts based on this strategy's rules

List<ScheduleConflict> DetectConflicts(AppointmentTimeInterval proposedAppointment, PhysicianSchedule physicianSchedule, List<UnavailableTimeInterval>? facilityUnavailable, Guid? excludeAppointmentId = null)

Parameters

proposedAppointment AppointmentTimeInterval
physicianSchedule PhysicianSchedule
facilityUnavailable List<UnavailableTimeInterval>
excludeAppointmentId Guid?

Optional appointment ID to exclude from conflict checking (for updates)

Returns

List<ScheduleConflict>