For this coursework you are required to develop a simulation of a patient record system

You are required to demonstrate your knowledge of object-oriented analysis, design and implementation by studying the description provided below. Additionally you are required to demonstrate your ability to develop software. the report should cover the five items listed after the description.

Patient Record System

A patient record system is required for a doctor’s surgery.

For each patient the system should record:

  • The name and address of each patient,
  • The first choice doctor for each patient,
  • A list the visits to the surgery (with date and type of ailment) made by each patient,
  • A list the outcalls made by each patient,
  • A list of the drugs prescribed to each patient.

For each doctor the system should record:

  • The name and address of doctor,
  • The surgery hours of doctor,
  • The on call hours (for outcalls) of doctor,
  • A list of outcalls made by each doctor (and to whom),
  • A list of the drugs prescribed by each doctor (and to whom).

The surgery administrator should be able to:

  • List currently available doctors,
  • List patients waiting for attention,
  • List drugs prescribed per doctor (or per patient),
  • List patient visits (including prescriptions and ailments).

The surgery administrator should also be able to:

  • Add/remove doctors/patients,
  • Alter surgery/on call hours,
  • Add latest visits.

Analysis

Based on the above description use the ‘nouns and verbs’ approach to list the classes and objects that can be used to model the patient record system. In addition you should list the attributes and methods associated with these objects. State any assumptions that you make in your selection.

Design

Based on your analysis write CRC cards for each of the classes identified. Each team member should then play the role of the classes and walk through the various scenarios. To test whether the class fulfils its responsibilities.Use the CRC cards to develop a class diagram to show the relationships between classes. If you decide to use BlueJ you may copy the class design from the BlueJ ‘Class Design’ window and paste it into your report.

Implementation

Implement your chosen classes in Java using appropriate comments to explain the purpose of each class and functionality of each method. The implementation should include a main method, which simulates the operation of the patient record system (i.e. write the main method to exercise the various functions described above for the patient record system). The implementation should be a command-line application (DOS Console Window) that produces textual output to simulate the operation of the patient record system, and in particular the above tasks of the surgery administrator. Your report should include the source code listing for each class. Your report should also provide a listing of the class hierarchy produced using the javadoc facility. In addition to the source code listings you should submit an electronic copy of the source code and the compiled class files.

Testing

Devise a test plan to test the operation of the patient record system. This should cover the operation of the patient record system, and in particular the above tasks of the surgery administrator. Include the test plan in your report along with the output from various test cases. Include any error conditions whether or not if they are detected (by your code) or undetected (genuine design errors).

Appraisal

Provide a short assessment of the methods that you used for the analysis, design and implementation of the patient record system. Indicate any areas where there is room for improvement.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.