Microservice chatbot architecture for chronic patient support

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 modelling 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.

[1]  Nelia Lasierra,et al.  A three stage ontology-driven solution to provide personalized care to chronic patients at home , 2013, J. Biomed. Informatics.

[2]  Tomasz Kocejko,et al.  The data exchange between smart glasses and healthcare information systems using the HL7 FHIR standard , 2016, 2016 9th International Conference on Human System Interactions (HSI).

[3]  Abdullah Al Mamun,et al.  Programming challenges of chatbot: Current and future prospective , 2017, 2017 IEEE Region 10 Humanitarian Technology Conference (R10-HTC).

[4]  T. Fahey,et al.  Managing patients with multimorbidity in primary care , 2015, BMJ : British Medical Journal.

[5]  Yan Fossat,et al.  Physicians’ Perceptions of Chatbots in Health Care: Cross-Sectional Web-Based Survey , 2018, Journal of medical Internet research.

[6]  Danilo De Donno,et al.  An IoT-Aware Architecture for Smart Healthcare Systems , 2015, IEEE Internet of Things Journal.

[7]  Silvia Gabrielli,et al.  Addressing challenges in promoting healthy lifestyles: the al-chatbot approach , 2017, PervasiveHealth.

[8]  Mor Peleg,et al.  Solving the interoperability challenge of a distributed complex patient guidance system: a data integrator based on HL7's Virtual Medical Record standard , 2015, J. Am. Medical Informatics Assoc..

[9]  Jean-Emmanuel Bibault,et al.  When Chatbots Meet Patients: One-Year Prospective Study of Conversations Between Patients With Breast Cancer and a Chatbot , 2019, JMIR cancer.

[10]  Chin-Yu Huang,et al.  A Chatbot-supported Smart Wireless Interactive Healthcare System for Weight Control and Health Promotion , 2018, 2018 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM).

[11]  Oscar Díaz,et al.  Using Health Chatbots for Behavior Change: A Mapping Study , 2019, Journal of Medical Systems.

[12]  Sunil Kumar,et al.  Microservices model in WoO based IoT platform for depressive disorder assistance , 2017, 2017 International Conference on Information and Communication Technology Convergence (ICTC).

[13]  Perry Cheng,et al.  Building a Chatbot with Serverless Computing , 2016, MOTA@Middleware.

[14]  Kerstin Denecke,et al.  Using eMMA to Manage Medication , 2018, Computer.

[15]  Giovanni Pilato,et al.  A Modular Framework for Versatile Conversational Agent Building , 2011, 2011 International Conference on Complex, Intelligent, and Software Intensive Systems.