System Updates
Changelog & Roadmap
What's been shipped and what's coming next for the Dr. Salik Memorial Hospital Management System. Click any release to expand its full changelog.
Stability
- Added permission checks inside API routes, not only in navigation
- Added input validation for all POST/PATCH endpoints
- Standardized error responses and toast messages across all failed requests
- Fixed billing payment history to use receivedAt instead of paidAt
- Fixed "to date" filter in billing reports — previously only from was applied
- Added consistent audit writes for billing, lab, prescriptions, services, approvals, and payments
- Added edit/cancel flows for visits, lab requests, prescriptions, and bills
- Replaced manual visit ID fields in lab and prescriptions with visit selectors
- Added smoke tests for route handlers and core user flows
Patient Management
- Patient edit page and soft-deactivate flow
- Advanced search by MR number, name, phone, CNIC, age, sex, and registration date
- Duplicate detection and patient merge workflow
- Patient document/photo attachments (backend complete, DB config pending)
- Updated database schema
OPD / IPD
- Visit browser with filters (search by patient, date, doctor, status)
- Attendance type: new vs. re-attendance
- Visit edit/cancel with permissions and audit history
- Bed occupancy model replacing free-text bed number field
Lab
- Exam catalog and exam categories
- Lab result print/export
- Result templates and reference ranges by test
- Cancellation/delete status flow
Billing
- Bill edit flow for draft/pending bills
- Receipt number generation and receipt print templates
- Refund/cancel workflow with approval when needed
- Price auto-populated from services catalog in billing UI
Prescriptions
- Dispense workflow for pharmacist role
- Medication status on patient profile
- Prescription printout
Clinical
- Triage, patient history, and electronic orders
- Diagnosis tracking
- Form Builder — non-developers can create and customize forms for any clinical area
- Test results with graphs and reference ranges; cells highlighted when outside range
- Interactive test result timeline — click any previous result to view full visit records
- Patient summary: vitals, orders, test results, encounters, allergies, conditions, immunizations, attachments, programs, appointments, and form entries
Reporting & Data
- Clinical data reporting and exports: metrics, stakeholder reports, and impact tracking
Public Website & Patient Portal
- Hero with hospital name, emergency contact, OPD hours, and quick actions
- Live queue times for OPD, lab, billing, and pharmacy
- Services list from the services catalog
- Doctor/department availability and OPD timings
- Emergency instructions, phone numbers, and location/map
- Patient portal: visit history, diagnoses, lab results, prescriptions, bills, and discharge summaries
- Patient portal actions: appointment requests, bill payments, prescription refills, feedback
- Consent management for record sharing
- Download/print medical summary and receipts
Fixes & Improvements
- Vitals Recording — Visit ID field now lists most recent visits with dates
- CNIC Field — Limited to 13 digits, formatted as xxxxx-xxxxxxx-x
- Phone Number Input — Country/code picker added; input validated across all phone fields
- Currently Admitted — Section updates in real time when new patients are admitted
- Audit Log — Timestamps now use server time, not the user's device time
- Tables — Fixed proportional column widths applied consistently across all service tables
- Login — Redesigned with separate staff & patient login pages, improved routing
- Queue Status Changes — Now logged in the audit trail
- Forms — New Patient, OPD Consultation, Vitals, and Prescriptions forms fill the full page
- IP & User Agent — Now captured correctly in all audit logs
Localization
- Added support for Urdu across the public website and key staff interfaces
Coming Soon
Planned Updates
Roadmap phases — subject to change based on operational priorities. Click any phase to expand.
For the full technical roadmap, see ROADMAP.md in the repository.