You will build a system to manage patients' data in a hospital. The hospital patient management system stores specific information in the form of health record to keep track of the patients' data. Your program should read the information from a file called "patients.txt" that should be on the following format: Patient Name#Gender#Date of admission#Date of birth #Illness#Address (City) #Blood type Example of data input: Abed Mukhles #M#2212019#01012000#Ear Infection#Jenin#O+ Nadia A. Ali#F#01102020#05101970#COVID-19#A1Bireh#A- You are required to implement a program to help creating the system by including the following operations of an AVL tree: Read the file patients.txt and load the data (i.e., AVL Tree). Insert a new patient from user with all its associated data. Find a patient and give the user the option to update the information of the patient if found. List all patients in lexicographic order with their associated information. List all patients that have the same illness. Delete a patient from the system. Save all words in file "patients_hash.data"

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

Please solve it as required in the question, i have sent it previously but you sent me a solution to another similar question.

If the question very complixty just solve the read file in AVL tree and the another insert data

You will build a system to manage patients' data in a hospital. The hospital
patient management system stores specific information in the form of
health record to keep track of the patients' data.
Your program should read the information from a file called
"patients.txt" that should be on the following format:
Patient Name#Gender#Date of admission#Date of birth
#Illness#Address (City)#Blood type
Example of data input:
Abed Mukhles#M#2212019#01012000#Ear
Infection#Jenin#0+
Nadia A. Ali#F#01102020 #05101970#COVID-19#A1Bireh#A-
1. You are required to implement a program to help creating the system by
including the following operations of an AVL tree:
Read the file patients.txt and load the data (i.e., AVL Tree).
Insert a new patient from user with all its associated data.
• Find a patient and give the user the option to update the information
of the patient if found.
List all patients in lexicographic order with their associated
information.
• List all patients that have the same illness.
• Delete a patient from the system.
Save all words in file "patients_hash.data"
Transcribed Image Text:You will build a system to manage patients' data in a hospital. The hospital patient management system stores specific information in the form of health record to keep track of the patients' data. Your program should read the information from a file called "patients.txt" that should be on the following format: Patient Name#Gender#Date of admission#Date of birth #Illness#Address (City)#Blood type Example of data input: Abed Mukhles#M#2212019#01012000#Ear Infection#Jenin#0+ Nadia A. Ali#F#01102020 #05101970#COVID-19#A1Bireh#A- 1. You are required to implement a program to help creating the system by including the following operations of an AVL tree: Read the file patients.txt and load the data (i.e., AVL Tree). Insert a new patient from user with all its associated data. • Find a patient and give the user the option to update the information of the patient if found. List all patients in lexicographic order with their associated information. • List all patients that have the same illness. • Delete a patient from the system. Save all words in file "patients_hash.data"
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning