How ayoubbellaoui/clinique-medicale-app works
ClinicPro is a Laravel clinic-management application. Staff use routed web screens to manage patient records, schedule appointments, check patients into the waiting queue, record consultations, issue prescriptions and bill visits; paying a linked invoice closes its queue entry. The graph preserves the documented cross-module workflow and the major dashboard, staff, account, search and notification capabilities. Some controller behavior is represented from the README and source-index references because those files were not excerpted; unsupported implementation details are omitted.
Main entry points: web.php Web routes · ConsultationController.php Consultations · RendezVousController.php Appointments · FileAttenteController.php Waiting queue
Components 21
Web entry and access
- Web routes
routes/web.php - Authentication
app/Http/Controllers/AuthController.php - Role access
app/Http/Middleware/EnsureRole.php
Clinic workflow
- Patient records
app/Http/Controllers/PatientController.php - Appointments
app/Http/Controllers/RendezVousController.php - Waiting queue
app/Http/Controllers/FileAttenteController.php - Consultations
app/Http/Controllers/ConsultationController.php - Prescriptions
app/Http/Controllers/OrdonnancesController.php - Billing
app/Http/Controllers/FacturesController.php
Clinical and financial records
- Patient model
app/Models/Patient.php - Appointment model
app/Models/RendezVous.php - Queue model
app/Models/FileAttente.php - Consultation model
app/Models/Consultation.php - Prescription model
app/Models/Ordonnance.php - Invoice model
app/Models/Facture.php - Application database
Staff and oversight
- Staff and users
app/Http/Controllers/StaffMedicalController.php - Dashboard
app/Http/Controllers/DashboardController.php - Global search
app/Http/Controllers/SearchController.php - Notifications
app/Notifications/ClinicNotification.php
Other components
- Clinic staff
Connections 36
- Clinic staff → Web routes: uses screens
- Web routes → Authentication: routes login
routes/web.php - Web routes → Patient records: routes requests
routes/web.php - Web routes → Appointments: routes requests
routes/web.php - Web routes → Waiting queue: routes requests
routes/web.php - Web routes → Consultations: routes requests
routes/web.php - Web routes → Prescriptions: routes requests
routes/web.php - Web routes → Billing: routes requests
routes/web.php - Web routes → Staff and users: routes requests
routes/web.php - Web routes → Dashboard: routes requests
routes/web.php - Web routes → Global search: routes requests
routes/web.php - Role access → Web routes: guards routes
- Patient records → Patient model: reads and writes
app/Http/Controllers/PatientController.php - Appointments → Appointment model: reads and writes
app/Http/Controllers/RendezVousController.php - Waiting queue → Queue model: reads and writes
app/Http/Controllers/FileAttenteController.php - Consultations → Consultation model: reads and writes
app/Http/Controllers/ConsultationController.php - Prescriptions → Prescription model: reads and writes
app/Http/Controllers/OrdonnancesController.php - Billing → Invoice model: reads and writes
app/Http/Controllers/FacturesController.php - Billing → Queue model: closes visit queue
app/Http/Controllers/FacturesController.php - Appointments → Waiting queue: check-in confirms
- Waiting queue → Consultations: leads to
- Consultations → Prescriptions: produces
- Consultations → Appointments: creates follow-up
- Consultations → Billing: billed in
- Patient records → Patient model: maintains records
app/Http/Controllers/PatientController.php - Staff and users → Application database: manages staff accounts
- Dashboard → Application database: aggregates clinic activity
- Global search → Application database: searches records
- Staff and users → Notifications: notifies on changes
app/Http/Controllers/StaffMedicalController.php - Notifications → Clinic staff: delivers alerts
app/Notifications/ClinicNotification.php - Patient model → Application database: persists records
- Appointment model → Application database: persists bookings
- Queue model → Application database: persists tickets
- Consultation model → Application database: persists visits
- Prescription model → Application database: persists prescriptions
- Invoice model → Application database: persists invoices