Keywords

1 Introduction

People with asthma suffer from an airway inflammation causing expiratory airflow limitation and respiratory symptoms such as wheeze, shortness of breath, chest tightness and cough that vary over time and intensity [5]. There is no cure for asthma but it can be treated based on a self-management approach [4, 31, 32]. Context-awareness (C-AR) can support the personalisation of asthma management plans, which is required to address the high heterogeneity level of asthma that makes people to have different triggers and symptoms [29, 30].

Context can be defined as “the information which is directly relevant to characterise a situation of interest to the stakeholders of a system". C-AR is then defined as “the ability of a system to use contextual information in order to tailor its services so that they are more useful to the stakeholders because they directly relate to their preferences and needs". Unlike Dey’s definitions of context and C-AR [2, 16] that go from the system to the user, these are more linked to a person-centric approach that goes from the user to the system.

Case-based reasoning (CBR) is a branch of artificial intelligence [1] that has already been applied in health sciences showing promising results [10, 12]. CBR replicates “the use of old experiences to understand and solve new problems" [23]. It has been shown that CBR can be used together with C-AR to solve problems involving multidimensional context-related data [22]. Moreover, CBR is able to support the personalisation of local/personal restrictions by adapting medical knowledge and reasoning strategies based on contextual information [24].

Asthma can benefit from the synergy between CBR and C-AR because its heterogeneity requires patients to adapt their lifestyle to the constraints defining their asthma. They need to discover the triggers provoking their exacerbations and the symptoms shown when it occurs. They also need to adapt their management plans because the characteristics of their condition may change over time, or they may be exposed to environments with triggers they have not experienced before. Nevertheless, there are challenges to tackle before being able to exploit the synergy between CBR and C-AR for personalised asthma management.

This research work addresses an issue of using CBR/C-AR for asthma, which is how to determine the asthma health status of a person. This is important because the health status is highly relevant to define the context of a person with asthma and to complete the CBR cycle aiding their asthma management process. As there are no devices able to monitor the health status of a person constantly [30], a Human-in-The-Loop (HiTL) approach shall be used to create a solution able to determine and store the asthma health status of a person.

The main contribution of the research is a solution allowing people to determine their asthma health status through a system implementing the Asthma Control Questionnaire (ACQ) [18,19,20,21]. It is a mobile application using the ACQ to complete and store context-related data in form of cases to be used by the CBR component of the system. The design of the mobile application as a system showing explicit information [28] is described and then evaluated from a usability perspective.

The paper is divided as follows. Section 2 presents the state-of-the-art on the subject, Sect. 3 describes the methodology used in the research, Sect. 4 explains the benefits of using CBR and C-AR together for asthma management, and the challenge of determining the health status of a person. Then, the system to determine the health status and its validation are described in Sect. 5. The discussion of the outcomes and conclusions are presented in Sects. 6 and 7.

2 State-of-the-Art

C-AR is important for pervasive/ubiquitous computing [7, 27] as it aids to personalising services based on contextual and situational information [3, 9]. C-AR as part of Intelligent Environments has been applied to Transportation, Education, Production places, Smart offices, Intelligent supermarkets, Energy conservation, Entertainment, and Health [7]. In the health area, C-AR can aid people suffering from chronic conditions requiring lifestyle management [17]. C-AR solutions have been developed to support people suffering from high blood pressure [33], diabetes [14], cardiovascular conditions [15], among others.

A survey on C-AR for asthma condition management shows a lack of solutions allowing the personalisation of management plans [30]. This is important to highlight because personalisation is the key to implement effective asthma management plans given the high heterogeneity of the condition [31, 32]. An approach to develop C-AR solutions allowing personalised asthma management is proposed as an attempt to close this gap [29]. It proposes to use three types of indicators in order to facilitate the description of patients’ contexts and provide a more comprehensive support for complex decision-making processes like CBR.

CBR solves a new problem by reusing knowledge from previously solved problems that are similar to the new one [1]. This problem-solving paradigm can handle issues related to health sciences better than other techniques [11, 12] and has already been used in several tasks including treatment planning, knowledge acquisition/management, among others [10]. CBR can be used together with C-AR in order to solve problems that are not completely understood, like adapting to evolving context adaptation [22] and personal constraints [24]. An example of the benefits from using CBR and C-AR together is shown in [26].

Monitoring the asthma health status of a person is an issue to tackle for allowing the application of CBR/C-AR in asthma management. This is challenging as there are no devices that can monitor the asthma health status of a person constantly [30]. Addressing this issue is important because it is needed to associate the context the person is exposed to their health status. Otherwise, it will not be possible to know whether a situation is dangerous or not, nor to determine what situations led to a health deterioration in the past for using them in the prediction of current and future risky situations.

This research work proposes to use a HiTL approach for implementing a C-AR system that determines the asthma health status of a person, relates it with the context the person is exposed, and creates/stores cases that can be used to apply CBR in asthma management. The system is a mHealth application whose HCI components gathering the asthma health status of a person is built based on the ACQ [18]. The HiTL approach takes human interaction into consideration, and makes humans a key part of the system [25].

3 Methodology

The research is led by the User-Centric Intelligent Environment Development Process, whose aim is to ensure the acceptance of technology by involving stakeholders in all the stages. It has been used to develop technology helping people with special needs [6, 8]. Figure 1 summarises the methodology process.

Fig. 1.
figure 1

Methodology

The 1. Literature review showed a lack of C-AR solutions supporting personalised asthma management. Then, 2. Interviews were held for having a better understanding about the necessities of people affected by asthma. From the outcomes of steps 1 and 2, an initial approach to develop C-AR solutions supporting personalised asthma management was proposed [29], and a questionnaire for defining more specific C-AR features of solutions supporting asthma management was developed. A partnership with Asthma UK [5] was formed, and they helped to spread the questionnaire among their representative sample of volunteers including patients and carers, gathering 42 responses.

A prototype was then developed considering the approach proposed in step 3 and the results of step 4. It includes an Asthma Control Assessment Component that aids to determining the asthma health status of a person. This component was evaluated by 5 people with asthma and 4 carers of people with asthma that interacted with the prototype. They were asked to answer a questionnaire based on the Health IT Usability Evaluation Model (Health-ITUEM) [13].

This research work mainly reports on steps 5 and 6 of the methodology described above. However, it also shows the results of the HCI-related questions that were included in the questionnaire spread in step 4 (Sect. 3.1).

3.1 Results of the Questionnaire Spread by Asthma UK

This section shows the results of the HCI-related questions that were included in the questionnaire spread by Asthma UK. Figures 2 and 3 show the assessment done by the respondents to some C-AR features of solutions supporting asthma management. Most of them assessed the features with 4 and 5: providing instructions in case of emergency (71.4%), showing a map highlighting near emergency centres (71.4%), reminding users about their medication intake (64.3%), and notifying patients’ next of kin in case of emergency (69.0%). They were also asked to suggest other features, pointing out the following keywords covering their suggestions: asthma plan management (6 related-responses), medication management (5), notifying others when there is an emergency (2), nutrition management (1), and notifying when there is good weather (1).

Fig. 2.
figure 2

Assessment of features of C-AR solutions (a)

Fig. 3.
figure 3

Assessment of features of C-AR solutions (b)

Fig. 4.
figure 4

How to contact in case of emergency?

Figure 4 summarises the stakeholders the respondents would like to contact in case of emergency, and how they would like to contact them. The axis No in Fig. 4 shows how many respondents do not want to contact each of the stakeholders listed. It suggests that the person to contact should be personalised depending on the scenario of the person with asthma. This statement is supported by respondents recommending different stakeholders to be notified when they were asked to suggest stakeholders that were not part of the response options. Among others, they suggested to notify the emergency department, general practitioners, doctors, work colleagues, and siblings, depending on their circumstances.

Figure 4 shows the preferred ways to contact the stakeholders in case of emergency. Showing a notification (alert) on the stakeholder’s smartphone (47) is more preferred way to contact over using SMS (40), other messaging service (32) - like WhatsApp, Facebook Messenger, or Telegram, or other ways to contact them (8). The respondents could choose choosing more than one way of contacting each stakeholder. This means that a respondent could have chosen to contact their parents using a notification, SMS and Other MS all together.

Respondents were also asked about the information that should be send in case of emergency. 88.0% of them consider that the details of the emergency and the location of the person having the emergency are important information to send to the stakeholders when an emergency situation occurs. 66.67% of them consider that contact details is another important information to send. Finally, one person recommended to send Information about allergies.

4 CBR for Personalised Asthma Management

Figure 5 describes the CBR cycle for personalised asthma management, which has been adapted from the CBR cycle proposed by Aamodt and Plaza [1]. A New problem is a new case (\(C_x\)) to be analysed, which includes the context to which the person with asthma is or has been exposed. This context is made of the patient’s, indoor and outdoor environmental indicators [29]. \(C_x\) goes then to the retrieval stage, which is the first stage of CBR whose aim is finding the most similar case to \(C_x\) (\(C_s\)) that is stored in the database of previous cases.

\(C_s\) is the basis of the reuse stage that attempts predicting the possible outcome of \(C_x\), considering the real outcome of \(C_s\). The predicted and real outcome of a case is the predicted and real health status of the person with asthma when they are exposed to the context represented by that case. The health status is normal when the context does not affect them, and deterioration when the context negatively affects them. The predicted health status is defined in the reuse stage of the CBR, and the real health status is defined later in the revise stage by assessing the health status of the person with asthma.

The final stage is the retain stage in which the completely defined \(C_x\) - that is represented by - is stored in the database of previous cases to be used in the future to assess other cases. Hence, CBR predicts the health status of a person that is exposed to a specific context by using the real health status the person experienced when they were exposed to a similar context in the past. Then, CBR confirms the real health status of the person for knowing the accuracy of its prediction and storing the new case to be used in future predictions.

Fig. 5.
figure 5

CBR cycle adapted for personalised asthma management

4.1 The Challenge of Determining the Real Asthma Health Status

One of the issues of applying CBR for asthma management is defining the real health status of a person when is exposed to a specific context. It specially challenging as there are no commercial devices that can monitor the asthma health status of a person constantly [30]. This process is highly relevant because the real health status is needed to complete the case to store (retain stage), and to be used to predict the outcomes of future cases (reuse stage). Hence, if the revision is not completed, the accuracy of the prediction cannot be determined, and it will not be possible to use the knowledge of that case for future predictions.

This research work addresses the challenge of determining the asthma health status of a person by proposing a system that is based on the diary version of the ACQ [18,19,20,21]. The ACQ is made of questions that are answered using a scale of 7 (from 0 to 6). The average of the responses is used to assess if the asthma of the person is ‘well-controlled’ or ‘not well-controlled’ [19]. Four versions of the ACQ have been proposed and evaluated, concluding that the measurement properties of all four are almost identical [21]. The system implements the four versions: (1) assessing patient’s symptoms, Peak Expiratory Flow (PEF) and rescue bronchodilator usage, (2) assessing patient’s symptoms and rescue bronchodilator usage, (3) assessing patient’s symptoms and PEF, and (4) assessing only patient’s symptoms. Initially, the ACQ encourages to use the Forced Expiratory Volume in one second (FEV\(_1\)), however it is suggested to use the PEF for the diary version as it is more accessible for people [19].

The proposal is a HiTL system presenting explicit information about the new or updated context to the user, who then defines their health status and makes a decision considering this context [28]. Thus, the system will ask the user to assess their health status when they wake up, before going to sleep and whenever the user feels like in order to create new cases for the databases of previous cases, and when the CBR detects a potentially threatening context in order to revise this prediction. The system allows the application of CBR for personalised asthma management through a GUI permitting to determine the real health status of a person. This is important because it is the needed when the CBR uses the real health status of \(C_s\) to predict the health status of \(C_x\) (reuse), confirms the real health status of \(C_x\) (revise), and stores (retain).

5 A HiTL System Allowing the Application of CBR for Asthma Management

The system is an Android mobile application developed using Android Studio and SQLite database engine. The first version was developed as an illustration of how to use an approach allowing the personalisation of C-AR applications supporting asthma management [29]. It allows users to configure the indicators to track and the features they need according to the specific characteristics of their asthma management plans. This research work adds a feature to this system, which is based on the explanation provided in Sect. 4.

5.1 System Architecture

The system architecture is shown in Fig. 6. The Personalisation module allows users to personalise the indicators to monitor, and some features like who to notify and how to notify them in emergencies. The Report Generator shows reports considering the personalisation done by the user [29]. The behaviour of the system for when it analyses context-related data is shown in Fig. 7, where the interaction between the Case-Based Reasoner (CB) and the Context-Aware Reasoner (CA) is illustrated. This behaviour occurs when the user configures the system for analysing context using the CB to discover potentially risky situations they are not aware of. If they do not activate this option, then the system will use the CA only, and not the CB, to analyse the context to which they are exposed.

Fig. 6.
figure 6

System architecture with C-AR and CBR components

Fig. 7.
figure 7

Sequence diagram: push and pull approaches

The push approach in Fig. 7 shows how the system behaves when it analyses data in the background and discovers that the user is exposed to a potentially risky context. For this, the Data Collectors send data to the Data Handler (1.1), which interacts with the Database. The Data Handler stores this data and activates (1.2) the CA for it to assess the data that has been gathered. The CA gets the require data for the analysis (1.3, 1.4), and activates the CB (1.5) that assesses the new case (1.6) and sends the results back to the CA (1.7). The CA also analyses the context-related data considering the rules set up by the user (1.8), and activates the Notification Engine (1.9) that sends a notification to the user through the GUI (1.10, 1.11) asking them to assess their real health status in order to confirm whether there is a deterioration or not (1.12). The CA gets this response (1.13), stores it in the Database (1.14, 1.15), and activates the Notification Engine (1.16) that ask the GUI to show the user the outcome of their health assessment (1.17, 1.18). After this, the user can choose what to do. For instance, they may decide just to take their medication, or to use the system to deploy the emergency notification protocol that is explained in [29].

The pull approach in Fig. 7 shows the behaviour of the system when the user chooses to assess their asthma health status. In this case, the user assesses their health status through the GUI of the system (2.1). This information is sent to the CA (2.2) that analyses the data entered by the user to define their health status (2.3). Then, the CA performs two different actions. The first one is sending the real health status to the Data Handler (2.4) that will create a case by gathering the context-related data of the case from the Data Collectors (2.4.1, 2.4.2), getting the predicted outcome for that case (2.4.3, 2.4.4), and storing it in the collection of previous cases (2.4.5). The second one is showing the result of the health assessment to the user through the GUI (2.5, 2.6).

5.2 The Asthma Control Assessment Component of the GUI

This section describes the Asthma Control Assessment Component, which is the part of the system GUI allowing to determining the health status of a person with asthma. This component is based on the ACQ explained in Sect. 4.1, and is used in the activities 1.11, 1.12 and 2.1 presented in Fig. 7. The main screens of Asthma Control Assessment Component are shown in Fig. 8, 9, 10 and 11.

Figure 8 shows the notification that appears (push approach) (1) when the user wakes up, (2) before they go to sleep, and (3) when the system detects a potentially threatening context. When the user taps on the notification, the system takes them to the screen shown in Fig. 9 where they can assess their asthma health status. Here, the user enters the value for their PEF test, the number of rescue bronchodilator puffs they have used in the past 24 hours, and the answer for the other questions of the ACQ. The PEF and number of rescue bronchodilator puffs values can be left in blank because not all of them have access to the PEF meter at all times, and they might not remember the number of rescue puffs. This flexibility lets users to choose implicitly among the four versions of the ACQ explained in Sect. 4.1.

The system also allows users to assess their asthma health status whenever they want (pull approach). For this, they have to open the mobile application, and the main screen will be shown (Fig. 10). Here, the “Control test" option leads them to the screen shown in Fig. 11 where they can check the history of their control test, and edit them by tapping on any of them. The option “New Control Test" (Fig. 11) takes users to the screen shown in Fig. 9, where they can assess their asthma health status. After the assessment, a confirmation message is displayed before redirecting users to the screen shown in Fig. 11.

Fig. 8.
figure 8

Notification

Fig. 9.
figure 9

New control test

Fig. 10.
figure 10

Main screen

Fig. 11.
figure 11

Screen showing historical data

5.3 Asthma Control Assessment Component Usability Evaluation

This section reports on the usability evaluation of the Asthma Control Assessment Component described in Sect. 5.2. The evaluation was based on the Health-ITUEM, which assesses nine usability-related concepts in order to evaluate the usability of health information technology [13]. The Health-ITUEM have been used to evaluate mobile health technology [13, 30].

Table 1. Scenario mapping the Health-ITUEM concepts for the evaluation
Fig. 12.
figure 12

Average of the responses for the closed questions

The evaluation included four people with asthma and five people that take care of people with asthma. They were asked to use the Asthma Control Assessment Component of the system, and to interact with it by simulating the pull and push behaviours (Sect. 5.2). Then, they were asked to answer a questionnaire made of nine closed and two open questions. One closed question asked about how useful the respondents perceive the idea of using previous risky situations for predicting future risky scenarios. Two closed questions assessed the overall GUI design and user-friendliness. The other six closed questions assessed six Health-ITUEM concepts. The open questions asked about the frequency the system should ask users to complete their asthma control assessment, and about the improvements the respondents would do to the system.

The scenario mapping the Health-ITUEM concepts for the evaluation of the Asthma Control Assessment Component (Table 1) was used to write the Health-ITUEM-related questions. The questionnaire did not include two Health-ITUEM concepts because the Asthma Control Assessment Component of the system was considered simple enough to avoid assessing its Flexibility and Error prevention. A Likert scale going from 0 (very low) to 4 (very high) was used for the closed questions. Figure 12 shows the average of the responses for these questions.

The analysis of the open questions shows that personalisation is highly important to define the frequency of showing the notification reminding to perform the Asthma Control Assessment. Six of them (66.67%) explicitly suggested that the frequency of the notifications should be defined considering the characteristics of the person with asthma. The other three suggested to show the notification two times a day, three times a day, and every 10–12 h.

The proposed improvements are mostly about enhancing the GUI. It was suggested to make the GUI more intuitive (2 respondents), and instructive about how to do the PEF test (1) and what to do if the outcome of the test is “not-well-controlled" (1). Two of them recommended using colours to differentiate the outcomes of the previous tests shown on Fig. 11. One suggestion was about providing an alternative version with simpler instructions for children (1). One respondent proposed to allow users to input data about previous risky situations in order to provide the system with a baseline for future predictions. Another one recommended to integrate the system with activity monitoring devices (e.g. smart watches) for gathering more data about the person’s state.

6 Discussion

Figure 12 shows that the average of the responses for the quantitative questions are between 3 and 4, which are the two highest possible responses in the Likert scale that was used. It is also important to point out that all respondents assessed the idea of using previous risky situations for predicting future risky ones with 4 points, the highest possible response. This supports the idea of using CBR in personalised C-AR solutions supporting asthma management.

The number of positive, neutral and negative responses for the closed questions is another interesting outcome. A negative response has a value of 0 (very bad) or 1 (bad), a neutral one has a value of 2, and a positive one has a value of 3 (good) or 4 (very good). Memorability and Performance got only positive responses. Information needs, User-friendliness and Learnability got 8 positive and 1 negative responses. Competency got 8 positive and 1 neutral responses. Design of the screen and Completeness got 7 positive and 2 neutral responses.

The responses associated with the frequency of showing the notification asking users to assess their asthma control level differs in terms of absolute values. The difference among these responses could be related to their specific contexts but this should be further investigated. Nevertheless, there is evidence suggesting there is no unique frequency that can satisfy the requirements of the users. Hence, another valuable outcome is the need for allowing users to set up the frequency of these notifications according to their specific situations.

7 Conclusions

This research works describes the HCI components of a solution implementing the ACQ in order to determine the asthma health status of a person. The interaction between the HCI and the CBR components of the solution is also explained. The benefits of this interaction are presented as a way of addressing an issue of using CBR for asthma management, which is linking the asthma health status to specific context-related data for creating the cases for the CBR. The solution was evaluated by users from a usability perspective showing positive results and pointing out some key points of improvement.