How yohsupremo/vetsystem works
This is a Laravel veterinary-clinic application, with customer, administrative, and veterinary workflows for appointments, pet care, billing, inventory, and notifications. The visible workflow includes appointment-queue handling, veterinarian-facing care, and customer invoice payment; the tree also shows broader clinic capabilities such as surgery, laboratory, pharmacy, grooming, boarding, and QR pet scanning. Evidence is limited to the supplied excerpts and SOURCE INDEX references, so unsampled route wiring and subsystem interactions are omitted rather than assumed.
Main entry points: VeterinarianController.php Veterinarian workspace · Appointment.php Appointments · Pet.php Pet profiles · AppointmentQueueController.php Appointment queue API
Components 22
Clinic operations
- Appointment queue API
app/Http/Controllers/Api/AppointmentQueueController.php - Appointment queue service
app/Services/AppointmentQueueService.php - Appointments
app/Models/Appointment.php - Pet owners
app/Models/PetOwner.php - Users and staff
app/Models/User.php
Veterinary care
- Pet profiles
app/Models/Pet.php - Veterinarian workspace
app/Http/Controllers/Veterinarian/VeterinarianController.php - Medical records
app/Models/MedicalRecord.php - Surgery records
app/Models/Surgery.php - Vaccinations
app/Models/Vaccination.php
Billing and stock
- Customer billing
app/Http/Controllers/Customer/BillingController.php - Invoices
app/Models/Invoice.php - Payments
app/Models/Payment.php - Inventory stock
app/Models/InventoryStock.php - Admin reports
app/Http/Controllers/Admin/ReportController.php
Notifications
- Notification service
app/Services/NotificationService.php - Notifications
app/Models/Notification.php - Notification event
app/Events/NotificationCreated.php - Event registration
app/Providers/EventServiceProvider.php - Notification listener
app/Listeners/SendNotificationListener.php
Other components
- Pet owner
- Clinic staff
Connections 24
- Pet owner → Appointment queue API: requests queue
- Appointment queue API → Appointment queue service: delegates
app/Http/Controllers/Api/AppointmentQueueController.php - Appointment queue API → Appointments: reads appointments
app/Http/Controllers/Api/AppointmentQueueController.php - Appointment queue service → Appointments: uses appointments
app/Services/AppointmentQueueService.php - Appointments → Pet profiles: belongs to
app/Models/Appointment.php - Appointments → Users and staff: assigns veterinarian
app/Models/Appointment.php - Clinic staff → Veterinarian workspace: uses workspace
- Veterinarian workspace → Appointments: uses appointments
app/Http/Controllers/Veterinarian/VeterinarianController.php - Veterinarian workspace → Pet profiles: uses pet profiles
app/Http/Controllers/Veterinarian/VeterinarianController.php - Veterinarian workspace → Medical records: uses records
app/Http/Controllers/Veterinarian/VeterinarianController.php - Veterinarian workspace → Vaccinations: uses vaccinations
app/Http/Controllers/Veterinarian/VeterinarianController.php - Pet profiles → Medical records: has records
app/Models/Pet.php - Pet profiles → Surgery records: has surgeries
app/Models/Pet.php - Pet owner → Customer billing: views and pays
- Customer billing → Invoices: reads and updates
app/Http/Controllers/Customer/BillingController.php - Customer billing → Payments: creates and deletes
app/Http/Controllers/Customer/BillingController.php - Invoices → Payments: has payments
app/Models/Invoice.php - Admin reports → Invoices: queries invoices
app/Http/Controllers/Admin/ReportController.php - Admin reports → Inventory stock: queries stock
app/Http/Controllers/Admin/ReportController.php - Veterinarian workspace → Notification service: sends notifications
app/Http/Controllers/Veterinarian/VeterinarianController.php - Notification service → Notifications: creates notifications
app/Services/NotificationService.php - Notification service → Notification event: dispatches event
app/Services/NotificationService.php - Event registration → Notification event: registers event
app/Providers/EventServiceProvider.php - Event registration → Notification listener: registers listener
app/Providers/EventServiceProvider.php