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
proposedAppointmentAppointmentTimeIntervalphysicianSchedulePhysicianSchedulefacilityUnavailableList<UnavailableTimeInterval>excludeAppointmentIdGuid?Optional appointment ID to exclude from conflict checking (for updates)