Doctor-Patient Appointment System in Python using Flask – with source code – 2024

Hey guys, in this blog we will see a Doctor-Patient Appointment System for Hospitals built in Python using Flask. It is a very interesting project with lots of functionalities. So without any further due, let’s do it…

Technology Stack

  • Frontend – HTML and CSS
  • Backend – Flask(Python)
  • Database – Sqlite3

Types of Users

We have 3 types of users in our Application:

  • Super Admin – can approve or delete a doctor or patient registration request.
  • Patients – can schedule appointments with doctors.
  • Doctors – can approve or delete appointment requests raised by patients.

Overview of our Doctor-Patient Appointment System Application:

Main Page

Doctor-Patient Appointment System

On the main page, we have total 5 options:

  • Patient Login
  • Doctor Login
  • Admin Login
  • Patient Registration
  • Doctor Registration

Patient Registration Page

Doctor-Patient Appointment System
  • This is the Patient Registration Page where a Patient can register himself/herself by entering his/her details.
  • The details that are needed are First Name, Last Name, Date of Birth, Phone No, Login Password, and Address.
  • The Login Password should be of at least 8 characters and should contain numbers and alphabets.
  • As soon as the Patient fills in all his details and clicks on the Register button, the registration request is sent to the super admin who can either approve or delete the registration request.

Doctor Registration Page

Doctor-Patient Appointment System
  • This is the Doctor Registration Page where a Doctor can register himself/herself by entering his/her details.
  • The details that are needed are First Name, Last Name, Date of Birth, Phone No, Address, Doctor ID, Speciality, and Login Password.
  • The Login Password should be of at least 8 characters and should contain numbers and alphabets.
  • As soon as the Doctor fills in all his details and clicks on the Register button, the registration request is sent to the super admin who can either approve or delete the registration request.

Super Admin Login

Doctor-Patient Appointment System

This is the Super Admin Login Page where the super admin needs to enter his/her credentials to enter the super admin console.

Super Admin Main Page

Doctor-Patient Appointment System
  • This is the Super Admin Console.
  • All the registration requests for doctors and patients come here which can be either approved or deleted by the super admin.
  • We can see the registration requests for doctors and patients here.
  • Also, we can see the registered doctors and patients here.

Logged In Patient Page

Doctor-Patient Appointment System
  • This is what the logged-in patient page looks like.
  • A patient can schedule appointments with any doctor according to the date of their choice.
  • Also, they can see on the left side, which doctors are busy on which all dates.
  • Also, some basic level date logics are implemented like you can’t book appointments on past dates and so on.

Logged In Doctor Page

Doctor-Patient Appointment System
  • As soon as a patient sends a successful appointment request to a doctor, it reflects in that specific doctor’s console.
  • He can either Approve or Delete that Appointment Request.
  • All the fixed appointments and all the appointment requests for the specific doctor are visible on the screen with all the required details.

Doctor Profile Update

Doctor-Patient Appointment System
  • Also, there could be a case when a doctor wants to update his/her profile, that’s why we have provided an update profile option from where a logged-in patient can change any of your details.

Patient Profile Update

Doctor-Patient Appointment System
  • Also, there could be a case when a patient wants to update his/her profile, that’s why we have provided an update profile option from where a logged-in patient can change any of your details.

Functionalities

Functionalities of Doctors:

  • Approve or delete appointment requests from patients.

Functionalities of Patients:

  • Schedule an appointment with a doctor.

Functionalities of Super Admin:

  • Approve/Delete a patient registration request.
  • Approve/Delete a doctor registration request.
  • Delete a registered patient.
  • Delete a registered doctor.

Working Video

About Source Code

As you know quality doesn’t come for free, so you have to pay a minimalistic fee for all those resources. If you are interested and want the source code of this application, you have to pay a minimalistic fee of ₹500 and send me the payment screenshot at asharma70420@gmail.com.

You can Pay using the button below…

So this is all for this blog folks. Thanks for reading it and I hope you are taking something with you after reading this and till the next time …

Read my last blog – Leaf Disease Detection Flask App

Check out my other machine learning projectsdeep learning projectscomputer vision projectsNLP projects, and Flask projects at machinelearningprojects.net.

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *