Hospital Management System
This Hospital Management System is a student project aimed at facilitating the management of patient and doctor information within a hospital or medical facility. It provides functionalities for adding, editing, deleting, and searching patient and doctor records.
-
Patient Management:
- Add new patients with their details including name, ID, age, and address.
- View a list of all patients.
- Display detailed information about a specific patient.
- Edit patient information.
- Delete patient records.
- Advanced editing options for patient information.
-
Doctor Management:
- Add new doctors with their details including name and ID.
- View a list of all doctors.
- Delete doctor records.
-
Consultation Detail:
- Record consultation details including doctor's name, diagnosis, patient status, and consultation date.
-
File Operations:
- Save patient and doctor information to files for persistence.
- Open existing files to load data into the system.
-
Search Functionality:
- Search for patients by name or ID.
-
Classes:
CONSULT_DETAIL
: Represents consultation details.PATIENT
: Represents patient information.DOCTOR
: Represents doctor information.
-
Functions:
programInfo()
: Displays program information.Menu()
: Displays the main menu of the system.Open_File()
: Opens files to load data into the system.List_Patient()
: Lists all patients.Display_Patient_Detail()
: Displays detailed information about a patient.Patient_Detail()
: Handles patient detail operations.List_Doctor()
: Lists all doctors.Add_Doctor()
: Adds a new doctor.Validate_Doctor_ID()
: Validates doctor IDs.Delete_Doctor()
: Deletes a doctor.Add_Patient_Information()
: Adds patient information.Validate_Patient_ID()
: Validates patient IDs.Validate_date()
: Validates dates.Delete_Patient()
: Deletes a patient.Delete_Patient_Information()
: Deletes patient information.Advanced_Edit_Patient_Information()
: Advanced editing of patient information.Edit_Patient()
: Edits patient information.Search_Patient()
: Searches for a patient.Search_Patient_by_ID()
: Searches for a patient by ID.Search_Patient_by_Name()
: Searches for a patient by name.Save_Patient()
: Saves patient information to file.Save_Doctor()
: Saves doctor information to file.main()
: Entry point of the program.
- Upon running the program, follow the menu prompts to perform desired operations.
- Use options to add, edit, delete, or search for patient and doctor records.
- Save data to files for persistence.
- This program is written in C++ and uses standard libraries.