0% found this document useful (0 votes)
7 views3 pages

scope for hospital records

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

The scope of this C++ Hospital Management System project involves managing patient

records by providing the ability to add new patient records, add diagnosis information,
display information about the hospital, and exit the program. Below is a breakdown of the
scope:

1. Login System:

- User Authentication:

- The system prompts for a password.

- Grants access if the correct password is entered.

- Allows up to 3 attempts before denying access.

2. Main Menu:

- Options:

- Add New Patient Record.

- Add Diagnosis Information.

- Information About the Hospital.

- Exit the Program.

3. Add New Patient Record:

- User Inputs:

- Full name.

- Sex (M or F).

- Age.

- Any major disease suffered earlier.

- Contact number.

- Functionality:

- Saves the input data into a file named after the patient.
- Provides confirmation of successful data storage.

4. Add Diagnosis Information:

- User Inputs:

- Patient's file name.

- Symptoms.

- Diagnosis.

- Medicines.

- Functionality:

- Adds the diagnosis information to the existing patient's file.

- Provides confirmation of successful data storage.

5. Information About the Hospital:

- Static Information:

- Displays comprehensive information about the hospital.

- Details include location, overview, facilities, staff, technologies, community programs,


patient services, and the hospital's vision and mission.

6. Exit the Program:

- Functionality:

- Provides a thank-you message and terminates the program.

7. File Operations:

- Save Patient Record:

- Saves patient data into a file with append mode to ensure existing data is not
overwritten.
- Load Patient Record:

- Reads and displays the contents of a patient's file.

Code Structure:

Functions:

- main(): Entry point of the program, handles the login process.

- menu(): Displays the main menu and handles user choices.

- add(): Gathers and saves new patient data.

- addinfo(): Adds additional information to an existing patient file.

- infohosp(): Displays static information about the hospital.

- exitProgram(): Displays a thank-you message and exits the program.

- savePatientRecord(const string &filename, const string &data): Saves data to a file.

- loadPatientRecord(const string &filename): Loads and displays data from a file.

You might also like