This is a simple PHP Mini-Project entitled Online Diagnostic Lab Management System. This is a web-based application that serves as an online platform for diagnostic labs to manage their patient Laboratory test. The system also allows clients/patients to book an appointment. This simple project can help the said medical lab testing manage the records of the appointment and test result records of their patient. The clients/patients can register their system credentials to book an appointment and explore the updates about his here diagnostic testing. It has a pleasant user interface and user-friendly functionalities.

About the Online Diagnostic Lab Management System

This project was developed using the following:

  1. XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  2. PHP Language
  3. MySQL Database
  4. HTML
  5. CSS
  6. JavaScript
  7. jQuery
  8. Ajax
  9. Bootstrap
  10. AdminLTE
  11. and more...

This Online Diagnostic Lab Management System has an Admin Panel where the Lab's management can update the records, upload the patient's lab testing results. This side of the system requires an admin or staff user credential in order to access the features and functionalities. The patients can register their accounts easily and book a lab testing appointment on their side. They can list all of their appointment records with the diagnostic lab and also they can check the updated status of their results and download their lab test results.

Admin Panel

  1. Secure Login and Logout
  2. Dashboard
    1. Display the summary of lists.
  3. Test List Management
    1. Add New Test
    2. List All Tests
    3. View Test Details
    4. Update Test Details
    5. Delete Test Details
  4. Appointment Management
    1. List All Appointment
    2. View Appointment Details
    3. List Appointment's Test Details
    4. List Appointment's Update History Details
    5. Update Appointment's Status
    6. Upload test Result/Report
    7. Download Prescription
    8. Download Test Result
    9. Delete Appointment/Test Records
  5. Registered User List Management
    1. List All Registered User
    2. View Registered User Details
    3. Delete Registered User Details
  6. Manage User List (CRUD)
  7. Manage Account Details/Credentials
  8. Manage System Information


  1. Secure Login and Registration
  2. Appointment Management
    1. Booked an Appointment
    2. List All Appointment
    3. View Appointment Details
    4. List Appointment's Test Details
    5. List Appointment's Update History Details
    6. Cancel Booked Appointment
    7. Download Prescription
    8. Download Test Result
    9. Delete Appointment/Test Records
  3. List All Test Result
  4. Download Test Result
  5. Manage Account Details/Credentials
  6. Logout


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


  1. Enable the GDLibrary in your php.ini file.
  2. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPPcopy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMPpaste it into the "www" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create new database naming odlms_db.
  7. Import the provided SQL file. The file is known as odlms_db.sql located inside the database folder.
  8. Browse the Online Diagnostic Lab Management System in a browser. i.e. http://localhost/odlms/ for the user side and http://localhost/odlms/admin for the admin side.

Default Admin Access

Username: admin
Password: admin123

Sample User Access

Password: cblake123