TVH Hospital Management System is a comprehensive web-based application designed to streamline healthcare operations, improve patient care, and optimize administrative workflows. This project was developed as part of the Information Systems community project Department of Computing and information Systems , faculty of computing Sabaragamuwa University of Sri Lanka.
- Online Appointment Booking: Schedule appointments with preferred doctors
- Medical History Access: View personal medical records and history
- User Authentication: Secure login and profile management
- Contact Portal: Easy communication with healthcare providers
- Appointment Management: View and manage upcoming appointments with full details
- Patient Records: Access patient medical histories
- Treatment Documentation: Record diagnoses and treatment plans
- Schedule Management: Manage availability and working hours
- Staff Management: Add, update, or remove doctors and staff
- Department Configuration: Manage hospital departments
- Analytics Dashboard: Track key hospital metrics
- System-wide Reports: Generate comprehensive reports
- Frontend: HTML5, CSS3, JavaScript, Bootstrap
- Backend: PHP
- Database: MySQL
- Server Environment: XAMPP
- Additional Libraries:
- jQuery for enhanced interactivity
- Font Awesome for icons
- Chart.js for analytics visualization
- PHP 7.4 or higher
- MySQL 5.7 or higher
- XAMPP or similar AMP stack
- Modern web browser (Chrome, Firefox, Edge, Safari)
- Clone the repository
git clone https://github.com/yourusername/hospital-management-system.git- Set up the database
# Import the database schema
mysql -u username -p < database/hms.sql- Configure database connection
# Edit the database configuration in src/hms/include/config.php- Move to your web server directory
# For XAMPP
mv hospital-management-system /path/to/xampp/htdocs/- Access the application
http://localhost/hospital/public/index.php
| Role | Access Level | Description |
|---|---|---|
| Patient | Basic | Book appointments, view medical history |
| Doctor | Intermediate | Manage patients, update medical records |
| Admin | Full | System-wide management and configuration |
- Password encryption
- Session management
- Input validation
- Protection against SQL injection
- Cross-site scripting (XSS) prevention
hospital/
├── public/ # Public-facing website
├── src/ # Application backend code
│ └── hms/ # Core hospital management system
├── database/ # Database scripts and backups
├── assets/ # Shared assets (CSS, JS, images)
└── docs/ # Documentation
- Mobile application integration
- Telemedicine functionality
- Advanced analytics and reporting
- Electronic prescription system
- Patient billing and insurance integration
This project is licensed under the [License Name] - see the LICENSE.md file for details.
Developed with ❤️ by the IS Community Project Team | Sabaragamuwa University of Sri Lanka © 2025