Intelligent Recommendation System Programming assignment
PROGRAMMING ASSIGNMENT HELP help@programmingassignmentshelp.net
Background and Motivation: Intelligent Recommendation System Assignment In today’s lifestyle, people are having less time for exercise and this is leading to more health problems. Heart problem is one of the major problem being faced these days. Intelligent Recommendation
System is used to store the patient details and their heart test details conducted in past. This system then recommends heart test based on the history of heart test conducted. With the help of this system, a user can get the details of heart test done in past and their test results as well. Based on the past test conducted, this Intelligent Recommendation System Assignment recommends heart test to the patients. This system is helpful for the medical staff to view the heart test details of any patient and they can suggest whether one should go for heart test or not. If heart test is recommended, system will ask for the new results from the user. In case user does not provides the heart test results at that moment, this will store the details of such patients where heart test was recommended but result was not provided by them. This heart test result can be updated later on. Apart from the above said functionalities, this system also stores the basis details of patients such as Name, address, gender etc. A Patient ID is stored to identify the patient based. This system also stores the details of doctors with their basic details and specialization. This system is easy to use and it can suggest an individual when they should go for heart test.
System Architecture Architecture Diagram
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Modules of this System There are two major modules Admin Module Admin controls and manages the whole system. Admin adds new patients, search patients, add doctors, search doctors, update heart rate information etc. Major functions supported by Admin module are:
Add Patient Add Doctor Search Doctor Search Patient Update Heart Rate Information View Patients Past Heart Test Records
User Module User can view the details of his own and will not be able to add or modify any details by his own.
Use Case Diagram
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Snapshots Interface 1: Signing form
Interface 2: Change password form
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Interface 3: Welcome Form
Interface 4: Register Patient
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Interface 5: Register Doctor
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Interface 6: Search Patient
Interface 7: Search Doctor
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Interface 8: Update Heart Rate
Interface 9: Pending test patient list
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Interface 10: View Patient Test Details
Read about Vodafone Test Learners Assignment Help System Classes Details Classes and their details Below are the list of classes used in this IRS system.

java: This class is used as an entry point to the application. User has to provide the user id and password to get access of application. Methods used in this class are as below:
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Method Name
Description
Parameter
Return Value
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
Execute
This method is used to update user’s new password into the database
Null
Null
Checked
This method is used to check whether all the required inputs provided by user or not
Null
Boolean
itemStateChanged
Method is Called just after a state change in the listened-to component
ItemEvent
Null
java: This class is used by user to change his password
Method Name
Description
Parameter
Return Value
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
Execute
This method is used to update user’s new password into the database
Null
Null
Checked
This method is used to check whether all the required inputs provided by user or not
Null
Boolean
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
This method is used to check, whether provided old details are correct or not
Verify

Null
Boolean
java: This class is used to register a doctor in the system. Doctors can be registered by the administrator by entering the basic details.
Method Name
Description
Parameter
Return Value
Validate_data
Method to validate whether required data provided by user or not
Null
Boolean
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
Clear
Clears all the input provided by user
Null
Null
Insert_Doctor
Method to create new record in database
Null
Null

java: This is used to register patient in the system by providing the basic details of patient.
Method Name
Description
Parameter
Return Value
Pvalidate
Method to validate whether required data provided by user or not
Null
Boolean
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Update_Heart
Method for updating patient heart rate information in database
Null
Null
Clear
Clears all the input provided by user
Null
Null
Test
Method to compare the input heart rate details with Master Heart Rate data
Null
Null
Patient
Method to create patient and update data in database
Null
Null

java: This class is used to search a registered doctor in the system by providing doctor ID.
Method Name
Description
Parameter
Return Value
addDoctor
Method used to update doctor ID in drop down list
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
Clear
Clears all the input provided by user
Null
Null
View
Method to view the details of doctor stored in database
Null
Null

java: This class is used to search patient who are registerd in the system with the help of patient ID.
Method Name
Description
www.programmingassignmentshelp.net
Parameter
Return Value
help@programmingassignmentshelp.net
addPatient
Method used to update patient ID in drop down list
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
View
Method to view the details of doctor stored in database
Null
Null

java: This class is used when test is recommended to patient based on his past test details. This is used to capture the test details for the patient.
Method Name
Description
Parameter
Return Value
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
setVisible
Method for making frame visible
Boolean
Boolean
addPatient
Method to update patient ID in drop down
Null
Null
Update
Method to populate patient name on the form from database
Null
Null
update_heart
Method to insert provided heart rate information in database
Null
Null
Rates
Method to compare input heart rate with master heart rate
Null
Boolean
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Validate
Method for validating user input
Null
Boolean
windowClosing
Method to remove the open window from screen
WindowEvent
Null
Cancel
Method to clear all the user filled data
Null
Null

java: This class is used to update the Heart Rate of a patient
Method Name
Description
Parameter
Return Value
addPatient
Method to update patient ID in drop down
Null
Null
Update
Method to populate patient name on the form from database
Null
Null
update_heart
Method to insert provided heart rate information in database
Null
Null
Rates
Method to compare input heart rate with master heart rate
Null
Boolean
Cancel
Method to clear all the user filled data
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null

java: This class is used to update the test details.
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Method Name
Description
Parameter
Return Value
addPatient
Method to update patient ID in drop down
Null
Null
Update
Method to populate patient name on the form from database
Null
Null
update_heart
Method to insert provided heart rate information in database
Null
Null
Rates
Method to compare input heart rate with master heart rate
Null
Boolean
Cancel
Method to clear all the user filled data
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null

java: This class is used to display the list of patients to whom test was recommended but test results are not update in system.
Method Name
Description
Parameter
Return Value
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null

java: This is used to view the details of patients.
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Method Name
Description
Parameter
Return Value
addTable
Method to add content to the table
String
Null
JTable
Null
removeTableColumnsAndData
Remove
Method to remove content from the table
Null
Null
addPatient
Method to update patient ID in drop down
Null
Null
Option
Method to show message to user based on previous test
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null

java: This class is used to list the test taken by patient in past by providing the Patient ID and then it recommends based on previous test results.
Method Name
Description
Parameter
Return Value
addPatient
Method to update patient ID in drop down
Null
Null
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null

java: This is the main form which is displayed once user is successfully logged into the system. Here all the menu items are available there which can be used to perform the operations of the system.
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Method Name
Description
Parameter
Return Value
actionPerformed
When a button is clicked,actionPerformed() is called with a new ActionEvent object as a parameter
ActionEvent
Null
Class Diagram Below is the class diagram of Intelligent Recommendation System
Features To implement this project I have used Java AWT package to create GUI for the system and JDBC package I used to connect with database so that necessary information can be stored in database.
AWT AWT stands for Abstract Window ToolKit. It is a portable GUI library for stand-alone applications and/or applets. Since it can be used in applets it can be used in web application as well.
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
The Abstract Window Toolkit provides many classes for programmers to use. It works as mediator between application and the native GUI. The AWT hides you from the underlying details of the GUI your application will be running on. It is a Java package and can be used in any Java program by importing java.awt.* using import keyword. The documentation for the package is available at the Java homepage. Effective graphical user interfaces are inherently challenging to design and implement, and the sometimes complicated interactions between classes in the AWT only make this task more complex. However, the creation of a graphical user interface using the AWT is not only possible, but also relatively straightforward.
JDBC JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases. JDBC technology allows us to use the Java programming language to exploit “Write Once, Run Anywhere” capabilities for applications that require access to enterprise data. With a JDBC technology-enabled driver, it can be connected to databases hosted in heterogeneous environment. The JDBC library includes APIs for each of the tasks commonly associated with database usage:
Making a connection to a database Creating SQL or MySQL statements Executing that SQL or MySQL queries in the database Viewing & Modifying the resulting records
For this project, I have used MySQL as database which is most commonly used database.
User Instructions In order to use this application, user has to setup java environment on the machine. As this program is designed in such a manner that it is getting connected with the local database, so one has to install the local MySQL database also which will be used by application to get connected. This database will store the details of users, patients and doctors. To use this application, user has to compile all the java files provided in source code folder. To compile, please use below command on command prompt: javac *.java Once all the files are compiled, please use below command to access application. java Signin Once prompted to enter user id and password, please use below credentials to enter into application User Name: admin Password: admin User Type: Administrator
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net
Once successful login, you can do the necessary action.
Lessons and Experiences During development of this application, I faced lots of issues in desigining of forms and connecting with the database, but my previous learning helped me a lot to overcome such issues. It helped me a lot to enhance my Java, Java AWT and JDBC skills.
Conclusion This project is designed as per instructions provided in assignment sheet. I have covered all the points where it is asked to create patients in the system, creation of doctors in system, heart test recommendation to patients based on previous heart test conducted. Patients heart test details can be updated at any point of time and can be viewed as and when required. System will generate recommendation based on whether to go for heart test or not based on previous test conducted. System will ask user to provide the new test details of test is recommended. If user does not provides the details of test at that moment, system will display a message for previous test result pending when user will try to search the test details again.
Programming Assignment Help UK is committed to plagiarism free assignments. This free Intelligent Recommendation System Assignment is complete solution based on case study.
www.programmingassignmentshelp.net
help@programmingassignmentshelp.net