How vaibhav-1786/clinic_appointment_laravel works
Clinic_appointment_laravel is a Laravel clinic-management application serving patients, doctors, receptionists, and administrators. Its central workflow is patient appointment booking: the patient submits a request, the booking service validates availability and records the appointment, and role-specific dashboards expose the resulting schedule. The wider product includes clinic discovery and front-desk queues, clinical records, billing, patient support services, and administration. Edges are limited to relationships evidenced by sampled excerpts or the source index; unsampled subsystems are represented without guessed call paths.
Main entry points: BookingService.php Booking and status rules · DashboardController.php Role dashboards · BillingController.php Reception billing · AppointmentController.php Patient appointment requests
Components 26
Identity and access
- Sign-in and recovery
app/Http/Controllers/Auth/LoginController.php - Role context
app/Support/RoleContext.php - Request access controls
bootstrap/app.php - Google token verification
app/Services/Auth/GoogleAuthService.php
Appointments and clinics
- Patient appointment requests
app/Http/Controllers/Patient/AppointmentController.php - Booking and status rules
app/Services/Appointments/BookingService.php - Slot availability
app/Services/Appointments/SlotService.php - Appointment records
app/Models/Appointment.php - Doctor scheduling
app/Http/Controllers/Doctor/ScheduleController.php - Clinic discovery
app/Services/Clinics/ClinicDiscoveryService.php - OPD queue management
app/Services/Queue/OpdQueueService.php
Clinical care
- Clinical records and prescribing
app/Services/Clinical
Billing and payments
- Reception billing
app/Http/Controllers/Receptionist/BillingController.php - Invoice management
app/Services/Billing/InvoiceService.php - Invoice and payment records
app/Models/Invoice.php
Patient and clinic operations
- Role dashboards
app/Http/Controllers/DashboardController.php - Patient support services
app/Services/PatientExtras - Patient service routes
routes/patient_services.php - Doctor application review
app/Services/Admin/ApplicationReviewService.php - Admin application interface
app/Http/Controllers/Admin/ApplicationController.php - Notification centre
app/Services/Notifications/NotificationCentreService.php
Other components
- Patient
- Doctor
- Receptionist
- Administrator
- Google identity service
Connections 21
- Patient → Patient appointment requests: requests booking
- Patient appointment requests → Booking and status rules: delegates booking
app/Http/Controllers/Patient/AppointmentController.php - Booking and status rules → Slot availability: checks slots
app/Services/Appointments/BookingService.php - Booking and status rules → Appointment records: updates records
app/Services/Appointments/BookingService.php - Doctor scheduling → Appointment records: reads appointments
app/Http/Controllers/Doctor/ScheduleController.php - Doctor → Doctor scheduling: maintains schedule
- Role dashboards → Booking and status rules: reads booking status
app/Http/Controllers/DashboardController.php - Role dashboards → Clinic discovery: loads nearby clinics
app/Http/Controllers/DashboardController.php - Role dashboards → Notification centre: counts unread
app/Http/Controllers/DashboardController.php - OPD queue management → Booking and status rules: locks booking work
app/Services/Queue/OpdQueueService.php - Reception billing → Invoice and payment records: reads invoices
app/Http/Controllers/Receptionist/BillingController.php - Reception billing → Receptionist: serves billing screens
- Invoice management → Invoice and payment records: recalculates invoices
app/Services/Billing/InvoiceService.php - Admin application interface → Doctor application review: delegates review
app/Http/Controllers/Admin/ApplicationController.php - Doctor application review → Administrator: records decisions
- Patient service routes → Patient support services: routes patient services
routes/patient_services.php - Sign-in and recovery → Role context: uses role context
app/Http/Controllers/Auth/LoginController.php - Request access controls → Role context: resolves role
bootstrap/app.php - Google token verification → Google identity service: verifies token
app/Services/Auth/GoogleAuthService.php - Clinical records and prescribing → Patient: records care for
- Doctor → Clinical records and prescribing: provides care