Loading menu…

AROGYA Intelligent Health Care Application

§ Sri Lanka Institute of Information Technology

Send Message

To: Author

AROGYA Intelligent Health Care Application

Article Fingerprint

ReserarchID

CSTIT9GVM4

AROGYA Intelligent Health Care Application Banner

Key Research Insights

Synthesized scholarly intelligence & interactive research assistant
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Reading Preferences
Font Size
Line Spacing
Background
This converted HTML version may contain rendering inconsistencies. Please refer to the PDF for the authoritative version, or click here to provide feedback.

Abstract

People of today pay less attention to their daily diet due to their busy lifestyles. Therefore, there is a great tendency to contract chronic non-communicable diseases. Furthermore, the lack of nutritious meals and daily exercise causes chronic non-communicable diseases in people with no age difference. In our first part, we developed to predict specialization in cardiology using symptoms. However, when we refer to a doctor, we must at least know what specialist should know based on their symptoms. In addition, there is a problem with the recipe. If the pharmacist has misread the prescription given by the doctor, patients can receive bad medications, leading to terrible side effects and even death due to careless writing by the doctor. As a solution, an application function can be proposed that will be developed in the project and the function should be able to improve the readability and intelligibility of the patient with prescription drugs. Therefore, the patient always knows the prescribed medications through the application to avoid the problem mentioned above. According to the 2016 pharmaceutical magazine, there are cholesterol and diabetic patients suffering mainly from chronic non-communicable diseases in Sri Lanka.

I. INTRODUCTION

Human health is main part of the life. The meaning of health has evolved over time. From the biomedical perspective, early definitions of health focused on the issue of the body's ability to function; health was viewed as a normal functioning state which could be interrupted from time to time by illness. Also, in current era, people too much busy with their works. Because of that, people are suffering with non-communicable chronic diseases [7]. According to the Pharmaceutical Journal of Sri Lanka 2016 [7], there are Hypertension 48.5%, Diabetes mellitus 45.3% and Ischemic Heart disease 29.4%. Proposed application based on non-communicable chronic diseases. First part mainly based on heart diseases. Because the heart diseases area is wide in the medical world. There are many categories based on heart diseases named blood vessel diseases, coronary artery disease; heart rhythm problems (arrhythmias); and heart defects born with (congenital heart defects), among others[8]. Also, Cardiovascular disease usually refers to conditions that involve narrowed or blocked blood vessels that can lead to a heart attack, chest pain (angina), or a stroke. Other heart conditions, such as those that affect muscle, valves, or heart rate, are also considered to be forms of heart disease. Other part based on cholesterol, diabetic and blood pressure. Cholesterol is a chemical compound that the body needs as a building block for cell membranes and hormones like estragon and testosterone. The liver produces about 80% of the body's cholesterol and the rest comes from food sources such as meat, chicken, eggs, fish, and dairy products. Plant-based foods do not contain cholesterol [9]. Cholesterol divided in to three parts known as High-density lipoprotein (HDL), Low-density lipoprotein (LDL) and very low-density lipoprotein(VLDL). There are levels known as VLDL <40mg/dL, LDL <160mg/dL, HDL >=45mg/dL, Triglycerides <150mg/dL.

II. METHOD

a) Data sets

i. Heart disease prediction model

The data set that we used in this research, is used various researchers for their research purpose. We get it the web site called kaggle.com[10]. This dataset was used in this research designing for heart disease diagnosis for machine-learning-based system. This heart disease related dataset has a sample size of 4240 patients, 16 features.

ii. Prediction for future cholesterol level model

The data set that we used to predict cholesterol level is a created data set by me. This data set used in this research for predict cholesterol level for future six months suing time series analysis. This cholesterol level related dataset has a sample size of 20 months of one patient.

iii. Model for diet plan

I created dataset to similar medicine using SPC guidelines. Because there is no dummy, data set to this part. In that case, I met a doctor and created a sample dataset to create the model.

To predict the diabetic level and cholesterol levels part we got the dummy data using https://www.kaggle.com/ website.

iv. Give an idea of the prescription

Collected cholesterol prescription as an image data set and created a stranded dataset.

b) Data processing

There is feature called education. That one is not related to the heart disease. Therefore, we drop that feature. During the cleaning, remove null values. Some null values fill with the mean value of the feature and get a value, which will increase the efficiency. In the prediction of the diabetic and cholesterol level part, started to create the model using jupyter notebook. First, imported necessary libraries and added the dataset. Also dropped the unnecessary data column in the data set.

c) Methodology of the Proposed System

i. Heart disease prediction model

The proposed system developing with the aim to classify weather people should channel cardiology or not. One of the popular machine learning classifiers logistic regression used for classification of this system. Logistic regression is the one of best classifier to get binary value output. The methodology of the proposed system structured into four stages including (1) preprocessing of dataset, (2) feature selection, (3) machine learning classifiers, and (4) classifiers' performance evaluation methods. Figure 1 shows the framework of the proposed system.

Figure 1:
Figure 1:

Logistic Regression: A logistic regression is a classification algorithm [27–29]. For binary classification problem, in order to predict the value of predictive variable y when y∈[0,1], 0 is negative class and 1 is positive class. It also uses multi classification to predict the value of y when y∈[0,1,2,3].

In order to classify two classes 0 and 1, a hypothesis will be designed and threshold classifier output is at 0.5. If the value of hypothesis, it will predict y = 1 which mean that the person has heart disease and if value of, then predict y = 0 which shows that the person is healthy.

Hence, the prediction of logistic regression under the condition is done.

Logistic regression sigmoid function can be written as follows:

hθ(x)=g(θTX),

where g(z)=1/(1+x−z) and hθ(x)=1/(1+x−z).

Similarly, the logistic regression cost function can be written as follows:

J(θ)=1m∑i=1mcos⁡t(hθ(x(i)),y(i)).

My ratio is 80-20. 80% data will train and 20% will be test. Import confusion matrix to represent the false positive, false negative, true positive and true negative.

ii. Prediction for future cholesterol level model

This proposed system developing to predict a cholesterol level for about 6 months of future and store patient past data records of cholesterol level. The time series is one of the popular machine learning prediction algorithms. In time series analysis have one variable at that time. There have an independent variable and a dependent variable. Time series prediction is a form of data mining that predicts future behaviors by analyzing historical data.

The objectives of a time series prediction, t is estimated value of x and, X[t+s]=f(x[t],x[t−1],…,x[t−N]), s>0 is called the horizon of prediction. Figure 2 shows the prediction of a time series using auto regression integrated moving average (ARIMA-model) [11].

The way a Simply Moving Average is calculated is that it takes the subset of the data mentioned in the moving average model description, adds together the data points, and then takes the average over the subset of data. It can help identify the direction of trends in your data and identify levels of resistance wherein business or trading data. [12]

Forecasting is one of the most relevant tasks when working with time-series data. You can forecast with a simple moving average, another moving average model called 'Autoregressive Integrated Moving Average' is popular for fairly accurate and quick forecasting of time series. The Autoregressive Integrated Moving Average, or ARIMA model, is a linear function that is used for predicting future data points based on past data. ARIMA combines the models the past data points to determine future points to the linear regression model on an independent variable to predict the dependent variable. Because of ARIMA's using past data, a longer series is preferable to get results that are more accurate. [13]

iii. Model for diet plan

In decision tree classification data model have two main types known as classification tree and regression tree. This is a non-parametric supervised learning method [1]. In this data model, predict the value of the target variable in the data set by learning simple decision rules. In classification, tree outcome was yes/no type. Those decision variables are categorical or discrete. Also, it known as binary recursive partitioning. However, regression tree is taking continuous values or real numbers [2]. There are many different algorithms but in here, mainly used ID3 (Iterative Dichotomies 3) algorithm [3] invented by Ross Quinlan. Simple meaning of this is greedy search via the space of possible branches without no reverse. It is built top-down from a root node and create subsets using similar values. This is known as homogenous [4]. ID3 algorithm used entropy (figure 3) to appraise the homogeneity of the data set.

Entropy using the frequency table to calculate the decision tree within two types. First, one is for one attribute (Figure 4). Second, one is for two attributes (Figure 5). There are two formulas for above mention types.

E(S)=∑i=1c−pilog2⁡pi

Figure 4: Calculation for one attribute

E(T,X)=∑c∈XP(c)E(c)

Figure 5: Calculation for two attributes In the similar medicine part, created a histogram to overview the dataset. Finally checked the accuracy of the dataset.

In the cholesterol and diabetic part, create the ranges to diabetic level and cholesterol level. Then created a pie chart to get an idea of the data set. Checked the null values in the dataset. If there were null values, get the mean value of the data column and replaced to the null values. Next, create a histogram to the age column and reading levels. Finally checked the accuracy of the dataset. Next created the meal plan to the reading ranges above mentioned.

iv. Give an idea of the prescription

First recognized of handwritten medical forms. For that, I used Lexicon Driven Word Recognizer

Algorithm [5]. All lexicon entries are treated as detached words and matched the input word image as containing handwriting to recognize in word model-based recognition. Lexicon entry is the best top choice of this. To develop this model, we created word recognition methodology (Figure 6). Segments are matched against individual characters without using any contextual information in character model-based recognition. In addition, we used Latent Semantic Analysis [6] to compute the relationship between the context of words and terms to a semantic category.

Figure 6:
Figure 6:

III. RESULTS AND DISCUSSION

a) Heart disease prediction model

This section of the paper involved the discussion on the classification model and outcome. First, we checked the performance of machine learning algorithm that I used called logistic regression. All computations were performed on an Intel(R) Core TM i7 - 7500U CPU @3.5 GHz PC.

I get the mark 87% as the result of the accuracy score. Precision score, recall score, f1 score and the confusion metrics would be as follows.

{"code_caption":[],"code_content":[{"type":"text","content":"In [24]: print('Accuracy Score: ' + str(accuracy_score(y_test,y_pred)))\nprint('Precision Score: ' + str(precision_score(y_test,y_pred)))\nprint('Recall Score: ' + str(recall_score(y_test,y_pred)))\nprint('F1 Score: ' + str(f1_score(y_test,y_pred)))\nfrom sklearn.metrics import confusion_matrix\nprint('Confusion Matrix: \n' + str(confusion_matrix(y_test,y_pred)))\n\nAccuracy Score: 0.8702830188679245\nPrecision Score: 0.8\nRecall Score: 0.10084033613445378\nF1 Score: 0.17910447761194032\nConfusion Matrix:\n[[726 3]\n[107 12]]"}],"code_language":"txt"}

Figure 7

I used grid search for increase my accuracy after the training and testing the data. Accuracy score increased by 0.1%.

{"code_caption":[],"code_content":[{"type":"text","content":"[] accuracy=accuracy_score(y_test,y_pred) I\naccuracy"}],"code_language":"txt"}

0.8714622641509434

b) Prediction for future cholesterol level model

Figure 8 For the cholesterol prediction section, we used the performance of time series analysis to predict future cholesterol levels. The result of selecting time series analysis, inputs of cholesterol levels are used to convert to log scale and giving a plot graph and showing prediction line for six months. Other than that in that graph shows the confidence level of prediction

Figure 9:
Figure 9:

c) Model for diet plan

In the cholesterol level and diabetic level, get the 90% as accuracy score. Also, predict the result of the data set. As we expected, predict data was the same as the actual data (Figure7).

Figure 11:
Figure 11:

Figure 10 Selected a random word as 'word'. Matched the word between a sample image and lexicon entry 'word' (Figure 8).

d) Give an idea of the prescription In the handwriting recognition of the prescription part, get an example to give the result.

In the first part, it shows segment point of the image. There are 9 points. Second part is the confidence of the match word. Final part is matching the paths and confidences. For this result will be as the expected one.

IV. CONCLUSION

In this research, we try to implement a model for predict heart disease; predict cholesterol and diabetic levels for best meal plan using machine learning algorithm. We train and test model for using given data set. In predict heart disease, part, its accuracy score is 87% up to now. For that, we used logistic regression for classification. In predict cholesterol and diabetic levels for best meal plan part, its accuracy score is 90%. For that, we used Decision tree for classification.

Researchers can increase accuracy level of the model. However, there are numbers of algorithms to classification. We will perform more experiments to increase the performance of these predictive classifiers for heart disease prediction by using others feature selection algorithms and optimization techniques. If someone follows the heart disease prediction, you all can use different data set and can be used other algorithms for classification. If researchers can implement hybrid model using many algorithms. We think it is also new era of this heart disease prediction model.

In cholesterol level prediction section, we try to implement a model of predict cholesterol level for about six months for future. We train and test model for predict cholesterol level using given dataset and get prediction line and confidence area.

Researchers can develop this model for other diseases and they can try to develop this system using other algorithms and techniques. If someone trying to follow cholesterol level prediction, you can try to get a very smooth line using another way for stationarity. If researchers implement this using more algorithm, that also a new thing for cholesterol prediction model.

In prescription reading via image, processing is a big challenge for us. However, using Lexicon Driven Word Recognizer Algorithm, it simplifies the model work. Use of variable duration in word recognition process improved performance.

ACKNOWLEDGEMENT

The Sri Lanka Institute of Information Technology supported for this work.

References

11 Cites in Article
  1. 1. J Brownlee (2016). Parametric and Nonparametric Machine Learning Algorithms. Machine Learning Mastery
  2. 2. A Chakure (2019). Decision Tree Classification. Decision Tree Classification
  3. 3. En (2020). ID3 Algorithm. ID3 Algorithm
  4. 4. Saedsayad (null). Fig. 4. CHAID decision tree (fragment): terminal nodes 16–18. Fig. 4. CHAID decision tree (fragment): terminal nodes 16–18.
  5. 5. Pdfs,Semanticscholar (1997). A Lexicon Driven Approach to Handwritten Word Recognition for Real-Time Applications. A Lexicon Driven Approach to Handwritten Word Recognition for Real-Time Applications
  6. 6. (2011). Handbook Of Latent Semantic Analysis. G2P0HE&sig=aQIXfzinenum39EpoSmmEwc5R-s&redir_esc=y#v=onepage&q=Latent%20Semanti c%20Analysis&f=false
  7. 7. N Wijekoonand,L Shanika (2016). Adverse drug reactions and associated factors in a cohort of Sri Lankan patient with non-communicable chronic diseases. ResearchGate.net
  8. 8. Mayo Clinic Staff (2018). Heart disease -Symptoms and causes. Heart disease -Symptoms and causes
  9. 9. R,Charles Patrick,Davis,Benjamin Wedro (2016). LDL Cholesterol to HDL Cholesterol Ratio Measurement. What Is Cholesterol? HDL and LDL Ranges and Diet
  10. 10. (2020). Framingham Heart Study Dataset. Framingham Heart Study Dataset
  11. 11. Anthony De Silva,Philip Leong (2015). Grammar Based Feature Generation. SpringerBriefs in Applied Sciences and Technology, 35-50.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Anupama Kannangara, Rathnayaka W.G.P.N., it17027120, it16022102. 2021. "AROGYA Intelligent Health Care Application". Global Journal of Computer Science and Technology - H: Information & Technology GJCST-H Volume 21 (GJCST Volume 21 Issue H1).

More Citation Formats

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Classification
GJCST-H Classification J.3
Version of record
v1.2

Issue date
February 5, 2021

Language
English
Order Article Reprint
Experience in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 1.4K
Total Downloads: 125
All Trends

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

AROGYA Intelligent Health Care Application

Anupama Kannangara
Anupama Kannangara Sri Lanka Institute of Information Technology
Rathnayaka W.G.P.N.
Rathnayaka W.G.P.N. <p>Sri Lanka Institute of Information Technology</p>
<p>Sri Lanka Institute of Information Technology</p>
<p>Sri Lanka Institute of Information Technology</p>