Skip to main content

Overview

Clinic hours define when your establishment is open for business. These hours serve as the foundation for all appointment scheduling.
If no clinic hours are configured for a specific day, NO appointments can be booked that day, regardless of provider availability.

Step-by-Step Configuration

Formulario de creación de horarios de clínica con selección de día y horas
1

Navigate to Settings

Go to Configuración > Horarios de Trabajo (Settings > Work Hours) in the admin dashboard.
2

Select Weekday

Choose the day of the week you want to configure:
NumberDay
1Monday (Lunes)
2Tuesday (Martes)
3Wednesday (Miércoles)
4Thursday (Jueves)
5Friday (Viernes)
6Saturday (Sábado)
7Sunday (Domingo)
3

Enter Opening Time

Input the clinic opening time in 24-hour format (HH:MM).Examples:
  • 09:00 (9:00 AM)
  • 08:30 (8:30 AM)
  • 06:00 (6:00 AM)
4

Enter Closing Time

Input the clinic closing time in 24-hour format (HH:MM).Examples:
  • 20:00 (8:00 PM)
  • 22:00 (10:00 PM)
  • 13:00 (1:00 PM)
Closing time must be after opening time. Cross-day periods (e.g., 22:00-02:00) are not supported. Use two separate days if needed.
5

Save Configuration

Click Guardar (Save) to apply the work hours.The system will:
  • Validate no overlaps with existing periods for this day
  • Validate time range (close > open)
  • Invalidate availability cache automatically

Result: Clinic-Wide Availability

Once configured, the work hours apply to all providers in your clinic (unless individual provider hours further restrict availability). Example:
Clinic Hours (Monday): 08:00-20:00

Provider A Hours (Monday): 09:00-17:00
  → Available: 09:00-17:00 ✅ (intersection)

Provider B Hours (Monday): Not configured
  → Available: 08:00-20:00 ✅ (uses clinic hours)

Provider C Hours (Monday): 07:00-10:00
  → Available: 08:00-10:00 ✅ (intersection starts at clinic open)

Example Weekly Schedule

Here’s a typical clinic schedule configuration:
DayWeekdayClinic HoursNotes
Monday109:00-20:00Full day
Tuesday209:00-20:00Full day
Wednesday309:00-13:00Half day (morning only)
Thursday409:00-20:00Full day
Friday509:00-20:00Full day
Saturday610:00-14:00Weekend hours
Sunday7Not configuredClosed
Sunday (7) has no work hours configured, so the clinic is closed that day. No appointments can be booked.

Common Errors

Problem: The new work hours overlap with an existing period for the same day.Example:
  • Existing: 09:00-14:00
  • New: 13:00-17:00
  • Overlap: 13:00-14:00 ❌
Solution: Adjust times to create a gap or make periods contiguous:
  • Option 1: 09:00-13:00 + 15:00-19:00 (gap)
  • Option 2: 09:00-13:00 + 13:00-17:00 (contiguous)
See Multiple Periods Per Day for details.
Problem: Closing time is before or equal to opening time.Example:
  • Opening: 09:00
  • Closing: 08:00 ❌
Solution: Ensure closing time > opening time. For overnight periods, split into two days:
  • Day 1: 22:00-23:59
  • Day 2: 00:00-02:00
Problem: Weekday must be between 1-7.Solution: Use the correct weekday number:
  • 1 = Monday
  • 7 = Sunday
Problem: No clinic hours configured for a specific day.Example:
  • Sunday (7): No work hours → Clinic closed ❌
Solution: Create clinic hours for that day, or use this intentionally for days off.

Best Practices

Configure all active days at once: Set up your entire weekly schedule in one session to avoid missing days.
Use multiple periods for lunch breaks: Instead of one long period (09:00-20:00) with manual blocking, use split shifts (09:00-13:00 + 15:00-19:00). See Multiple Periods.
Don’t delete work hours for one-time closures: For holidays or exceptional days, use the Closures feature instead. Work hours define your regular weekly schedule.

What Happens When You Save?

When you create clinic hours, the system:
  1. Validates no overlaps with existing periods
  2. Validates time range (close > open)
  3. Saves to database (work_hours table)
  4. Invalidates availability cache for the clinic
  5. Recalculates available slots for future dates
Cache invalidation is automatic. You don’t need to manually refresh availability.

Visual Example

Before Configuration (Sunday - No Hours):
Sunday (7): [CLOSED - No appointments can be booked]
After Configuration (Sunday 10:00-14:00):
Sunday (7): 10:00 ━━━━━━━━━━━━━━━━ 14:00

Available Slots (30-min service):
  10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30

Next Steps