# MobiDabet: Mobile Telemonitoring System for Patients with Type 2 Diabetes Mellitus (T2 DM)
## 3 Results: Telemonitoring System
### System Tests  
This section describes the tests performed on both applications that compose the system in order to verify its correct operation. The format of the tests performed was as follows (see Table 1):  
First, the modules were independently tested, and then integration tests with the patient application were carried out. Tests performed included medical users, nutritionists, and patients. **Tests of health personnel application services. **  
Table 2 shows the results of the tests performed on the web application services aimed at health personnel. In this table, the services, errors found, resolved, pending, and the iterations performed with different scenarios are listed. Figure 38: Patient application interface: Health education module. Figure 39: Patient application interface: Laboratory result module and blood chemistry test sub-module. Figure 41: Patient application interface: List of food groups and suitable actions that can be consumed. Figure 42: Patient application interface: food menus assigned by the 7. Figure 40: Patient application interface: Consultation of the assigned eating pattern. Figure 43: Patient application interface: Intake frequency questionnaire. According to the results presented in Table 2, all the identified errors (EF) were corrected and verified again in the third iteration (I) of tests. **Test of patient application services. ** \begin{table}
\begin{tabular}{c c c c c} \hline \hline
**Module** & \multicolumn{2}{c}{**Name of the**} & & & \\
**Tested Module** & **User** & **The User Role** & **Test** & **Test Identifier** \\ \hline
**Submodule** & \multicolumn{2}{c}{**Name of the Tested**} & & & \\
**Submodule/Service** & & & & \\ \hline Purpose & \multicolumn{4}{c}{Description of the service goal.} \\ \hline Requirements & \multicolumn{4}{c}{Previous steps for the service action} \\ \hline Entry & \multicolumn{4}{c}{Information occupied to perform the test.} \\ \hline Action & \multicolumn{4}{c}{Description of the service action} & \multicolumn{4}{c}{**Result:** Indicates if the service works correctly} \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Format of the unit and integration tests. \begin{table}
\begin{tabular}{c c c c c} \hline \hline
**Module** & **Sub-Module/Services** & **EF** & **ES** & **PE** & **I** \\ \hline Authentication & & 0 & 0 & 0 & 3 \\ \hline Select patient & & 0 & 0 & 0 & 3 \\ \hline \multirow{4}{*}{Medical history} & Personal data & 0 & 0 & 0 & 3 \\  & Personal history & 0 & 0 & 0 & 3 \\  & Glucose results & 0 & 0 & 0 & 3 \\ \cline{2-5}  & Patient progress & 0 & 0 & 0 & 3 \\  & Video report & 1 & 1 & 0 & 3 \\  & Alert History & 0 & 0 & 0 & 3 \\ \hline \multirow{4}{*}{Laboratory results} & Blood chemistry test & 1 & 1 & 0 & 3 \\  & Complete blood count & 1 & 1 & 0 & 3 \\  & General urine test & 0 & 0 & 0 & 3 \\  & Liver function test & 0 & 0 & 0 & 3 \\  & Thyroid profile test & 1 & 1 & 0 & 3 \\ \hline \multirow{4}{*}{Nutrition} & Menu and pattern & 0 & 0 & 0 & 3 \\  & Anthropometry, & 0 & 0 & 0 & 3 \\  & Record & 1 & 1 & 0 & 3 \\  & Recommendations & 0 & 0 & 0 & 3 \\ \hline \multirow{2}{*}{Load patterns and menus} & History of intake frequency & 0 & 0 & 0 & 3 \\  & Pattern & 1 & 1 & 0 & 3 \\ \hline \hline \end{tabular}
\end{table} 
Table 2: Summary test of the services of the web application for health personnel. (EF) errors found, (ES) errors solved, (PE) pending errors, and (I) iterations. Figure 44: Patient application interface: Recommendations made by the nutritionist. Table 3 summarizes the test performed on the patient-oriented application. This table lists the services, errors found (EF), solved (ES), pending (PE), and the iterations (I) performed with different scenarios. The application tests were carried out with the three users of the system, a patient, a physician, and a nutritionist, under a simulated scenario of monitoring and control of the T2 DM nutritional therapy. All tests were carried out by a LANIA (Laboratorio Nacional de Informatica Avanzada) quality tester team.