How virajsavaliya/clinicflow works
ClinicFlow is a Laravel clinic-operations system. Reception staff register patients, schedule appointments, and place walk-ins in a queue; doctors consult patients, record notes, and prescribe; pharmacy dispensing updates stock and supports billing. Admin and reporting capabilities form separate branches. The sampled controller excerpts and SOURCE INDEX support many controller-to-model links, but do not expose every handler or route, so unsampled workflow links are omitted rather than inferred.
Main entry points: web.php Web Route Dispatch · ReceptionController.php Reception Operations · PrescriptionController.php Prescription Handling · DoctorController.php Doctor Consultation
Components 22
Front Desk
- Appointments
app/Http/Controllers/AppointmentController.php - Appointment Records
app/Models/Appointment.php - Reception Operations
app/Http/Controllers/ReceptionController.php - Patient Records
app/Models/Patient.php - Queue API
app/Http/Controllers/Api/QueueApiController.php
Clinical Care
- Visit Queue & Records
app/Models/Visit.php - Doctor Consultation
app/Http/Controllers/DoctorController.php - Prescription Handling
app/Http/Controllers/PrescriptionController.php - Prescription PDF
app/Http/Controllers/PrescriptionPdfController.php
Pharmacy & Finance
- Inventory API
app/Http/Controllers/Api/MedicineApiController.php - Inventory Alerts
app/Http/Controllers/InventoryAlertController.php - Medicine & Stock
app/Models/Medicine.php - Billing & Invoices
app/Http/Controllers/BillController.php - Bill Records
app/Models/Bill.php - Practice Reports
app/Http/Controllers/ReportsController.php
Administration & Platform
- Staff Administration
app/Http/Controllers/AdminController.php - User & Role Records
app/Models/User.php - Notifications API
app/Http/Controllers/Api/NotificationApiController.php - Web Route Dispatch
routes/web.php
Other components
- Reception Staff
- Doctor
- Administrator
Connections 31
- Reception Staff → Appointments: schedules
README.md - Appointments → Appointment Records: reads and updates
app/Http/Controllers/AppointmentController.php - Appointments → Patient Records: loads patient
app/Http/Controllers/AppointmentController.php - Reception Staff → Reception Operations: registers patients
README.md - Reception Operations → Patient Records: searches and updates
app/Http/Controllers/ReceptionController.php - Reception Operations → Visit Queue & Records: manages queue
app/Http/Controllers/ReceptionController.php - Reception Operations → Appointment Records: loads appointments
app/Http/Controllers/ReceptionController.php - Reception Operations → Medicine & Stock: reads stock
app/Http/Controllers/ReceptionController.php - Doctor → Doctor Consultation: consults
README.md - Doctor Consultation → Visit Queue & Records: updates visit
app/Http/Controllers/DoctorController.php - Doctor Consultation → Patient Records: searches history
app/Http/Controllers/DoctorController.php - Doctor Consultation → Prescription Handling: prescribes
README.md - Prescription Handling → Visit Queue & Records: loads visit
app/Http/Controllers/PrescriptionController.php - Prescription Handling → Medicine & Stock: checks and deducts stock
app/Http/Controllers/PrescriptionController.php - Prescription Handling → Bill Records: creates bill
app/Http/Controllers/PrescriptionController.php - Prescription Handling → Prescription PDF: generates printable copy
README.md - Prescription PDF → Visit Queue & Records: loads visit
app/Http/Controllers/PrescriptionPdfController.php - Reception Staff → Inventory API: dispenses medicines
README.md - Inventory API → Medicine & Stock: reads and records stock
app/Http/Controllers/Api/MedicineApiController.php - Inventory Alerts → Medicine & Stock: checks thresholds
app/Http/Controllers/InventoryAlertController.php - Doctor → Billing & Invoices: reviews invoices
README.md - Billing & Invoices → Bill Records: loads bill records
app/Http/Controllers/BillController.php - Practice Reports → Bill Records: aggregates billing
app/Http/Controllers/ReportsController.php - Administrator → Staff Administration: manages staff
README.md - Staff Administration → User & Role Records: manages accounts
app/Http/Controllers/AdminController.php - Web Route Dispatch → Appointments: routes requests
routes/web.php - Web Route Dispatch → Reception Operations: routes requests
routes/web.php - Web Route Dispatch → Doctor Consultation: routes requests
routes/web.php - Web Route Dispatch → Prescription Handling: routes requests
routes/web.php - Web Route Dispatch → Billing & Invoices: routes requests
routes/web.php - Web Route Dispatch → Practice Reports: routes requests
routes/web.php