<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Mobile Application to Determine the Severity of Salmonellosis Disease</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Sumy State University</institution>
          ,
          <addr-line>Rymskogo-Korsakova. 2, 40007 Sumy</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>The paper deals with studying the use of mobile devices for diagnosing in medicine, working out the element of medical students' electronic teaching and applying the mobile app in learning infectious diseases, namely, salmonellosis. The amount of people infected with this disease have been increasing year by year. The complexity of curing the moderate and serious diseases depends on the timeliness of determining the patient's condition. The authors have statistically researched how four indices of clinical blood test that affect the course of disease are significant. Three mean values of each of the four indices of clinical blood test were shown, which correspond to the three levels of severity of the disease. The application for mobile devices that enables the urgent and accurate determination of the salmonellosis disease severity without extra time and financial expenditures has been worked out. It can be used by students in the academic process, by doctors while rendering the first aid to patients, as well as for the independent disease course control by a patient himself / herself.</p>
      </abstract>
      <kwd-group>
        <kwd>Mobile App</kwd>
        <kwd>Salmonellosis</kwd>
        <kwd>Concordance Correlation Coefficient</kwd>
        <kwd>Sign Test</kwd>
        <kwd>Android</kwd>
        <kwd>Kotlin</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Today there are more than 325 thousand mHealth apps in the sphere of medicine.
Most of them are free of charge. Research2Guidance prognosticates that the most
prospective tendency of mHealth in the nearest 5 years will be elaboration of apps for
distant monitoring and consulting [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In Ukraine the new edition of the technical
regulation that is worked out according to the EU Medical Device Directive has been
mandatory since July 1, 2015.
      </p>
      <p>
        We have analyzed the modern state of incidence of salmonellosis, an intestinal
infection, in the world. People all over the world suffer from this disease. About 94
million cases of salmonellosis are detected annually [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. In the European countries
where the incidence amounts to 23,4 cases per 100 thousand people the disease has a
considerable influence on the population health [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The main task of curing the
disease is early determination of its severity degree. This topic is studied by scientists all
over the world [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1-3</xref>
        ], the patient’s condition and products that cause the disease are
analyzed, the formulae for clinical blood test are suggested, the statistical analysis of
data about the disease at a particular period is conducted, but no source contains the
reference to an app or calculator that is used by students or practitioners to urgently
determine the degree of the disease severity. Such an app is especially topical while
the ambulance service and rendering the first aid by family physicians are involved in
the medical reform which starts on January 1, 2018. For the first time we have created
the app for the Android which will help to quickly determine intoxication indices and
disease severity without a personal computer and at any place. The app is basically
aimed at the automatization of calculating intoxication indices to shorten time and
determine the patient’s condition more accurately. The basic requirements for the
application are the possibility to put in data, to calculate intoxication indices and to
determine the patient’s condition, the modern design of the app, the convenient use.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>The Basis for Mobile App Creation</title>
      <p>
        Creating the mobile app has relied on the integrated development environment (IDE)
for the platform Android – Android Studio. This program is free of charge, it is
licensed by Apache 2.0. Android Studio is based on IntelliJ IDEA Community Edition
that is supported by the company JetBrains. The applications for the operation system
Android can be made in many programming languages [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4-6</xref>
        ]. The most popular
language to develop on the platform Android is Java now [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. But while creating the
application we have used the programming language Kotlin [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. The use of the
programming language has been determined by the fact that it is the most modern and the
easiest one to write programs. Kotlin can be compiled in two variations: bytecode
JVM and JavaScript. All the Java-frameworks and libraries can be also used. Kotlin
may be converted into Java and just the other way round. This programming language
is null-safe. The important advantages of Android Studio are the represented
collection of typical interface elements and the visual editor for their combination that
provides the convenient preview of the targeted application, code highlighting, analysis
and detection of errors, integration with the control system.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Statistic Preparation of Data to Create the App</title>
      <p>It should be noted that the salmonellosis disease falls into three degrees of the clinical
course. The criteria for the degree of salmonellosis severity comprise the height of
fever and its duration, stool frequency and volume and duration of diarrhea.</p>
      <p>
        The mild severity degree is characterized with low grade fever, watery stool up to
5 times a day, duration of diarrhea for 1-3 days. The temperature of 38-39° С for 4
days and the stool up to 10 times a day for about a week indicate the moderate degree
of severity. The evident intoxication, the temperature that rises to 39° С and higher
for five or even more days and profuse stool more than 10 times with the duration for
more than a week are characteristic of the serious degree of severity.In order that the
severity of the gastrointestinal salmonellosis should be accurately diagnosed, we have
used for the first time the integrative indicators of endogenous intoxication the
determination of which does not involve extra expenditures, apart from the conventional
analyses – clinical blood test [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. It has been found out what indices reflect the degree
of disease severity most objectively. For this purpose, the concordance correlation
criterion has been applied: we have dealt with the most widespread variants to
determine the sequence of the importance of indices investigated in case records to
evaluate the hypotheses of different levels of importance of four indices: the index of shift
of leucocytes (ISL), the leucocytic intoxication index (LII), hematological index of
intoxication (HII), the index of intoxication (II). Their analysis has presupposed the
ranking number for every index.We have used the concordance correlation coefficient
for the case of tied ranks (the same values of ranks in evaluation of the same
hypothesis).
      </p>
      <p>1 m 1 li
W  S / ( m2 (n3  n)  mTi ), Ti   (ti3  ti ),</p>
      <p>
        12 i1 12 i1
where S - the sum of ranks, m - the number of hypotheses, n - the number of indices,
Ti – the number of connections (types of the repeated elements) in evaluations of the
ith hypothesis, ti – the number of elements in the lth connection for the ith hypothesis
(the number of repeated elements). Then we have set the task to find out what indices
influence the accurate diagnosis. As a result of the research, it has been identified on
the basis of expert rating that the most significant qualitative properties are ISL and
LII [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Key Moments in Creating the Application</title>
      <p>Then, based on the results obtained, a mobile application was created to quickly
determine the severity of the disease for salmonellosis, which can be found by reference
http://play.google.com/store/apps/details?ld=com.kam123.ua</p>
      <p>The application for the operating system Android is a set of classes and forms.
Every form is an object of the class Activity, the interconnection between them is
realized by the object of the class Intent.The first form is for data input by the user.
The main designated purpose of the first form is getting the necessary information
from the user. The user puts in the data about the clinical blood test that are necessary
to determine the severity of salmonellosis disease. The second one reflects the general
theoretical data about each intoxication index. The third form demonstrates the results
of calculations and the information about the obtained degree of disease severity. The
object of the class Intent is employed to change the form. The additional elements
EditText are essential for data input, and the button “Calculate” initiates the call of
another form and puts down the results of calculations into static variables in the class
Result. After that the results are available in the form in which the answer is output.
The variables that have the static modifier are global variables. When the class objects
are initialized the copies of a static variable are not made. All the samples of the class
make common use of one static variable. It is not necessary to create an object of the
class to get access to the static variable. The event processor is not obligatory to
simulate pressing the button. The attribute OnClick specially elaborated for Android has
been used. It is the modern approach to programming on Android that makes the
elaboration easier and shortens the number of lines in the code. The class Formula has
been created for calculations. It stores static functions which compute intoxication
indices and determine the disease severity. It allows to apply formulae from any part
of the program.</p>
      <p>The calculations are made in the following way:
val LII_v = Formula.LII(M, Y, St, Se, Pl, Ly, Mo, E)
val HPI_v = Formula.HII(LII_v, Cesr, Cl)
val ISL_v = Formula.ISL (E, B, St + Se, Mo, Ly)
val II_v = Formula.II(LII_v, Lc, ESR)
val res = Formula.result(LII_v, HPI_v, ISL_v, PI_v, T, K)</p>
      <p>The results are written into global variables of the class Result. Then the form with
the results opens by means of the method startActivity:val intent = Intent(this,
ResultActivity::class.java)startActivity(intent). Then we turn to variables of the class
Result which are output on the form Result Activity. To start working with the
application one should put in correct data and press the button “Calculate”. After pressing
the button “Calculate” the check is carried out whether all the columns are filled in. If
one of the columns is not filled in, the warning will appear, and they will be filled in
with zeros. After all the data are put in the program computes the result.</p>
    </sec>
    <sec id="sec-5">
      <title>Appendix</title>
      <p>For the first time the mathematical model of calculating the degree of gastrointestinal
salmonellosis severity has been elaborated. The application for the urgent and
accurate determination of the disease severity degree has been created that can be used by
medical students in studying, by medical staff for making a diagnosis and rendering
the emergency care, infection disease doctors at different stages of patients’ treatment
and, finally, in the independent disease course control by a patient himself / herself.
The severity of salmonellosis disease is determined quickly and without economic
expenditures, besides objective indicators are additionally regarded.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Research2guidance, https://research2guidance.com/325000-mobile-health
          <string-name>
            <surname>-</surname>
          </string-name>
          apps-availablein-2017/, last accessed
          <year>2018</year>
          /03/12
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Majowicz</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Musto</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Scallan</surname>
            <given-names>E.</given-names>
          </string-name>
          et al.:
          <source>International Collaboration on Enteric Disease 'Burden of Illness' Studies. ClinInfectDis</source>
          <volume>50</volume>
          (
          <issue>6</issue>
          ),
          <fpage>882</fpage>
          -
          <lpage>889</lpage>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>3. EU summary report on zoonoses, zoonoticagents and food-borne outbreaks 2014</article-title>
          .
          <source>EFSA Journal</source>
          <volume>13</volume>
          (
          <issue>12</issue>
          ),
          <fpage>4</fpage>
          -
          <lpage>5</lpage>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Start</given-names>
            <surname>Android</surname>
          </string-name>
          , http://start of android.com/,
          <source>last accessed</source>
          <year>2018</year>
          /03/12
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Gerbert</given-names>
            <surname>Shildt</surname>
          </string-name>
          .
          <article-title>Java 8</article-title>
          . Polnoe rukovodstvo, 9
          <article-title>-eizdanie =Java 8</article-title>
          . The Complete Reference, 9thEdition, Vilyams, Moscow (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Kotlin</given-names>
            <surname>Programming</surname>
          </string-name>
          <string-name>
            <surname>Language</surname>
          </string-name>
          , https://kotlinlang.org/,
          <source>last accessed</source>
          <year>2018</year>
          /03/12
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Chemych</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhylenko</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shuda</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chemych</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moroz</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Mathematical Model of the Severity of Gastrointestinal form of Salmonelollosis</article-title>
          .
          <source>J.Clin.Exp.Med.Res</source>
          .
          <volume>5</volume>
          (
          <issue>4</issue>
          ),
          <fpage>1066</fpage>
          -
          <lpage>1076</lpage>
          (
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>