Table of Contents

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

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

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

Returns

List<ScheduleConflict>