Description
Further enhance the patient information management system. Save patient data to sequential data files. Add a menu and implement the “New”, “Open”, “Save”, and “Save As” menu items under “File”. These menu items function as follows.
New: Clear the list of patients and select a new file for patient data that will be entered. If a file has already been selected, save the current data first.
Open: Open an existing file and display the patient data stored in the file. If a file has already been selected, save the current data first.
Save: Save the current patient data to the selected file. If no file has been selected yet, ask the user to select a file.
Save As: Ask the user to select a file and save the current patient data to the file.