How to build a symptom checker and medical diagnose chat bot

Data Science Asked by Ozan Yurtsever on December 20, 2020

I want to build a chatbot which can diagnose an illness depending upon the symptoms which are given to it. I want to show you an example scenario of how it should work;

Application – A , User – U

A) Hello, What is your symptom?

U) Headache

A) How long do you have this symptom? ( System will list possible
choices to the user)

U) 3 Months

A) Do you also have photo-affinity? ( System will provide simple “Yes-No-I don’t” know choices)

U) Yes



A) According to your symptoms, you have “migraine”.

There are several applications which work in that manner like “Ada Health”, “YourMD” and so on.

I want you to show me a way, give me a kick starter where to start. Are there any resources helpful about this topic?

Can you describe briefly, how one would build such a system in terms of machine learning and data science?

After my questions, I want you to show you my way of thinking about how this system can be built. Please give your comments about it as well

Let’s say we have a database and there are symptoms – disease wives. Here is the example;

enter image description here

  • Once the user enters a symptom to the system, my algorithm is going
    to find all of the matched diseases from the database, e.g., “headache” is the entered symptom by the user and the matched diseases with this initial symptom are “migraine”, “flu”, “cold”, “tumor”, etc…
  • After that, all of the symptoms which are connected with these new
    diseases are added to the question queue, e.g., for “flu” match, new questions about “flu” disease will be asked to the user like “Do you have also sneeze?”
  • While the user continues to answer questions, the positive symptoms which user has will be recorded. At the end of the question-answer phase, all of the symptoms which are recorded are going to be used in our machine learning model as the input features.

Does that way of thinking hit the right notes? Thanks in advance for all of the answers.

One Answer

Google Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices.

Answered by SKM on December 20, 2020

Add your own answers!

Related Questions

Adaptive Sampling Strategies for SVM?

0  Asked on March 17, 2021 by user103416


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP