Professional Documents
Culture Documents
A Self-Diagnosis Medical Chatbot Using Artificial Intelligence
A Self-Diagnosis Medical Chatbot Using Artificial Intelligence
Volume 3 Issue 1
Abstract
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. Certain chatbots acts
as a medical reference books, which helps the patient know more about their disease and
helps to improve their health. The user can achieve the real benefit of a chatbot only when it
can diagnose all kind of disease and provide necessary information. A text-to-text diagnosis
bot engages patients in conversation about their medical issues and provides a personalized
diagnosis based on their symptoms. Hence, people will have an idea about their health and
have the right protection.
chatbot and analysis of result suggested were collected and then those questions
that this software can be used for teaching were divided into categories depending on
and as a virtual doctor for awareness and the type of question. According to the
primary care. number of questions in each category the
resultant categories were ranked.
DivyaMadhu[3] proposed an idea in Questions were based on quries, where
which the AI can predict the diseases 47% are of posed questions. Other
based on the symptoms and give the list of categories has less than 7%. The system
available treatments If a person’s body is has not been specially designed for the
analyzed periodically, it is possible to task of supporting natural dialog in
predict any possible problem even before chatbots or, providing responses to student
they start to cause any damage to the body. queries
Some Challenges are research and
implementation costs, and government PROPOSED SYSTEM
regulations for the successful In the proposed system the user dialogue is
implementation of personalized medicine, a linear design that proceeds from
they are not mentioned in the paper. symptom extraction, to symptom mapping,
where it identifies the corresponding
HameedullahKazi[4], describes the symptom, then diagnosis the patient
development of a chatbot for medical whether it’s a major or minor disease and
students, that is based on the open source if it’s a major one an appropriate doctor
AIML based Chatterbean. The AIML will be referred to the patient, the doctor
based chatbot is customized to convert details will be extracted from the database,
natural language queries into relevant SQL the user will be identified by the login
queries. A total of 97 question samples details which is stored in the database.
In fig1, Chatbot’s dialogue design is off by asking about the user’s email and
represented using finite state graph. In password for login and then enters a loop
order to achieve an accurate diagnosis, the of symptom extraction states until it
logic for state transitions are made, natural acquires sufficient information for a
language generation templates were used, diagnosis. Users have the option of
and system initiative to the user and get entering the loop again to talk to the doctor
responses from the user. Besides its about another set of symptoms after
greetings and goodbye states, our agent receiving their first diagnosis and the
has three main conversational phases: another option is that the user can view
acquisition of basic information, symptom their history of chats about what they have
extraction, and diagnosis. Our bot starts discussed.
3 Page 1-7 © MAT Journals 2018. All Rights Reserved
Journal of Web Development and Web Designing
Volume 3 Issue 1
The above Figure proceeds with the users cough, fever, and nausea”), the system will
login where the users’ details will be easily identify it. But however, the system
stored in the database. Then the user can should also be able to handle input like,
start their conversation with the chatbot “When I read, I’m okay at first, but over
and it will be stored in the database for time, my eyes seem to get tired, and I start
future reference. The chatbot will clarify to see double.” In this case, the system
the users symptoms with serious of should extract substrings like “eyes tired”
questions and the symptom conformation and “see double” (and not substrings like
will be done. The disease will be “read” or “okay”).
categorized as minor and major disease.
Chatbot will reply whether it’s a major or MAPPING EXTRACTED
minor disease. If it’s a major one user will SYMPTOMS WITH TRAINED
be suggested with the doctor details for DATASETS
further treatment. Given some extracted substring from the
user’s input, we generate a list of
USER VALIDATION AND suggested closest symptoms .We then ask
EXTRACTION OF SYMPTOMS the user to confirm if they have any of the
The validation of the user login details suggested symptoms. Based on their reply
occurs here. Then Symptoms are extracted few diseases are being shortlisted. Then
using String Searching Algorithm where further symptom clarification and
substring representing the symptoms is symptom suggestions are being done by
identified in the natural language text asking the users a series of questions and
input. When users give directly the the mapping of the symptoms to the exact
symptom name such as(e.g. “I have a disease is done.
SPECIFYING THE DISEASE AND to the end user by sending the doctor
REFERRING A DOCTOR details .And if it is a minor issue the
This process carries the list of diseases in chatbot specifies the disease and alerts the
the database and each symptom being end user with a first aid or remedy and
entered is compared to the symptoms of asks to visit a doctor shortly.
the common diseases. Next symptom is
checked until a matching one is found. The RESULT AND DISCUSSIONS:
diseases are shortlisted based on the end The project result is as follows
users input on the question evaluation. The The user will have text to text
accurate disease is identified and specified communication with the chatbot and get
to the end user by the chatbot. The chatbot the specific disease and the user can also
checks whether the identified disease is a get their previous chat history through
major issue or minor issue based on the their details which are stored in the
conditions built in the chatbot. If it is a database.
major issue the chatbot refers a specialist
The above figure shows how the user text Health Interventions: Systematic
with the chatbot and the accurate result Review”, Journal of Medical Internet
will be shown to the user at the end of Research ,volume: 19 , issue 8 , August
symptom clarification. Then the user can 2017.
view their previous chat to know what they 2. Saurav Kumar Mishra,
have discussed earlier. DhirendraBharti, Nidhi Mishra,”
Dr.Vdoc: A Medical Chatbot that
CONCLUSION AND FUTURE SCOPE Acts as aVirtual Doctor”, Journal of
From the review of various journals, it is Medical Science and Technology
concluded that, the usage of Chatbot is ,Volume: 6, Issue 3,2017.
user friendly and can be used by any 3. DivyaMadhu,Neeraj Jain C. J,
person who knows how to type in their ElmySebastain, ShinoyShaji,
own language in mobile app or desktop AnandhuAjayakumar,” A Novel
version. A medical chatbot provides Approach for Medical Assistance
personalized diagnoses based on Using Trained
symptoms. In the future, the bot’s Chatbot”,International Conference on
symptom recognition and diagnosis Inventive Communication and
performance could be greatly improved by Computational Technologies(ICICCT
adding support for more medical features, 2017).
such as location, duration, and intensity of 4. HameedullahKazi,B.S.
symptoms, and more detailed symptom Chowdhry,ZeeshaMemon,
description. The implementation of ”MedChatBot: An UMLS based
Personalized Medical assistant heavily Chatbot for Medical Students”,
relies on AI algorithms as well as the International Journal of Computer
training data. At last, the implementation Applications (0975 – 8887)Volume 55–
of personalized medicine would No.17, October 2016.
successfully save many lives and create a 5. DoinaDrăgulescu,AdrianaAlbu,”Medi
medical awareness among the people. As cal Predictions System”,
said before, the future era is the era of International Journal of Engineering
messaging app because people going to Research and Applications , ISSN:
spend more time in messaging app than 2248-9622 ,Vol. 2, Issue 3 , pp.1988-
any other apps. Thus medical chatbot has 1996, May-Jun 2015.
wide and vast future scope. No matter how 6. Abbas SaliimiLokman,
far people are, they can have this medical JasniMohamadZain,FakultiSistemKom
conversation. The only requirement they puter, KejuruteraanPerisian,”
need is a simple desktop or smartphone Designing a Chatbot for Diabetic
with internet connection. The efficient of Patients”,ACM Transactions on
the chatbot can be improved by adding Management Information Systems
more combination of words and increasing (TMIS), Volume 4, Issue 2, August
the use of database so that of the medical 2015 .
chabot could handle all type of diseases. 7. PavlidouMeropi,Antonis S.
Even voice conversation can be added in Billis,Nicolas D.
the system to make it more easy to use. Hasanagas,CharalambosBratsas,Ioanni
sAntoniou,Panagiotis D.
REFERENCES Bamidis,”Conditional Entropy Based
1. SimonHoermann, Kathryn L McCabe, Retrieval Model in Patient-Carer
David N Milne, Rafael A Calvo1,“ Conversational Cases”,2017 IEEE
Application of Synchronous Text- 30th International conference on
Based Dialogue Systems in Mental Computer-Based Medical System.