Hospital Patient Record Management System in PHP (CodeIgniter) with free source code — a web-based records system for storing and managing patient information, staff, treatments, and payment records in one place.
This project is built with PHP and MySQL on the CodeIgniter framework, with a Bootstrap front end. It is a practical capstone-level project for IT and computer science students who want to learn how a records-driven hospital application is structured, and a useful starting point for anyone building a patient information system.
What is a Hospital Patient Record Management System?
It is an application that replaces paper-based patient files with a central database. Staff register patients once, then attach treatments, procedures, and payment records to that patient over time. Administrators manage user accounts and can back up or restore the database, so records survive hardware failures and staff changes.

Key Features
- User management — user registration, user types, change password, manage registration info, and login details.
- Database management — built-in backup and restore.
- Staff module — create/add and manage staff.
- Patient module — create/add and manage patients.
- Procedure & payments — record payment ID, payment date, patient, staff, designation, treatment type, and description; disease-wise procedure report.
- Reports — patient info records and user login details report.
- Multi-PC support plus quick shortcuts to common desktop utilities.
Technologies Used
PHP (CodeIgniter framework), MySQL, HTML, CSS, jQuery, and Bootstrap.
How to Install and Run
- Download and unzip the project file.
- Copy the
patientrecordfolder intoC:\xampp\htdocs. - Open phpMyAdmin, create a database named
patientrecord, and import the includedpatientrecord.sql. - If needed, set your database credentials in
application/config/database.phpand the site URL inapplication/config/config.php(base_url). - Start Apache and MySQL in XAMPP, then open
http://localhost/patientrecordsin your browser.
Demo credentials
Username: admin — Password: 123456789
Forgot password: use admin as the username; the secret answer is jomer.
Who Is This For?
IT/CS students building a capstone or thesis project, instructors who need a working CodeIgniter example, and junior developers learning CRUD, reporting, and role-based access in PHP.
Download
LOGIN/REGISTER to download the free source code, or grab it directly: Download Hospital Patient Record Management System (ZIP from GitHub).

Note: the source code is free for educational use — please keep credit to the original author (kimcey500, originally shared on SourceCodester) and don’t use it commercially without permission.
Related Projects
- 6 Best Open-Source Hospital Management Systems (2026)
- ER Diagram Examples for Capstone Projects
- Capstone Project Ideas with Source Code
- School Management System using PHP
Frequently Asked Questions
Is this hospital patient record system free?
Yes — it’s free to download for educational use. Keep the original author’s credit if you reuse it.
What do I need to run it?
A local PHP/MySQL stack such as XAMPP. It’s a CodeIgniter application, so any Apache + PHP + MySQL setup works.
Can I use it for a real clinic?
It’s a student-level project — treat it as a learning base. For production you’d need to add security hardening, validation, and backups beyond what’s included.