Class DoubleBookingDetector
- Namespace
- Core.CliniCore.Scheduling.Management
- Assembly
- Core.CliniCore.dll
Resolves double-booking conflicts
public class DoubleBookingDetector : IConflictDetectionStrategy
- Inheritance
-
DoubleBookingDetector
- Implements
- Inherited Members
Methods
DetectConflicts(AppointmentTimeInterval, PhysicianSchedule, List<UnavailableTimeInterval>?, Guid?)
Detects conflicts based on this strategy's rules
public 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)