Hospital Management System Project in C

0

 Hospital Management System Project in C



This is a somewhat long but simple mini project in C programming language. Hospital management system project is just a console application without graphics, designed for Alka Hospital, situated in Lalitpur, Nepal.

This project mainly uses file handling to perform basic operations like how to add, edit, search and delete record using file. The source code of hospital management system is over 1100 lines, so the code has not been posted in this article.

You can directly download the source code along with the application file of this project from the link below. The C code is complete and totally error-free. Please make sure that you compile the source code in Code::Blocks.



Download Hospital Management System Project in C with Source Code



About Hospital Management System C Project:

This mini project, like any other, is built without graphics and comes with simple file handling operations. The key features in hospital management system are:


1. Add new patient record:

In this feature, user can add a new patient record choosing between O.P.D. service and Emergency service. In O.P.D. service (shown in output screen below), name, address, age, sex, disease description and specialist room number to be referred are available. Thus given information is stored in file. The information to be given are same in Emergency service.

2. Search or edit patient record:

In this mini project, two features – searching and editing patient records are placed under a single feature. User can search or edit via. record number of the patient or his/her full name.

All the information corresponding to the respective patient are displayed. These include the ones provided while adding a new patient record. If wrong information about record number or patient full name is provided, the program displays a message saying that no records were available.

Also, user can view the list of expenditures of the particular patient whose record is sought. In the program, the financial information include total charge, total deposited and total money to return.

3. List record of patients:

In hospital management system c project, users can list patient records by choosing any one of the four options listed below:


  • Records of patients in alphabetical order
  • Records of Emergency patients
  • Records of O.P.D. patients
  • Records of patients in a particular date

As in the two features mentioned above, user can view financial records corresponding to any particular patient listed according to any one of the four options mentioned above. Pressing ‘Enter’ user can view the records of next patients.

4. Delete patient records:

This features allows user to delete added record of any patient. For this the patient number to be removed is to be provided. Upon ‘Enter’, user can view the patient record and the financial records of the patient. To delete the record, press ‘Enter’ and the respective patient record will be deleted from the file.


Project Output Screenshots:






As with all other projects you can find in this site, we complete discourage you to submit this hospital management system C project as your college mini project without any changes. Instead, students are encouraged to analyze and modify this project by adding new features to make it an even better one.