01. Granular Access: Role-Based Engineering
To stop administrative noise inside Mohsin Medical Complex, HealthSys was designed with a strict, route-isolated role ecosystem backed by Laravel Fortify. Instead of general user access, the system completely segregates views according to actual clinical duties:
02. Resolving Cultural Privacy Barriers via Family Keys
Front-desk registration module displaying relative records linked to a shared household key during a quick walk-in invoice workflow.
The Real-World Challenge: Standard hospital architecture mandates an independent, distinct mobile phone number per index file to prevent database collision. However, due to cultural privacy norms in Lahore, female patients were frequently uncomfortable providing their personal phone contacts at an open reception desk.
The Structural Resolution: I configured an elegant household mapping algorithm. A single phone number serves as a secure overarching family index key. Front-desk personnel perform lookups instantly via this group key, permitting multiple individuals to exist securely inside that household container without record fragmentation or duplicate profiles.
03. Dual-Channel Tokens and Automated TV Display Engine
High-density grid showing real-time slot statuses mapping across temporal divisions, preventing dual booking collisions.
To guarantee procedural fairness, HealthSys features a smart, single-counter triage engine where walk-in entries and calendar appointments share a unified number stream. Tokens are isolated cleanly by service or specific consultant ("Consultation with Dr. X") to keep queue tracking accurate.
Automated Waiting Room Monitor: The platform exposes a dedicated TV/Kiosk view that refreshes instantly using state-driven logic, notifying patients in the lobby exactly who is currently being called.
Mobile Queue Administration: Receptionists can fully orchestrate the queue directly from an iPad or mobile browser—advancing lines, bypassing absences, shifting order links, or re-queuing missed tokens effortlessly.
VeevoTech Integration Layer: When configured, booking steps trigger instant automated SMS alerts, updating patient check-in statuses or broadcasting delay notices if a consultant is running behind schedule.
04. End-to-End Cash Audits & Independent Ledger Logic
Live ledger view displaying precise collections, paid operational costs, calculated consultant payouts, and the final net positions.
The Challenge: Preventing financial leakage in a 24-hour setup required locking accounting calculations down to distinct, isolated operational shifts. Hand-calculated percentages on doctor payouts frequently introduced accounting errors during busy turnarounds.
The Solution: HealthSys enforces strict opening cash logs, tracks real-time micro-expenses, and matches data to a dynamic key (service_id, doctor_id) to instantly automate revenue splits. When a shift closes, the platform securely processes outstanding bulk distributions, locks auditing balances, and flashes a final summary directly to the owner and finance manager via automated SMS.