1 of 30

MEDICAL CHATBOT USING ARTIFICIAL INTELLIGENCE

Under the guidance of

Mr. APPIREDDY V NAGIREDDY

(Assistant Professor, Department of CSE)

Team Number : 13

18BD1A058D

18BD1A058R

18BD1AO58V

18BD1A059H

2 of 30

OUTLINE

  • ABSTRACT
  • INTRODUCTION
  • SOFTWARE REQUIREMENTS SPECIFICATION
  • LITERATURE SURVEY
  • SYSTEM DESIGN
  • IMPLEMENTATION
  • TEST CASES
  • CONCLUSION
  • REFERENCES

2

3 of 30

ABSTRACT

3

  • To lead a good life healthcare is very much important. But it is very difficult to obtain the consultation with the doctor in case of any health issues.

  • The proposed idea is to create a medical chatbot using Artificial Intelligence that can diagnose the disease and provide basic details about the disease before consulting a doctor.

  • To reduce the healthcare costs and improve accessibility to medical knowledge the medical chatbot is built.

  • Chatbots acts as a medical reference books, which helps the patient know more about their disease and helps to improve their health.

4 of 30

INTRODUCTION

4

  • The aim of this project is to create a self-diagnosis medical chatbot using Artificial Intelligence.

  • Artificial intelligence (AI) is the ability of a computer or a robot controlled by a computer to do tasks that are usually done by humans because they require human intelligence and discernment.

  • Artificial Intelligence applications include advanced web search engines (i.e. Google), recommendation systems (used by YouTube), understanding human speech (such as Siri or Alexa), self-driving cars (e.g. Tesla).

  • A chatbot is a computer program which conducts a conversation via text or text-to-speech. For various practical purposes like customer service or information acquisition, chatbot is being used in the dialog system.

5 of 30

INTRODUCTION

5

Existing System:

  • There are certain chatbots in the medical field that already exists, but current implementations focus on quickly diagnosing patients by identifying symptoms based on pure system initiative questions like natural conversation.

  • Our system focuses solely on the analysis of natural language to extract symptoms, which could make it easier for elderly, less technical users to communicate their symptoms.

6 of 30

INTRODUCTION

6

Proposed System:

  • The proposed system proceeds from symptom extraction, to symptom mapping, where it identifies the corresponding symptom, then diagnosis the patient whether it’s a major or minor disease.

  • If it’s a major one an appropriate doctor will be referred to the patient, the doctor details will be extracted from the database.

  • The user will be identified by the login details which is stored in the database.

7 of 30

INTRODUCTION

7

Scope of the Project:

  • The user can access the chatbot through a webpage.

  • It can be accessed by various devices like laptops, smartphones, tablets etc. by a browser.

  • The usage of Chatbot is user friendly and can be used by any person who knows how to type in mobile app or desktop version.

8 of 30

SOFTWARE REQUIREMENTS SPECIFICATION

8

Functional Requirements:

  • New users must register in order to proceed further.

  • Users must log in to access the chatbot.

  • Users must enter the symptoms and the chatbot must respond accordingly.

  • The reply should be realistic like talking to a human.

  • Should be interactive, that is it should prompt the user what it should do next.

9 of 30

SOFTWARE REQUIREMENTS SPECIFICATION

9

Non-Functional Requirements:

  • System use shall not cause any harm to human users.

  • System will use a secured database.

  • Every user is provided with a unique ID with their password.

  • Every user is authenticated before accessing their account.

10 of 30

SOFTWARE REQUIREMENTS SPECIFICATION

10

Software Requirements:

  • Operating System : Windows 10, Linux or MAC OS.

  • Programming Language : Python, MySQL.

  • Platform : Dialogflow.

  • IDE : Visual Studio Code, Python.

Hardware Requirements:

  • Processor : Intel core i3 and above.

  • RAM : 2 GB or above.

  • Internet : 1 Mbps or above.

11 of 30

SOFTWARE REQUIREMENTS SPECIFICATION

11

Software Technologies:

  • Dialogflow

    • Dialogflow is a Google-owned framework that enables users to develop human-computer interaction technologies that can support Natural Language Processing (NLP).

  • Flask
    • Flask is a micro web framework written in Python.

  • MySQL
    • MySQL is an open-source relational database management system.

12 of 30

LITERATURE SURVEY

12

  • SURVEY PAPER-1: “A Self-Diagnosis Medical Chatbot Using Artificial Intelligence”, Divya S, Indumathi V, Ishwarya S, Priyasankari M, Kalpana Devi S

DESCRIPTION: In this system the user dialogue is a linear design that proceeds from symptom extraction, to symptom mapping, where it identifies the corresponding symptom, then diagnosis the patient whether it’s a major or minor disease.

13 of 30

SYSTEM DESIGN

13

Finite State Graph

14 of 30

14

Functional Architecture

15 of 30

15

Use Case diagram

16 of 30

16

Sequence diagram

17 of 30

17

Class diagram

18 of 30

IMPLEMENTATION

18

19 of 30

19

20 of 30

20

21 of 30

21

22 of 30

22

23 of 30

23

24 of 30

24

25 of 30

TEST CASES

25

26 of 30

26

27 of 30

27

28 of 30

CONCLUSION

28

  • The usage of chatbot is user friendly and can be used by any person who knows how to type in mobile app or desktop version.

  • The medical chatbot provides personalized diagnoses based on symptoms.

  • The implementation of medical chatbot heavily relies on Artificial Intelligence algorithms as well as the training data.

  • No matter how far people are, they can have this medical conversation. The only requirement they need is a simple desktop or smartphone with internet connection.

29 of 30

REFERENCES

29

  • Divya S, Indumathi V, Ishwarya S, Priyasankari M, Kalpana Devi S, “A Self-Diagnosis Medical Chatbot Using Artificial Intelligence”

30 of 30

THANK YOU

30