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"
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
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
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning