Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 19

Hospital Management System using C++

Annexure -II

Micro-Project Report

Hospital Management System using C++

1.0 Rationale
The purpose of the project entitled as “HOSPITAL MANAGEMENT SYSTEM USING
C++” is to computerize the Front Office Management of Hospital to develop software which is user
friendly simple, fast, and cost – effective. It deals with the collection of patient’s information,
diagnosis details, etc. Traditionally, it was done manually.

2.0 Aims/Benefits of the Micro-Project


The main function of the system is register and store patient details and doctor details and
retrieve these details as and when required, and also to manipulate these details meaningfully
System input contains patient details, diagnosis details, while system output is to get these details
on to the screen.

3.0 Course Outcomes Achieved

a) Provides the searching facilities based on various factors. Such as Nurses, Hospitals, Patient,
Appointments.
b) College Management System also sells the employees details online for student’s details,
employees details, courses.
c) It tracks all the information of Medicines, Doctors, Patient etc.
d) Manage the information of Medicines
e) Shows the information and description of the Nurses, Hospitals.

4.0 Actual Methodology Followed

We The Hospital Management System can be entered using a username and password. It is
accessible either by an administrator or receptionist. Only they can add data into the database. The
data can be retrieved easily. The data are well protected for personal use and makes the data
processing very fast.

4.1. Brief Information

The project Hospital Management system includes registration of patients, storing their
details into the system, and also computerized billing in the pharmacy, and labs. The software has
the facility to give a unique id for every patient and stores the details of every patient and the staff

JCEI’s Jaihind Polytechnic Kuran Page 1


Hospital Management System using C++

automatically. It includes a search facility to know the current status of each room. User can search
availability of a doctor and the details of a patient using the id.

The Hospital Management System can be entered using a username and password. It is
accessible either by an administrator or receptionist. Only they can add data into the database. The
data can be retrieved easily. The interface is very user-friendly. The data are well protected for
personal use and makes the data processing very fast.

Hospital Management System is powerful, flexible, and easy to use and is designed and
developed to deliver real conceivable benefits to hospitals.
Hospital Management System is designed for multi specialty hospitals, to cover a wide range of
hospital administration and management processes. It is an integrated end-to-end Hospital
Management System that provides relevant information across the hospital to support effective
decision making for patient care, hospital administration and critical financial accounting, in a
seamless flow.
Hospital Management System is a software product suite designed to improve the quality
and management of hospital management in the areas of clinical process analysis and activity-based
costing. Hospital Management System enables you to develop your organization and improve its
effectiveness and quality of work. Managing the key processes efficiently is critical to the success
of the hospital helps you manage your processes.

5.0 Actual Resources Used

When the hospital considers applying this approach, it is necessary to learn how to develop
a hospital management system. Planning and setting priorities is one of the important stages. It
outlines the functions and benefits that the medical institution expects to get at the final point. The
qualified developers usually suggest the list of the recommended hospital management system
project modules. They will ensure the efficient administration of your medical institution
Their number might differ depending on the clinic needs, however, it usually includes some basic
hospital information system modules.

Patient management
It is used to control patient flow. It can be used to register them, get the data of the patients’ health
condition, view the treatment and check the medical history and reports.
Appointment module in hospital management
Appointment module in hospital management arranges the schedule of doctors due to the patients’
application. It helps to organize the availability of medical specialists at any convenient time. Some
hospital can even offer remote visits when you need immediate assistance.

JCEI’s Jaihind Polytechnic Kuran Page 2


Hospital Management System using C++

Facility management
The facility management module is responsible for tracking and maintaining the room availability,
the occupancy status as well as various kinds of administrative documentation.
Inventory management
Inventory management module controls the amount of clinic inventory. The entire supply chain is
automated for the convenience of the staff that can concentrate on the patients’ need firstly.
Staff Management
Staff management module provides the human resources administration. It updates the job
description of employees, updates the hospital structure, tracks the recruiting records.
Accounting
Accounting module organizes the financial affairs of both customers and the medical institution. It
stores and presents all the patient payment details, hospital financial records on expenses and
overall profit.
Insurance services integration  
Insurance module can record patients’ insurance details. It includes the policy number, the
insurance company, information about their policies.
Medicine management
Medicine management module contains the list of drugs that usually used for the specific treatment.
It keeps records of every patient’ drugs used during their treatment.
Laboratory and tests management
Lab management module shows the test results of the particular patient. The lab data can be viewed
by the staff and generated for the patients’ reports. It is usually integrated with other hospital
information system modules for the better overall functionality of the system.
Reporting
Report management part stores the already processed detailed information. This module helps
management collect, analyze and view the performance data in a comprehensive format.
The business intelligence subsystem helps define problematic aspects and successfully eliminate
them to keep the business profitability as well the high customer satisfaction level.  
Helpdesk & support
Helpdesk support module specializes in handling different issues, problems, and requests. It ensures
that the operations are maintained properly, the data is valid and reported in accordance.

  All mentioned hospital information system modules perform, control and support the
general working process. Also, you should not forget about the hospital management system design
and functionality. The software developers can usually suggest what modules you should choose for
efficient work and meeting all the expectations.

JCEI’s Jaihind Polytechnic Kuran Page 3


Hospital Management System using C++

6.0 SCOPE
It can be used in any Hospital, Clinic, Dispensary or Pathology labs for maintaining patient details
and their test results.
The existing project is user friendly and helps in all the fields calculate the bill change can be made
in it to achieve the desired objectives.
Every system needs some modification after an interval of time because as the time passes every
current system become less and less effective. This project gives small information. This project has
further scope by doing some modifications in it.

7.0 Features
Office staff can perform various functions like appointment scheduling, billing, lab results, patient
charts, etc. through the Web.
Patients can look up appointments, cancel them, request new appointments, look up statements,
enter credit card payments.
New patients may look up physicians by their specialty, request appointments, register themselves
on line.
Patients can review statements & make payments over the internet.
Information about Patients is done by just writing the Patients name, age and gender.

8.0 Object Oriented Programming.

Objects of the program interact by sending messages to each other.

Advantages of the Project


1. This project is made in c++ so it has some advantages.
2. Advantages of this project are following:
3. Data is hidden & can’t accessible by external function
4. Secure than all other languages

JCEI’s Jaihind Polytechnic Kuran Page 4


Hospital Management System using C++

5. Object oriented language i.e. depends on objects rather than procedure


6. Make work easy
7. Save time.

Objective of the project


1. Bring organization together.
2. To help the people associated with managing of the hospital .
3. To make their task easier with better accuracy and fast information retrieval.
4. Enhances organization effectiveness.
5. To make the day to day work easier.

This project will contain all the activities associated with the hospital such as add the record,
modify the record,& delete the record.

6.0 Output of Micro-Projects

Home.html:
<!DOCTYPE html>
<html>
<body>
<table width="1350" height="640" border="1" >
<tr>
<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">ADMIN PANEL</h3>
</td>
</tr>
<tr>
<td style="background-color:#00FFFF;width:50px;height:400px;">
<table align="center">
<tr><td><form action="doctor.php" align="center">
<input type="submit" align="center" value=" doctor ">
</form></td>
</tr>

<tr>
<td><form action="nurse.php" align="center">

JCEI’s Jaihind Polytechnic Kuran Page 5


Hospital Management System using C++

<input type="submit" align="center" value=" nurse ">


</form></td>
</tr>

<tr>
<td><form action="patient.php" align="center">
<input type="submit" align="center" value=" patient ">
</form></td>
</tr>

<tr>
<td><form action="pharmacist.php" align="center">
<input type="submit" align="center" value=" pharamacist ">
</form></td>
</tr>

<tr>
<td><form action="laboratorist.php" align="center">
<input type="submit" align="center" value=" laboratorist ">
</form></td><tr>
<td><form action="accountant.php" align="center">
<input type="submit" align="center" value=" accountant ">
</form></td>
</tr>
</table>
</td>
<td style="background-color:#eeeeee;height:200px;width:400px;height:400px;"><h3
align="center">Advanced, powerfull, flexible complete management software for hospital, clinic
and medical institutes. Integrates and facilitates all user area of a hospital:
</h3><h4>align="center">Administrator</h4>
<h4 align="center">Doctor</h4>
<h4 align="center">Patient</h4>
<h4 align="center">Nurse</h4>
<h4 align="center">Pharmacist</h4>
<h4 align="center">Laboratorist</h4>
<h4 align="center">Accountant</h4>

JCEI’s Jaihind Polytechnic Kuran Page 6


Hospital Management System using C++

</td>
</tr>
<tr>
<td colspan="2" style="background-color:#9ACD32;text-align:center;">
<table align="right">
<th>
<tr>
<form action="appointment.php" align="center">
<input type="submit" align="center" value=" appointment ">
</form>
</tr>
<tr>
<form action="payment.php" align="center">
<input type="submit" align="center" value=" payment ">
</form>
</tr>
<tr>
<form action="bloodbank.php" align="center">
<input type="submit" align="center" value=" bloodbank ">
</form>
</tr>
<tr>
<form action="medicine.php" align="center">
<input type="submit" align="center" value=" medicine ">
</form>
</tr>
<tr>
<form action="operations.php" align="center">
<input type="submit" align="center" value=" operations ">
</form>
</tr>
<tr>
<form action="birthreport.php" align="center">
<input type="submit" align="center" value=" birthreport ">
</form>
</tr>

JCEI’s Jaihind Polytechnic Kuran Page 7


Hospital Management System using C++

<tr>
<form action="deathreport.php" align="center">
<input type="submit" align="center" value=" deathreport ">
</form>
</tr>
<tr>
<form action="bedallotment.php" align="center">
<input type="submit" align="center" value=" bedallotment ">
</form>
</tr>
</th>
</table>
</td>
</tr></table></body></html>

Doctor.PHP
<!DOCTYPE html>
<html>
<body>
<table width="1350" height="640" border="1" >
<tr>
<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">ADMIN PANEL</h3>
</td>
</tr>
<tr>
<td style="background-color:#00FFFF;width:50px;height:400px;">
<table align="center">
<tr>
<td><form action="nurse.php" align="center">
<input type="submit" align="center" value=" nurse ">
</form></td>
</tr>
<tr>
<td><form action="patient.php" align="center">

JCEI’s Jaihind Polytechnic Kuran Page 8


Hospital Management System using C++

<input type="submit" align="center" value=" patient ">


</form></td>
</tr>
<tr>
<td><form action="pharmacist.php" align="center">
<input type="submit" align="center" value=" pharamacist ">
</form></td>
</tr>
<tr>
<td><form action="laboratorist.php" align="center">
<input type="submit" align="center" value=" laboratorist ">
</form></td>
<tr>
<td><form action="accountant.php" align="center">
<input type="submit" align="center" value=" accountant ">
</form></td>
</tr>
</table>
</td>
<td style="background-color:#eeeeee;height:200px;width:400px;height:400px;">
<?php
$host='localhost';
$username='root';
$password='';
$dbname='hospital';
$con=mysql_connect($host,$username,$password);
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM doctor");
echo "<h4 align='center'> doctors list </h4>";
echo "<table border=1
align=center><tr><th>s.no</th><th>name</th><th>d_id</th><th>qualification</
th><th>speciality</th><th>age</th></tr>";
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['s_no'] . "</td>";

JCEI’s Jaihind Polytechnic Kuran Page 9


Hospital Management System using C++

echo "<td>" . $row['name'] . "</td>";


echo "<td>" . $row['d_id'] . "</td>";
echo "<td>" . $row['qualification'] . "</td>";
echo "<td>" . $row['speciality'] . "</td>";
echo "<td>" . $row['age'] . "</td>";
echo "</tr>";

echo "</table>";
mysql_close($con);
?>
<br><br>
<table align="right">
<th>
<tr>
<form action="adddoctor.php" align="center">
<input type="submit" align="center" value=" add new doctor ">
</form>
</tr>
<tr>
<form action="deletedoctor.php" align="center">
<input type="submit" align="center" value=" delete doctor ">
</form></tr>
<tr>
<form action="viewcompletedoctor.php" align="center">
<input type="submit" align="center" value=" viewcomplete ">
</form>
</tr>
<tr>
<form action="admin.html" align="center">
<input type="submit" align="center" value=" home ">
</form>
</tr></table>
</td>
</tr><tr>

JCEI’s Jaihind Polytechnic Kuran Page 10


Hospital Management System using C++

<td colspan="2" style="background-color:#9ACD32;text-align:center;">


<table align="right">
<th>
<tr><form action="appointment.php" align="center">
<input type="submit" align="center" value=" appointment ">
</form>
</tr><tr><form action="payment.php" align="center">
<input type="submit" align="center" value=" payment ">
</form>
</tr><tr><form action="bloodbank.php" align="center">
<input type="submit" align="center" value=" bloodbank ">
</form>
</tr><tr>
<form action="medicine.php" align="center">
<input type="submit" align="center" value=" medicine ">
</form>
</tr><tr><form action="operations.php" align="center">
<input type="submit" align="center" value=" operations ">
</form>
</tr><tr>
<form action="birthreport.php" align="center">
<input type="submit" align="center" value=" birthreport ">
</form>
</tr><tr><form action="deathreport.php" align="center">
<input type="submit" align="center" value=" deathreport ">
</form>
</tr><tr><form action="bedallotment.php" align="center">
<input type="submit" align="center" value=" bedallotment ">
</form>
</tr></th> </table>
</td></tr></table>
</body>
</html>

Appointment.php
<!DOCTYPE html>

JCEI’s Jaihind Polytechnic Kuran Page 11


Hospital Management System using C++

<html>
<body>

<table width="1350" height="640" border="1" ><tr>


<td colspan="2" style="background-color:#FFF5EE;">
<h1>HOSPITAL MANAGEMENT SYSTEM</h1>
<h3 align="center">DOCTOR PANEL</h3>
</td>
</tr>
<tr>
<td style="background-color:#00FFFF;width:50px;height:400px;">
<table align="center">
<tr> <td><form action="docappointment.php" align="center">
<input type="submit" align="center" value=" Appointment ">
</form> </td></tr>
<tr> <td><form action="docperscription.php" align="center">
<input type="submit" align="center" value=" perscription ">
</form> </td> </tr>
<tr> <td> <form action="docoperation.php" align="center">
<input type="submit" align="center" value=" Operation ">
</form> </td></tr>
<tr> <td><form action="docmedicines.php.php" align="center">
<input type="submit" align="center" value=" Add Medicines ">
</form></td></tr>
<tr> <td> <form action="doctests.php" align="center">
<input type="submit" align="center" value=" Add Tests ">
</form></td>
</table>
</td>
<td style="background-color:#eeeeee;height:200px;width:400px;height:400px;">
<h2 align="center"> Appointments </h2>
<?php
$host='localhost';
$username='root';
$password='';
$dbname='hospital';

JCEI’s Jaihind Polytechnic Kuran Page 12


Hospital Management System using C++

$con=mysql_connect($host,$username,$password);
mysql_select_db($dbname);
$result = mysql_query("SELECT * FROM appointment WHERE d_id='$a'");
echo "<table border=1 align=center> <tr> <th>s.no</th> <th>pid</th> <th>name</th>
<th>problem</th> <th>date</th> <th>time</th> <th>status</th> <th> update</th> </tr>";

while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['s_no'] . "</td>";
echo "<td>" . $row['p_id'] . "</td>";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['problem'] . "</td>";
echo "<td>" . $row['date_of_app'] . "</td>";
echo "<td>" . $row['time_of_app'] . "</td>";
echo "<td>" . $row['status'] . "</td>";
echo "<td>" ;?> <form action="updateappointment.php" align="center" method="POST">
<input type="hidden" name="sno" value=" <?php echo $row['s_no']; ?> ">
<input type="hidden" name="pid" value=' <?php echo $row['p_id']; ?> '>
<input type="submit" align="center" value=" update ">
</form> <?php echo "<td>";
echo "</tr>";
}
echo "</table>";
mysql_close($con);
?>
<br><br>
<table align="center">
<tr>
<td><form action="allappointment.php" align="center">
<input type="submit" align="center" value=" all Appointment ">
</form> </td>
<td><form action="pendingappointment.php" align="center">
<input type="submit" align="center" value=" pending Appointment ">
</form> </td>
<td> <form action="upcomingappointment.php" align="center">

JCEI’s Jaihind Polytechnic Kuran Page 13


Hospital Management System using C++

<input type="submit" align="center" value=" upcoming appointment ">


</form> </td>
<td><form action="completedappointment.php" align="center">
<input type="submit" align="center" value=" completed Appointment ">
</form></td></table>
</td></tr>
<tr>
<td colspan="2" style="background-color:#9ACD32;text-align:center;">
<table align="center"> <tr> <td> Doctor name </td> <td> </td> <td> Doctor id </td> <td> </td>
</tr> </table>
</td></tr>
</table></body></html>

7.0 Screen Shots:

JCEI’s Jaihind Polytechnic Kuran Page 14


Hospital Management System using C++

JCEI’s Jaihind Polytechnic Kuran Page 15


Hospital Management System using C++

JCEI’s Jaihind Polytechnic Kuran Page 16


Hospital Management System using C++

JCEI’s Jaihind Polytechnic Kuran Page 17


Hospital Management System using C++

JCEI’s Jaihind Polytechnic Kuran Page 18


Hospital Management System using C++

7.0 Skill Developed/ Learning outcome of this Micro-Project


Since we are entering details of the patients electronically in the” Hospital Management
System”, data will be secured. Using this application we can retrieve patient’s history with a single
click. Thus processing information will be faster. It guarantees accurate maintenance of Patient
details. It easily reduces the book keeping task and thus reduces the human effort and increases
accuracy speed.

Ms.Dumbre T.M

***********************

JCEI’s Jaihind Polytechnic Kuran Page 19

You might also like