Table of Contents

Class InvalidDurationDetector

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

Detects invalid appointment durations

public class InvalidDurationDetector : IConflictDetectionStrategy
Inheritance
InvalidDurationDetector
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>