Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
net/publication/306379073
CITATION READS
1 2,956
4 authors, including:
Some of the authors of this publication are also working on these related projects:
CFP: BESC 2018 and Special Session on Social Computing for Business Intelligence and Analytics (SC-BI&A 2018) View project
All content following this page was uploaded by Dr. Muhammad Zubair Asghar on 27 August 2016.
Abstract—Objective: The primary goal of this study is to develop There is a persistent disease known as diabetes mellitus,
an android-based healthcare application, which can assist the increasing globally that is caused due to the relative deficiency
users to monitor their health-related conditions for improving of insulin. Therefore, android based diabetes management
their health. Methods: The application is developed using health care application is developed, which helps in diagnosis
android operating system environment. A Visual block
programming language, namely MIT App Inventor is used to
and treatment of diabetes as well hypertension [5].
develop the system. The modification is presented as: (1) Chronic health patients suffer from multiple ailments,
integration of different modules and their offline usage, (2) however, different patients have different such ailments. The
history facility, (3) user friendly. The qualitative method is used
objective of this project was to design and prototype a health
to study the objective. Findings: The research paper depicts a
brief study of existing systems and the new development that has monitoring system that has a capability to monitors multiple
made in the application and also it is better in the manner that it diseases [6].
works as a guide to control risk factors. The descriptive analysis An application, namely “smart carb”, is developed based on
point outs that the application is effective to deal with health
related issue. Applications/Improvement: Integration of modules
an Android OS for the management of Type2 diabetes. If the
is performed on the android platform of different applications patients do not manage their diabetic level then it will lead to
that are located on different websites, the storage facility is added many complications; and if it is not treated properly, that it
by using Tiny DB, guidance in the form of charts and text is may even lead to death. In order to manage diabetes to avoid
provided to the users. Such features are not provided in the these complication, this application was developed [7].
previous work.
Keywords—Health Care; App Inventor; Android; Diabetes; Due to the refinement of wireless mobile technologies in the
Target Heart Rate. erstwhile years, the need for mobile data services has been
aggravated dramatically. The location of the user can also be
I. INTRODUCTION obtained to provide better facilities to the users by the service
The Expert System (ES), namely Computer Assisted diagnosis provider. However, it also has some issues like needing an
for red eye (CARDE) is proposed by [1], which assists the approval of user privacy, standardization, and accessibility of
patients in the treatment of Red eye disease. It works like an smart services [8].
ophthalmologist and it is not limited to only red eye diseases, There are many systems on the health-related content analysis
but can be extended to diagnose other diseases. in the context of opinion mining and sentiment analysis [9, 10,
A Web based expert system is proposed by [2]to diagnose red 11,12], however, most of such studies are web-based and
eye disease and to provide prescription with it. This system address the user generated contents. In addition to
typically diagnoses disease, of the eye in which red eye is a aforementioned studies, there are recent works [13, 14, 15, 16,
common symptom. It has an attractive and easy to use 17, 18, 19, 20] performed for developing healthcare
graphical user interface. applications, which assist the users in taking care of their
health. In this work, we present the development of an
[3] Proposed an ES to diagnose skin diseases. This system can android-based health care application using the MIT App
diagnose almost 13 types of skin disease. This web based inventor software [21]. Nowadays, health related issues are
expert system can be enhanced to diagnose all types of skin getting common due to hectic daily routine and unbalanced
diseases. diet. Therefore, it is an important task and a need to develop
an android application that could assist the users to keep
An automated alarm ringing system is developed and its
themselves aware of their daily activities including diet,
center of interest is the interaction between doctor and
exercise, and glucose level, B.P reading etc.
patients. The description of medicines, date and time can be
set by patients through an alarm. They received the We have integrated different modules into one android
notification through an email or messages [4]. application that were located on different websites such as
calorie level, Target heart rate, blood volume, diabetes [22].
77 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
We also provide the data storage facility using tiny DB, which
assists the user to retrieve the previous records easily, such
facility is not provided in the previous work [23]. In the web
based calorie application, there is no facility for the basic
calorie needs so we included the Caloric chart in the calorie
level module which guides the users about their caloric need,
[24]. In the target heart rate module, we have given the
information in the form of text so that user can easily
understand the application as this feature is not present in the
foregoing heart rate application, [25]. In the previous diabetes Figure 2. Code block for input and output of target heart rate
application, a diet chart facility is not provided so we address Calorie Level: The Spinner component provides the choice of
this issue in our application so that the user can maintain their male and female to the user. There are three variables age,
diet [26]. height, weight that are initialized. Button 7 is used to call the
procedure. The value of age, height and weight are entered in
The rest of the paper is organized as follows. Section 2 gives a the textbox. A label is used to display the output that is used to
detail of Material and Method. In section 3, we present Result determine the calorie level in the human body. The clock
and Discussion of proposed approach, which evaluates the component is used to present the current date and time, below
effectiveness of the proposed system. The final section is a partial set of coding Fig. 3.
concludes the work with a discussion on a future extension.
I. MATERIAL AND METHOD
The materials used to develop the software are as follows: (1)
Window 8.1 Haier laptop, (2) MIT App Inventor 2 Software,
(3) Samsung Tablet and (4) Infinix X551Android Cell Phone.
The experimental setup section presents detail about the
implementation and evaluation of the proposed system. As
described earlier, we developed the software using MIT App
inventor and tested the apps in Bluestack emulator. To
Figure 3. Code block for input and output of Calorie level
evaluate the effectiveness of proposed system, a web-based
survey is conducted. The proposed system is given below. Blood Volume:In Fig. 4 the partial code blocks for blood
volume module is presented, where a button is used to call a
procedure to initialize three variables: cm, height and weight.
The procedure textbox invites users to enter height and weight
,spinners for selection of gender, and labels to display that
how much blood is in the human body.
78 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
2) Calorie Level
The second module determines the caloric demands of the
user based on his/her age, weight, height and activity level,
and gives recommendations accordingly. Age, weight, height
and activity level are the inputs, required from the user. These
inputs are used in the calculation of final result, reflecting how
much calorie is in the human body. The pseudo code of calorie
Figure 7. Flow chart of proposed system
level is given as follows,
79 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
then
Algorithm 2. Computation of Calorie level {
21. Calorie level = (10*weight+6.25*height-5*
Objective:The aim of this pseudo code is to age-161)*1.9
calculate the Calorie level. }
Input: age, weight, height End
Output:Display the Calorie level
Begin 3) Blood Volume
The blood volume component aims at determining the
1.If gender=male then quantity of blood in a human body subject to height and
2. if workout intensity=inactive then weight. It requires inputs including age, height and weight
{ from the users required for calculating the blood volume. The
3. Calorie level= (9.99*weight+6.25*height-5* pseudo code is given below.
age+5)*1.2 Algorithm 3. Computation of Blood volume
} Objective: The goal of this pseudo code is to
4. else if workout intensity=mild active then calculate the Blood Volume.
{
5. Calorie level = (9.99*weight+6.25*height-5*
age+5)*1.375 Input: age, weight, height
} Output: Display the Blood volume
6. else if workout intensity=moderate active then Begin
{ 1.f gender=male then
7. Calorie level = (9.99*weight+6.25*height-5* {
age+5)*1.55 2. BD = 0.3669 ∗ height + 0.03219 ∗ weight +
} 0.6041
8. else if workout intensity=heavy active then }
{ 3.If gender=female then
9. Calorie level = (9.99*weight+6.25*height-5*
{
age+5)*1.7
4. BD = 0.3561 ∗ height + 0.0338 ∗ weight +
}
10. else workout intensity=very heavy active then 0.1833
Calorie level = (9.99*weight+6.25*height-5* }
age-161)*1.9 End
}
11. If gender=female then
12. if workout intensity= inactive then 4) Diabetes
{ This module records the reading of blood sugar to assist the
13. Calorie level = (9.99*weight+6.25*height- users for tracking their diet. The user first has to choose from
5*age-161)*1.2 one of the three test types, namely (1) Fasting blood glucose
} level, (2) Random blood glucose level, and (3) hemoglobin
14. else if workout intensity=mild active then A1C. When the user selects the test type of Fasting Blood
{ Glucose, then he chooses the blood glucose value from
15. Calorie level = (9.99*weight+6.25*height- required ranges given to the user. The user then gets informed
5*age-161)1.375 about his blood glucose value that either it is in the normal
} range, pre- diabetes or diabetes. Similarly, when the user
16. else if workout intensity=moderate active selects the test type of Random Blood Glucose or hemoglobin
then A1C, then it intimates the user about their blood glucose
{ value, i.e. whether is in the normal range, pre diabetes or
17. Calorie level = (9.99*weight+6.25*height-5* diabetes. The pseudo code is given below.
age-161)*1.55
} Algorithm 4.Determination of Blood Glucose (BG)
18. else if workout intensity=heavy active then Objective:The goal of this pseudo code is to calculate
{ the Blood Glucose.
19. Calorie level = (10*weight+6.25*height-5* Input:BG value
age-161)*1.7 Output: Your blood glucose level is within normal limit
} and you don't have diabetes at present,You have higher
20. else workout intensity=very heavy active level of fasting blood glucose which indicates that the
80 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
81 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
82 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
In Table.II, minimum (1) and maximum (3) presentsthat there Figure 17. Pie Chartabout importance of exercise
were 12 responses in the uppermost answer (i.e. age 18 to 24)
and 3 responses in the lowermost answer (i.e. age 45 to The Fig. 17shows that there were total 5(16.67%) respondents
54).The median of 2.00 (higher than the 1.67 mean) shows who consider that exercise is extremely important for them,
that there were more respondents who were in age (25 to 34) and the exercise that is very important for the respondents
than respondents who were in age (18 to 24).A mean of 1.67 were 11(36.67%) while the respondents who said that exercise
shows that overall respondents came in somewhere between is moderately important for them were 8(26.67%), the exercise
age (18 to 24), and the age (25 to 34).Finally, the standard that is slightly important for the respondents were 6(20.00%).
deviation shows the growth or alteration of your responses, so
here the standard deviation is 0.60. TABLE IV. SHOWING THE LEVEL OF BASIC STATISTICS
In the Table. IV, minimum (1) and maximum (4) presents that
there were 6 responses in the uppermost answer (i.e. lift
weights) and 7 responses in the lowermost answer (i.e.
Aerobics).The median of 2.00 (lower than the 2.43 mean)
shows that there were more respondents who mostly do walk
for exercise.).In this case, a mean of 2.43 shows that overall
Figure 16. Pie Chartof age respondents came in somewhere between exercise (walk), and
Fig. 16 shows that there were total 12(40.00%) respondents the exercise (run).Finally, the standard deviation shows the
whose age is between 18 to 24, and 16(53.33%) respondents growth or alteration of your responses, so here the standard
whose age is between 25 to 34 while the respondents whose deviation is 1.05.
age is between 45 to 54 were 2(6.67%).
83 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
84 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
85 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
• T
Sr. Excel Data Analysis hird
no questio
Mean Standard Median Mode Standard Sample Kurtosis Skew- Range Mini- Maxi- Sum Count
Error Deviation Variance ness mum mum n aims
to
1. 1.896 0.109506 1.815 1.6 0.346288 0.119916 -0.49301 0.9092 0.97 1.53 2.5 18.6 10 know
whethe
TABLE XI. SHOWING THE EXCEL DATA ANALYSIS r
respondents find the application helpful to control
blood glucose level or not.
Table XI calculations are obtained from the Excel data
analysis by using the mean values of all the questions.
B. Questionnaire
Fig. 25shows the questionnaire of an individual respondent in
order to obtain the feedback and also to analyze the result. The
respondent chooses one option from multiple choice.
From the above questions we conclude that the users find that
the application is beneficial to maintain their health
86 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
International Journal of Computer Science and Information Security (IJCSIS),
Vol. 14, No. 7, July 2016
blood sugar readings, and assists users to track their diet [14] Sung-Soo Kim. A Study on the Acceptance Factor for Telehealth
properly. Service According to Health Status by Group, Indian Journal of
Science and Technology, 2015, 8(1), pp. 542-50Date accessed:
Future Work: In the future, we will integrate more apps to our 14/01/2016
main application to make it a more sophisticated auto-help [15] Hwansoo Kang, Jinhyung Cho, Heechern Kim. Application Study
tool and to provide a wide range of facilities to the end user. on Android Application Prototyping Method using App Inventor,
These apps will include: (1) Measuring blood pressure and Indian Journal of Science and Technology, 2015, 8(19), pp. 1-
Measuring Weight of the body, (2)Provide reminders to users 5.Date accessed: 15/01/2016
[16] Hwansoo Kang, Jinhyung Cho. Case Study on Efficient Android
about their medications which help them to take medicine on Programming Education using Multi Android Development Tools,
time. Therefore, through these reminders, the user can take Indian Journal of Science and Technology, 2015, 8(19), pp. 1-
care of their health, and (3) Graphs of the output obtained will 5.Date accessed: 11/02/2016
help the user to keep track of the changes in diabetes-related [17] Muhammad Zubair Asghar, Aurangzeb Khan, Shakeel Ahmad,
readings and to manage their diet and health in a more and Bashir Ahmad. SUBJECTIVITY LEXICON
effective way. CONSTRUCTION FOR MINING DRUG REVIEWS. Science
International 26(1) 2014, pp145-149.Date accessed: 18/02/2016
ACKNOWLEDGMENT [18] Asghar, Muhammad Zubair, et al. "AndorEstimator: Android
based Software Cost Estimation Application." arXiv preprint
In the name of Allah, the Most Gracious and the Most arXiv:1605.02304 (2016).Date accessed: 12/05/2016
Merciful, Alhamdulillah, all praises to Allah for the strengths [19] Dr. Muhammad Zubair Asghar, Ulfat Batool, Farheen Bibi, Sadia
and His blessing in completing this research paper. Ismail, et al. "Financial Studio: Android Based Application for
Computing Tax, Pension, Zakat and Loan"International Journal of
We would like to express our deepest gratitude to our Academic Research Vol. 4 Iss. 2 (2016) p. 96 - 117 ISSN: 2075-
Supervisor, Dr. Muhammad Zubair Asghar, for his excellent 4124 Available at: http://works.bepress.com/drzubair/21/ Date
guidance, caring, patience, and providing us with an excellent accessed: 12/05/ 2016
atmosphere for doing our research work. [20] Dr. Muhammad Zubair Asghar, Iqra Sana, Hina Iqbal and
Khushboo Nasir. "Quizzy: Quiz Application Development Using
REFERENCES Android-Based Platform" (2016) Available at:
http://works.bepress.com/drzubair/28
[1] Asghar MZ, Khan A R, Asghar M J. Computer assisted diagnoses [21] Mit App Inventor. http://appinventor.mit.edu/explore//. Date
for red eye (CADRE). International Journal on Computer Science accessed: 22/07/2016.
and Engineering. 2009, 1(3), pp. 163-70.Date accessed: [22] Health Calculator Free.
23/01/2015 https://play.google.com/store/apps/details?id=com.hashinclude.hea
[2] Asghar D, Zubair M, Asghar MJ. Expert System for Online lthcalculator. Date accessed: 06/01/2014.
Diagnosis of Red-Eye Diseases. International Journal of [23] The Calculator. http://www.thecalculator.co/health/Blood-
Computer. Date accessed: 23/01/2015 Calculator-67.html. Date accessed: 23/12/2014.
[3] Science & Emerging Technologies (IJCSET). 2010, 1(2), pp. 35- [24] Calorie Calculator. http://www.calculator.net/calorie-
39. Date accessed: 24/01/2015 calculator.html?ctype=metric&cage=22&csex=m&cheightfeet=5&
[4] Top 15 Android medical apps for health care professionals. cheightinch=10&cpound=160&cheightmeter=160&ckg=27.2155&
http://www.imedicalapps.com/2011/01/top-free-android-medical- cactivity=1.2&printit=0&x=84&y=16.Date accessed: 09/10/2015.
apps-healthcare-professionals/. Date accessed: 24/01/2015. [25] Find Your Target Heart
[5] Get help applying for health insurance. Rate.http://exercise.about.com/od/cardioworkouts/ss/findtargethear
https://www.healthcare.gov/apply-and-enroll/get-help-applying/. t.htm#showall. Date accessed: 05/04/2016.
Date accessed: 13/01/2016 [26] Blood-Sugar
[6] Multi health-care: http://sdc.csce.uark.edu/projects/modhealth/. Chart.http://www.medindia.net/patients/calculators/bloodsugar_ch
Date accessed: 12/12/2015 art.asp.Date accessed: 18/04/2016.
[7] A mobile nutrition self-management application for people with
diabetes.http://munin.uit.no/bitstream/handle/10037/4233/thesis.pd
f.Date accessed: 22/11/2015
[8] Asghar D, Zubair M, Ahmad D. A Review of Location
Technologies for Wireless Mobile Location-Based Services.
Journal of American Science. 2014, 10(7), pp. 110-18. Date
accessed: 25/11/2015
[9] Asghar MZ, Qasim M, Ahmad B, Ahmad S, Khan A, Khan IA.
Health Miner: Opinion Extraction From User Generated Health
Reviews. International Journal of Academic Research. 2013 Nov,
5(6), pp. 279-84.Date accessed: 30/11/2015
[10] Asghar MZ, Ahmad S, Marwat A, Kundi FM. Sentiment Analysis
on YouTube: A Brief Survey.MAGNT Research Report. 2015
Nov, 3(1), pp. 1250-57.Date accessed: 01/12/2015
[11] Asghar MZ, Khan A, Kundi FM, Qasim M, Khan F, Ullah R,
Nawaz IU. Medical opinion lexicon: an incremental model for
mining health reviews. International Journal of Academic
Research. 2014 Jan, 6(1), pp. 295-302.Date accessed: 12/12/2015
[12] KeunYoo Lee, HakJin Moon, Ye Seul Han, Soon Ryun Lim. The
Factors affecting Health Behaviors of a Mother with Infants and
Toddlers, Indian Journal of Science and Technology, 2015, 8(35),
pp. 1-9.Date accessed: 26/12/2015
[13] Jaeyeon Kang, SunjuSohn.Limited Access to Health Care and the
Impact there of on Married Women’s Mental Health, Indian
Journal of Science and Technology, 2015, 8(20), pp. 1-7.Date
accessed: 09/01/2016
87 https://sites.google.com/site/ijcsis/
ISSN 1947-5500
View publication stats