Skip to content

A complete Hospital Management System built with PHP, MySQL, and Bootstrap that enables patients, doctors, and administrators to efficiently manage appointments, prescriptions, billing, and feedback. Features include user authentication, encrypted passwords, appointment approval, payment tracking, and admin control with data export capabilities.

Notifications You must be signed in to change notification settings

rudrakshguptaa/HMS-Project--Hospital-Database-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Hospital Management System

A Web-Based Hospital Management System using PHP, MySQL, and Bootstrap


✨ Features to be Implemented

  1. Doctors should have the ability to accept or reject appointments, notifying patients accordingly.
  2. Prevent duplicate registrations by checking for existing email addresses.
  3. Encrypt user passwords and hide them from the admin panel view.
  4. Add pagination across all list views for better usability.
  5. Fix bug in billing: prevent duplicate entries for patients visiting the same doctor multiple times.
  6. Expand prescription details to include more specific medical data.
  7. Enhance payment records with fields like payment date, amount paid, etc.
  8. Implement data export (Excel) functionality in the admin panel.

🧰 Prerequisites

  • XAMPP Web Server
  • Code Editor (VS Code, Sublime Text, etc.)
  • Modern Web Browser (Google Chrome, Firefox, etc.)

πŸ› οΈ Tech Stack

  • Frontend: HTML5, CSS3, Bootstrap
  • Backend: PHP
  • Database: MySQL
  • Server: Apache via XAMPP
  • PDF Generation: TCPDF
  • Scripts: JavaScript

πŸš€ How to Run This Project

  1. Install XAMPP and start Apache & MySQL via the XAMPP Control Panel.
  2. Clone or download this repository.
  3. Move the extracted folder to htdocs inside your XAMPP installation directory.
  4. Launch phpMyAdmin (go to localhost/phpmyadmin in browser).
  5. Create a new database named myhmsdb.
  6. Import the myhmsdb.sql file into this database.
  7. Open your browser and go to localhost/foldername.
  8. πŸŽ‰ You're all set!

πŸ’» Project Modules Overview

πŸ‘¨β€βš•οΈ Patient Module

  • Register/Login as a patient.
  • Book appointments with doctors.
  • View appointment history.
  • Cancel appointments (status gets updated for both patient & doctor).

🩺 Doctor Module

  • Login access provided by admin.
  • View upcoming appointments.
  • Search appointments by patient contact number.
  • Cancel appointments (status reflected in patient view).

πŸ” Admin Module

  • Admin login: admin / admin123
  • View & manage patient and doctor records.
  • Add/remove doctors.
  • View and manage appointments.
  • View feedback from users (Contact page).
  • Export data (To be implemented).
  • Passwords (To be encrypted and hidden from UI).

πŸ”„ Recent Updates

βœ… Appointment Cancellation

  • Patients and doctors can cancel appointments.
  • Status like β€œDeleted by you” is shown in the dashboard accordingly.

πŸ—‘οΈ Doctor Removal (Admin)

  • Admin can now remove doctor profiles directly from the system.

πŸ“Έ Screenshots

Dashboard Screenshot
Admin Dashboard

Patient Registration
Patient Registration Form

Doctor View
Doctor's Appointment Dashboard


πŸ–₯️ Environment Used

  • OS: Ubuntu 19.04
  • Server: XAMPP with Apache2 and MySQL
  • Browser: Google Chrome 77.0+

About

A complete Hospital Management System built with PHP, MySQL, and Bootstrap that enables patients, doctors, and administrators to efficiently manage appointments, prescriptions, billing, and feedback. Features include user authentication, encrypted passwords, appointment approval, payment tracking, and admin control with data export capabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published