NUK - logo
E-resources
Peer reviewed Open access
  • Microservice chatbot archit...
    Roca, Surya; Sancho, Jorge; García, José; Alesanco, Álvaro

    Journal of biomedical informatics, February 2020, 2020-Feb, 2020-02-00, 20200201, Volume: 102
    Journal Article

    Display omitted •We propose an interactive chatbot for chronic patients support based on three pillars.•Multiple actors are supported to build an effective care environment.•The chatbot design ensures data privacy and security being compliant with GDPR.•The chatbot offers scalability and modularity using microservices. 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.