Patient Record Management System using PHP CodeIgniter with Source Code


This project is a Patient Records Management System using PHP and CodeIgniter Framework. This system manages and storing the patients' records in a certain hospital. The system stores the data in a database such as the Out-Patient Findings and Admission Details of a patient. By this, a certain hospital can easily retrieve the data or records of their patient without hassle.

This Patient Records Management System has a pleasant user interface and user-friendly functionalities to give the system users a better experience when using the system. This project was developed using the following:

  • HTML
  • CSS
  • jQuery
  • PHP
  • MySQL Database
  • Codeigniter Framework
  • Bootstrap


  • Admin Login
  • Standard User Login
  • Manage Patient Details
  • Storing Patients Records
    • Out-Patient Findings
    • Patient's Admission Details
  • Manage Patient's Records
  • View Patient's Records
  • Manage Standard Users
  • Manage Doctors
  • User Logs

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file. Note the extracted folder must be named as "patientrecords" otherwise you will have to configure the base_url in this project.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "patientrecord".
  6. Import the provided SQL file. The file is known as "patientrecord.sql" located inside the "dbsql" folder.
  7. Browse the Secure Login System Project in a browser. i.e. http://localhost/patientrecords

Admin Access

Username: admin
Password: 123456789


Note: For the forgot password feature, use admin for the username then the secret answer is jomer.

That's it! I hope this Patient Records Management System Project in PHP CodeIgniter will help you with what you are looking for and I hope will learn something useful with this project for your future projects.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byi am kimcey500 (not verified)on Tue, 08/20/2019 - 18:19

In reply to by Isco Lopez (not verified)

does the patientrecord.sql imported to the database name patientrecord? after importing, the admin user account will be inserted then it can be use to login, admin 123456789
Submitted byaminu bunza (not verified)on Wed, 10/23/2019 - 20:37

pls is there any user and admin site in this system thank you
Submitted bySafwan Ibn Sazzad (not verified)on Wed, 03/10/2021 - 10:12

Why show this, when I host it in a server? A PHP Error was encountered Severity: Warning Message: mysqli::real_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution Filename: mysqli/mysqli_driver.php Line Number: 203 Backtrace: File: /home/vol14_1/ Line: 315 Function: require_once
Submitted byFungeh (not verified)on Wed, 03/30/2022 - 00:52

Wow thanks alot for this project. Please 🙏 how can I Access it from another computer? Each time I dial IP address/patientrecords/ And I'm presented with a login page, immediately I login, I get: localhost/patientrecords/... Refuse to connect. What can I do please?
Submitted byWow thanks (not verified)on Fri, 04/29/2022 - 18:35

The code is good But why I can't access this url http://localhost/patientrecords What can I do pls?
Submitted byJoe_anon (not verified)on Thu, 01/05/2023 - 23:27

Hi there, thanks for the contribution! Is it possible to contact you via email?

Add new comment