Hospital Management System
Submitted in fulfillment of the requirements
of micro-project
Java Programming
By
“Soham Parab”
“Aryan Tambe”
“Vidhi Tilak”
ROLL NO:- 28
29
30
ENROLLMENT NO:- 2109640211
2109640212
2109640213
SUBJECT INCHARGE
Mrs. Smita Kuldiwar
Department of Computer Engineering
Academic Year 2022-2023
CERTIFICATE
This is to certify that the microproject
"Hospital Management System"
is done by
“Soham Parab”
“Aryan Tambe”
“Vidhi Tilak”
is submitted for
“Java Programming”
for
the diploma in Computer Engineering to the
Maharashtra State Board of Technical Education, Mumbai
(Autonomous) (ISO-9001-2008) (ISO/IEC 27001:2013)
Subject Incharge Head of Department
([Link] Kuldiwar ) ([Link] Kuldiwar )
Hospital Management System
Submitted in fulfillment of the requirements
of micro-project
Java Programming
By
ROLL NO NAME ENROLLMENT NO
28 SOHAM P. PARAB 2109640211
29 ARYAN J. TAMBE 2109640212
30 VIDHI K. TILAK 2109640213
SUBJECT INCHARGE
Mrs. Smita Kuldiwar
Department of Computer Engineering
Academic Year 2022-2023
Hospital Management System
Aim
Develop a Hospital management system program. Which takes user information as input and
performs operations on it.
Course Outcomes
1. Develop program using Object Oriented methodology in java.
2. Develop programs for handling I/O and file streams
Proposed Methodology
First, Search the topic for which you want to make a project, and then propose it to
the Subject In charge.
After finalizing the topic, start gathering the information about your project.
For Program Execution, write the source code of your program in any suitable IDE.
Recheck the program with the subject incharge.
Now, it’s time to make a report of your Selected Project.
Action Plan
Sr.
Detail of activity Plan Start Date Plan Finish Date
No.
1. Searching of Topic 04-03-2023 06-03-2013
2. Gathering information 09-03-2023 13-03-2023
3. Execution of Program 15-03-2023 22-03-2023
4. Report Making 05-04-2023 12-04-2023
Subject In-charge
Hospital Management System
Rationale
Java is platform independent,open-source object oriented programming language enriched
with free and open source libraries. In current industrial scenario Java has the broad industry
support and is prerequisite with many allied technologies like Advanced Java,Java Server
Pages,and Android Application Development. Thus, current industrial trends necessitate
acquiring Java knowledge for Computer Engineering and Information Technology graduates.
This course develops necessary skills in students to apply object oriented programming
techniques in Java so that students will be able to develop complete applications using core
Java.
Literature
Hospital management system is a computer system that helps manage the information related to
health care and aids in the job completion of health care providers effectively. They manage the
data related to all departments of [Link] management system is a computer system
that helps manage the information related to health care and aids in the job completion of health
care providers effectively. They manage the data related to all departments of healthcare.
Actual Methodology Followed
Topic Work Done Data Work Done By
1. Searching of topic (Hospital Management System) Vidhi Tilak
2. Gathering of Information (Rationale, Aim, Applications, etc.) Aryan Tambe
3. Execution of Program 1. Download Vs Code. Soham Parab
2. Install Vs Code.
3. Run the program.
4. Get output.
4. Report Making Soham Parab
Resources Required
Sr.
Name of Resources Specification Qty. Remark
No.
1. Computer Intel i3, 4GB RAM or above 1 -
2. MS-Word Office 2007 or above 1 -
3. Android IDE Version 3.0 or above 1 -
Source Code
import [Link];
public class Hospital {
private String name;
private int age;
private long phno;
public void accept() {
Scanner input = new Scanner([Link]);
[Link]("\nEnter patient details:");
[Link]("Enter patient name: ");
[Link] = [Link]();
[Link]("Enter your age: ");
[Link] = [Link]();
[Link]("Enter your phone number: ");
[Link] = [Link]();
}
public void display() {
[Link]("\n\nPatient details:");
[Link]("Patient name: " + [Link]);
[Link]("Patient age: " + [Link]);
[Link]("Phone number: " + [Link]);
}
public void beds() {
int beds = 100;
if (beds % 2 == 0)
{
beds++;
}
else
{
beds--;
}
[Link]("\nAvailable beds: " + beds);
}
public void doctors() {
[Link]("\n\nAvailable doctors:");
[Link]("1] [Link] \n2] Dr. Chaitanya");
}
public void book() {
[Link]("\nYour appointment is booked!");
}
public static void main(String[] args)
{
Hospital[] h = new Hospital[50];
int size;
int pat_no = 0;
int choice;
Scanner input = new Scanner([Link]);
[Link]("\nEnter the number of patients you are going to enter:");
size = [Link]();
for (int i = 0; i < size; i++) {
pat_no = i + 1;
[Link]("\nPatient number: " + pat_no);
h[i] = new Hospital();
h[i].accept();
}
pat_no = 0;
do {
[Link]("\n\nEnter patient number on which you want to access data:");
pat_no = [Link]();
[Link]("\n\n\n*****Welcome to MGM hospital***");
[Link]("1] Patient details");
[Link]("2] Available beds");
[Link]("3] Show available doctors");
[Link]("4] Book an appointment");
[Link]("5] Exit");
[Link]("\nEnter your choice: ");
choice = [Link]();
switch (choice) {
case 1:
h[pat_no - 1].display();
break;
case 2:
h[pat_no - 1].beds();
break;
case 3:
h[pat_no - 1].doctors();
break;
case 4:
h[pat_no - 1].book();
break;
case 5:
[Link](0);
break;
default:
[Link]("Invalid choice! Try again.");
break;
}
} while (choice != 5);
}
}
Output
Skill Developed
1. Able to develop Java Programs
2. Able to analyze and fix the errors.
3. Able to debug the program.
Application
In this project, we developed a Hospital Management System Project in Java. The
users are able to perform the operations such as Patient details, Doctor details,
Bed availables,and Book Appointment etc.
Subject In-charge
Mrs. Smita Kuldiwar