Microservice chatbot architecture for chronic patient support

J Biomed Inform. 2020 Feb:102:103305. doi: 10.1016/j.jbi.2019.103305. Epub 2019 Oct 14.

Abstract

Chatbots are able to provide support to patients suffering from very different conditions. Patients with chronic diseases or comorbidities could benefit the most from chatbots which can keep track of their condition, provide specific information, encourage adherence to medication, etc. To perform these functions, chatbots need a suitable underlying software architecture. In this paper, we introduce a chatbot architecture for chronic patient support grounded on three pillars: scalability by means of microservices, standard data sharing models through HL7 FHIR and standard conversation modeling using AIML. We also propose an innovative automation mechanism to convert FHIR resources into AIML files, thus facilitating the interaction and data gathering of medical and personal information that ends up in patient health records. To align the way people interact with each other using messaging platforms with the chatbot architecture, we propose these very same channels for the chatbot-patient interaction, paying special attention to security and privacy issues. Finally, we present a monitored-data study performed in different chronic diseases, and we present a prototype implementation tailored for one specific chronic disease, psoriasis, showing how this new architecture allows the change, the addition or the improvement of different parts of the chatbot in a dynamic and flexible way, providing a substantial improvement in the development of chatbots used as virtual assistants for chronic patients.

Keywords: Artificial Intelligence Markup Language (AIML); Chronic patient support; Fast Healthcare Interoperability Resources (FHIR); Medical chatbot; Messaging platforms; Microservice architecture.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Automation
  • Chronic Disease
  • Communication*
  • Humans
  • Information Dissemination*
  • Psychosocial Support Systems*
  • Software*
  • Telemedicine / methods