Java OOP Assignment: Design and Implementation of Patient System
VerifiedAdded on  2022/11/28
|34
|1938
|266
Report
AI Summary
This report presents a Java-based object-oriented programming (OOP) assignment focused on developing a patient management system for a GP surgery. The assignment covers the design and implementation of various classes, including Patient, Doctor, and BookAppointment, along with their respective methods. The Patient class incorporates properties like first name, last name, email, address, phone number, disease, and patient ID, along with methods for adding, removing, and viewing patient profiles. The Doctor class includes properties for name, specialization, time, doctor ID, and fees, along with a method to view doctors. The BookAppointment class handles appointment details such as patient ID, doctor ID, appointment ID, visit time, and fees, with methods for booking, canceling, editing, searching, and generating management reports. The report details the development process, class descriptions, method implementations, and a test phase that validates the functionality of each component. The Eclipse IDE was used for writing and executing the code. The program's successful execution is confirmed through the inclusion of outputs generated from the main menu, patient registration, patient removal, appointment booking, cancellation, and management reports. The assignment successfully demonstrates object-oriented principles in a practical, command-line-based application.