Doctor Appointment Booking System
Doctor Appointment Booking System
ABSTRACTION
The Doctor Appointment Booking System is a web-based application designed to simplify the
process of scheduling medical appointments. It enables patients to book consultations with
doctors online, reducing waiting times and improving healthcare accessibility. The system
benefits both patients and healthcare providers by streamlining appointment management,
reducing administrative workload, and enhancing patient experience.
INTRODUCTION
This initiative facilitates online appointment requests for clients or patients of medical
establishments, including clinics and hospitals. This project can also help doctors to manage
their appointment with their patients. This doctor's appointment system will organize the
schedules of each patient's appointment, which will be submitted as a request to the doctor they
have selected. The system comprises three key roles: administrator, doctor, and patient. The
system admin will populate the list of the doctors with their specialties and along with the
doctor's details and system credentials. The patients can browse the doctor's appointment
system website to find a doctor that has the specialty of their needs. Patients can review the
doctor's weekly schedule, enabling them to select a suitable day and time for their appointment.
Subsequently, they can submit their appointment request. After that, the doctors can view all
their appointments and the appointment request of the patients for their availability.
Existing System
The traditional doctor appointment booking system is mostly manual and comes with several
inefficiencies. Patients usually book appointments via phone calls or by physically visiting clinics
or hospitals, leading to long waiting times, scheduling conflicts, and miscommunication.
Proposed System
The proposed system is an automated, web-based Doctor Appointment Booking System that
allows patients to book appointments online with ease. It eliminates the inefficiencies of the
existing manual system by providing real-time availability, automated scheduling, notifications,
and digital record-keeping.
1. User-Friendly Interface
2. Online Appointment Booking
3. Automated Notifications & Reminders
5. Digital Medical Records (Optional)
6.Time-Saving
System requirements
Apache Version: 2.4.39
Screenshot
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../css/animations.css">
<link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="../css/admin.css">
<title>Doctor</title>
<style>
.popup{
animation: transitionIn-Y-bottom 0.5s;
}
</style>
</head>
<body>
<?php
session_start();
if(isset($_SESSION["user"])){
if(($_SESSION["user"])=="" or $_SESSION['usertype']!='a'){
header("location: ../login.php");
}
}else{
header("location: ../login.php");
}
//import database
include("../connection.php");
if($_POST){
//print_r($_POST);
$result= $database->query("select * from webuser");
$name=$_POST['name'];
$nic=$_POST['nic'];
$spec=$_POST['spec'];
$email=$_POST['email'];
$tele=$_POST['Tele'];
$password=$_POST['password'];
$cpassword=$_POST['cpassword'];
if ($password==$cpassword){
$error='3';
$result= $database->query("select * from webuser where email='$email';");
if($result->num_rows==1){
$error='1';
}else{
//echo $sql1;
//echo $sql2;
$error= '4';
}else{
$error='2';
}
}else{
//header('location: signup.php');
$error='3';
}
header("location: doctors.php?action=add&error=".$error);
?>
</body>
</html>
<tr>
<td>
<p style="padding: 0;margin: 0;text-align: left;font-size: 25px;font-weight:
500;">View Details.</p><br><br>
</td>
</tr>
<tr>
</tr>
<tr>
<td class="label-td" colspan="2">
<label for="Email" class="form-label">Email: </label>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
'.$email.'<br><br>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
<label for="nic" class="form-label">NIC: </label>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
'.$nic.'<br><br>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
<label for="Tele" class="form-label">Telephone: </label>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
'.$tele.'<br><br>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
<label for="spec" class="form-label">Specialties: </label>
</td>
</tr>
<tr>
<td class="label-td" colspan="2">
'.$spcil_name.'<br><br>
</td>
</tr>
<tr>
<td colspan="2">
<a href="doctors.php"><input type="button" value="OK" class="login-btn
btn-primary-soft btn" ></a>
</td>
</tr>
</table>
</div>
</center>
<br><br>
</div>
</div>
';
}
}
?>
</div>
</body>
</html>
Conclusion
The Doctor Appointment Booking System is a modern solution designed to streamline the
process of scheduling medical appointments. By eliminating the inefficiencies of traditional
booking methods, this system improves accessibility, reduces waiting times, and enhances
patient-doctor communication.
With features such as real-time appointment scheduling, automated notifications, digital medical
records, and secure user management, the system benefits both patients and healthcare
providers. The admin panel ensures smooth management of doctors, schedules, and patient
records, while doctors can efficiently manage their appointments and access patient details.