<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.73332.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Method Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>Health status classification model for medical adherence system in retirement township</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 1 not approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Abubaker Sherif</surname>
                        <given-names>Abubaker Faisal</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Tan</surname>
                        <given-names>Wooi Haw</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Ooi</surname>
                        <given-names>Chee Pun</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Tan</surname>
                        <given-names>Yi Fei</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-9030-1434</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Faculty of Engineering, Multimedia University, Cyberjaya, Selangor, 63100, Malaysia</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:twhaw@mmu.edu.my">twhaw@mmu.edu.my</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>20</day>
                <month>10</month>
                <year>2021</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2021</year>
            </pub-date>
            <volume>10</volume>
            <elocation-id>1065</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>12</day>
                    <month>10</month>
                    <year>2021</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2021 Abubaker Sherif AF et al.</copyright-statement>
                <copyright-year>2021</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/10-1065/pdf"/>
            <abstract>
                <p>Medical adherence and remote patient monitoring have gained huge attention from researchers recently, especially with the need to observe the patients&#x2019; health outside hospitals due to the ongoing pandemic. The main goal of this research work is to propose a health status classification model that provides a numerical indicator of the overall health condition of a patient via four major vital signs, which are body temperature, blood pressure, blood oxygen saturation level, and heart rate. A dataset has been prepared based on the data obtained from hospital records, with these four vital signs extracted for each patient. This dataset provides a label associating each patient to the number of medical diagnoses. Generally, the number of diagnoses correlates with the patient's medical condition, with no diagnoses indicating normal condition, one to two diagnoses suggest low risk, and more than that implies high risk. Thus, we propose a method to classify a patient&#x2019;s health status into three classes, which are normal, low risk and high risk. This would provide guidance for healthcare workers on the patient's medical condition. By training the classification model using the prepared dataset, the seriousness of a patient's health condition can be predicted. This prediction is performed by classifying the patients based on their four vital signs. Our tests have yielded encouraging results using precision and recall as the evaluation metrics. The key outcome of this work is a trained classification model that quantifies a patient's health condition based on four vital signs. Nevertheless, the model can be further improved by considering more input features such as medical history. The results obtained from this research can assist medical personnel by providing a secondary advice regarding the health status for the patients who are located remotely from the medical facilities.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Medical adherence</kwd>
                <kwd>home hospitalization</kwd>
                <kwd>machine learning</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1" xlink:href="http://dx.doi.org/10.13039/100012024">
                    <funding-source>Multimedia University</funding-source>
                    <award-id>MMUI/180280</award-id>
                </award-group>
                <funding-statement>The author(s) declared that no grants were involved in supporting this work.</funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <sec id="sec2">
                <title>Background</title>
                <p>Medical adherence is described as a patient's willingness to follow their doctor's treatment plan by taking the medications recommended to them.
                    <sup>
                        <xref ref-type="bibr" rid="ref1">1</xref>
                    </sup> Failure to follow a treatment plan might result in negative clinical outcomes and a significant rise in hospitalisation cost.
                    <sup>
                        <xref ref-type="bibr" rid="ref2">2</xref>
                    </sup> According to a recent study, most patients do not follow their doctors' advice, resulting in a considerable rise in hospitalizations and medical visits.
                    <sup>
                        <xref ref-type="bibr" rid="ref3">3</xref>
                    </sup>
                </p>
                <p>Many researchers and healthcare firms have been focusing on home hospitalization technology in recent years.
                    <sup>
                        <xref ref-type="bibr" rid="ref4">4</xref>
                    </sup> Many approaches are used to identify medical adherence: some employ blood testing, some employ patient self-assessment feedback, and others employ pill dispensers to determine whether the medicine was taken. These solutions can give important information on a patient's behaviour, but they are ineffective, as some solutions are costly to operate, while others do not provide information on the type of illness.</p>
                <p>By proposing a method for continuous monitoring of the patient's vital signs, this study intends to develop a solution that can aid doctors in monitoring the patient's health state and medication intake. We used machine learning to determine the patient's health status and match it to the pharmaceutical consumption schedule defined by doctors. Major vital indicators are taken by off-the-shelf medically approved devices. The data is logged and analysed, and the result is presented to doctors in the form of a suggestion, which they may use to alter medicine dose or frequency, or to schedule a doctor visit for the patient.</p>
            </sec>
            <sec id="sec3">
                <title>Literature review</title>
                <p>A lot of research has been focused on medical adherence and home hospitalisation.
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup>
                    <sup>&#x2013;</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup> Patients' in-hospital days were reduced when they were given a home hospitalisation option.
                    <sup>
                        <xref ref-type="bibr" rid="ref5">5</xref>
                    </sup> The abilities to remotely monitor the patient's health state and check their adherence to prescriptions are critical factors for enabling home hospitalisation. Tripathi 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref6">6</xref>
                    </sup> proposed to gather information about the patient via tracking sensors and wearable devices, then transmitting the data to an Internet server, where the decision is taken whether to contact family members, an ambulance, or clinical aid. To enable a smart health environment, Zulkifli 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref7">7</xref>
                    </sup> created a health monitoring and information system. Patients may use their cell phones to submit feedback to physicians, and doctors will reply to their reports to determine if the patient needs an appointment or can continue therapy from home.</p>
                <p>Due to the benefits of reducing hospital stays, cutting treatment costs, and freeing up doctors' time, home hospitalisation has garnered a lot of attention. Early release care, which permits patients to stay at home for a portion of their inpatient therapy, was studied by Hern&#x00e1;ndez 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup> They urged nurses to visit these patients on a regular basis and record their vital signs in an online system that doctors could access. Federman 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref9">9</xref>
                    </sup> assessed hospitalised patients and sent some of them home to undergo treatment. Nurses and health experts evaluated patients' vital signs before asking all patients to rate their treatment experience, with the results indicating that those who received therapy at home obtained a higher rating. Sherif 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup> suggested a system to facilitate home hospitalisation, by tracking patients' medicine consumption using integrated electronics. Patients were instructed to record their medication adherence using an alarm button that was linked to a monitoring dashboard. While this strategy is useful for the monitoring of patients, it cannot assure that the medicines have been taken.</p>
                <p>Similarly, Daramola 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref11">11</xref>
                    </sup> used a smartphone application to report medicine consumption and relied on patient self-reporting. Kumar 
                    <italic toggle="yes">et al.</italic>
                    <sup>
                        <xref ref-type="bibr" rid="ref12">12</xref>
                    </sup> presented a similar method for measuring medication adherence using medicine dispensers. However, these approaches do not guarantee that the medicines have been consumed. To overcome these limitations, this paper intends to verify medicine intake by monitoring patients' vital signs and health status regularly.</p>
            </sec>
            <sec id="sec4">
                <title>Motivation</title>
                <p>The study's main goal is to improve patients' medication adherence without the need of special technology, nurse or caregiver monitoring. Thousands of people have been hospitalised because of the current COVID-19 pandemic. Many healthcare institutions have run out of resources to handle the rising number of patients.
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup> Thus, most people with minor symptoms have been recommended to stay at home and monitor their health.
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup> This pandemic has highlighted the critical necessity for home hospitalisation. Consequently, we propose a complementary tool that assists doctors in monitoring patients&#x2019; health from home.</p>
            </sec>
            <sec id="sec5">
                <title>Ethical considerations</title>
                <p>This study received ethical approval from the ethical Review Board of the Multimedia University, Technology Transfer Office, Malaysia (EA0962021).</p>
                <p>As healthy patients&#x2019; data was collected retrospectively and anonymised, written informed consent was waived.</p>
            </sec>
        </sec>
        <sec id="sec6" sec-type="methods">
            <title>Methods</title>
            <p>The method proposed in this paper consists of two sections. The first section is data preparation and pre-processing, while the second section is creating a classification model to identify the health status category based on the vital signs.</p>
            <sec id="sec7">
                <title>Data preparation</title>
                <p>Blood pressure, body temperature, heart rate and blood oxygen saturation level can be considered as good indicators to predict the health status of the patient. The initial stage in data preparation was to assemble a labelled dataset collected by physicians to anticipate the patient's health status. We adopted a publicly available medical dataset called Medical Information Mart for Intensive Care III (MIMIC-III) 
                    <ext-link ext-link-type="uri" xlink:href="https://physionet.org/content/mimiciii/1.4/">Clinical Database</ext-link>, which contains health data from over 40,000 patients hospitalised in intensive care units.
                    <sup>
                        <xref ref-type="bibr" rid="ref14">14</xref>
                    </sup> The dataset consists of numerous tables with patients&#x2019; information, such as vital signs and doctor diagnoses. The caregivers documented the data collected on an hourly basis. However, the data from a single patient is saved in different tables across the dataset. As a result, the data must be restructured before they can be used for model training. Patients who had more than four daily measurements, including blood oxygen saturation, blood pressure, body temperature, and heart rate, as well as a doctor's diagnosis, were selected. These readings were divided into two classes: the first class included those with two or fewer diagnoses while the second class comprised those with more than two diagnoses. To predict the health status of the patients, we needed to train the machine learning model with data from healthy people, who were not diagnosed with any diseases. Since vital sign data from healthy people were not widely available, we decided to collect these data with the help of a general physician. The resulting dataset consists of three classes: the first class corresponding to healthy people; the second class includes patients with up to two diagnoses; the third class includes patients with more than two diagnoses.</p>
            </sec>
            <sec id="sec8">
                <title>Training the machine learning model</title>
                <p>Three multiclass classification models were proposed to help doctors by providing a secondary opinion based on vital signs, to determine how serious a patient&#x2019;s health condition is. The prediction was based on the labelled dataset, which consisted of three classes. The classifiers were chosen, based on the size of the dataset, were k-nearest neighbour classifier, linear support vector machine (SVM) classifier, and logistic regression classifier. 
                    <ext-link ext-link-type="uri" xlink:href="https://scikit-learn.org/0.23/">Scikit-learn</ext-link> v. 0.23 was used to train these models, and is well-known for its classification methods.
                    <sup>
                        <xref ref-type="bibr" rid="ref15">15</xref>
                    </sup> The purpose of the classifiers was to forecast the patient's health status class based on their vital signs. Diagnoses used in our prepared dataset were related to heart disease, respiratory sickness and hypertension, which the doctors would subsequently verify or reject in order to offer feedback data that could be used to train a more accurate model.</p>
            </sec>
        </sec>
        <sec id="sec9" sec-type="results|discussion">
            <title>Results and discussion</title>
            <p>A well-labelled and filtered dataset with five variables and one label was prepared. The mean values for blood oxygen saturation level, diastolic blood pressure, systolic blood pressure, heart rate, and body temperature were used as variables in the prepared dataset, as well as a label that indicated whether the measurements were normal, abnormal or abnormal with a serious condition. The variables included in the prepared dataset are listed below:
                <list list-type="bullet">
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Diastolic blood pressure</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Systolic blood pressure</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Heart rate</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Blood oxygen saturation level</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Temperature</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Label</p>
                    </list-item>
                </list>
            </p>
            <p>A total of 1,382 rows were collected after filtering data for those patients who had been diagnosed with diseases related to the vital signs, including only those who had more than three readings per day. A similar approach was utilised to get 102 &#x201c;normal&#x201d; readings manually with the aid of a medical expert. Both tables were then concatenated; the patient ID was removed, and labels reading "0" were assigned to normal readings, while "1" was assigned to abnormal readings up to two diagnoses, and &#x201c;2&#x201d; was assigned to abnormal readings with more than two diagnoses.</p>
            <p>Although we had collected as many data for healthy people as possible, the dataset was still imbalanced, with the majority of the data samples coming from the MIMIC-III dataset, resulting in biasing.</p>
            <p>As shown in 
                <xref ref-type="table" rid="T1">Table 1</xref>, the dataset consisted of 102 rows of healthy data samples (Class 0), 813 rows of low-risk data samples (Class 1) and 569 rows of high-risk data samples (Class 2). A 10% fraction of the data samples was used for testing. The rest of the dataset was split using repeated stratified K-Fold cross-validation, with four splits, and ten repetitions. One significant aspect of this validation technique is its balanced training weights and its testing of data while handling unbalanced data, since the percentage of observations with a particular categorical value is the same.
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> Multiple splits and repetitions allowed the training and evaluation of different iterations of the same model, with training and test outcomes differing depending on the sampling data. After the data were divided into training and test sets, we trained three distinct models to assess their performance.&#x00a0;These processing stages are shown in the system architecture of the proposed solution as depicted in 
                <xref ref-type="fig" rid="f1">Figure 1</xref>.</p>
            <table-wrap id="T1" orientation="portrait" position="float">
                <label>Table 1. </label>
                <caption>
                    <title>Prepared dataset information.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Class 0</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Class 1</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Class 2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">Training</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">92</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">732</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">512</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">Testing</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">81</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">57</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                <label>Figure 1. </label>
                <caption>
                    <title>System architecture.</title>
                </caption>
                <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/76976/6fc3ca56-f39b-4d21-b331-84bcc8346e3e_figure1.gif"/>
            </fig>
            <p>The first trained model was linear SVC. The settings of the hyperparameters used were &#x2018;C&#x2019; set to 1, &#x2018;max_iter&#x2019; set to 1000 and &#x2018;intercept_scaling&#x2019; set to 1. This model exhibited a relatively low performance in predicting patients with more than three diagnoses, as shown in the confusion matrix shown in 
                <xref ref-type="table" rid="T2">Table 2</xref>. The evaluation results in terms of precision and recall for the first model are presented in 
                <xref ref-type="table" rid="T3">Table 3</xref>.</p>
            <table-wrap id="T2" orientation="portrait" position="float">
                <label>Table 2. </label>
                <caption>
                    <title>Confusion matrix of linear support vector machine (SVM) classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="2" rowspan="2" valign="top"/>
                            <th align="left" colspan="3" rowspan="1" valign="top">Predicted class</th>
                        </tr>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="middle">0</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">1</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="3" valign="middle">
                                <bold>True class</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">50</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">31</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">36</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">21</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <table-wrap id="T3" orientation="portrait" position="float">
                <label>Table 3. </label>
                <caption>
                    <title>Precision and recall values of linear support vector machine (SVM) classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Precision</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Recall</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.58</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.62</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.40</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.37</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>The second model trained was based on logistic regression, constructed with &#x2018;max_iter&#x2019; set to 1000 and &#x2018;C&#x2019; set to 1. As shown in 
                <xref ref-type="table" rid="T4">Table 4</xref> and 
                <xref ref-type="table" rid="T5">Table 5</xref>, the logistic regression model demonstrated a modest performance in relation to the previous classifier with, better precision and recall for Class 2. Nevertheless, the recall for Class 1 was considerably lower.</p>
            <table-wrap id="T4" orientation="portrait" position="float">
                <label>Table 4. </label>
                <caption>
                    <title>Confusion matrix of logistic regression classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="2" rowspan="2" valign="top"/>
                            <th align="left" colspan="3" rowspan="1" valign="top">Predicted class</th>
                        </tr>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="middle">0</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">1</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="3" valign="middle">
                                <bold>True class</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">21</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">60</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">13</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">44</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <table-wrap id="T5" orientation="portrait" position="float">
                <label>Table 5. </label>
                <caption>
                    <title>Precision and recall values of the logistic regression classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Precision</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Recall</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.62</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.26</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.42</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.77</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>The third model was the k-nearest neighbour classifier, trained with 'n_neighbors' set to 5, 'weights' set to &#x2018;uniform&#x2019; and using Euclidean distance. The confusion matrix generated by applying the k-NN classifier on the test data is shown in 
                <xref ref-type="table" rid="T6">Table 6</xref>. The results for the trained model are presented in 
                <xref ref-type="table" rid="T7">Table 7</xref>. The performance of the model is on par with the first model, but worse than the second model for Class 2 in terms of recall.</p>
            <table-wrap id="T6" orientation="portrait" position="float">
                <label>Table 6. </label>
                <caption>
                    <title>Confusion matrix of k-nearest neighbour classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="2" rowspan="2" valign="top"/>
                            <th align="left" colspan="3" rowspan="1" valign="top">Predicted class</th>
                        </tr>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="middle">0</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">1</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="3" valign="middle">
                                <bold>True class</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">58</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">23</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">40</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">17</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <table-wrap id="T7" orientation="portrait" position="float">
                <label>Table 7. </label>
                <caption>
                    <title>Precision and recall values of k-nearest neighbour classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Precision</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Recall</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.59</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.72</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.43</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.30</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>After training three different classification models, we trained a majority-vote classifier, which aggregated the predictions of the three trained models and made the predictions based on the class that obtained the greatest number of votes. The results are presented in 
                <xref ref-type="table" rid="T8">Table 8</xref> and 
                <xref ref-type="table" rid="T9">Table 9</xref>.</p>
            <table-wrap id="T8" orientation="portrait" position="float">
                <label>Table 8. </label>
                <caption>
                    <title>Confusion matrix of the majority-vote classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="2" rowspan="2" valign="top"/>
                            <th align="left" colspan="3" rowspan="1" valign="top">Predicted class</th>
                        </tr>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="middle">0</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">1</th>
                            <th align="left" colspan="1" rowspan="1" valign="middle">2</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="3" valign="middle">
                                <bold>True class</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">45</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">36</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">29</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">28</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <table-wrap id="T9" orientation="portrait" position="float">
                <label>Table 9. </label>
                <caption>
                    <title>Precision and recall values of majority-vote classifier.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">Precision</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Recall</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 0</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">1.00</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 1</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.61</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.56</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">
                                <bold>Class 2</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.44</td>
                            <td align="left" colspan="1" rowspan="1" valign="middle">0.49</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>In this study, the majority-vote classifier was chosen according to its overall performance in terms of precision and recall, in comparison to the results of the other three trained models. Further improvements will be made in the future regarding imbalanced data training, or by adding more minority data to the dataset. The positive results suggest that the proposed classification model is feasible in predicting severity of health condition, especially between normal people and those with medical risks.</p>
        </sec>
        <sec id="sec10" sec-type="conclusions">
            <title>Conclusions</title>
            <p>The goal of this study was to improve medical adherence among patients who get therapy at home, by tracking their health status using supervised machine learning models. We are confident that the proposed solution will increase medicine adherence and provide a way to enable home hospitalisation, which is now in great demand. The trained model can predict how serious a patient's health status is, as determined by the four measured vital signs. Clinicians should be able to accept or reject the model's predictions, providing feedback which can then be utilised to train and enhance another version of the model. To further improve the performance of the model, additional input variables such as medical history can be considered.</p>
        </sec>
        <sec id="sec11">
            <title>Data availability</title>
            <sec id="sec12">
                <title>Underlying data</title>
                <p>The experiments in this work were carried out using data from the MIMIC-III Clinical Database: 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.13026/C2XW26">https://doi.org/10.13026/C2XW26</ext-link>.
                    <sup>
                        <xref ref-type="bibr" rid="ref14">14</xref>
                    </sup>
                </p>
            </sec>
            <sec id="sec13">
                <title>Extended data</title>
                <p>Zenodo: Five vital signs of normal people, 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5549632">https://doi.org/10.5281/zenodo.5549632</ext-link>.
                    <sup>
                        <xref ref-type="bibr" rid="ref16">16</xref>
                    </sup>
                </p>
                <p>This project contains the anonymised vital signs data from healthy patients collected retrospectively.</p>
                <p>Analysis code available from: 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/abubakerSherif/A-Health-Status-Classification-Model/tree/v1.0">https://github.com/abubakerSherif/A-Health-Status-Classification-Model/tree/v1.0</ext-link>
                </p>
                <p>Archived analysis code as at time of publication: 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.5551854">https://doi.org/10.5281/zenodo.5551854</ext-link>
                </p>
                <p>License: 
                    <ext-link ext-link-type="uri" xlink:href="https://opensource.org/licenses/MIT">MIT</ext-link>
                </p>
            </sec>
        </sec>
    </body>
    <back>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Ho</surname>
                            <given-names>PM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bryson</surname>
                            <given-names>CL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rumsfeld</surname>
                            <given-names>JS</given-names>
                        </name>
</person-group>:
                    <article-title>Medication adherence: its importance in cardiovascular outcomes.</article-title>
                    <source>

                        <italic toggle="yes">Circulation.</italic>
</source>
                    <year>2009</year>;<volume>119</volume>(<issue>23</issue>):<fpage>3028</fpage>&#x2013;<lpage>3035</lpage>.
                    <pub-id pub-id-type="pmid">19528344</pub-id>
                    <pub-id pub-id-type="doi">10.1161/CIRCULATIONAHA.108.768986</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="other">
                    <collab>World Health Organization, Healthtopics: chronicdiseases</collab>.
                    <ext-link ext-link-type="uri" xlink:href="http://www.who.int/topics/chronic_diseases/en">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Span</surname>
                            <given-names>P</given-names>
                        </name>
</person-group>:
                    <article-title>A dose of confusion.</article-title>
                    <year>2011</year>.
                    <ext-link ext-link-type="uri" xlink:href="http://newoldage.blogs.nytimes.com/2011/06/15/a-dose-of-confusion/">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Polese</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Carrubbo</surname>
                            <given-names>L</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Caputo</surname>
                            <given-names>F</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Managing healthcare service ecosystems: abstracting a sustainability-based view from hospitalization at home (HaH) practices.</article-title>
                    <source>

                        <italic toggle="yes">Sustainability.</italic>
</source>
                    <year>2018</year>;<volume>10</volume>(<issue>11</issue>):<fpage>3951</fpage>.
                    <pub-id pub-id-type="doi">10.3390/su10113951</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Heidenreich</surname>
                            <given-names>PA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ruggerio</surname>
                            <given-names>CM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Massie</surname>
                            <given-names>BM</given-names>
                        </name>
</person-group>:
                    <article-title>Effect of a home monitoring system on hospitalization and resource use for patients with heart failure.</article-title>
                    <source>

                        <italic toggle="yes">Am. Heart J.</italic>
</source>
                    <year>1999</year>;<volume>138</volume>(<issue>4</issue>):<fpage>633</fpage>&#x2013;<lpage>640</lpage>.
                    <pub-id pub-id-type="doi">10.1016/S0002-8703(99)70176-6</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Tripathi</surname>
                            <given-names>V</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Shakeel</surname>
                            <given-names>F</given-names>
                        </name>
</person-group>:
                    <article-title>Monitoring health care system using internet of things &#x2013; an immaculate pairing.</article-title>
                    <source>

                        <italic toggle="yes">2017 International conference on next generation computing and information systems (ICNGCIS). IEEE.</italic>
</source>
                    <year>2017</year>; pp<fpage>153</fpage>&#x2013;<lpage>158</lpage>.</mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Zulkifli</surname>
                            <given-names>FY</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mustika</surname>
                            <given-names>IW</given-names>
                        </name>
</person-group>:
                    <article-title>Development of monitoring and health service information system to support smart health on android platform.</article-title>
                    <source>

                        <italic toggle="yes">2018 4th international conference on nano electronics research and education (ICNERE). IEEE.</italic>
</source>
                    <year>2018</year>; pp<fpage>1</fpage>&#x2013;<lpage>6</lpage>.</mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Herna&#x00c3;&#x00c5;ndez</surname>
                            <given-names>C</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Aibar</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Seijas</surname>
                            <given-names>N</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Implementation of home hospitalization and early discharge as an integrated care service: a ten years pragmatic assessment.</article-title>
                    <source>

                        <italic toggle="yes">Int. J. Integr. Care.</italic>
</source>
                    <year>2018</year>;<volume>18</volume>(<issue>2</issue>),<fpage>12</fpage>.
                    <pub-id pub-id-type="pmid">30127696</pub-id>
                    <pub-id pub-id-type="doi">10.5334/ijic.3431</pub-id>
                    <pub-id pub-id-type="pmcid">PMC6095082</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Federman</surname>
                            <given-names>AD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Soones</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>DeCherrie</surname>
                            <given-names>LV</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Association of a bundled hospital-at-home and 30-day postacute transitional care program with clinical outcomes and patient experiences.</article-title>
                    <source>

                        <italic toggle="yes">JAMA Intern. Med.</italic>
</source>
                    <year>2018</year>;<volume>178</volume>(<issue>8</issue>):<fpage>1033</fpage>&#x2013;<lpage>1040</lpage>.
                    <pub-id pub-id-type="pmid">29946693</pub-id>
                    <pub-id pub-id-type="doi">10.1001/jamainternmed.2018.2562</pub-id>
                    <pub-id pub-id-type="pmcid">PMC6143103</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Sherif</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Tan</surname>
                            <given-names>WH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ooi</surname>
                            <given-names>CP</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>LoRa driven medical adherence system.</article-title>
                    <source>

                        <italic toggle="yes">Bull Electr Eng Inf.</italic>
</source>
                    <year>2020</year>;<volume>9</volume>(<issue>6</issue>):<fpage>2294</fpage>&#x2013;<lpage>2301</lpage>.
                    <pub-id pub-id-type="doi">10.11591/eei.v9i6.2195</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Daramola</surname>
                            <given-names>O</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Nysaulu</surname>
                            <given-names>P</given-names>
                        </name>
</person-group>:
                    <source>

                        <italic toggle="yes">A digital collaborative framework for improved tuberculosis treatment adherence of patients in rural settings.</italic>
</source>
                    <publisher-loc>Cape Town, South Africa</publisher-loc>:
                    <publisher-name>Open innovations (OI)</publisher-name>;<year>2019</year>;<fpage>297</fpage>&#x2013;<lpage>303</lpage>.
                    <pub-id pub-id-type="doi">10.1109/oi.2019.8908213</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kumar</surname>
                            <given-names>MP</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Nelakuditi</surname>
                            <given-names>UR</given-names>
                        </name>
</person-group>:
                    <article-title>IoT and I2C protocol based M-health medication assistive system for elderly people.</article-title>
                    <source>

                        <italic toggle="yes">IEEE 16th India Council international conference (INDICON), Rajkot, India.</italic>
</source>
                    <year>2019</year>; pp<fpage>1</fpage>&#x2013;<lpage>4</lpage>.
                    <pub-id pub-id-type="doi">10.1109/indicon47234.2019.9030322</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Nundy</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Patel</surname>
                            <given-names>KK</given-names>
                        </name>
</person-group>:
                    <article-title>Hospital-at-home to support COVID-19 surge &#x2013; Time to bring down the walls.</article-title>
                    <year>2020</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://jamanetwork.com/channels/health-forum/fullarticle/2765661">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Johnson</surname>
                            <given-names>AEW</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Pollard</surname>
                            <given-names>TJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Shen</surname>
                            <given-names>L</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>MIMIC-III, a freely accessible critical care database.</article-title>
                    <source>

                        <italic toggle="yes">Scientific Data.</italic>
</source>
                    <year>2016</year>;<volume>3</volume>:<fpage>160035</fpage>.
                    <pub-id pub-id-type="pmid">27219127</pub-id>
                    <pub-id pub-id-type="doi">10.1038/sdata.2016.35</pub-id>
                    <pub-id pub-id-type="pmcid">PMC4878278</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref15">
                <label>15</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Pedregosa</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Varoquaux</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gramfort</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Scikit-learn: machine learning in python.</article-title>
                    <source>

                        <italic toggle="yes">J. Mach. Learn. Res.</italic>
</source>
                    <year>2011</year>;<volume>12</volume>(<issue>Oct</issue>):<fpage>2825</fpage>&#x2013;<lpage>2830</lpage>.</mixed-citation>
            </ref>
            <ref id="ref16">
                <label>16</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Sherif</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Tan</surname>
                            <given-names>WH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ooi</surname>
                            <given-names>CP</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Five vital signs of normal people [Data set].</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2021</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.5549632</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report234456">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.76976.r234456</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>M&#x00f8;lgaard</surname>
                        <given-names>Jesper</given-names>
                    </name>
                    <xref ref-type="aff" rid="r234456a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-2062-9570</uri>
                </contrib>
                <aff id="r234456a1">
                    <label>1</label>Copenhagen University hospital, Copenhagen, Denmark</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>19</day>
                <month>2</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 M&#x00f8;lgaard J</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport234456" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.73332.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>reject</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors of this article report on the results of using three different statistical methods for discriminating between 3 patient categories. They propose this model for helping healthcare workers understand which patients need medical attention and which do not. And doing it to reduce the duration of hospital admission is a noble endeavour.</p>
            <p> It is also great to see the vital signs dataset specifically collected for this study being available for other researchers, and I commend the authors for doing so.</p>
            <p> Here are some comments that I hope will improve the quality of the article:</p>
            <p> </p>
            <p> 
                <bold>Major points:</bold>
            </p>
            <p> Focus of the study is a bit unclear. &#x00a0;Three focus points are introduced in the introduction and motivation part of the article: 
                <list list-type="order">
                    <list-item>
                        <p>&#x201c;&#x2026;this paper intends to verify medicine intake by monitoring patients' vital signs and health status regularly.&#x201d;</p>
                    </list-item>
                    <list-item>
                        <p>&#x201c;we propose a complementary tool that assists doctors in monitoring patients&#x2019; health from home.&#x201d;</p>
                    </list-item>
                    <list-item>
                        <p>&#x201c;The study's main goal is to improve patients' medication adherence without the need of special technology, nurse or caregiver monitoring.&#x201d;</p>
                    </list-item>
                </list> Is the focus either to verify medicine intake, to assist in monitoring patients&#x2019; health, or to improve medication adherence &#x2013; or all three at once?</p>
            <p> Also if the authors solely wanted to &#x201c;verify medicine intake&#x201d; &#x2013; why not propose a medicine monitoring device instead of a patient-monitoring device.</p>
            <p> The authors define 3 sets of vital values, which are not very well defined, and deserves more fleshing-out, especially the collection of vital values from the healthy cohort: 
                <list list-type="bullet">
                    <list-item>
                        <p>Healthy patients:</p>
                    </list-item>
                </list> Single point values from (which?) patients collected (where and when?) by a general physician. (some of the information is available in the supplementary data for the article) 
                <list list-type="bullet">
                    <list-item>
                        <p>Moderately diseased:</p>
                        <p> Continuous values from the MIMIC-III dataset for patients with 0-2 diagnoses.</p>
                    </list-item>
                    <list-item>
                        <p>Seriously diseased:</p>
                        <p> Continuous values from the MIMIC-III dataset for patients with 3+ diagnoses.</p>
                    </list-item>
                </list> The authors find a precision-recall value of 1 for predicting healthy patients, which is not very surprising, given the difference in patient populations (healthy at-home values vs. actively diseased ICU values), and is perhaps more a reflection of the fact that these values are taken from two different datasets.</p>
            <p> For the ICU patients, did the authors adjust for ICU patients with ventilator support, vasopressor therapy, dialysis treatment, moribund patients?</p>
            <p> </p>
            <p> 
                <bold>Small issues:</bold>
            </p>
            <p> The title of the article is not very informative: &#x201c;Health status classification model for medical adherence system in retirement township&#x201d; &#x2013; whereas the actual article reports the validation of 3 different statical methods for discriminating between 3 levels of disease.</p>
            <p> </p>
            <p> The authors have chosen to not adhere to the traditional Introduction-Method-Results-Analysis-Discussion (IMRAD) format and have made a result + (discussion) section. But I would have liked to have their results put into context of the current body of related studies.</p>
            <p> </p>
            <p> A lot of descriptions that from my understanding belong the &#x2018;methods&#x2019; section of the article are written in the &#x2018;results&#x2019; &#x2013; section</p>
            <p> &#x201c;The classifiers were chosen, based on the size of the dataset&#x201d; &#x2013; How did the size of the dataset help to choose which classifiers were used?</p>
            <p> </p>
            <p> I do not feel that figure 1 adds much to the understanding of the system, and should be revised, or removed. Also, maybe I can&#x2019;t see the figure 1 legend. But I think some of the icons require attribution to the relevant artist at flaticons.com (or other relevant site.).</p>
            <p>Is the rationale for developing the new method (or application) clearly explained?</p>
            <p>No</p>
            <p>Is the description of the method technically sound?</p>
            <p>No</p>
            <p>Are the conclusions about the method and its performance adequately supported by the findings presented in the article?</p>
            <p>No</p>
            <p>If any results are presented, are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Partly</p>
            <p>Are sufficient details provided to allow replication of the method development and its use by others?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Continuous vital sign data, postoperative complications,</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to state that I do not consider it to be of an acceptable scientific standard, for reasons outlined above.</p>
        </body>
    </sub-article>
</article>
