Cargando…

Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review

BACKGROUND: Chatbots are applications that can conduct natural language conversations with users. In the medical field, chatbots have been developed and used to serve different purposes. They provide patients with timely information that can be critical in some scenarios, such as access to mental he...

Descripción completa

Detalles Bibliográficos
Autores principales: Safi, Zeineb, Abd-Alrazaq, Alaa, Khalifa, Mohamed, Househ, Mowafa
Formato: Online Artículo Texto
Lenguaje:English
Publicado: JMIR Publications 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7775817/
https://www.ncbi.nlm.nih.gov/pubmed/33337337
http://dx.doi.org/10.2196/19127
_version_ 1783630551418142720
author Safi, Zeineb
Abd-Alrazaq, Alaa
Khalifa, Mohamed
Househ, Mowafa
author_facet Safi, Zeineb
Abd-Alrazaq, Alaa
Khalifa, Mohamed
Househ, Mowafa
author_sort Safi, Zeineb
collection PubMed
description BACKGROUND: Chatbots are applications that can conduct natural language conversations with users. In the medical field, chatbots have been developed and used to serve different purposes. They provide patients with timely information that can be critical in some scenarios, such as access to mental health resources. Since the development of the first chatbot, ELIZA, in the late 1960s, much effort has followed to produce chatbots for various health purposes developed in different ways. OBJECTIVE: This study aimed to explore the technical aspects and development methodologies associated with chatbots used in the medical field to explain the best methods of development and support chatbot development researchers on their future work. METHODS: We searched for relevant articles in 8 literature databases (IEEE, ACM, Springer, ScienceDirect, Embase, MEDLINE, PsycINFO, and Google Scholar). We also performed forward and backward reference checking of the selected articles. Study selection was performed by one reviewer, and 50% of the selected studies were randomly checked by a second reviewer. A narrative approach was used for result synthesis. Chatbots were classified based on the different technical aspects of their development. The main chatbot components were identified in addition to the different techniques for implementing each module. RESULTS: The original search returned 2481 publications, of which we identified 45 studies that matched our inclusion and exclusion criteria. The most common language of communication between users and chatbots was English (n=23). We identified 4 main modules: text understanding module, dialog management module, database layer, and text generation module. The most common technique for developing text understanding and dialogue management is the pattern matching method (n=18 and n=25, respectively). The most common text generation is fixed output (n=36). Very few studies relied on generating original output. Most studies kept a medical knowledge base to be used by the chatbot for different purposes throughout the conversations. A few studies kept conversation scripts and collected user data and previous conversations. CONCLUSIONS: Many chatbots have been developed for medical use, at an increasing rate. There is a recent, apparent shift in adopting machine learning–based approaches for developing chatbot systems. Further research can be conducted to link clinical outcomes to different chatbot development techniques and technical characteristics.
format Online
Article
Text
id pubmed-7775817
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher JMIR Publications
record_format MEDLINE/PubMed
spelling pubmed-77758172021-01-07 Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review Safi, Zeineb Abd-Alrazaq, Alaa Khalifa, Mohamed Househ, Mowafa J Med Internet Res Review BACKGROUND: Chatbots are applications that can conduct natural language conversations with users. In the medical field, chatbots have been developed and used to serve different purposes. They provide patients with timely information that can be critical in some scenarios, such as access to mental health resources. Since the development of the first chatbot, ELIZA, in the late 1960s, much effort has followed to produce chatbots for various health purposes developed in different ways. OBJECTIVE: This study aimed to explore the technical aspects and development methodologies associated with chatbots used in the medical field to explain the best methods of development and support chatbot development researchers on their future work. METHODS: We searched for relevant articles in 8 literature databases (IEEE, ACM, Springer, ScienceDirect, Embase, MEDLINE, PsycINFO, and Google Scholar). We also performed forward and backward reference checking of the selected articles. Study selection was performed by one reviewer, and 50% of the selected studies were randomly checked by a second reviewer. A narrative approach was used for result synthesis. Chatbots were classified based on the different technical aspects of their development. The main chatbot components were identified in addition to the different techniques for implementing each module. RESULTS: The original search returned 2481 publications, of which we identified 45 studies that matched our inclusion and exclusion criteria. The most common language of communication between users and chatbots was English (n=23). We identified 4 main modules: text understanding module, dialog management module, database layer, and text generation module. The most common technique for developing text understanding and dialogue management is the pattern matching method (n=18 and n=25, respectively). The most common text generation is fixed output (n=36). Very few studies relied on generating original output. Most studies kept a medical knowledge base to be used by the chatbot for different purposes throughout the conversations. A few studies kept conversation scripts and collected user data and previous conversations. CONCLUSIONS: Many chatbots have been developed for medical use, at an increasing rate. There is a recent, apparent shift in adopting machine learning–based approaches for developing chatbot systems. Further research can be conducted to link clinical outcomes to different chatbot development techniques and technical characteristics. JMIR Publications 2020-12-18 /pmc/articles/PMC7775817/ /pubmed/33337337 http://dx.doi.org/10.2196/19127 Text en ©Zeineb Safi, Alaa Abd-Alrazaq, Mohamed Khalifa, Mowafa Househ. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 18.12.2020. https://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on http://www.jmir.org/, as well as this copyright and license information must be included.
spellingShingle Review
Safi, Zeineb
Abd-Alrazaq, Alaa
Khalifa, Mohamed
Househ, Mowafa
Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title_full Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title_fullStr Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title_full_unstemmed Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title_short Technical Aspects of Developing Chatbots for Medical Applications: Scoping Review
title_sort technical aspects of developing chatbots for medical applications: scoping review
topic Review
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7775817/
https://www.ncbi.nlm.nih.gov/pubmed/33337337
http://dx.doi.org/10.2196/19127
work_keys_str_mv AT safizeineb technicalaspectsofdevelopingchatbotsformedicalapplicationsscopingreview
AT abdalrazaqalaa technicalaspectsofdevelopingchatbotsformedicalapplicationsscopingreview
AT khalifamohamed technicalaspectsofdevelopingchatbotsformedicalapplicationsscopingreview
AT househmowafa technicalaspectsofdevelopingchatbotsformedicalapplicationsscopingreview