ii
Final Year Project Thesis
E-SEHAT (Smart Healthcare
System for preliminary Diagnostic
and Remote Consultancy)
Session: 2017
Submitted by:
Hafiza Aneeba Majeed(2017-CS-151)
Hafsa Riaz (2017-CS-153)
Areeg Tahir(2017-CS-157)
Rimsha Noreen(2017-CS-158)
Supervised by:
Prof. Dr. Muhammad Aslam
Department of Computer Science
University of Engineering and Technology
Lahore Pakistan
Final Year Project Thesis
E-SEHAT (Smart Healthcare System for preliminary
Diagnostic and Remote Consultancy)
(Session 2017 Computer Science)
The thesis is to be submitted to the Department of Computer Science,
University of Engineering and Technology, Lahore for the partial fulfillment of
the requirement for the Bachelor’s degree in Computer Science.
Supervisor External Examiner
Signature: Signature:
Name: Prof. Dr. Muhammad Aslam Name:
Designation: Designation:
Chairman Dean
Signature: Signature:
Name: Prof.Dr.Muhammad Shoaib Name: Prof. Dr. Muhammad Kamran
Department of Computer Science
University of Engineering and Technology
Lahore Pakistan
i
Declaration
I declare that the work contained in this thesis is my own, except where explicitly
stated otherwise. In addition this work has not been submitted to obtain another
degree or professional qualification.
Name: Name:
Signed: Signed:
Date: Date:
Name: Name:
Signed: Signed:
Date: Date:
ii
Acknowledgments
First of all, we wish to thank Almighty Allah for giving us strength in fulfilling this
work. It gives us great pleasure to express our deep sense of gratitude and respect
to our supervisor, Dr.Muhammad Aslam, for boasting our confidence and a sense
of excitement and inspiring us in our work through his guidance. Our sincere
thanks to him for his valuable suggestions and efforts. It is with great pride and
pleasure that we submit this dissertation as his students. Lastly we would like
to thank our parents for their unconditional, love, affection, kind cooperation and
encouragement. . . .
iii
To our parents and respected members. . .
iv
Contents
Acknowledgments iii
List of Figures viii
List of Tables x
Abbreviations xi
Abstract xii
1 Introduction 1
1.1 Overview of the Project …………………… 1
1.2 Background of the Project ………………….. 1
1.3 Motivation ………………………….. 2
1.4 Objectives ………………………….. 2
1.4.1 Industry Objectives ………………….. 2
1.4.2 Research Objectives …………………. 3
1.4.3 Academic Objectives …………………. 4
1.5 Problem Statement ……………………… 4
1.6 Scope of the Project …………………….. 4
1.7 Challenges ………………………….. 5
1.7.1 Domain Challenges ………………….. 5
1.7.2 Technical Challenges …………………. 5
1.8 Possible Applications of Work ………………… 6
1.8.1 Human Disease Detector ……………….. 6
1.8.2 Diet Plan provider ………………….. 6
1.8.3 Doctor/Patient Consultancy ……………… 7
1.8.4 Animal Disease Detector ……………….. 8
2 Literature Review 9
3 Proposed Methodology 20
3.1 Proposed Solution ………………………. 20
3.2 General Flow ………………………… 20
3.3 Use-Case Diagrams ……………………… 21
3.3.1 Human Diet Provider …………………. 22
v
Contents vi
3.3.2 Human Disease Detection ………………. 23
3.3.3 Doctor Consultancy …………………. 25
3.3.4 Doctor Platform …………………… 26
4 Implementation Details 28
4.1 Tools and Technologies Used …………………. 28
4.2 Algorithm ………………………….. 28
4.2.1 Libraries Used …………………….. 28
4.3 Dataset Details ……………………….. 28
4.3.1 Disease and its Symptoms Dataset ………….. 29
4.3.2 Training Dataset …………………… 29
4.3.3 Disease Description Dataset ……………… 29
4.3.4 Symptom Precaution Dataset …………….. 29
4.3.5 Diet Plans Dataset ………………….. 30
4.3.6 Symptom Description Dataset ……………. 30
4.3.7 Specialist Dataset ………………….. 30
4.3.8 Symptom Severity Dataset ……………… 30
4.4 Web Application ………………………. 30
4.4.1 Main Page ………………………. 31
4.4.2 Sign Up Page …………………….. 31
4.4.3 Login Page ……………………… 32
4.4.4 User Profile Page …………………… 32
4.4.5 Join as Doctor Page …………………. 33
4.4.6 Contact Us Page …………………… 34
4.5 Disease Detection ………………………. 34
4.5.1 Login and Create Account Page ……………. 35
4.5.2 User Permission Page …………………. 35
4.5.3 Main Symptom Page …………………. 36
4.5.4 Searched related to Symptoms Experienced ……… 37
4.5.5 Symptoms Predicted by ML Algorithms ……….. 37
4.5.6 Symptoms Details …………………… 38
4.5.7 Result Screen …………………….. 39
4.5.8 General Flow Diagram ………………… 39
4.6 Nutritionist Diet Plans ……………………. 41
4.6.1 Health and Nutrition Page ………………. 41
4.7 Doctor Consultancy ……………………… 42
4.7.1 Doctors Page …………………….. 42
4.7.1.1 Find Doctor by City …………….. 42
4.7.1.2 Find Specialist ……………….. 43
4.7.1.3 Find Doctor by Disease …………… 43
4.7.2 View Doctors Page ………………….. 43
4.7.3 View Doctor Profile Page ………………. 44
4.7.4 Book Clinic Appointment Page ……………. 47
4.7.5 Book Video Appointment Page ……………. 49
Contents vii
4.8 Doctor Platform ……………………….. 50
4.8.1 Doctor Main Menu Page ……………….. 50
4.8.2 Doctor Profile Page ………………….. 51
4.8.3 Review Page ……………………… 53
4.8.4 View Clinic Appointments Page ……………. 53
4.8.5 View Video Appointments Page ……………. 54
4.9 Admin Verification Platform …………………. 55
4.9.1 Verification Page …………………… 55
5 Results 56
5.1 Test Scenario TS-1: User Registration Functionality ……… 56
5.2 Test Scenario TS-2: Doctor Registration Functionality ……. 57
5.3 Test Scenario TS-3: Login Functionality …………… 58
5.4 Test Scenario TS-4: Contact Us Functionality ………… 59
5.5 Test Scenario TS-5: Create Doctor Profile Functionality ……. 60
5.6 Test Scenario TS-6: View Doctor Profile Functionality ……. 60
5.7 Test Scenario TS-7: Update Doctor Profile Functionality …… 61
5.8 Test Scenario TS-8: View Clinic Appointments Functionality . . . . 61
5.9 Test Scenario TS-9: View Video Appointments Functionality . . . . 62
5.10 Test Scenario TS-10: Add Review Functionality ……….. 63
5.11 Test Scenario TS-11: View Reviews Functionality ………. 63
5.12 Test Scenario TS-12: View Doctors Functionality ………. 64
5.13 Test Scenario TS-13: Book Clinic Appointment Functionality . . . . 64
5.14 Test Scenario TS-14: Book Video Appointment Functionality . . . . 65
5.15 Test Scenario TS-15: Find Diet Plans Functionality ……… 66
5.16 Test Scenario TS-16: Find Doctor(By City, Disease, Fee Range
Specialty) Functionality …………………… 67
5.17 Test Scenario TS-17: View User Profile Functionality …….. 68
5.18 Test Scenario TS-18: Cancel Appointments Functionality …… 68
5.19 Test Scenario TS-19: Disease Diagnosis Functionality …….. 69
6 Future Work 71
6.1 AI Based Chatbot ………………………. 71
6.2 Making the System Multi-Lingual ………………. 71
6.3 Analysis based Awareness ………………….. 71
6.4 Revenue Generation …………………….. 71
6.5 Increase in dataset ……………………… 72
References 73
List of Figures
1.1 Human Disease Detector …………………… 6
1.2 Diet Plan ………………………….. 7
1.3 Doctor/Patient Consultancy …………………. 7
1.4 Animal Disease Detector …………………… 8
3.1 General Flow Diagram of Project ………………. 21
3.2 Use Case diagram of Guest User ……………….. 22
3.3 Use Case diagram of Human Diet Provider ………….. 23
3.4 Use Case diagram of Human Disease Detection ……….. 24
3.5 Use Case diagram of Doctor Consultancy ………….. 26
3.6 Use Case diagram of Doctor Platform …………….. 27
4.1 Main menu …………………………. 31
4.2 SignUp ……………………………. 32
4.3 Login …………………………….. 32
4.4 User Profile …………………………. 33
4.5 Join as Doctor ………………………… 34
4.6 Contact Us …………………………. 34
4.7 Login Request ………………………… 35
4.8 User Permission ………………………. 36
4.9 Main Symptom ……………………….. 36
4.10 Searched related to Symptoms Experienced Us ………… 37
4.11 Symptoms Predicted by ML Algorithms …………… 38
4.12 Symptom Details ………………………. 38
4.13 Result ……………………………. 39
4.14 Result ……………………………. 40
4.15 Health and Nutrition 1 ……………………. 41
4.16 Health and Nutrition 2 ……………………. 41
4.17 Search Doctor ………………………… 42
4.18 Find Doctor by City …………………….. 42
4.19 Find Doctor by Disease ……………………. 43
4.20 Find Doctor by Disease ……………………. 43
4.21 View Doctors ………………………… 44
4.22 View Doctor Profile 1 …………………….. 45
4.23 View Doctor Profile 2 …………………….. 45
4.24 View Doctor Profile 3 …………………….. 46
viii
List of Figures ix
4.25 View Doctor Profile 4 …………………….. 46
4.26 View Doctor Profile 5 …………………….. 47
4.27 Book Clinic Appointment 1 …………………. 47
4.28 Book Clinic Appointment 2 …………………. 48
4.29 Book Clinic Appointment 3 …………………. 48
4.30 Book Video Appointment 1 …………………. 49
4.31 Book Video Appointment 2 …………………. 49
4.32 Book Video Appointment 3 …………………. 50
4.33 Book Video Appointment 4 …………………. 50
4.34 Doctor Menu ………………………… 51
4.35 Doctor Profile 1 ……………………….. 51
4.36 Doctor Profile 2 ……………………….. 52
4.37 Doctor Profile 3 ……………………….. 52
4.38 Doctor Profile 4 ……………………….. 53
4.39 Reviews …………………………… 53
4.40 View Clinic Appointments ………………….. 54
4.41 View Video Appointment …………………… 54
4.42 Payment and Login Verification ……………….. 55
List of Tables
2.1 Comparison Table ………………………. 11
5.1 Web App: Test Scenario TS-1 Results …………….. 57
5.2 Web App: Test Scenario TS-2 Results …………….. 58
5.3 Web App: Test Scenario TS-3 Results …………….. 59
5.4 Web App: Test Scenario TS-4 Results …………….. 59
5.5 Web App: Test Scenario TS-5 Results …………….. 60
5.6 Web App: Test Scenario TS-6 Results …………….. 61
5.7 Web App: Test Scenario TS-7 Results …………….. 61
5.8 Web App: Test Scenario TS-8 Results …………….. 62
5.9 Web App: Test Scenario TS-9 Results …………….. 63
5.10 Web App: Test Scenario TS-10 Results ……………. 63
5.11 Web App: Test Scenario TS-11 Results ……………. 64
5.12 Web App: Test Scenario TS-12 Results ……………. 64
5.13 Web App: Test Scenario TS-13 Results ……………. 65
5.14 Web App: Test Scenario TS-14 Results ……………. 66
5.15 Web App: Test Scenario TS-15 Results ……………. 66
5.16 Web App: Test Scenario TS-16 Results ……………. 67
5.17 Web App: Test Scenario TS-17 Results ……………. 68
5.18 Web App: Test Scenario TS-18 Results ……………. 69
5.19 Web App: Test Scenario TS-19 Results ……………. 70
x
Abbreviations