Skip to content

An expert system to suggest disease based on symptoms in drools.

Notifications You must be signed in to change notification settings

jeevansai502/disease-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disease search

1) This is a tool which is used to assist medical practitioners for basic use to give all
disease possibilities for a set of symptoms.

2)It takes patients symptoms as input and gives all matching diseases in the facts.txt file that matches more than 50% of symptoms.It  		needs to be filled prior to execution of program.

Technologies used:

  Java

  Drools(java based expert system shell)

Installation:

	a) It works on drools which is a java based expert system shell so you need to install any java ide first, i used eclipse ide in this project.  
b) Next you need to install drools plugin in your ide (check if all dependencies are met properly especially kie jar files, 			   else you may run into some error). 
	c) If you have successfully completed the above steps then you are ready to go.

Files:

	a) runRule.java is the main class of the project,it starts the kie session and database and initialises the expert system shell.
	b) ds.drl is the main rule file of the application which consists of two main rules "analyzesymptoms" and "printoutput"
	c) The first one calls java class to take input from user and map the symptoms with database facts,second one prints the values 		   checking the percentage of mapped symptoms.   
	d) The rules for data manipulation checking input ordering and checking mapped percentage are in java code.		

-> when you run the project you will see start screen with search button next you will be prompted to enter your symptoms,enter each symptom and press add button, after you have added all symptoms press finish,now you will be presented with your report of matching symptoms and the particular disease.

-> Now after seeing the report you may find any symptom not entered by you or forgotten ,then you can re run to get better matches,this continues until you find a satisfying solution.

About

An expert system to suggest disease based on symptoms in drools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages