How ahmedsk2/dmc-patient-flow-hub works
DMC Patient-Flow Hub is a hospital system for managing patient movement and clinical records. Its principal workflow is staff authentication, admission and consultant assignment, ward/ICU transfers, and two-phase discharge; consultations and handovers support ongoing care. Registry search, dashboards, statistics, and printable/PDF reports provide follow-on lookup and oversight. The README identifies the Laravel app as the feature-complete product and documents these capabilities. Sampled source confirms selected controller, auth, and UI wiring; several other feature links below reflect documented capabilities and the file tree, not inspected call sites.
Main entry points: PatientActionController.php Patient actions · AdmissionsController.php Admission management · AuthController.php Authentication · RegisterController.php Registration
Components 18
Patient Care
- Admission management
laravel/app/Http/Controllers/AdmissionsController.php - Patient actions
laravel/app/Http/Controllers/PatientActionController.php - Admission records
laravel/app/Models/Admission.php
Clinical Coordination
- Consultations
laravel/app/Http/Controllers/ConsultationsController.php - Handover records
laravel/app/Models/Handover.php
Search And Insights
- Patient registry
laravel/app/Http/Controllers/RegistryController.php - Dashboards
laravel/app/Http/Controllers/DashboardController.php - Statistics
laravel/app/Http/Controllers/StatisticsController.php - Reports and PDFs
laravel/app/Http/Controllers/ReportsController.php
Identity And Governance
- Authentication
laravel/app/Http/Controllers/Auth/AuthController.php - Registration
laravel/app/Http/Controllers/Auth/RegisterController.php - Audit trail
laravel/app/Models/AuditLog.php
Application Interface
- Inertia app
laravel/resources/js/app.js - Admissions and patients
laravel/resources/js/Pages/Admissions/Index.vue - Consultation views
laravel/resources/js/Pages/Consultations/Index.vue - Sign-in and MFA
laravel/resources/js/Pages/Auth/Login.vue
Other components
- Hospital staff
- Application database
Connections 28
- Hospital staff → Inertia app: uses
- Inertia app → Admissions and patients: loads pages
- Admissions and patients → Admission management: requests admission work
- Admission management → Admission records: reads and writes
- Admission management → Application database: persists records
- Admissions and patients → Patient actions: requests patient changes
- Patient actions → Admission records: updates admissions
- Patient actions → Audit trail: records actions
- Patient actions → Application database: persists changes
- Inertia app → Consultation views: loads pages
- Consultation views → Consultations: requests consultation work
- Consultations → Application database: reads and writes
- Hospital staff → Patient registry: searches records
- Patient registry → Application database: reads records
- Hospital staff → Dashboards: views status
- Dashboards → Application database: reads metrics
- Hospital staff → Statistics: requests statistics
- Statistics → Application database: reads metrics
- Hospital staff → Reports and PDFs: requests reports
- Reports and PDFs → Application database: reads report data
- Hospital staff → Sign-in and MFA: signs in
- Sign-in and MFA → Authentication: submits credentials
- Authentication → Application database: checks accounts
- Authentication → Audit trail: records sign-in events
- Hospital staff → Registration: registers
- Registration → Application database: stores registration state
- Registration → Audit trail: records registration
- Handover records → Application database: persists handovers