Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 2 Write the menu program, called PatientRecordSystemMenu, to provide options in the following menu: = = = = = = = = = =
Task Write the menu program, called PatientRecordSystemMenu, to provide options in the following menu: Patient Record System Add a measurement observation type Add a category observation type Add a patient Add a measurement observation Add a category observation Display details of an observation type Display a patient record by the patient id Save data Load data D Display all data for inspection X Exit Please enter an option or D or X: The menu program must use the PatientRecordSystem class developed for Task For each option, the program should ask for the required inputs, each with a separate prompt. For option and D it is acceptable just to use the toString methods of the classes involved which should have been implemented in Part of the assignment See Appendix for a short sample run. The menu program for this task is only required to satisfy the data correctness conditions. It is not required to be robust, ie it can crash when certain exceptions occur.
Task
Write the menu program, called PatientRecordSystemMenu, to provide options in the following
menu:
Patient Record System
Add a measurement observation type
Add a category observation type
Add a patient
Add a measurement observation
Add a category observation
Display details of an observation type
Display a patient record by the patient id
Save data
Load data
D Display all data for inspection
X Exit
Please enter an option or D or X:
The menu program must use the PatientRecordSystem class developed for Task
For each option, the program should ask for the required inputs, each with a separate prompt.
For option and D it is acceptable just to use the toString methods of the classes involved
which should have been implemented in Part of the assignment
See Appendix for a short sample run.
The menu program for this task is only required to satisfy the data correctness conditions. It is not
required to be robust, ie it can crash when certain exceptions occur.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started