How ashaleyalcantara/sistema-de-triagem-reorganizado works
This Laravel clinic triage system takes staff from role-based login through reception, patient registration and a triage queue, then records clinical measures and urgency before the physician queue and consultation. Staff management and public waiting-room display are additional capabilities. Controllers own the workflow and query Eloquent models; the README describes SQLite as the default store. The route-to-controller and controller-to-view links are documented or visible in the supplied excerpts; unsampled route details and persistence wiring are not expanded.
Main entry points: web.php Web routes · TriagemController.php Triage workflow · Triagem.php Triage model · PacienteController.php Reception queue
Components 24
Web entry
- Web routes
routes/web.php - Controller base
app/Http/Controllers/Controller.php - Laravel application
bootstrap/app.php - Application provider
app/Providers/AppServiceProvider.php
Staff access
- Authentication
app/Http/Controllers/AuthController.php - Login screen
resources/views/login/login.blade.php - Staff management
app/Http/Controllers/FuncionarioController.php - Staff screens
resources/views/Administrador/gestaoFuncionarios.blade.php - Profile screens
resources/views/funcionarios/perfil.blade.php
Patient triage
- Reception queue
app/Http/Controllers/PacienteController.php - Reception screen
resources/views/recepcionista.blade.php - Triage workflow
app/Http/Controllers/TriagemController.php - Triage screens
resources/views/triagem/painel.blade.php - Call display
resources/views/painelChamada.blade.php - Call panel controller
app/Http/Controllers/PainelController.php
Medical care
- Physician queue
app/Http/Controllers/MedicoController.php - Physician dashboard
resources/views/medico/dashboard.blade.php
Domain data
- Employee model
app/Models/Funcionario.php - Patient model
app/Models/Paciente.php - Triage model
app/Models/Triagem.php - Default user model
app/Models/User.php - User factory
database/factories/UserFactory.php - SQLite database
config/database.php
Other components
- Staff / visitor
Connections 29
- Staff / visitor → Web routes: requests
- Web routes → Authentication: routes to
routes/web.php - Web routes → Staff management: routes to
routes/web.php - Web routes → Reception queue: routes to
routes/web.php - Web routes → Triage workflow: routes to
routes/web.php - Web routes → Physician queue: routes to
routes/web.php - Authentication → Employee model: authenticates with
app/Http/Controllers/AuthController.php - Authentication → Login screen: renders
app/Http/Controllers/AuthController.php - Staff management → Employee model: manages
app/Http/Controllers/FuncionarioController.php - Staff management → Staff screens: renders
app/Http/Controllers/FuncionarioController.php - Staff management → Profile screens: renders
app/Http/Controllers/FuncionarioController.php - Reception queue → Patient model: searches and creates
app/Http/Controllers/PacienteController.php - Reception queue → Triage model: queues patients
app/Http/Controllers/PacienteController.php - Reception queue → Reception screen: renders
app/Http/Controllers/PacienteController.php - Triage workflow → Triage model: reads and updates
app/Http/Controllers/TriagemController.php - Triage workflow → Patient model: loads patient
app/Http/Controllers/TriagemController.php - Triage workflow → Triage screens: renders
app/Http/Controllers/TriagemController.php - Triage workflow → Call display: renders
app/Http/Controllers/TriagemController.php - Physician queue → Triage model: reads and updates
app/Http/Controllers/MedicoController.php - Physician queue → Physician dashboard: renders
app/Http/Controllers/MedicoController.php - Call panel controller → Triage model: queries
app/Http/Controllers/PainelController.php - Patient model → Triage model: has many
app/Models/Paciente.php - Triage model → Patient model: belongs to
app/Models/Triagem.php - Employee model → Default user model: references
app/Models/Funcionario.php - User factory → Default user model: creates
database/factories/UserFactory.php - Reception queue → SQLite database: persists via models
- Triage workflow → SQLite database: persists via models
- Physician queue → SQLite database: persists via models
- Laravel application → Web routes: loads
bootstrap/app.php