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.
A patient record system is required for a doctor’s surgery.
For each patient the system should record:
For each doctor the system should record:
The surgery administrator should be able to:
The surgery administrator should also be able to:
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.
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.
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.
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).
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.