We try to determine the type of abdominal pain of the patients who have several symptoms. Via the rough set theory, we obtain information table and discernibility matrix and put forward the status decision information. Thus, we obtain certain results and test these operations by the Rosetta program.

1. Introduction

Rough set theory was introduced by Pawlak in the early 1980s [1, 2]. The basic idea of this theory depends on classifying the objects that cannot be discernible according to some qualities. Rough sets can be defined using doubt, vagueness, and indeterminacy [3]. The theory can be used as a tool to discover data dependencies and to reduce the number of attributes contained in a data set requiring no additional information [4].

The most important feature of rough sets is that the theory is supported by mutual model development by practical exercise tools. In rough set, a large number of software systems are present. Rosetta and RSES can be given as an example. If we think of the problem of making groups of members which have a large number of qualifications in the set, the increasing number of members and qualities of members makes us insufficient to solve the problem.

Abdominal pain is one of the most common complaints that everybody may have at least once or a few times and one of the most important complaints that causes patient to go to doctor. Acute abdominal pain or acute abdominal as is called in surgery includes pathologies occurring with pain in abdominal region depending on the reasons except trauma which may require medicine or medical surgery. The reasons constituting clinical table include a lot of pathologies from mild to serious. Delays in diagnosis and cure may affect the success remarkably. Although there are many new and comprehensive methods by means of technological innovations, detailed story, careful inspection and doctor’s predecisions are still too important.

Gastrointestinal infection (infectious intestinal disease) can be caused by a variety of communicable diseases and infections, which gain entry by and/or affect the gastrointestinal tract.

Infectious intestinal disease affects as many as 1 in 5 members of the population each year.

In this study data of the patients (who have abdominal pain) had been collected by the doctors who are employed in a private hospital at internal diseases clinic. The data of 58 patients suffering from these diseases have been examined. As the result of that examination the number of symptoms has been limited by 10. It is provided that the symptoms are diagnosed quickly by using minimum symptoms in the analysis part. Thus a leading data analysis has been done for decision periods of doctors.

2. The Concept of Rough Set

A data set is represented as a table, where each row represents a case, an event, a patient, or simply an object. Every column represents an attribute (a variable, an observation, a property, etc.) that can be measured for each object; the attribute may be also supplied by a human expert or user. This table is called an information system. More formally, that is a pair, whereis a nonempty finite set of objects called the universe andis a nonempty finite set of attributes such that. The set is called the value set ofdenotes the value of attribute a for object. Any subsetdetermines a binary relationon, called indiscernibility relation, if, for every.

The family of all equivalence classes of, namely, the partition determined by, will be denoted by. An equivalence class ofcontainingwill be denoted by. Ifwe will say thatandareindiscernible.

Given an object subset, we callandthe-lower and-upper approximation of, respectively;andare defined as follows: is referred to as the-boundary region of. If, then the setis exact with respect to, oris referred to as rough set with respect to.

is a family of equivalence relations,; if, we say thatis indispensable in.

Given,, and for any,is indispensable. We say thatis a reduct of. Obviously, there is not only a single reduct mostly. Core is defined as the common part of all reducts: wheredenotes all of the reducts of. Reduct and core are two fundamental concepts of rough set theory. The reduct is the essential part of the information system, which can discern all objects discernible by the original one [513].

3. Data Set

3.1. List of Attributes of Symptoms

According to the information provided above, in order to be able to diagnose the related diseases distinctively we investigate answers to questions consisting of the following ten items. The letterstands for attribute:severity of abdominal pain ((1) mild, (2) medium, or (3) severe);features of abdominal pain ((1) heavyset, (2) agonizing, or (3) reflecting pain);characteristics of abdominal pain ((1) steady or (2) changeable);duration of abdominal pain ((1) sudden start, (2) for days, (3) for months, or (4) for years);location of abdominal pain ((1) right upper dial, (2) epigastric, (3) left upper dial, (4) umbilical, (5) right hypochondrium, or (6) left hypochondrium (7) pervasive);relation to eating, ((1) increasing, (2) decreasing, or (3) steady);the existence of alarm symptoms (anemia, losing weight, and rectal bleeding) ((1) alarm symptom exists, (2) alarm symptom does not exist);the existence of systemic symptoms (fever, strong heartbeat, and low tension) ((1) systemic symptom exists (2) systemic symptom does not exist);stomach intestine discomfiture ((1) bloated feeling-constipation, (2) bloated feeling-diarrhea, (3) bloated feeling-constipation-diarrhea or (4) no discomfiture);the existence of dyspeptic complaints ((1) nausea-vomit, (2) burning-souring, (3) bitter liquid taste in mouth, or (4) pyrosis).

4. Clinical Table

The most significant symptom in the acute abdomen chart is the abdominal pain. Since the patient arrives at the clinic with a complaint of abdominal pain, the beginning of the history should also be with abdominal pain. The localization of pain and its beginning and development characteristics should be considered.

Different characters of abdominal pain in a patient with acute abdomen carry significant signs/traces/footprints in the diagnosis of the illness. It is possible to list those characters under the headings as follows:(1)reflection feature,(2)severity/intensity,(3)beginning and development feature,(4)form and period (frequency),(5)relation with food.

To give a brief summary of the illnesses examined in this context, we state the following.

Cholecystitis (Inflammation of Gallbladder). It is an illness caused by the inflammation of the gallbladder. It usually develops depending on the stone in the gallbladder. It comes, suddenly or within hours, as agonizing pain localized in the upper right quadrant along with systemic symptoms such as fever, nausea, and vomiting.

Peptic Ulcer. It is an illness characterized by the increase of acid-pepsin secretion in the stomach. It is an inflammatory illness of the stomach. It is an illness whose most significant symptoms are heavyset burning-scraping pains whose reflections can sometimes be felt on shoulders and back. Stress and oily-spicy foods may trigger this illness.

Irritable Intestinal Syndrome (Delicate Intestinal Illness). It is an illness especially of the large intestine. There has been an increase in the frequency of the illness recently. There is an increase in the sensitivity of the nerve cells in the large intestine mucosa. It does not have a sudden start. It is characterized by a pain in the abdominal region, swollenness, constipation, and/or diarrhea attacks.

Pancreatic Inflammation. It is an inflammatory illness of pancreas. It occurs suddenly; generally it may cause pervasive abdominal pain. One of the most common causes is long-term excessive alcohol consumption. Other causes include(i)high levels of calcium in the blood;(ii)abnormalities in anatomy which are usually present at birth;(iii)cystic fibrosis;(iv)high blood fats (hypertriglyceridemia);(v)in rare cases, some drugs can cause pancreatitis;(vi)in a number of cases no specific cause can be identified, a condition known as idiopathic pancreatitis.

Reflux. When you have something to eat or drink, it passes down the oesophagus (gullet) into the stomach. The flow of traffic should definitely be one way. However, reflux occurs when whatever happens to be in your stomach travels in the wrong direction back up into the oesophagus. Unlike vomiting, which is quite a violent activity, reflux mostly occurs without us being aware that it is happening.

Poor diet is believed to be the most prevalent acid reflux cause. Acid reflux occurs during digestion, when the stomach churns up acid or refluxes into the esophagus, causing a burning sensation in the chest or throat. Too much acid can push back through a valve between the stomach and the esophagus called the lower esophageal sphincter (LES). Along the same lines as diet, overeating also causes reflux. When you overeat, the stomach cannot keep up with the demand to process all the acids. So food gets backed up, and digestive acids infiltrate the esophageal valve to cause that unpleasant burning feeling centered in the chest.

Other factors that create a predisposition for acid reflux include smoking, use of alcohol, food allergies, certain medications, and lying down after meals.

The most frequent symptom is heartburn which is a burning sensation in the chest. Run heartburn is often most noticed at the lowest end of the bone, and the discomfort rises upwards to an extent that varies from individual to individual. Sometimes the burning feeling can reach all the way up to the throat. Heartburn occasionally can be felt deeply within the chest—almost within the back. Some patients notice reflux when some of the contents of their stomach “repeat” by coming back up the esophagus as far as the throat or even the mouth.

Enteric. It is an inflammation of intestine mucus and generally caused by bacteria and infections. It comes into existence sometimes abruptly and sometimes within hours as agonizing pains. Enteric symptoms included nausea, vomiting, abdominal pain, flatulence, tenesmus, fecal urgency, and incontinence.

It is an inflammation of intestine mucus and generally caused by bacteria and infections. It comes into existence sometimes abruptly, sometimes within hours as agonizing pains. Enteric symptoms included nausea, vomiting, abdominal pain, flatulence, tenesmus, fecal urgency, and incontinence.

5. Reduction and Status Decision

5.1. Collection of Data Bases

In this section, data of patients with abdominal pain provided through a questionnaire and converted into symptoms table attribute list"; hence we are ready to reduct the collected data by the technique of Rough Set theory. The list of attribute of symptoms consists of 10 basic attributes. In fact we have an information table including 58 different patients’ symptoms. But for the sake of simplicity Table 1 is constructed according to only 29 different patients’ symptoms.

The patients are shown as “”, and they are numerated asin order. The attributes are shown as letter “” and are numerated asin order. Thismatrix is constructed according to attribute list obtained by complaint questionnaire. The numbers in the cells denote the value according to (3) as follows. Example of discernibility matrix foris the table which was found as the result of making the data numerical. A columnshowing the diagnosis of the patients will be added after that. The data set is arranged by columnin Table 1. The illnesses are numerated from 1 to 6 and are arranged in Table 1.

5.2. Discernibility Matrix and the Reductions

By the data taken from Table 1 our system becomessymmetric discernibility matrix. The componentforof this matrix corresponds to symptoms attribute set. In this way, we have the opportunity to compare symptoms attributes of a given group of patients to those others, and then we can record these differences into the corresponding cell to obtain the discernibility matrix. The examples of rows and columns of this matrix for the cell, , andare as in (3).

Our real discernibility matrix will be filled by caring the symptoms differences among the patients in the disease groups in this way. This matrix is a diagonal symmetric. Using the discernibility matrix, the discernibility function can be found. The functionis constructed as follows. Those are attributes within the same cell related byand those which are recorded in different cell are related byoperation. Thus, our discernibility function is discernibility function is simplified using the following features of the Boolean algebra:

When we have large data set, ROSETTA program can be used for analyzing the data tables. This program is used for data mining and knowledge processing. From given data bases, reduction process using several different algorithms reduces the mathematical overprocess. Language simplification process can be done in a short period by using “C++.” In this part reductions with different methods and status-decision knowledge were found and shown with the examples of output data.

5.3. Constitution of Reductions with Different Algorithms

In the following we give the resulting reductions obtained by using different algorithms. The data provided below are obtained using access data base linked by Rosetta program. By using this method only one attribution pair with 5 tuples. The other attributes are listed in 3 and 4 tuples has been found. See Tables 2, 3, 4, and 5. More precisely, for the sake of summarizing we can say the following.

Using Johnson method gives us the minimal reduction. It has been supported 100% byas can be seen in Table 7.

If we use RSES which is a directory library having been consisted of its own library of ROSETTA program and known to be consisted in using the experimental methods, we find the results in Table 4.

Table 4 looks like the table which is found by the method of genetic algorithm. The difference between genetic algorithm and RSES exhaustive is that latter one is limiting with 6 tuples term. In RSES genetic algorithmattribute appears as discernibility attribute of 6 different abdominal pain diseases. At this point, if we removeanddominant attributes and rearrange the remaining eight attributes we obtain the following order:

Then if we further apply reductions using the Rosetta program we obtain the results in Tables 6 and 7.

Having used this method, 4 tuples only two quality pair were found.

Table 7 gives us the information about the reduction result with respect to Johnson algorithm.

The output resultsupports 100%. “Length” shows how many terms the reduction has.

Equation (8) is decision related discernibility matrix

6. Decision Relative Discernibility Matrices and Decision Relative Discernibility Functions

Essentially by using attributeswith four terms, decision relative discernibility matrices and decision relative discernibility functions are found. Then two different matrices will occur for attributes with 4 tuples.

Functions will be constituted from these matrices and will be simplified. Decision relative discernibility matrix is diagonal symmetric such as in discernibility matrix. Each column of this matrix is written as multiplication of addition of attributes. By this way, decision relative discernibility functions are found by writing it as multiplication of addition of attributes for each patient. This function foris obtained fromdecision relative discernibility matrix shown in Table 8.

We used a Matlab program to get functions from this matrix. Then the following result has been found by doing individual simplifications:

Decision relative discernibility function foris shown with,as the following:

6.1. The Decision Rules

A decision table is made through decision relative discernibility functions which are related to the decision described above. In the decision table, rows represent patients, columns represent groups of attributes with 4 terms.

The decision table can be accepted as a decision set. Now, we explain how this table is constructed in our study. For example, the condition and the decision forcan be found through the followings

Also the condition and the decision forcan be found through the followings

Finally, the above can be explained; for instance, if abdominal pain located left hypochondrium and meteorism and constipation, dyspepsia, the disease of the patient may be IBS; that is, and if abdominal pain is colic and located epigastrium, dyspepsia, the disease of the patient may be peptic ulcer; that is,

7. Conclusion

We realized that rough set theory is very useful in classifying and analyzing a data set which consists of many attributes. This method could be used in many areas of science such as medicine, biology, and pharmacology. For instance, in pharmacology, reduction of adverse effects of a drug is very important.

Abdominal pain taken into consideration in this study is a symptom which we come across a lot in society. Although there are many, the most striking attributes of this pain related to this case has been determined by this method and this helps doctors diagnose with a great accuracy in a short time.

On the other hand, of course it is possible to support our theoretical in principle study with some clinical tests. In this case it would be possible to form multivariate matrix and we could analyze it by using cluster analysis, principal components analysis, and neuron net classification.

Planned future works are as follows.(1)Certain modern global optimization techniques such as fuzzy logic and intuitionistic fuzzy relations can be applied to this kind of problems.(2)The least and the most effective symptoms will be determined by using some classic and modern optimization tecniques together to prevent wastage on health care costs.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.