0% found this document useful (0 votes)
222 views32 pages

Internship Report (1AM17CS108)

This document is an internship report submitted by Musab Nauman Khan to Visvesvaraya Technological University. It details an internship carried out at IC Solution in Bengaluru, India, where Khan worked on developing a "Hospital Management System" project. The report includes sections on the existing system, proposed system, system requirements, system design, implementation details, screenshots, and a conclusion. It was submitted in partial fulfillment of the Bachelor of Engineering degree and includes certificates from both the internal and external guides of the internship project.

Uploaded by

Musab Nauman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
222 views32 pages

Internship Report (1AM17CS108)

This document is an internship report submitted by Musab Nauman Khan to Visvesvaraya Technological University. It details an internship carried out at IC Solution in Bengaluru, India, where Khan worked on developing a "Hospital Management System" project. The report includes sections on the existing system, proposed system, system requirements, system design, implementation details, screenshots, and a conclusion. It was submitted in partial fulfillment of the Bachelor of Engineering degree and includes certificates from both the internal and external guides of the internship project.

Uploaded by

Musab Nauman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

“Jnana Sangama”, Belgaum 590014, KARNATAKA, INDIA

An Internship Report
On

“HOSPITAL MANAGEMENT SYSTEM ”

Submitted in Partially fulfillment of the requirement for the award of degree of


Bachelor of Engineering in Computer Science & Engineering
Of Visvesvaraya Technological University, Belgaum.

Submitted by:

MUSAB NAUMAN KHAN


USN: 1AM17CS108

Internship carried out


At
IC Solution
7th Block Road J P Nagar, Bengaluru, Karnataka,
India -560062

Internal guide: External guide:


Ms. Devi Naveen Mr. Ganesh G
Prof., Dept. of CSE Project Manager
AMCEC IC Solution
AMC ENGINEERING COLLEGE
(NAAC & NBA Accredited, Approved by AICTE, New Delhi & Affiliated to VTU, Belagavi)
Bengaluru– 560083

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

CERTIFICATE

This is to certify that the project work entitled “Hospital Management System” has been
successfully carried out by MUSAB NAUMAN KHAN (1AM17CS108) bonafide student of AMC
Engineering College in partial fulfilment of the requirements for the award of degree in Bachelor
of Engineering in Computer Science and Engineering of Visvesvaraya Technological University,
Belgaum during academic year 2020-2021. It is certified that all corrections/suggestions indicated
for Internal Assessment have been incorporated in the report deposited in the departmental
library. The Internship report has been approved as it satisfies the academic requirements in
respect of Project Work prescribed for the said Bachelor of Engineering degree.

Guide:

…..………………………………………………………………… ………………………………………...……………………………............................... ……………………………………………………....................................

Dr. Nirmala S Dr .LATHA C Dr. A.G NATARAJ


Prof. , Dept. of CSE HOD, Dept. of CSE Principal, AMCEC

Examiners: Signature with Date

1.

2.
DECLARATION

I undersigned student of 8th semester Department of Computer Science and


Engineering, AMC Engineering College, declare that our Internship project work entitled:
“Hospital Management System” is a bonafide work of ours. Our internship project is neither
a copy nor by means a modification of any other engineering project.

I also declare that this project was not entitled for submission to any other university
in the past and shall remain the only submission made and will not be submitted by us
to any other university in the future.

Place: Bangalore MUSAB NAUMAN KHAN


Date: 1AM17CS108
iii

ACKNOWLEDGEMENT

It gives us immense pleasure to present before you our project titled “Hospital Management
System” The joy and satisfaction that accompany the successful completion of any task
would be incomplete without the mention of those who made it possible. We are glad to
express our gratitude towards our prestigious institution AMC ENGINEERING COLLEGE
for providing us with utmost knowledge, encouragement and the maximum facilities in
undertaking this project.

We wish to express sincere thanks to our respected chairman Dr. K. R. Paramahamsa and
beloved principal Dr. A.G NATRAJ for all their support.

We express our deepest gratitude and special thanks to Dr. Latha C A, H.O.D, Dept. Of
Computer Science Engineering, for all her guidance and encouragement.

We sincerely acknowledge the guidance and constant encouragement of our project guide,
Ms. Devi Naveen, Prof. , Dept. Of Computer Science Engineering.

We also would like to acknowledge all the teaching and non-teaching staff of the department
for their kind cooperation during the project.

In the end, I sincerely thank my beloved family members and friends for their valuable
suggestions, encouragement and unwavering support.

MUSAB NAUMAN KHAN (1AM17CS108)


iv

ABSTRACT

The purpose of the project entitled as “Hospital Management System” 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 like add patient, update
patient, delete patient, search patient, view patient diagnosis, etc. Traditionally, it was done
manually. 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. The Hospital Management System can be entered using a username and
password. It is accessible by an Admin, Doctor & 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.Computers are not only used to increase the efficiency in
all fields ranging from fixing the appointment with the Doctor to keeping the record of the
Patient.
v
CONTENTS

Chapter No. Title Page No.

1. INTRODUCTION
1.1 Modules 10

2. SYSTEM ANALYSIS

2.1 Existing system 11

2.2 Proposed system 12

3. SYSTEM REQUIREMENTS

3.1 Hardware requirements 13

3.2 Software requirements 13

4. SYSTEM DESIGN

4.1 Data Flow diagram 14

4.2 ER Diagram 15

5. IMPLEMENTATION

5.1 introduction 16

5.2 sample code for main.java 16

5.3 sample code for sql 24

6. SNAPSHOT 28

7. CONCLUSION 31

8. REFERENCE 32
vi
COMPANY PROFILE
Innovation Creation Solution traces its roots back to 2018 in Bangalore, India and since then have
never looked back. Its aims was to provide software, designing and marketing solutions to individuals
and businesses. At ICS, we believe that service and quality is the key to success.

ICS provide all kinds of technological and designing solutions from Billing Software to Web Designs
or any custom demand that you may have. Experience the service like none other. ICS offer wide
range of professional Android, iOS & Hybrid app development services for our global clients, from
a startup to a large enterprise.

ICS are experts in crafting visual content to convey the right message to the customers. We apply
visual-hierarchy and white-space for all our work. They also all types of marketing like Email
Marketing, Social Marketing, Search Engine Optimization and Content Marketing. ICS keep User
Experience in mind while creating websites. A website should load quickly and should be accessible
even on a small view-port and slow internet connection. Through a well-defined development,
support and quality framework, ICS consults companies on their technology roadmap and
implements, supports and maintains businesscritical applications and the underlying infrastructure.

In 2018 when AICTE announced that Internship is mandatory for Engineering students to ensure that
technical students get exposure to the Industrial environment, current technology relevant to their
subject and opportunities to learn understand and sharpen real time technical and managerial skills.
On request from colleges we started providing quality internship from our expert’s team to the
student.

VISION

Our vision is to enable people and organizations realize their potential reinventing their engagement
in defining the future using – technology and also to provide software, designing and marketing
solutions to individuals and businesses. At ICS, we believe that service and quality is the key to
success.

SERVICES

• Web design
• App Development
• Animation
• Graphic design
• Java with Oops
• Digital marketing
• Web development
• IT Consultancy
CERTIFICATE

DEPT. OF CSE, AMCEC 8

DEPT. OF CSE, AMCEC 9


Chapter 1

INTRODUCTION

Health of citizen is the wealth of Nation. India has contributes the most ancient Medical science
“AYURVEDA” to the world besides other medical sciences. This field had witnessed a rapid
metamorphosis in all of its sections. Hospital Management System is designed to improve the
quality and management of hospital 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.

The Hospital Management System can be entered using a username and password. It is
accessible by an Admin, Doctor & 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. Hospital Management System is powerful, flexible, and easy to use and is
designed and developed to deliver real conceivable benefits to hospitals.

The project Hospital Management system includes registration of patients, storing their
details into the system by using database. The software has the facility to give a unique id for every
patient and stores the details of every patient and the staff manually. Admin can view availability
of a doctor and the details of a patient using the name, id.

Hospital Management System is designed for multi specialist hospitals, to cover a wide
range of hospital administration and management processes. It also aims at providing low-cost
reliable automation of the existing systems. The system also provides excellent security of data at
every level of user-system interaction and also provides robust & reliable storage facilities.
1.1 Modules:

The entire project mainly consists of 5 modules, which are

• Admins
• Admin Activity
• User Management
• Doctor Management
• Doctors
• New Doctor
• Delete Doctor
• Patient Details
• Search Doctor
• Update Doctor
• Patient
• Delete Patient
• Add Patient
• Patient Activity
• Update Patient
• View Patient
• Rooms
• Add Rooms
• Admit Rooms
• Discharge
• Billing
• User
• New User
• Delete User
• Update User
• User Details

DEPT. OF CSE, AMCEC 10

DEPT. OF CSE, AMCEC 11


Chapter 2

SYSTEM ANALYSIS

2.1 Existing system:

The current manual system has a lot of paper work. To maintain the records of sale and service
manually, is a Time-consuming task. With the increase in database, it will become a massive task
to maintain the database. Requires large quantities of file cabinets, which are huge and require
quite a bit of space in the office, which can be used for storing records of previous details. The
retrieval of records of previously registered patients will be a tedious task. Lack of security for the
records, anyone disarrange the records of your system. If someone want to check the details of the
available doctors the previous system does not provide any necessary detail of this type.

All this work is done manually by the receptionist and other operational staff and lot of
papers are needed to be handled and taken care of. Doctors have to remember various medicines
available for diagnosis and sometimes miss better alternatives as they can’t remember them at that
time.

Advantages:
1. No extra training required.
2. Easy to implement.
3. Can be stored anywhere. 4. Requires minimum effort.

Disadvantages:
1. Needs lots of paper.
2. Problem with maintenance.
3. Volumes of data becomes problem.
4. Once data is burned it cannot be reproduced easily.
5. Data handling is problem.
2.2 Proposed System

The Hospital Management System is designed for any hospital to replace their existing manual
paper-based system. The new system is to control the information of patients as well as doctors.
These services are to be provided in an efficient, cost effective manner, with the goal of reducing
the time and resources currently required for such tasks.

The complete set of rules & procedures related to Hospital’s day to day activities and
generating report is called “Hospital Management System”. It is a computerized management
system. This system also keeps the records of hardware assets besides software of this organization.
The proposed system will keep a track of Doctors, Patients & Receptionist. This project has GUI
based software that will help in storing, updating and retrieving the information through various
user-friendly menu-driven modules.

 Goals of proposed system:


i. The system should be easy to operate.
ii. The working in the organization will be well planned and organized. iii.
The level of accuracy in the proposed system will be higher.
iv. The reliability of the proposed system will be high due to proper storage of
information.
v. Provide quick and efficient retrieval of information.

Advantages:
1. Low maintenance cost.
2. Volume of data is not an issue.
3. Data can be converted easily to information.
4. Data cannot be corrupted easily with proper backup. 5. It can be expanded as well
as data communication is possible.

Disadvantages:
1. High starting cost requires.

DEPT. OF CSE, AMCEC 13


2. Additional manpower is necessary.
3. Data communication system will have an additional cost
Chapter 3

SYSTEM REQUIREMENTS

3.1 Hardware specification:

The most common set of requirements defined by any operating system or software application is
the physical computer resources, also known as hardware. A hardware requirements list is often
accompanied by a hardware compatibility list (HCL), especially in case of operating systems. An
HCL lists tested, compatibility and sometimes incompatible hardware devices for a particular
operating system or application. The following sub-sections discuss the various aspects of
hardware requirements.

Hardware requirements for present project:


Processor : Intel core i3
RAM : 4GB
Hard disk : 1TB (Minimum 80GB)

3.2 Software specification:

Software Requirements deal with defining software resource requirements and pre-requisites that
need to be installed on a computer to provide optimal functioning of an application. These
requirements or pre-requisites are generally not included in the software installation package and
need to be installed separately before the software is installed.

Software requirements for present project:


Operating system : Windows 7, 10
Front-end : Java
Back-end : MySQL
Development environment/tools : NetBeans IDE 8.2 & Xampp
4 .SYSTEM DESIGN

DEPT. OF CSE, AMCEC 14


4.1 use-case diagram

Admin Doctor

DEPT. OF CSE, AMCEC 15


Fig 4.2 ER Diagram

Chapter 5
SYSTEM IMPLEMENTATION

DEPT. OF CSE, AMCEC 16


5.1 Introduction:

Implementation is the stage of the project when the theoretical design is turned out into a working
system. Thus, it can be considered to be the most critical stage in achieving a successful new
system and in giving the user, confidence that the new system will work and be effective. The
implementation stage involves careful planning, investigation of the existing system and its
constraints on implementation, designing of methods to achieve changeover and evaluation of
changeover methods.

5.2 Sample Code for main.java

public class Main extends javax.swing.JFrame {

/**
* Creates new form Main
*/
public Main() {
initComponents();
}

/**
* This method is called from within the constructor to initialize the form. *
WARNING: Do NOT modify this code. The content of this method is always *
regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">//GENBEGIN:initComponents
private void initComponents() {

jMenuItem11 = new javax.swing.JMenuItem();

DEPT. OF CSE, AMCEC 17


jLabel1 = new javax.swing.JLabel();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu1 = new javax.swing.JMenu();
jMenuItem1 = new javax.swing.JMenuItem();
jMenuItem2 = new javax.swing.JMenuItem();
jMenuItem3 = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();
jMenuItem6 = new javax.swing.JMenuItem();
jMenuItem7 = new javax.swing.JMenuItem();
jMenu3 = new javax.swing.JMenu();
jMenuItem4 = new javax.swing.JMenuItem();
jMenu5 = new javax.swing.JMenu(); jMenu7
= new javax.swing.JMenu(); jMenuItem8 =
new javax.swing.JMenuItem(); jMenu8 = new
javax.swing.JMenu(); jMenuItem9 = new
javax.swing.JMenuItem(); jMenu9 = new
javax.swing.JMenu(); jMenuItem12 = new
javax.swing.JMenuItem(); jMenu6 = new
javax.swing.JMenu(); jMenuItem10 = new
javax.swing.JMenuItem(); jMenu4 = new
javax.swing.JMenu(); jMenuItem5 = new
javax.swing.JMenuItem();

jMenuItem11.setText("jMenuItem11");

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/LIV-Hospital.jpg")));
// NOI18N

jMenu1.setText("Users");
jMenu1.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
jMenu1.setPreferredSize(new java.awt.Dimension(60, 25));

DEPT. OF CSE, AMCEC 18


jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
N, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem1.setText("New User");
jMenuItem1.addActionListener(new java.awt.event.ActionListener() { public void
actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem1ActionPerformed(evt);
}
});
jMenu1.add(jMenuItem1);

jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
C, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem2.setText("Change Password");
jMenuItem2.addActionListener(new java.awt.event.ActionListener() { public void
actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem2ActionPerformed(evt);
}
});
jMenu1.add(jMenuItem2);

jMenuItem3.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
L, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem3.setText("Login details");
jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem3ActionPerformed(evt);
}
});
jMenu1.add(jMenuItem3);

jMenuBar1.add(jMenu1);

jMenu2.setText("Patients"); jMenu2.setFont(new
java.awt.Font("Arial", 0, 18)); // NOI18N
jMenu2.setPreferredSize(new java.awt.Dimension(70, 25));

DEPT. OF CSE, AMCEC 19


jMenuItem6.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
R, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem6.setText("Registration");
jMenuItem6.addActionListener(new java.awt.event.ActionListener() { public void
actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem6ActionPerformed(evt);
}
});
jMenu2.add(jMenuItem6);

jMenuItem7.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
S, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem7.setText("Services");
jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem7ActionPerformed(evt);
}
});
jMenu2.add(jMenuItem7);

jMenuBar1.add(jMenu2);

jMenu3.setText("Doctors"); jMenu3.setFont(new
java.awt.Font("Arial", 0, 18)); // NOI18N
jMenu3.setPreferredSize(new java.awt.Dimension(71, 25));

jMenuItem4.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_
E, java.awt.event.InputEvent.CTRL_MASK)); jMenuItem4.setText("Entry");
jMenuItem4.addActionListener(new java.awt.event.ActionListener() { public void
actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem4ActionPerformed(evt);
}
});
jMenu3.add(jMenuItem4);

DEPT. OF CSE, AMCEC 20


jMenuBar1.add(jMenu3);

jMenu5.setText("Rooms"); jMenu5.setFont(new
java.awt.Font("Arial", 0, 18)); // NOI18N

jMenu7.setText("Add rooms");

jMenuItem8.setText("Room");
jMenuItem8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem8ActionPerformed(evt);
}
});
jMenu7.add(jMenuItem8);

jMenu5.add(jMenu7);

jMenu8.setText("Admit");

jMenuItem9.setText("Room");
jMenuItem9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem9ActionPerformed(evt);
}
});
jMenu8.add(jMenuItem9);

jMenu5.add(jMenu8);

jMenu9.setText("Discharge");

jMenuItem12.setText("Room");
jMenuItem12.addActionListener(new java.awt.event.ActionListener() {

DEPT. OF CSE, AMCEC 21


public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem12ActionPerformed(evt);
}
});
jMenu9.add(jMenuItem12);

jMenu5.add(jMenu9);

jMenu6.setText("Billing");

jMenuItem10.setText("Room");
jMenuItem10.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem10ActionPerformed(evt);
}
});
pack();
}// </editor-fold>//GEN-END:initComponents

private void jMenuItem2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-

private void jMenuItem12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-


FIRST:event_jMenuItem12ActionPerformed
Patient_Discharge_room obj1=new Patient_Discharge_room();
obj1.setVisible(true);
// TODO add your handling code here:
}//GEN-LAST:event_jMenuItem12ActionPerformed

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">

DEPT. OF CSE, AMCEC 22


/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/ try { for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) { if
("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName()); break;
}
}
} catch (ClassNotFoundException ex) {

java.util.logging.Logger.getLogger(Main.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Main.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (IllegalAccessException ex) {

java.util.logging.Logger.getLogger(Main.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {

java.util.logging.Logger.getLogger(Main.class.getName()).log(java.util.logging.Level.SEVERE,
null, ex);
}
//</editor-fold>

/* Create and display the form */


java.awt.EventQueue.invokeLater(new Runnable() {
public void run() { new
Main().setVisible(true);
}
});
}

DEPT. OF CSE, AMCEC 23


// Variables declaration - do not modify//GEN-
BEGIN:variables private javax.swing.JLabel jLabel1; private
javax.swing.JMenu jMenu1; private javax.swing.JMenu
jMenu2; private javax.swing.JMenu jMenu3; private
javax.swing.JMenu jMenu4; private javax.swing.JMenu
jMenu5; private javax.swing.JMenu jMenu6; private
javax.swing.JMenu jMenu7; private javax.swing.JMenu
jMenu8; private javax.swing.JMenu jMenu9; private
javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JMenuItem jMenuItem10;
private javax.swing.JMenuItem jMenuItem11;
private javax.swing.JMenuItem jMenuItem12;
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JMenuItem jMenuItem3;
private javax.swing.JMenuItem jMenuItem4;
private javax.swing.JMenuItem jMenuItem5;
private javax.swing.JMenuItem jMenuItem6;
private javax.swing.JMenuItem jMenuItem7;
private javax.swing.JMenuItem jMenuItem8;
private javax.swing.JMenuItem jMenuItem9; // End
of variables declaration//GEN-END:variables }

5.3 Sample Code for SQL

DROP TABLE IF EXISTS `admitpatient_room`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `admitpatient_room` (
`PatientID` int(10) NOT NULL,
`Disease` varchar(50) DEFAULT NULL,
`AdmitDate` date DEFAULT NULL,
`RoomNo` int(5) NOT NULL,
`DoctorID` int(10) NOT NULL,

DEPT. OF CSE, AMCEC 24


`AP_Remarks` varchar(50) DEFAULT NULL,
PRIMARY KEY (`PatientID`),
KEY `RoomNo` (`RoomNo`),
KEY `DoctorID` (`DoctorID`),
CONSTRAINT `admitpatient_room_ibfk_1` FOREIGN KEY (`RoomNo`) REFERENCES
`room` (`RoomNo`),
CONSTRAINT `admitpatient_room_ibfk_2` FOREIGN KEY (`DoctorID`) REFERENCES
`doctor` (`DoctorID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admitpatient_room`
--

LOCK TABLES `admitpatient_room` WRITE;


/*!40000 ALTER TABLE `admitpatient_room` DISABLE KEYS */;
INSERT INTO `admitpatient_room` VALUES (1,'Typhoid fever','2014-03-21',1,1,'High temp and
weakness.'),(2,'Concussion','2018-04-15',3,1,'Patient admitted in ICU'),(3,'Fracture','2018-
0415',1,1,''),(12,'Fever','2015-01-20',2,1,'');
/*!40000 ALTER TABLE `admitpatient_room` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `bill_room`
--
DROP TABLE IF EXISTS `bill_room`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `bill_room` (
`DischargeID` int(5) DEFAULT NULL,
`BillingDate` date DEFAULT NULL,
`RoomCharges` int(10) DEFAULT NULL,
`ServiceCharges` int(10) DEFAULT NULL,
`PaymentMode` varchar(20) DEFAULT NULL,
`PaymentModeDetails` varchar(100) DEFAULT NULL,
`TotalCharges` int(10) DEFAULT NULL,
`NoOfDays` int(5) DEFAULT NULL,
`TotalRoomCharges` int(10) DEFAULT NULL,
`BillNo` varchar(15) NOT NULL,
PRIMARY KEY (`BillNo`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `bill_room`
--

DEPT. OF CSE, AMCEC 25


LOCK TABLES `bill_room` WRITE;
/*!40000 ALTER TABLE `bill_room` DISABLE KEYS */;
INSERT INTO `bill_room` VALUES (1,'2015-01-12',5000,500,'by Cash','Payment done
successfully!',1485500,297,1485000,'120150112'),(12,'2015-01-20',2500,500,'by Credit
Card','NA',500,0,0,'1220150120'),(3,'2018-04-15',5000,20000,'by Credit
Card','',20000,0,0,'320180415');
/*!40000 ALTER TABLE `bill_room` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `dischargepatient_room`
--

DROP TABLE IF EXISTS `dischargepatient_room`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dischargepatient_room` (
`AdmitID` int(20) DEFAULT NULL,
`DischargeDate` date DEFAULT NULL,
`DP_Remarks` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `dischargepatient_room`
--

LOCK TABLES `dischargepatient_room` WRITE;


/*!40000 ALTER TABLE `dischargepatient_room` DISABLE KEYS */;
INSERT INTO `dischargepatient_room` VALUES (1,'2015-01-12','Patient recovered
successfully!'),(12,'2015-01-20','Patient is stable'),(3,'2018-04-15','Patient operated');
/*!40000 ALTER TABLE `dischargepatient_room` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctor`
--
DROP TABLE IF EXISTS `doctor`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doctor` (
`DoctorID` int(10) NOT NULL,
`DoctorName` varchar(20) DEFAULT NULL,
`FatherName` varchar(20) DEFAULT NULL,
`Email` varchar(50) DEFAULT NULL,
`ContacNo` varchar(11) DEFAULT NULL,

DEPT. OF CSE, AMCEC 26


`Qualifications` varchar(50) DEFAULT NULL,
`Gender` varchar(1) DEFAULT NULL,
`BloodGroup` varchar(5) DEFAULT NULL,
`DateOfJoining` date DEFAULT NULL,
`Address` varchar(100) DEFAULT NULL,
PRIMARY KEY (`DoctorID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctor`
--
LOCK TABLES `doctor` WRITE;
/*!40000 ALTER TABLE `doctor` DISABLE KEYS */;
INSERT INTO `doctor` VALUES (1,'Ajay Mishra','Deepak MIshra','[email protected]
','9880876532','MD,MBBS','M','A+','2014-03-20','108;Whitefield,Bangalore-560066'),(2,'Anjali
Chopra','Madan Chopra','[email protected]','9880756634','MD,MBBS','F','A-','2016-
0102','#111;Gayathri Temple;Whitefield;Bangalore-560066');
/*!40000 ALTER TABLE `doctor` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `patientregistration`
--
DROP TABLE IF EXISTS `patientregistration`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `patientregistration` (
`PatientID` int(10) NOT NULL,
`PatientName` varchar(20) DEFAULT NULL,
`FatherName` varchar(20) DEFAULT NULL,
`Email` varchar(30) DEFAULT NULL,
`ContactNo` varchar(11) DEFAULT NULL,
`Age` int(2) DEFAULT NULL,
`Remarks` varchar(100) DEFAULT NULL,
`Gen` varchar(1) DEFAULT NULL,
`BG` varchar(3) DEFAULT NULL,
`Address` varchar(100) DEFAULT NULL,
PRIMARY KEY (`PatientID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

DEPT. OF CSE, AMCEC 27


Chapter 6 sample snapshots

Fig 6.1.1 home page

Fig 6.1.2 Doctor details

DEPT. OF CSE, AMCEC 28


Fig 6.1.3 patient admit details

Fig 6.1.4 patient details

DEPT. OF CSE, AMCEC 29


Fig 6.1.5 Room info

Chapter 7

DEPT. OF CSE, AMCEC 30


CONCLUSION

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.

Hospital Management System is essential for maintaining detail about the Doctor, Patient,
Hospital staff etc. we understand that by using of Hospital Management System project the work
became very easy and we save lot of time. Hospital administrators would be able to significantly
improve the operational control and thus streamline operations. This would enable to improve the
response time to the demands of patient care because it automates the process of collecting,
collating and retrieving patient information. Accounting sometimes becomes awfully pathetic and
complex. This product will eliminate any such complexity.

Chapter 8
REFERENCES

 Binstock, Andrew (May 20, 2015). "Java's 20 Years of Innovation". Forbes.

DEPT. OF CSE, AMCEC 31


Archived from the original on March 14, 2016. Retrieved March 18, 2016.

 Herbert Scheldt, Java Complete Reference, Fifth Edition, Tata McGraw Hill Edition.

 Gosling, James; Joy, Bill; Steele, Guy; Bracha, Gilad. "The Java Language
Specification, 2nd Edition". Archived from the original on August 5, 2011.
Retrieved February 8, 2008.

 "MySQL 8.0 Release Notes". mysql.com. Retrieved 29 July 2019.

 https://en.wikipedia.org/wiki/NetBeans

 https://www.tutorialspoint.com/mysql/index.htm

 https://www.w3schools.com/java/java_intro.asp

DEPT. OF CSE, AMCEC 32

You might also like