Overview
Clinic hours define when your establishment is open for business. These hours serve as the foundation for all appointment scheduling.Step-by-Step Configuration

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:
| Number | Day |
|---|---|
| 1 | Monday (Lunes) |
| 2 | Tuesday (Martes) |
| 3 | Wednesday (Miércoles) |
| 4 | Thursday (Jueves) |
| 5 | Friday (Viernes) |
| 6 | Saturday (Sábado) |
| 7 | Sunday (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:Example Weekly Schedule
Here’s a typical clinic schedule configuration:| Day | Weekday | Clinic Hours | Notes |
|---|---|---|---|
| Monday | 1 | 09:00-20:00 | Full day |
| Tuesday | 2 | 09:00-20:00 | Full day |
| Wednesday | 3 | 09:00-13:00 | Half day (morning only) |
| Thursday | 4 | 09:00-20:00 | Full day |
| Friday | 5 | 09:00-20:00 | Full day |
| Saturday | 6 | 10:00-14:00 | Weekend hours |
| Sunday | 7 | Not configured | Closed |
Sunday (7) has no work hours configured, so the clinic is closed that day. No appointments can be booked.
Common Errors
Error: Overlap detected
Error: Overlap detected
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 ❌
- Option 1: 09:00-13:00 + 15:00-19:00 (gap)
- Option 2: 09:00-13:00 + 13:00-17:00 (contiguous)
Error: Invalid time range
Error: Invalid time range
Problem: Closing time is before or equal to opening time.Example:
- Opening: 09:00
- Closing: 08:00 ❌
- Day 1: 22:00-23:59
- Day 2: 00:00-02:00
Error: Invalid weekday number
Error: Invalid weekday number
Problem: Weekday must be between 1-7.Solution: Use the correct weekday number:
- 1 = Monday
- 7 = Sunday
Warning: No appointments can be booked
Warning: No appointments can be booked
Problem: No clinic hours configured for a specific day.Example:
- Sunday (7): No work hours → Clinic closed ❌
Best Practices
What Happens When You Save?
When you create clinic hours, the system:- Validates no overlaps with existing periods
- Validates time range (close > open)
- Saves to database (
work_hourstable) - Invalidates availability cache for the clinic
- Recalculates available slots for future dates
Cache invalidation is automatic. You don’t need to manually refresh availability.