Keywords

1 Introduction

The world is facing one of the most important global challenges since the Second World War: the disease COVID-19 provoked by the coronavirus SARS-CoV-2. The pandemic derived from it has generated a crisis in all aspects of people’s lives [1] and was declared a public health emergency by the World Health Organization (WHO) [2], an unprecedented multimodal crisis (health, labor, economic, and social) that has a particular impact on developing countries. Among the preventive measures to avoid contracting the virus are social distancing and confinement, which have negative consequences because they produce a great impact on society and personal interactions [3].

The effects of the pandemic have been well documented. For instance, in [4] an increase in negative emotions (anxiety, depression, and anger) and a decrease in positive emotions (happiness and satisfaction) derived from the pandemic are mentioned. This generated erratic behavior among people, which is a common phenomenon. In addition to the negative impact on personal interactions, the quarantine also increased the possibility of psychological and mental problems. In the absence of interpersonal communication, depressive and anxiety disorders are more likely to occur or worsen [5, 6].

There are several mental health issues that have emerged during the pandemic, and they represent one of the most far-reaching consequences. In the context of the COVID-19 pandemic, people with high levels of anxiety are likely to interpret harmless bodily sensations as evidence that they are infected [7], which increases even more their anxiety, and influences their ability to make rational decisions and their behavior. This causes maladaptive behaviors, such as frequent visits to health centers to rule out the disease, excessive hand washing, social withdrawal, and anxiety about shopping [7]. A study conducted in the early phase of the pandemic on 1,210 people found that 13.8% had mild depressive symptoms, 12.2% moderate symptoms, and 4.3% severe symptoms. Higher levels of depression were seen in men, in people with no education, in people with physical complaints (similar to those reported in COVID-19) (chills, myalgia, dizziness, runny nose, and sore throat), and in people who did not trust the ability of doctors to diagnose the disease [8]. Similarly, lower levels of depression were reported in people who learned about the increase in recovered patients and in people who followed public health recommendations [8]. Another study of 52,730 people during the early phase of the pandemic found that 35% of participants experienced psychological stress, with higher levels in women [9], in people between the ages of 18 and 30, and over 60 [9]. The higher scores in the 18–30 age group could be because they use social networks as their main means of information, which can easily trigger stress. On the other hand, given that the highest mortality rate from COVID-19 occurs in older adults, it is not surprising that they are more likely to suffer from stress [9]. This pandemic is also having a psychological impact on undergraduate students. In [10], 7,143 medical students were studied during the initial phase of the pandemic and found that 0.9% of them showed severe anxiety symptoms, 2.7% moderate, and 21.3% mild. In addition, living in an urban area, having family economic stability, and living with parents were protective factors against anxiety [10]. However, having an acquaintance diagnosed with COVID-19 worsens anxiety levels [10]. The presence of symptoms due to post-traumatic stress disorder (PTSD) was described in [11], where a prevalence of 7% was found in the areas of China most affected by the pandemic, which exceeds that reported in other epidemics and suggests that the disease had a greater stressful impact on the general population.

Due to the above, it is important that educational institutions develop work environments that allow timely identification of these problems. Currently, it is a fact that hundreds of educational institutions use management systems that speed up student learning but omit diagnostic tools and real-time collaborative interactions in which students participate. Technologies such as social networks, microblogging, multimedia, etc., could improve the deficiencies that the students present [12].

Web platforms have commonly been used to automate and simplify scientific and research-related processes [13], while making possible the collaboration with other users on the internet [13], particularly exploiting the principle of “availability anywhere, at any time” using web browsers [14], providing multiple users on-demand access across multiple devices and operating systems using an internet connection [14]. These platforms also help to assist the visual interpretation and classification of data and have shown to be very effective in the construction of datasets [15]. Web platforms have successfully been used as research support tools in areas such as chemistry [13], mining [14], remote sensing [15], etc.

In this paper we describe the development of a web platform aimed at the undergraduate student community of Tecnológico Nacional de México (TecNM)/Instituto Tecnológico de Mérida (ITM) that involves physical health diagnostic tools (focused on COVID-19 screening) and mental health commonly used in psychology (questionnaires and psychological inventories), along with a module that enables microblogging, a service widely used by young people, which can also be used for diagnostic purposes through natural language processing techniques. The integral development of this platform is described using the SCRUM software development methodology.

2 Theoretical Framework

2.1 Psychological Questionnaires and Inventories

Psychological questionnaires, particularly those self-reported, are usually comprised by a set of questions formulated with the desire to obtain information from the person to whom it is applied. On the other hand, psychological inventories are a list of traits, attitudes, preferences, interests, abilities, actions, words, among other things, used to evaluate characteristics of a person; these inventories may have various focuses or specializations (e.g., depression, anxiety). Some of the most common depression inventories are listed as follows:

  • Beck Depression Inventory II. The Beck Depression Inventory (BDI) is a self-administered assessment tool created by psychiatrist Aaron Beck; it consists of 21 items or multiple-choice questions, which rate the severity of 21 symptoms of depression that have been observed, relate the answers and their score to the estimated level of depression in that range; it tends to be a questionnaire that can be completed in less than 10 min [16].

  • Center for Epidemiologic Studies Depression Scale. The Center for Epidemiologic Studies Depression Scale (CESD) is a measure published by Lenore Radloff in 1977; it consists of 20 items which are scored by the frequency of times a person has experienced symptoms associated with depression in the previous week [17].

  • Carroll Rating Scale for Depression. The Carroll Rating Scale for Depression (CRSD) is a self-assessment instrument to detect signs of depression developed in the 1970s. It consists of evaluating patients for somatic and behavioral manifestations [18].

  • Patient Health Questionnaire. The Patient Health Questionnaire (PHQ-9) is an instrument that allows the detection of mild, moderate. or severe depressive symptoms. The results of this questionnaire help detect the presence and severity of depression if it is detected. It consists of 9 items, based on diagnostic criteria for depression through questions about what the patient has experienced in the last two weeks [19].

2.2 Microblogging

Today, distributed environments are of paramount importance for information technologies. Computer applications are constantly evolving, so it is now more common to find easy-to-use, intuitive applications that allow collaboration at highly affordable costs, which could even be free [12]. In relation to education, there is still a large gap in this type of platform for students, so institutions are continually looking to somehow create better Learning Management Systems to enrich student performance; for this, they have dedicated much effort to the study of these platforms, however, they fail to reconcile important factors such as education, support, and interaction between teachers and students, or simply between the student body itself [12].

Microblogging has recently generated a lot of interest in research topics. However, previously little was known about how people used these tools in their daily lives. It is estimated that by the year 2008, only in the United States of America, 11% of the population had published something on a microblogging site, and by the following year, around August 2009, there were already more than 32 million of people on Twitter [20]. These studies revealed that these tools were useful for sharing information, keeping up to date with topics of interest, having direct communication with other people, among other purposes [20]. Currently, microblogging is a form of communication through which users describe their current status in posts with brief content that can be distributed through different media (instant messaging, cell phones, email or web platforms). People use microblogging to share their daily activities or even to search for information [21]. The latter is related to the fact that microblogging is increasingly considered as a means of communication on emergency issues due to its increasing speed and accessibility to the multiplatform, so it could be a place in which information can be collected during some critical event [22].

3 Methodology

For the development of the web platform for the analysis of physical and mental health data of students, the agile development methodology SCRUM [23] was used. Being an agile development methodology, it is based on the idea of ​​closing short development cycles; such cycles are commonly called “Iterations”, but in SCRUM they are known as “Sprints” [23]. In Fig. 1 the iterative cycle of SCRUM is shown. The Product Owner identifies and writes the User Stories, which are added to the Product Backlog. Subsequently, the Product Owner determines the priorities of the User Stories and orders the Product Backlog according to the established priorities. The SCRUM Team carries out the Sprint Planning to establish the User Histories that will be considered during the Sprint. This will make up the Sprint Backlog; the User Histories are then broken down into tasks by the development team. The Sprint can be 1, 2, 3 or 4 weeks. The SCRUM Team conducts the Daily SCRUM, which is a daily meeting of approximately 15 min. As a result of the Sprint, a potentially deliverable product is obtained that is part of a demo during the Sprint Review. The cycle ends with the Sprint Retrospective, which is a meeting that takes place at the end of each Sprint [24].

Fig. 1.
figure 1

Adapted from [24].

The Product Owner identifies and writes the User Stories, which are added to the Product Backlog. Subsequently, the Product Owner determines the priorities of the User Stories and orders the Product Backlog. The SCRUM Team carries out the Sprint Planning which will make up the Sprint Backlog; the User Histories are broken down into tasks. The SCRUM Team conducts the Daily SCRUM, and a potentially deliverable product is obtained during the Sprint Review. The cycle ends with the Sprint Retrospective, a meeting that takes place at the end of each Sprint.

3.1 Elements of SCRUM

The elements of SCRUM [24] are described as follows:

Roles.

They are each of the people or teams that are involved in the process and application of the methodology. The roles make sure that the SCRUM philosophy is carried out in the best way. The roles covered by SCRUM are:

  • Product Owner

  • Scrum Master

  • Team

Events.

They are used to minimize the need for undefined meetings and establish a cadence that allows the team to foster communication and collaboration, reducing time in extensive meetings as well as reducing restrictive and predictive processes. All events have a time box or TimeBox. Once a Sprint is started, it has a fixed duration and cannot be shortened or lengthened. The following events can end as long as the purpose of the event is achieved, but within the time box and ensuring the promotion of transparency. The SCRUM events are:

  • Sprint

  • Sprint Planning

  • Daily SCRUM

  • Sprint Review

  • Sprint Retrospective

Artifacts.

They are ways to provide transparency and opportunities for inspection and adaptation. The artifacts defined by SCRUM are specifically defined to foster transparency of information so that everyone has the same understanding of what is being accomplished through the artifacts. The SCRUM artifacts are:

  • Product Backlog

  • Sprint Backlog

  • Increment

4 Development

This section describes the development of the web platform for the analysis of physical and mental health data of students, for which the following technologies were used:

  • Python: programming language used for the BackEnd in conjunction with Django; it was also used for data analysis and visualization.

  • Vue.js: used for modular development of the FrontEnd, for students and administrative staff.

  • PostgreSQL: relational database used for information storage.

  • Django: framework for the realization of the Application Programming Interface (API) that performs the necessary services for the correct functioning of the platform.

4.1 Architecture

The platform architecture contains various internal features that work together. Figure 2 shows the technologies used for the FrontEnd of the microblogging and questionnaire platform, with the usual and classic languages ​​of web development, such as CSS, HTML, and JS, along with the Vue.js framework and the Buefy library, which together with the components for the user interfaces became responsive (suitable for any device) with a selection of colors and a pleasant and intuitive distribution for the students and the administrative staff that will use the platform. In Fig. 2, the tools in which the BackEnd is developed are also shown. These allow the FrontEnd to have the ability to interact with the database and the actions through APIs using the Django framework for the development of models, logic, and CRUDs (Create, Read, Update, and Delete). Finally, the database used in the project is shown, PostgreSQL. This database provided facilities for interaction and adaptation with the Django framework.

Fig. 2.
figure 2

Architecture that illustrates the services and technologies contained in the platform. On the left side you can see the technologies that were used for the FrontEnd of microblogging and the questionnaires. In the central part, the different Backend APIs to which the platform is linked, as well as the technologies used for development, are represented. These APIs are the ones that connect to the database (represented on the right).

4.2 Sprint Planning

In the Sprint Planning, the tasks to be developed were listed, as well as the start date, the end date, and the progress reviews of the development of the platform. Table 1 shows the Sprint Planning in detail.

Table 1. Sprint Planning that describes the tasks to be carried out, as well as the progress reviews, start date and end date.

4.3 Requirement Engineering

In this stage, the information obtained through interviews and meetings with the Product Owner, as well as with the administrative staff, was analyzed. Specifically, the data obtained was related to the expected functionality of the system and the restrictions of the development. The result of such an analysis is presented in a list of system requirements presented below.

Functional Requirements.

They are those actions that the system was expected to be able to do. Below are some of the functional requirements that were identified for the development of the platform:

  • FR01: Students and administrators must be able to log in to the platform.

  • FR02: Students must be able to answer the questionnaire.

  • FR03: The platform must generate a dynamic acknowledgment (it must change as the student’s responses fall within a predetermined range).

  • FR04: The student must be able to download the acknowledgment from the platform.

  • FR05: The platform must send the acknowledgment by email to the student.

  • FR06: The platform must generate a history of the times the student has answered the questionnaire.

  • FR07: The administrator must be able to download a CSV file with the answers of the students to the questionnaires.

  • FR08: The administrator must be able to manage the questionnaires (add, modify, delete and consult).

Non-functional Requirements.

They represent quality characteristics in the performance of the system to be developed. These requirements were used to detail development constraints. Below are some of the non-functional requirements that were identified:

  1. 1.

    The platform must be able to update the data simultaneously, without affecting the response time of the system.

  2. 2.

    The confidentiality of the student’s responses must be guaranteed, as well as their integrity.

  3. 3.

    The interfaces must be friendly and minimally invasive for the user so that their responses are not affected.

  4. 4.

    The platform must be available 24 h a day.

  5. 5.

    The student will only be able to answer the questionnaire once a day.

Use Case Diagram.

As part of the platform development process, it was necessary to make use case diagrams to graphically capture the functionalities that the actors could perform on the platform.

In Fig. 3 the diagram of general use cases of the platform is presented.

Fig. 3.
figure 3

Diagram of use cases that illustrates the actors of the web platform, as well as the main processes that they can carry out, particularly “Manage questionnaires”, “Answer questionnaires”, “Manage posts”, and “Consult questionnaires history”.

Use Case Descriptions.

The descriptions of the use cases were made with the purpose of textually describing the ways that the actors could work with the platform. Table 2 shows an example of the use case description for the “Answer questionnaires” process by the “Administrator” actor.

Table 2. Description of the use case to answer a questionnaire by the student.

4.4 Design

During the platform development process, the design phase was important because it allowed the system models to be produced before generating the code, and in this way, characterize the solution to be implemented.

As part of the platform design, class diagrams and activity diagrams were mainly made. Below are some examples of the diagrams that were made.

Class Diagrams.

The class diagrams were fundamental for the correct understanding of what would have to be encoded. These diagrams allowed describing the classes that made up the model of the web platform. Figure 4 shows the class diagram for the questionnaire module. As can be observed, it is made up of seven classes, each one with its respective attributes and methods (except for the community class, which is only made up of attributes). It is important to note that the diagram does not show the classes of services or utilities that were used for the development.

Fig. 4.
figure 4

Class diagram for the questionnaire module which illustrates the developed classes (along with their attributes and methods), as well as the relationships between them.

Activity Diagrams.

Activity diagrams helped visualize what was happening within the use cases at a more detailed level, showing the flow of activities through the web platform. These diagrams allowed to illustrate the flow of work from the start point to the end point, detailing many of the decision paths that exist in the progress of events contained in the activity. Figure 5(a) shows the activity diagram for the “Log in to platform” process, and Fig. 5(b) for the “Make posts” process. The diagrams show the interaction of the actor (in this case the student) with the platform to carry out some of the activities that are represented in the use cases of Fig. 3. For the “Log in to platform” process, the student enters their access credentials, the system validates them, and if they are correct, access is allowed; otherwise, they are denied access to the platform. For the “Make posts” process, the student makes the post, but before it is displayed on the platform, the content is validated to see if it is appropriate. If everything is correct with validation, the post is created; otherwise, the student is informed.

Fig. 5.
figure 5

Activity diagrams for the student (a) to log in to the platform and (b) to make a post on the platform.

5 Results

5.1 Coding

During this stage, the concepts developed in earlier stages were coded and converted into source code. We here discuss some of the modules developed for the platform. The “COVID-19 Screening Tool”, also known as the “SARS-CoV-2 Questionnaire”, aims to detect symptoms of this disease among students. It consists of 16 multiple choice questions which were determined by the medical personnel of the TecNM/ITM. As part of these user tools, the “Health and Wellness questionnaire” was also developed. This questionnaire addresses different aspects of physical and mental health in the students. The questionnaire consists of four sections with 279 total items extracted from the BDI, CESD, CRSD, PHQ-9, the Rosenberg self-esteem scale, and other commonly used psychology inventories and questionnaires. The interfaces of the COVID-19 Screening Tool and the Health and Wellness Questionnaire are shown in Fig. 6(a) and Fig. 6(b), respectively.

When a student answers a questionnaire, he must enter the corresponding panel to see which ones are active at that moment, select the one they want, answer all the questions, and send the answers. Once the answers have been saved, the system displays the questionnaire in the “My questionnaires” section, where all the questionnaires that have been answered by the student are found. Similarly, a CSV File Download Interface was also developed. This module is for the exclusive use of the system administrator. It allows to download a file in CSV format which contains the data of the students’ posts, as well as the questionnaires answers. These data are used to perform sentiment analysis based on the language used by the student. The interfaces of the history of questionnaires and for downloading a CSV file are shown in Fig. 7(a) and Fig. 7(b), respectively.

5.2 Tests

In this phase, performance tests were carried out on the system before its launch. A very common type of tests in the SCRUM methodology are black box tests. For this project they were used to verify the correct functioning of the platform. Table 3 shows an example of the black box tests that were performed.

The complete development of the web platform for the analysis of physical and mental health data of students covered four Sprints, however, in this work only the documentation related to the first Sprint is presented.

Fig. 6.
figure 6

User interfaces of the (a) COVID-19 screening tool and (b) the Health and Wellness Questionnaire.

Fig. 7.
figure 7

Interfaces of the (a) history of questionnaires answered by the students and (b) for the download of the CSV files by the administrator

Table 3. Black box test to evaluate the correct functioning to answer the Health and Well-being questionnaire by the student.

5.3 Final Modules

The modules were deployed to students of the TecNM/ITM from August 2021 to date. The information collected from the COVID-19 Screening Tool allowed the access of students to the institution during the fall semester. The Health and Wellness Questionnaire allowed us to monitor symptoms associated with mental illnesses and to timely assist and properly channel students to receive psychological assistance. Data obtained from the microblogging application as CSV files was used to feed a natural language processing sentiment analysis tool, whose description is out of the scope of this work.

6 Conclusions and Future Work

6.1 Conclusions

The COVID-19 pandemic has encouraged institutions to develop tools for the analysis of data on the physical and mental health of students. This article presented the development of a platform that serves this purpose, which was developed using the SCRUM agile development methodology. Using this methodology, a web platform for the implementation of questionnaires (COVID-19 Screening Tool and a Health and Wellness Questionnaire based on psychological inventories and questionnaires) and a microblogging module was developed.

The platform described in this work is used to timely detect symptoms associated with different mental health illnesses (depression, anxiety, etc.) and to generate a dataset of responses for subsequent textual analysis to further enhance the detection of the aforementioned illnesses. This analysis can be carried out through the sentiment analysis of the information from the CSV files [25].

On the other hand, the COVID-19 Screening Tool is used to evaluate possible symptoms among students and determine ​​their severity to avoid potential and substantial infections. This tool allowed the efficient access to the TecNM/ITM during the 2022 fall semester, serving over 500 students.

The SCRUM agile development methodology was perfectly adapted to the development team, allowing updates to be released, and measuring the development speed of the team based on the score of the user stories. Likewise, the use of technologies was very convenient for development, since they streamlined the process and the reuse of components, which is an important factor in the development of this type of system.

6.2 Future Work

The development of the web platform for the analysis of physical and mental health data of students described in this article represents a great advance for future projects, such as integrating text analytics techniques, or any other text processing technique in search for patterns or signs of depression in student responses. Future work is planned in terms of upgrading the platform to track peripherals (e.g., mouse, keyboard) to recognize patterns possibly associated with mental illnesses. As well, the platform is expected to allow the recording of audio files of the speech of the students to further analyze the linguistic and the acoustic characteristics of such information.