A Novel Expert System for the Diagnosis and Treatment of Heart Disease

The diagnosis of diseases in their early stages can assist us in preventing life-threatening infections and caring for them better than in the last phase because prevention is better than cure. The death rate can be very high due to the unapproachability of diagnosed patients at an early point. Expert systems help us to defeat the problem mentioned above and enable us to automatically diagnose diseases in their early phases. Expert systems use a fuzzy, rule-based inference engine to provide forward-chain methods for diagnosing the patient. In this research, data have been gathered from different sources, such as a hospital, by performing the test on the patients’ age, gender, blood sugar, heart rate, and ECG to calculate the values. The proposed expert system for medical diagnosis can be used to find minimum disease levels and demonstrate the predominant method for curing different medical diseases, such as heart diseases. In the next step, the diagnostic test at the hospital with the novel expert system, the crisp, fuzzy value is generated for input into the expert system. After taking the crisp input, the expert system starts working on fuzzification and compares it with the knowledge base processed by the inference engine. After the fuzzification, the next step starts with the expert system in the defuzzification process converting the fuzzy sets’ value into a crisp value that is efficient for human readability. Later, the expert physician system’s diagnosis calculates the value by using fuzzy sets, and gives an output to determine the patient’s heart disease. In one case, the diagnosis step was accomplished, and the expert system provided the yield with the heart disease risk level as “low”, “high”, or “risky”. After the expert system’s responsibilities have been completed, the physician decides on the treatment and recommends a proper dose of medicine according to the level the expert system provided after the diagnosis step. The findings indicate that this research achieves better performance in finding appropriate heart disease risk levels, while also fulfilling heart disease patient treatment due to the physicians shortfalls.