How shikabane277/hims-v2 works
HIMS v2 is a Laravel workforce development and administration system for hospital staff. Its user-facing workflow spans staff and account access, competency assessment and gap analysis, performance reviews, learning and training, credential compliance, and workforce reporting; recognition and succession planning are additional domain branches. The graph preserves the README’s documented capabilities and sampled internal layers. Several domain implementations and route registrations were not excerpted, so their internal calls are not asserted; README-supported product relationships are cited there.
Main entry points: PerformanceController.php Performance reviews · LearningController.php Learning and CPD · index.php HIMS application · TwoFactorAuthenticatedSessionController.php Login and 2FA
Components 29
Access and governance
- HIMS application
hims-app/public/index.php - Login and 2FA
hims-app/app/Http/Controllers/Auth/TwoFactorAuthenticatedSessionController.php - Accounts and roles
hims-app/app/Models/User.php - Session timeout
hims-app/app/Http/Middleware/EnforceSessionTimeout.php - Record access rules
hims-app/app/Http/Controllers/Controller.php - Audit trail
hims-app/app/Support/AuditTrail.php - Two-factor service
hims-app/app/Services/TwoFactorService.php
Workforce development
- Performance reviews
hims-app/app/Http/Controllers/PerformanceController.php - Review cycle rules
hims-app/app/Support/CycleStatus.php - KPI weighting
hims-app/app/Support/KpiWeighting.php - Review feedback
hims-app/app/Support/ReviewFeedback.php - Competency framework
hims-app/app/Http/Controllers/CompetencyController.php - Competency gap analysis
hims-app/app/Services/CompetencyGapAnalysisService.php - Framework seed data
hims-app/database/seeders/CompetencyFrameworkSeeder.php
Learning and compliance
- Learning and CPD
hims-app/app/Http/Controllers/LearningController.php - CPD qualification
hims-app/app/Services/CpdQualificationService.php - Credential renewals
hims-app/app/Services/RenewalCycleService.php - Training logistics
hims-app/app/Http/Controllers/TrainingController.php
People and planning
- Employees and departments
hims-app/app/Http/Controllers/EmployeeController.php - Notifications
hims-app/app/Services/NotificationService.php - Recognition and awards
hims-app/app/Http/Controllers/RecognitionController.php - Succession planning
hims-app/app/Http/Controllers/SuccessionController.php - Reports and analytics
hims-app/app/Http/Controllers/ReportController.php
AI assistance
- AI assistant
hims-app/app/Http/Controllers/AiController.php - AI access policy
hims-app/app/Services/Ai/AiAccessPolicy.php - Provider selection
hims-app/app/Services/Ai/AiManager.php - AI provider contract
hims-app/app/Contracts/AiProvider.php - OpenAI-compatible provider
hims-app/app/Services/Ai/OpenAiProvider.php
Other components
- Hospital staff
Connections 24
- Hospital staff → HIMS application: uses
- HIMS application → Login and 2FA: authenticates
- Login and 2FA → Two-factor service: requests code
hims-app/app/Http/Controllers/Auth/TwoFactorAuthenticatedSessionController.php - Login and 2FA → Accounts and roles: loads account
hims-app/app/Http/Controllers/Auth/TwoFactorAuthenticatedSessionController.php - HIMS application → Session timeout: enforces timeout
- Hospital staff → Employees and departments: manages workforce
- Hospital staff → Performance reviews: completes reviews
- Performance reviews → Review cycle rules: filters cycles
hims-app/app/Http/Controllers/PerformanceController.php - Performance reviews → KPI weighting: calculates weights
hims-app/app/Http/Controllers/PerformanceController.php - Hospital staff → Competency framework: records assessments
- Hospital staff → Competency gap analysis: reviews gaps
- Hospital staff → Learning and CPD: uses learning
- Learning and CPD → CPD qualification: qualifies hours
hims-app/app/Http/Controllers/LearningController.php - Learning and CPD → Credential renewals: manages renewals
hims-app/app/Http/Controllers/LearningController.php - Hospital staff → Training logistics: attends sessions
- Hospital staff → Recognition and awards: gives recognition
- Hospital staff → Succession planning: plans succession
- Hospital staff → Reports and analytics: views analytics
- Hospital staff → AI assistant: asks or acts
- AI assistant → AI access policy: checks permissions
- Provider selection → AI provider contract: resolves provider
hims-app/app/Services/Ai/AiManager.php - Provider selection → OpenAI-compatible provider: constructs driver
hims-app/app/Services/Ai/AiManager.php - Performance reviews → Audit trail: records activity
hims-app/app/Http/Controllers/PerformanceController.php - Learning and CPD → Notifications: sends alerts
hims-app/app/Http/Controllers/LearningController.php