Skip to content
Intermediate

COVID-19 Testing Management System in PHP and MySQL

A PHP and MySQL lab system for COVID-19 test booking, sample tracking, and report delivery. Patients book Antigen or RT-PCR tests, and the admin assigns phlebotomists and updates each stage until the report is delivered.

46 views

PHPMySQLHTMLCSSJavaScriptjQueryBootstrap

What this project is

COVID-19 Testing Management System is a web application for a testing lab. It has a public site and an admin panel.

Public site:

  • Home page with COVID-19 information, symptoms, and prevention
  • Guideline, helpline, donation, and a small fun page
  • Link to the vaccination portal
  • New patient registration and test booking (Antigen or RT-PCR) with a time slot and order number
  • Booking for an already registered mobile number
  • Patient report search
  • Live COVID-19 tracker with charts
  • Symptom chatbot on the helpline

Admin panel:

  • Dashboard counts for tests, patients, and phlebotomists
  • Add and manage phlebotomists
  • Test workflow: New, Assigned, On the Way for Collection, Sample Collected, Sent to Lab, Report Delivered, and All Tests
  • Assign a phlebotomist and upload the final report
  • Search reports and generate a between-dates report
  • Admin profile and change password

*All Images are Removed bcoz it takes lots of spaces you can add manually .

Database name: covidtmsdb
 Tables: tbladmin, tblpatients, tblphlebotomist, tbltestrecord, tblreporttracking

Demo admin login:

  • Username: admin
  • Password: Test@123

How to run it

 

  1. Install XAMPP (Apache, PHP, and MySQL).
  2. Copy the covid-tms folder into xampp/htdocs. For WAMP use wamp/www. For LAMP use /var/www/html.
  3. Start Apache and MySQL.
  4. Open http://localhost/phpmyadmin.
  5. Create a database named covidtmsdb.
  6. Import SQL File/covidtmsdb.sql.
  7. Open http://localhost/covid-tms.
  8. Open Admin and sign in with username admin and password Test@123.

Database settings are in includes/config.php: host localhost, user root, empty password, database covidtmsdb.

 

Setup steps

  1. 1
    1 Install XAMPP and start Apache and MySQL.
  2. 2
    2 Place the covid-tms folder in htdocs.
  3. 3
    3 Create database covidtmsdb in phpMyAdmin.
  4. 4
    4 Import SQL File/covidtmsdb.sql.
  5. 5
    5 Confirm includes/config.php uses localhost, root, and covidtmsdb.
  6. 6
    6 Open http://localhost/covid-tms in the browser.
  7. 7
    7 Log in at http://localhost/covid-tms/login.php with admin / Test@123.