Doctor Appointment System Using Python Django
The Doctor Appointment System is an online application which is designed to automate and streamline the traditional manual process of organizing patient consultations. Utilizing advanced digital technologies, this system ensures efficient data storage, easy access and manipulation. Ultimately boosting productivity and ensuring a higher quality experience for patients and doctors.
This web application is built using Python with the Django framework and utilizes MySQL as the backend database. It consists of three main modules: Admin, Doctor, and User (Patient). Each module is designed with functionalities specific to its responsibilities in the system.
Language Used | Python |
---|---|
Framework Used | Django |
Database | MySQL |
User Interface Design | HTML, AJAX,JQUERY,JAVASCRIPT |
Web Browser | Mozilla, Google Chrome, IE8, OPERA |
IDE | PyCharm |
Project Modules
It consists of three main modules: Admin, Doctor, and User (Patient). Each module is designed with functionalities specific to its responsibilities in the system.
Admin Module
- Dashboard: View key statistics including total registered doctors and specializations.
- Specializations: Add, update, or delete doctor specializations.
- Doctor List: Access the full list of registered doctors and their appointment records.
- Search Doctor: Locate a doctor using their mobile number.
- Doctor Registration Report: Generate reports based on a specified date range.
- Website Content Management: Manage static content such as “About Us” and “Contact Us” pages.
Doctor Module
- Dashboard: View summaries of new, approved, cancelled, and completed appointments.
- Appointments: Manage appointment status and view detailed booking information.
- Patient List: View final appointments, prescribe medication, and recommend diagnostic tests.
- Completed Appointments: Review a history of completed appointments.
- Reports: Generate reports for appointments within a specific time frame.
- Search: Find appointment details using an appointment number or patient name.
- Profile Management: Update personal details, change or recover passwords.
User Module (No Registration Required)
- Home Page: Access the landing page with an overview of the application.
- Book Appointment: Submit a new appointment request.
- Check Appointment Status: Search and view the status of an appointment using an appointment number or name.
Project Output Screens
Home Page

Doctor Registration / Signup

Doctor Dashboard

Appointment Details

Regd. Doctors List

How to run the Doctor Appointment System Django, Python
1. Download the zip file
2. Extract the file, copy doctorappointment
folder, and paste it on the desktop
3. Open MySQL create a database ,docaspythondb
then import the SQL File available in the SQL File Folder (For MySQL we used the XAMPP server)
4. Open PyCharm and click on the terminal
5. Navigate the project folder using the cd command
cd project_path
For ex: cd C:\Users\your_computer_name\OneDrive\Desktop\ doctorappointment\
OR
Import in pycharm
6. Now Navigate to the docappsystem folder
cd docappsystem
7. Run the Project using the following command
python manage.py runserver
Now click the URL http://127.0.0.1:8000, and the Project will run
Login Details
*************admin************
Username: admin@gmail.com
Password: Test@123
*************Doctor************
Username: john12@gmail.com
Password: Test@123
Or Register a new Doctor.
Project Demo