Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 2 Write the menu program, called PatientRecordSystemMenu, to provide options in the following menu: = = = = = = = = = =

Task 2
Write the menu program, called PatientRecordSystemMenu, to provide options in the following
menu:
=====================
Patient Record System
=====================
1. Add a measurement observation type
2. Add a category observation type
3. Add a patient
4. Add a measurement observation
5. Add a category observation
6. Display details of an observation type
7. Display a patient record by the patient id
8. Save data
9. Load data
D. Display all data for inspection
X. Exit
Please enter an option (1-9 or D or X):
The menu program must use the PatientRecordSystem class developed for Task 1.
For each option, the program should ask for the required inputs, each with a separate prompt.
For option 6,7 and D, it is acceptable just to use the toString methods of the classes involved
(which should have been implemented in Part 1 of the assignment).
See Appendix 2 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, i.e. it can crash when certain exceptions occur.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions