- Best doctors and hospitals tracker is the name of the project we have built and the name of the website is
JEEVAN NAKSHA
. - In our website you can register in three ways :-
- You can register as an User if you are a normal user/patient.
- You can register as a Doctor if you are a Doctor.
- You can register as a Hospital if you are a Hospital.
- In recent days, online mode is very common in every industry and many people or customers are willing to use the online mode to complete their work.
- It's been a hard time for some users who are searching for some best doctors or hospitals nearby them, so that they can save their effort of searching via offline mode.
- Our Website
JEEVAN NAKSHA
will provide the users this facility to search for the doctors or hospitals near by them. - User can even have an appointment with a particular doctor they like from our website.
- Every section of our website will be explained in the following Documentation.
- Project-Installation
- Authentication
- Registeration
- Search-Doctors
- Search-Hospitals
- View-Profiles
- Update-Profiles
- Reviews/Ratings
- Make-Appointment
- Contributers
- Python 3 or more
- Django 3 or more
- pycopg package from python
- pillow package from python
- HTML5, CSS, Node.js Support
- Version control (Git, Github)
- Postgre sql server and PgAdmin
Clone this repository link using this command in your terminal/command prompt.
git clone https://github.com/WAD-Team-Alpha/Hospital_Review_System.git
Navigate to public folder and create a python file with name email.py.
Inside the email.py file create the list of variables mentioned below and assign them accordingly.
EMAIL_HOST_USER
This variable is used to store the email of the websiteEMAIL_HOST_PASSWORD
This variable is used to store the password for the email of the websiteEMAIL_HOST
This variable is used to mention the type of host In our case we use smtp.gmail.comDEFAULT_FROM_EMAIL
This variable stores the default email used by the websiteDB_PASSWORD
This is the password of the database used in the settings.py file in public folder
Before you run the project, make sure that you apply all the migrations to your database. If you are using postgre sql use the following command
python manage.py sqlmigrate (App_name) (migration_number)
Here App_name
is the name of the app which has the migration with migration number migration_number
Note: that you should use the above command only if you are using the sql based database as your backend otherthan sqlLite3 which is default one.
After you should migrate all the migrations using the following command.
python manage.py migrate
After applying all the migrations, now its time to run the website. Make sure that you have your environment ready with all the mentioned softwares installed. In your command prompt/terminal run this command to start the django server.
python manage.py runserver
Hence the installation and setup of the project is done completely.
- Press
signin
button to get signed in. - Enter valid user credentials of your account and press
sign in
.If you do not have an account, the create one by pressing on create one link. If you entered wrong credentials then you be redirected tosignin fail page
. - On successfull login you will get back to index page . here the header is different for different kinds of user like
public
,doctors
andhospitals
. For doctors and hospitals they will get view profile button inplace of logout button. - if user is an doctor or hospital manager then they get an
view profile
button.
- For user to get signed out you need to press
signout
button in home page. - Where as for doctors and hospitals you need to navigate to their profile page and then press on signout button to get signed out.
- In the above screenshot we can see a
forgot password?
section. Clicking on that will redirect you to a page where we will ask youremail
which is linked with your account. - Then after entering your mail, a
password reset
link will be sent to your mail Click on that link. - After clicking on that link, Set your
new password
and click reset button. - There you go. You have sucessfully resetted your password.
- Here is a small demonstration of the process.
- If the person is a user or a patient, he can register using
User Registeration
form - If the person is a doctor, he can register using
Doctor Registertion
form - If the person has a hospital, he can register using
Hospital Registeration
form
- The page looks something like this
- Below is a small Illustration of how to navigate to signup page
- You can register in any three of them depending on your
profession
Below are the steps for registering as a User
:
- From Main page,go to
SignIn
page. - For Registering as a new User click
SignUp
below forgot password. - In signup page, click
Signup as a user
. - After clicking SignUp as a User, you will get a
Registration form
as shown below.
- In User Registration Form, Fill all the details asked in the form and make sure the requirements are fulfilled like in Password it should contain a
Capital letter and some special characters.
- After filling all details required in the form click on
Register Button
. - After registering successfully, you will redirect to the
main page
with a message showing Activate your account after clicking the link sent to your mail.
- Now, go to your
registered mail
and you can find a mail fromjeevannakshawad
with a activation link for your account. - Click on that link, now you are succesfully registered as a User and you will be redirected to the
main page
with the message Account Activated Succesfully.
- If
Password
andConfirm Password
are not same it will show Passwords dont match error. So make sure you enter the both passwords correctly. - If any user registered with the
same username
before you register, it shows UserName Already Exists. So, Try with a different username. - If any user registered with the
same email
before you register or if you're registering 2nd time with the same email, it shows Email already Exists error. So, make sure you enter your email correctly.
Below are the steps for registering as a Doctor
:
- From Main page, go to
SignIn page
. - For Registering as a new Doctor click
SignUp
button situated belowforgot password
option. - In signup page, click Signup as a
Doctor
. - After clicking SignUp as a Doctor, you will get a
Registration form
as shown below.
- In Doctor Registration Form, Fill all the details asked in the form and make sure the requirements are fulfilled like in Password it should contain a Capital letter, a small letter and some special characters and a
minimum length of 8 charecters
. - After filling all details required in the form click on
Register Button
. - After registering successfully, you will redirect to the
main page
with a message showing Activate your account after clicking the link sent to your mail.
- Now, go to your registered mail and you can find a mail from
jeevannakshawad
with a activation link for your account. - Click on that link, now you are succesfully registered as a
Doctor
and you will be redirected to the main page with the message Account Activated Succesfully.
- If Password and Confirm Password are not same it will show
Passwords dont match
error. So make sure you enter the both passwords correctly. - If any user registered with the same username before you register, it shows
UserName Already Exists
. So, Try with a different username. - If any user registered with the same email before you register or if you're registering 2nd time with the same email, it shows
Email already Exists
error. So, make sure you enter your email correctly.
- From Main page, go to SignIn page.
- For Registering as a new Hospitals click SignUp button situated below forgot password option.
- In signup page, click Signup as a Hospitals.
- After clicking SignUp as a hospital, you will get a Registration form as shown below.
-
In hospital Registration Form, Fill all the details asked in the form and make sure the requirements are fulfilled like in Password it should contain a Capital letter, a small letter and some special characters and a minimum length of 8 charecters.
-
After filling all details required in the form click on Register Button.
-
After registering successfully, you will redirect to the main page with a message showing Activate your account after clicking the link sent to your mail.
- After registering successfully, you will redirect to the main page with a message showing Activate your account after clicking the link sent to your mail.
- Click on that link, now you are succesfully registered as a Doctor and you will be redirected to the main page with the message Account Activated Succesfully.
First Name
of the doctorLast Name
of the doctorSpecialization
of the doctorCity
where the doctor worksState
where the doctor worksPincode
of the place where the doctor works
- It is not necessary to know all the details listed above to search a
Doctor
. - You can search for a doctor/doctors by their
first name
or by theirlast name
orCity
in which the doctor works. - You can also search for doctor/doctors through the
Pincode
of a place where the doctor works. - You can also see list of Doctors working in a particular state by selecting that
state
. - You can also see list of Doctors working in all
States
by selecting All option in search bar. - You can also search for a doctor by their
Specialization
. - After entering details in the doctor search bar click on Search Button which will redirect you to Doctor Search Results page.
- If there are doctors found, you can see a
list of with some information
like DoctorsName,Department,Works at and Pincode and Ratings
of the doctor. - If no doctors Found, then it shows No Doctors Found.
Hospital name
Hospital registration number
Town/vilage for area
City
Pincode
State
In this page you can see the cards
of the hospitals based on filters applied. The information given on cards is as follows:-
Profile photo
of hospital to the left mostRatigs
to the rightmostLocation
Pincode
Chief medical officer
Phone number
Email
It is doctor profile , doctor can view profile and other how register in website they can view doctor profile using search bar
- From Main page, go to view profile.
- See all doctor detail
- Doctor name ,hospital to belong
- Specicalistion , Exprience
- Time of meet the patient
- According to rating and review we can judge the service
It is Hospitals profile , Hospitals can view profile and other how register in website they can view Hospitals profile using search bar
- From Main page, go to view profile.
- See all Hospital detail
- Hospital name , Facilty in hospital
- Doctor team, chief of doctor
- Update profile like hospital name, doctor team
- According to rating and review we can judge the service
- From profile page, go to update button.
- Check use is doctor then update his profile and if it is user they can not update
- Check use is Hospital then update his profile and if it is user they can not update
- update Doctor and Hospital name
- update Profile photo
- update Specicalistion , Exprience
- After update profile redirect in profile and get massage to update profile
- For viewing reviews and Ratings you need to scroll down in the profile page for a perticular doctor/hospital. Press
load more
button to load more reviews.
- You can also see
ratings summary
in the same page.Here you can see the details like number of reviews added and average rating and also you can observe count of each rating added.
- In profile pages, you can add reviews and ratings in allotted slot, but you must get logged in before hand. otherwise page will shown like this.
- Another important thing is you must signed with an user account to add an review. After successful signin you can add review.
- After sucessfully adding review you can see your review in the reviews section (updates instantly).
- Patient first needs to give the username of the doctor by viewing the
username
from the respectiveDoctor profile
- Then he must mention the
date of the appointment
- And then mention the
message
required to convey his/her problem to the doctor - Once the appointment is done, An email is sent to both the respective doctor and the user just for the confirmation.
- And then, the doctor will take up the converstaion with the user. This is the complete process of the appointment.
Surya Teja |
Mahaboob |
Prathyush |
Sekhar |
Satyam Kumar |