Final Project

You might also like

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

5th SEM BCA

MAXMULTI SPECIALITY HOSPITAL

MINI PROJECT REPORT


Submitted To Partial Fulfilment Of The Requirements
Of BACHELOR OF COMPUTER APPLICATION
2021-2024

Submitted by:

Abhijna (U19MT21S0001) Rakshitha(U19MT21S0049)

Bhargavi (U19MT21S0010) Srikanth(U19MT21S0056)

Dharshan (U19MT21S0018) Varun (U19MT21S0063)

Uday (U19MT21S0071) Junaid (U19MT21S0034)

Harshitha (U19MT21S0025)

Submitted to:
Ms.ALAFIA.J Dr.JAGANNATH
(Project In-charge) (HOD)

HOSPITAL MANAGEMENT SYSTEM 1


5th SEM BCA

ACKNOWLEDGEMENT

It is with great satisfaction and achievement that we have completed our MINI-
PROJECT of Max Super Speciality hospital. We take this opportunity to acknowledge each
and every one who contributed towards our work.
We express our sincere gratitude towards Dr. JAGANNATH ,Head of the Department of
Computer Application (BCA) , for his support.
We take this opportunity to thank our Project-coordinator and Project Guide Ms.
ALAFIA.J professor of Department of Computer
Application (BCA) for her suggestions valuable support ,encouragement and guidance
throughout the project.

GUIDE HOD
PRINCIPLE

HOSPITAL MANAGEMENT SYSTEM 2


5th SEM BCA

INDEX

Sl.No Contents Pg.no

1 Synopsis 4

2 Abstract 7

3 Introduction 8-10

4 Project Description 12-14

5 System Study 15

6 Feasibility Study 16

7 ER-Diagram 18

8 Data Flow Diagram 19-21

9 Screen Shots 22-26

10 Data Base Design 27-28

11 Source Code 29-49

12 Test Cases 50-51

13 Conclusion and future enhancement 52

14 Bibliography 53

SYNOPSIS

HOSPITAL MANAGEMENT SYSTEM 3


5th SEM BCA

MAX SUPER SPECIALITY HOSPITAL

Max super specialty hospital is a health based managing project where we provide
different and various services for our patients like medical health checks up cardio care,
dermatology and podiatric services for all age groups. the goal of our project is to enable an
access to people to our services thought online platform. Our project includes registration on
of patients, storing their details into the system, and also booking their appointments with
the doctor. Our software has the facility to give a unique id for every patient and stores the
details of every patients and staff automatically. User can search availability of a doctor and
details of the patients using the id. The hospital system can be entered using a user name and
password it is accessible either by an administrator or receptionist only they can add data to
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. to achieve this aim
the database was designed one for the patients and other for the doctors which the admin can
access. The complaints which are referred by authorizes the patient module includes
checking appointment, prescription user can also pay doctor's fee online.

MODULES: -

The software has different modules which help it to achieve its objectives, those are:
Administration module: -

User Name, Password.

Login to the system.

If login is successful then administrator can view and update the records. Inpatient module:-

Inpatient details.
Information about the treatment given to the parents who are admired:-
Information about the patient.

PATIENT MODULE: -

The inpatient details are necessary for lab reports and billing, those are:
HOSPITAL MANAGEMENT SYSTEM 4
5th SEM BCA

Outpatient module: -

Outpatient detail.
This module has the information about the treatment given to the patient who are came to
check up.
Information about the patient.

LABORATORY MODULE:-

The outpatient details are necessary for lab reports and billing, those are:
Lab module: -
Patient ID, Category .
Process Definition: Laboratory reports of the patient.
Lab report and charge.

PAYMENT MODULE: -

As is an online platform of health care booking services, only online payment methods.
 Online payment

HOSPITAL MANAGEMENT SYSTEM 5


5th SEM BCA

ABSTRACT

Hospital currently uses a manual system for the management and maintenance of critical
information. The current system required numerous paper forms, with data store spreads
throughout the hospital management infrastructure. Often information is incomplete or does
not follow management standard. Forms are often lost in transit between departments
requiring a comprehensive auditing process to ensure that no vital information is lost.
Multiple copies of the same information exist in the hospital and may lead to inconsistencies
in data in various data stores.

INTRODUCTION

INTRODUCTION TO FRONT-END DEVELOPMENT :-

HOSPITAL MANAGEMENT SYSTEM 6


5th SEM BCA

Front-end refers to the part of a software application or website that users interact with
directly. It encompasses the design, layout, and user interface components that enable users
to interact with the system. Front-end development involves creating the visual elements and
user experience ,typically using languages such as HTML, CSS, and JavaScript. It focuses
on ensuring a seamless and intuitive user interface for a positive user experience.

HTML:-

HTML or Hyper Text Markup Language, is the standard language used to create and
design documents on the World Wide Web. It serves as the backbone for web-pages,
providing a structure that includes elements like headings, paragraphs, links, images, and
more. HTML uses a system of tags to define and organize content, enabling browsers to
interpret and display information consistently. As a fundamental building block of web-
development, HTML is essential for creating the structure and layout of web-pages, forming
the basis for further enhancements through additional technologies like CSS(Cascading
Style Sheets) and JavaScript.

CSS:-

HTML, or Hyper Text Markup Language, is the standard language used to create and
design documents on the World Wide Web. It serves as the backbone for web-pages,
providing a structure that includes elements like headings, paragraphs, links, images, and
more. HTML uses a system of tags to define and organize content, enabling browsers to
interpret and display information consistently. As a fundamental building block of web-
development, HTML is essential for creating the structure and layout of web-pages, forming
the basis for further enhancements through additional technologies like CSS(Cascading
Style Sheets) and JavaScript.

JAVASCRIPT:-

HOSPITAL MANAGEMENT SYSTEM 7


5th SEM BCA

JavaScript is a lightweight, interpreted, object oriented, Multi paradigm and flexible


programming language. JavaScript was initially created to make web pages interactive.
JavaScript can update and change both HTML and CSS. JavaScript can calculate,
manipulate and validate data. The programs in this language are called scripts. Scripts are
plain text and they don’t need any special preparation to run. When JavaScript was created,
it initially had another name, i.e. “Live-script”. But Java was very popular at that time, so it
was named “JavaScript”. But as it evolved, JavaScript became a fully independent language
with its own specification and it has no relation to Java at all. It can be used on both the
front-end and the back-end. JavaScript is very easy to implement because it is integrated
with HTML. JavaScript converts a static web page into an interactive one. In other words,
JavaScript adds behavior to web pages. Common examples of JavaScript include Facebook
timeline automatically updates on your screen, Google suggests search terms based on a few
letters you’ve typed in the search box, Show or hide more information with the click of a
button, Change the color of a button when the mouse hovers over it, etc.

INTRODUCTION TO BACK-END

HOSPITAL MANAGEMENT SYSTEM 8


5th SEM BCA

Back-end refers to the server-side of a web application or software, where data is


processed, stored, and managed. It encompasses the server, database, and application logic.
The back-end is responsible for handling requests from the front-end, performing operations,
and sending back the results to the user interface. It focuses on the functionality, security,
and performance of the application, without being directly visible to users. Common back-
end technologies include server side scripting languages, databases, and server frameworks.

MYSQL

My SQL is a popular open-source relational data base management system(RDBMS)


that uses a structured query language(SQL) form an aging and manipulating data. It's widely
used for web applications and is known for its speed, reliability, and ease of use. My-SQL
organizes data into tables, where each table consists of rows and columns .It supports
transactions, indexing, and various to rage engines. My SQL is often used in conjunction
with PHP to create dynamic and interactive websites.

PHP

PHP (Hyper text Pre-processor) is a server-side scripting language primarily designed


for web development but also used as a general-purpose programming language. It is
embedded in HTML code and executed on the server, generating dynamic web-pages. PHP
is known for its ease of integration with databases, especially My-SQL, making it popular
for building dynamic and inter active websites. It supports various web-frameworks and is
widely used for tasks such as form handling, file processing, and interacting with data bases
to create dynamic content. PHP code is embedded within HTML tags and typically runs on a
web server, producing HTML output that is sent to the client's browser for display.

PROJECT DISCRIPTION

HOSPITAL MANAGEMENT SYSTEM 9


5th SEM BCA

Hospital Management System is a system enabling hospitals to manage information


and data related to all aspects of healthcare – processes, providers, patients, and more, which
in turn ensures that processes are completed swiftly and effectively. When one thinks of the
various aspects and departments of a hospital, it becomes apparent that an HMS is critical.
The hospital database management system was introduced in 1960, and has greatly evolved
since then – with the ability to integrate with the existing facilities, technologies, software,
and systems of a hospital. Today, patients can begin the process of healthcare in the palm of
their hand – the mobile devices and apps – make this possible. This process then moves to
the healthcare providers and hospitals.

KEY FEATURES OF HOSPITAL MANAGEMENT SYSTEM

OPERATION THEATRE MANAGEMENT

Surgeries are long and tedious and a hospital must know the schedule of surgeries, to
avoid overbooking and ensure availability of the required surgeons, other doctors and
operation theatre staff. A hospital would be able to send operation schedules, test results, and
other details to patients/next of kin, while also sending reminders to the presiding surgeon
and other staff required for a procedure.

LAB MANAGEMENT

Maintain accurate accounts of tests, payments received, report generation dates, patient
information, customized reports, timely notifications to patients and laboratory staff, and
detailed MIS reports – all through one Hospital Management System.

HOSPITAL MANAGEMENT SYSTEM 10


5th SEM BCA

PATIENT MANAGEMENT

With faster, secure, and easy data retrieval, a hospital/healthcare facility would be able to
provide better and efficient care to the patients. With every department interconnected and
integrated into the HMS, the quality of patient care can be enhanced, leading to greater customer
satisfaction and lowered turnovers. Today there is severe competition even in the realm of
healthcare, and patients and their kin prefer to visit a facility that is efficient, costeffective, and
secure.

SUPPLY MANAGEMENT

With efficient hospital management systems (HMS), hospital management can track and
manage supplies more efficiently and set up better purchasing contracts with suppliers. The
system provides you with full transparency of inventory from the time it was ordered to when it
was brought in to when it was used on patients. This, you can better capture demand, purchase,
and consumption activity, allowing you to make continuous improvements to your healthcare
supply chain.

BILLING MANEGEMENT

Given the large numbers (in all respects) that any hospital needs to manage, a great
feature of Hospital Management System is to help keep track of billing aligned with
treatments, tests, and doctor fee. The system is able to send out messages for bill payment,
display discounts, automatically capture patient data, provide several payment options to
patients/kin, and keep a track of patient visits and payments.

HOSPITAL MANAGEMENT SYSTEM 11


5th SEM BCA

FACILITY MANAGEMENT

A comprehensive Hospital Management System will enable the addition of several


branches across locations of the hospital. This ensures that patients can visit any branch for
treatment and the doctors would be able to access their records from anywhere.

APPOINTMENT MANAGEMENT

Appointment scheduling is one of the most tedious processes in a hospital. With the help
of a Hospital Management System, an appointment widget is easily added to the hospital’s
website. Patients can easily log in to the website, book an appointment with a doctor they
choose with a time that works for them, receive reminders from the hospital, and also
receive updates in the event of any changes.

STAFF MANAGEMENT

HMS helps in the management of employees across different locations of a particular


hospital/healthcare facility. Every aspect related to an employee is captured here- date of
joining, designation and department, insurance details, leave and absence status, salary and
benefits details, authorization level, and other information. The administrator with access,
can view and edit employee details, remove inactive/ex-employee details, make any
employmentrelated changes, and more.

REPORT MANAGEMENT

A well-made Hospital Management System allows authorized personnel to access the


MIS data, as and when required.

SYSTEM STUDY
HOSPITAL MANAGEMENT SYSTEM 12
5th SEM BCA

EXTISTING SYSTEM

Hospitals currently use a manual system for the management and maintenance of
critical information .The current system requires numerous paper forms ,with data stores
spread through out the Hospital management infrastructure. Often information is incomplete
or does not follow management standards .forms are often lost in transit between
departments requiring a comprehensive auditing process to ensure that no vital information
is lost Multiple copies of the same information exist in the hospital and may lead to
inconsistencies in data in various data stores.

PROPOSED SYSYTEM

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. room
availability , staff and operating room schedules and patients invoices. The 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.

HOSPITAL MANAGEMENT SYSTEM 13


5th SEM BCA

FEASIBILITY STUDY

The feasibility of the project is analyzed in the phase and business proposal is put forth
with a very general plan for the project and some cost estimates. During system analysis the
feasibility study of the proposed system is to be carried out. This is to ensure that the of the
major requirements for the system is essential.
Three key consideration involved in the feasibility analysis are:

ECONOMIC FEASIBILITY

This study is carried out to check the economic impact will have on the system will
have on the organization. The amount of fund that the company can pour into the research
and developed of the system is limited. The expenditures must be justified. Thus the
developed system as well wirhin the budget and this was achieved because most of the
technologies used are freely available. Only the customized products have to have to be
purchased.

TECHNICAL FEASIBILITY

This study is carried out to check the technical feasibility, that is, the technical
requirements of the system, Any system develop[ped must not have a high demand on the
available technical resources. This will lead to high demands being placed on the client. The
developed system must have a modest requirement, as only minimal or null changes the
implementing this system.

OPERATIONAL FEASIBILITY

The aspects of study is to check the level of acceptances of the system by the user. This
includes the process of training the user to use the system efficiently. The user must not feel
threatened by the system, instead must accept it as a necessity. The level of acceptance by
HOSPITAL MANAGEMENT SYSTEM 14
5th SEM BCA

the users solely depends on the methods that are employed to educate the user about the
system and to make him familiar with it. His level of confidence must be raised so that he is
also able to make some constructive criticism, which is welcomed, as he is the final user of
the system.

ER DIAGRAM

An ER-Diagram is a database model that illustrates entities (such as objects, people, or


concepts) with their attributes (such as name, type, or age). Entities can be linked with one
another; the nature of these links, or relationships, depends on how entities interact.

Database Modeling Process and Rules:

The process of database modeling involves people from different domains – such as
DATABASE DESIGNERS, data modelers, business stakeholders, and potential system users.
The first step in the process is to define data requirements using the conceptual database model,
which is database independent. The conceptual model is very high-level and is the model shared
with business (i.e. non-technical) stakeholders.
Next, we translate the conceptual model into the logical database model. This model details the
structure of the data. Finally, the logical database model is transformed into the physical
database model that outlines the tables’ structure and considers performance and storage details
for a specific database engine.
Let’s go over some essential rules for database modeling:
To enforce data integrity, each table must have a PRIMARY KEY that uniquely identifies each
row. Here are THE REASONS WHY A PRIMARY KEY IS SO IMPORTANT.
Example: Each patient is identified uniquely by their social security number (SSN).
To satisfy the FIRST NORMAL FORM (1NF), column values must be atomic – that is, each
column must hold a value (like first name or ID number) that cannot logically be broken down
into more values.

HOSPITAL MANAGEMENT SYSTEM 15


5th SEM BCA

DATA FLOW DIAGRAM

LEVEL 0

Administ
Hospital
User rator
management
system

LEVEL 1

Authentication
Hospital
Administr managem
ator/User ent system
Lab reports, Bill
Statements

Hospital database

HOSPITAL MANAGEMENT SYSTEM 16


5th SEM BCA

LEVEL 2

HOSPITAL MANAGEMENT SYSTEM 17


5th SEM BCA

SCREENSHOTS

LOGIN PAGE:

HOSPITAL MANAGEMENT SYSTEM 18


5th SEM BCA

REGISTRATION PAGE:

HOSPITAL MANAGEMENT SYSTEM 19


5th SEM BCA

SERVICES PROVIDED

HOSPITAL MANAGEMENT SYSTEM 20


5th SEM BCA

HOSPITAL MANAGEMENT SYSTEM 21


5th SEM BCA

HOSPITAL MANAGEMENT SYSTEM 22


5th SEM BCA

DATA BASE DESIGN

Description:-

A database is a collection of information and is systematically stored in tables in the form


of rows and columns. The table in the database has unique name that identifies its contents.
The database in turn is further described in detail giving all the fields used with the data
types, constraints available, primary key and foreign key. Database design is used to manage
large bodies of information. In this database we describe all the 4 tables available in the
software, which are used to store all the records.

Data types and its description: -

Fields in database table have a data type. Some of the data types used in database table are
explained below.

Integer:-

One optional sign character (+ or -) followed by at-least one digit (0-9). Leading and trailing
blanks are ignored. No other character is allowed.

Var-char:-

It is used to store alpha numeric characters. In this data type we can set the maximum
number of characters up to 8000 ranges by default SQL server will set the size to 50
characters large.

Date/Time:-

Date/Time data type is used for representing data or time.

HOSPITAL MANAGEMENT SYSTEM 23


5th SEM BCA

Patient table:-
Field Data Type
Name varchar
Age integer
Weight varchar
Gender varchar
Disease varchar
Address varchar

:-
Fields Data Type
Doctor id #varchar
Doctor Name varchar
Department varchar

Payment Table
Fields Data Type
Payment id varchar
Date date
Lab_no varchar

HOSPITAL MANAGEMENT SYSTEM 24


5th SEM BCA

SOURCE CODE

Login/Registration Page:-

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Hospital Management System</title>

<style> body { font-family: 'Segoe UI',


Tahoma, Geneva, Verdana, sans-serif;
background-image:
url('https://media.istockphoto.com/id/954315372/photo/doctorand-assistance-
medical-team-performing-surgery-on-a-patient-with-focus-andstressful.jpg?
s=612x612&w=is&k=20&c=8qJ9ckA2T_WUJuIZhwoYlWRVk4RGow12deW
Vd11WLtA=');

background-size: cover;
background-
positon:center;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

HOSPITAL MANAGEMENT SYSTEM 25


5th SEM BCA

.form-container {
background-color: rgba(255, 255, 255,
0.9);
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(0, 0, 0,
0.1);
width: 350px;
text-align: center;
}

h2
{ color:
#333;
margin-bottom:
30px;
}

label
{ display
: block;
margin-bottom:
8px;
color: #555;
text-align: left;
}

input
{ width:
100%;
padding: 10px;
margin-bottom:
16px;
HOSPITAL MANAGEMENT SYSTEM 26
5th SEM BCA

box-sizing:
border-box;
border: 1px solid
#ccc;
border-radius: 4px;
font-size: 14px;
}

button
{ background-
color: #3498db;
color:

#fff;
padding: 12px;
border: none;
border-radius:
4px;
cursor: pointer;
font-size: 16px;

.switch-form {
margin-top: 20px;
color:
#555;
cursor: pointer;
text-decoration:
underline;
}

HOSPITAL MANAGEMENT SYSTEM 27


5th SEM BCA

</style>

</head>

<body>

<div class="form-container" id="loginForm">

<h2>Login</h2>

<form>

<label for="loginUsername">Username:</label>

<input type="text" id="loginUsername" name="loginUsername" required>

<label for="loginPassword">Password:</label>

<input type="password" id="loginPassword" name="loginPassword" required>

<button type="button" onclick="login()">Login</button>

</form>

<p class="switch-form" onclick="switchForm('register')">Don't have an account?


Register here.</p>

</div>

<div class="form-container" id="registerForm" style="display: none;">

<h2>Register</h2>

<form>

<label for="registerUsername">Username:</label>

<input type="text" id="registerUsername" name="registerUsername" required>

HOSPITAL MANAGEMENT SYSTEM 28


5th SEM BCA

<label for="registerPassword">Password:</label>

<input type="password" id="registerPassword" name="registerPassword"

required>

<label for="confirmPassword">Confirm Password:</label>

<input type="password" id="confirmPassword" name="confirmPassword"


required>

<button type="button" onclick="register()">Register</button>


</form>

<p class="switch-form" onclick="switchForm('login')">Already have an


account? Login here.</p>

</div>

<script>
const hardcodedUsername =
'Dharshan';
const hardcodedPassword =
'Dharshan@123';

function login() {
var username = document.getElementById('loginUsername').value;
var password = document.getElementById('loginPassword').value;
if (username === hardcodedUsername && password ===
hardcodedPassword) {

HOSPITAL MANAGEMENT SYSTEM 29


5th SEM BCA

alert('Login successful! Redirecting...');

} else {
alert('Invalid username or password. Please try
again.');
}

function register() {
var username =
document.getElementById('registerUsername').value;
var password =
document.getElementById('registerPassword').value;
var confirmPassword =
document.getElementById('confirmPassword').value;
if (password === confirmPassword)
{ alert('Registration successful! Redirecting...');
} else {
alert('Passwords do not match. Please try
again.');
}

function switchForm(formType) {
if (formType === 'register')
{ document.getElementById('loginForm').style.displ
ay = 'none';
document.getElementById('registerForm').style.display =
'block';
} else {

HOSPITAL MANAGEMENT SYSTEM 30


5th SEM BCA

document.getElementById('loginForm').style.display = 'block';
document.getElementById('registerForm').style.display = 'none';
}

</script>

</body>

</html>

Home Page:
(HTMLcode)

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Team A's Project</title>


<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lemon&display=swap"
rel="stylesheet">
</head>
<body>
<form action="register.html">

HOSPITAL MANAGEMENT SYSTEM 31


5th SEM BCA

<nav id="navbar">
<div id="logo">
<img src="logo.png" alt="">
</div>
<ul>
<li class="item"><a href="#">Home</a></li>
<li class="item"><a href="#">Services</a></li>
<li class="item"><a href="#">Payment</a></li>
<li class="item"><a href="#">About Us</a></li>
<li class="item"><a href="#">Contact Us</a></li>
</ul>
</nav>
<section id="home">
<h1 class="h-primary">Welcome to our Clinic</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea iusto delectus odio.</p>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit.</p>
<button class="btn" >Register Now</button>
</section>
<section class="services-container">
<h1 class="h-primary-services">Our Services</h1>
<div id="services">
<div class="box">
<img src="doctor1.jpg" alt="">

<h2 class="h-secondary-center">Oncologist</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>

HOSPITAL MANAGEMENT SYSTEM 32


5th SEM BCA

</div>
<div class="box">
<img src="doctor2.jpg" alt="">
<h2 class="h-secondary-center">Neurologist</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>
</div>
<div class="box">
<img src="doctor3.jpg" alt="">
<h2 class="h-secondary-center">Pediatrician</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>
</div>
<div class="box">
<img src="doctor4.jpg" alt="">
<h2 class="h-secondary-center">Cardiologist</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>
</div>
<div class="box">
<img src="doctor5.jpg" alt="">
<h2 class="h-secondary-center">Gynecologist</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>
</div>
<div class="box">

HOSPITAL MANAGEMENT SYSTEM 33


5th SEM BCA

<img src="doctor6.jpg" alt="">


<h2 class="h-secondary-center">Dermatologist</h2>
<p class="center">Lorem ipsum dolor, sit amet consectetur adipisicing elit.
Accusamus laboriosam velit dolor doloribus, repudiandae voluptate amet vero porro
nostrum, voluptates accusantium. Perferendis, reiciendis accusamus.</p>
</div>
</section>
<section id="client-section">
<h1 class="ourclients">Our Clients</h1>
<div id="client-item">
<img src="logo1.png" alt="">
</div>
</section>
</div>
</form>
</body>
</html>
(CSS Code)
/* CSS reset */
*{ margin: 0;
padding: 0;
}
/* CSS Variables */
:root{
--navbar-height: 59px;
}
/* Navigation Bar */
#navbar{
display: flex;
align-items: center;

HOSPITAL MANAGEMENT SYSTEM 34


5th SEM BCA

}
/*navigation Bar: Logo and Image */
#logo{
margin: 10px 34px;
}
#logo img{
height: 62px;
margin: 3px 6px;
}
/*Navigation bar: List styling */
#navbar{
position: relative;
background-color: rgb(206, 195, 181);
}
#navbar ul{
display: flex;
}
#navbar::before{
content: "";
background-color: black;
position: absolute;
height: 100%;
width: 100%;
z-index: -1;
opacity: 0.4;
}
#navbar ul li{
/* color: white; */
list-style: none;
font-size: 1.3rem;

HOSPITAL MANAGEMENT SYSTEM 35


5th SEM BCA

}
#navbar ul li a{
color: white;
display: block;
padding: 3px 22px;
border-radius: 20px;
text-decoration: none;
font-family: 'Lemon', serif;
}
#navbar ul li a:hover{
color: black;
background-color: white;
}

/* Home Section */
#home{
display: flex;
flex-direction: column;
padding: 3px 200px;
justify-content: center;
height: 610px;
align-items: center;
}
#home::before{
content: "";
background: url('bg2.jpg') no-repeat center center/cover;
position: absolute;
height: 100%;
width: 100%;
z-index: -1;

HOSPITAL MANAGEMENT SYSTEM 36


5th SEM BCA

opacity: 0.89;
}
#home h1{
color: white;
text-align: center;
font-family: 'Lemon', serif;
}
#home p{
color: white;
text-align: center;
font-size: 1.5rem;
font-family: 'Lemon', serif;
}
/* Services section */
#services{
margin:30pxpx;
display: flex;
}
#services .box{
border: 2px solid brown;
padding: 2px;
margin: 1px 1px;
border-radius: 12px;
background-color: rgb(206, 195, 181);
text-align: center;
}
#services .box img{
height: 160px;
margin: auto;
display: block;

HOSPITAL MANAGEMENT SYSTEM 37


5th SEM BCA

}
#services .box1 img{
height: 0;
}
#services{}
#services{} #services{}
/* Utility Class */ .h-primary{
font-size: 3.8rem;
padding: 12px;
}
.h-secondary{
font-size: 2.8rem;
padding: 12px;
} .btn{ padding: 6px 20px;
border: 2px solid white;
color: white;
background-color: rgb(206, 195, 181);
margin: 17px;
font-size: 1.5rem;
border-radius: 10px;
cursor: pointer;
}
.services-container{
margin: 40px 18px;
}

.h-primary-services{
text-align: center;
font-family: 'Lemon', serif;
font-size: 2.8rem;

HOSPITAL MANAGEMENT SYSTEM 38


5th SEM BCA

}
Patient Registration Code:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Team A Project</title>
<style> body, html {
height: 100%;
margin: 0px;
padding: 0px;
background: url('img/bg2.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
color: white;
}
.left {
display: inline-block;
left: 10px;
top: 11px;
position: absolute;
/* border: 2px solid green; */
text-align: center;
}
.left img {
width: 42px;
filter: invert(100%);
}

HOSPITAL MANAGEMENT SYSTEM 39


5th SEM BCA

.mid {
display: block;
width: 34%;
margin: 2px auto;
/* border: 2px solid red; */
background-repeat: no-repeat;
}
.right {
display: inline-block;
right: 24px;
top: 20px;
position: absolute;
/* border: 2px solid green; */
}
.navbar li {
display: inline-block;
padding: 4px 4px;
text-align: center;
}
.navbar licc c a {
/* border: 2px solid red; */
text-align: center;
padding: 2px 4px;
text-decoration: none;
color: white;
font-size: 18px;
}
.navbar li a:hover {
text-decoration: underline;
color: bisque;

HOSPITAL MANAGEMENT SYSTEM 40


5th SEM BCA

}
.btn {
background: none;
color: white;
}
.btn:hover {
color: bisque;
text-decoration: underline;
}
.form-group{
text-align: center;
margin: 2px 10px;
}
.container h1{
text-align: center;

}
.container{
border: 2px solid black;
margin: 30px 24px;
padding: 75px;
width: 33%;
border-radius: 28px;
}
.container button{
border-radius: 28px;
color: black;
background-color: none;
}
.container button:hover{

HOSPITAL MANAGEMENT SYSTEM 41


5th SEM BCA

color:rgb(89, 83, 83);


}
.form-group input{
text-align: center;
border-radius: 8px;
font-size: 15px;
/* border: 2px solid black; */
padding: 1px;
}
</style>
</head>
<body>
<header>
<div class="left">
<img src="img/logo.jpg" alt="">
<div>Logo</div>
</div>
<div class="mid">
<ul class="navbar">
<li><a href="#">Home</a></li>
<li><a href="#">Doctors</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Bloging</a></li>
</ul>
</div>
<div class="right">
<button class="btn">Contact Us</button>
<button class="btn">Email Us</button>

HOSPITAL MANAGEMENT SYSTEM 42


5th SEM BCA

</div>
</header>
<div class=" container">
<h1>Take Appointment Now</h1>
<form action="noaction.python">
<div class="form-group">
<input type="text" placeholder="Enter Your Name">
</div>
<div class="form-group">
<input type="number" placeholder="Enter Your Age">
</div>
<div class="form-group">
<input type="email" placeholder="Enter Your Email">
</div>
<div class="form-group">
<input type="text" placeholder="Enter Your Phone number">
</div>
<div class="form-group">
<input type="text" placeholder="Enter your Gender">
</div>
<div class="form-group">
<input type="text" placeholder="Enter your Locality">
</div>
<div class="form-group">
<button>Submit</button>
</div>
</form>
</div>
</body>
</html>

HOSPITAL MANAGEMENT SYSTEM 43


5th SEM BCA

TEST CASES

• Check by entering the correct URL in the browser; the application should be loading
properly.
• Check if there is any user verification functionality present on the application.
• Check by entering valid credentials like username and password; the user should be
able to log in.
• Check by entering invalid credentials; the user should not log into the application, and
an error message should be displayed.
• Check if the hospital management system application can add a new patient.
• Check whether all the mandatory fields are present in the registration portal.
• Check after adding a new patient, and the patient cards should be printed after
completing the payment process.
• Check whether the patient card has details like assigning the doctor’s name to the
comma department, presenting the application number, commanding the date of joining,
locating bed details, etc.
• Check if the doctors can also update the passenger details after the check.
• Check the number of roles in the hospital management system, like the patient, doctor,
admin, accountant, etc.
• Check that the authorized users can see the doctor’s details in the portal, like the doctors’
timings and fees.
• Check for any functionality to add a new doctor to the hospital management system; for
instance, we have added patient details in the database.
• Check whether the admin users can delete doctor and patient information through the
hospital management system portal.
• Check whether an accountant user type can calculate patient bills by collecting data
from different systems.

HOSPITAL MANAGEMENT SYSTEM 44


5th SEM BCA

• Check after the formation of a bill if there should be an option to print the bill or
generate a hard copy.
• Check that authorized users have the privilege to check the details report of the patients,
like day-wise.

WHITE BOX TESTING

White box testing is a testing in which the software tester has knowledge of the inner
workings , structure and language of the software, or at least purpose. It is used to test
areas that cannot be reached from a black box level.

BLACKBOX TESTING

Black Box testing is the software without any knowledge of the inner workings,
structure or language of the module being tested. Black box tests ,as most other kinds tests,
must be written from a definite source document, such as specification or requirements
documents. It is a testing in which the software under test is treated , as a black box. You
cannot “see” into it. The test provides input and responds to outputs without considering
how the software works.

UNIT TESTING

Unit testing is usually conducted as a part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be conducted
as two distinct phase.

HOSPITAL MANAGEMENT SYSTEM 45


5th SEM BCA

CONCLUSION AND FUTURE ENHANCEMENT

Our project “HOSPITAL MANAGEMENT SYSTEM” is a very


helpful and important project that will manage various activities in the
hostel like accommodation, rents, student records and many other
things that are very useful for a well-managed hostel. The scope of this
project is to provide the facility of the living to the student of rural
areas, who are unable to study further in their area. They will be able to
have an affordable rates of living in hostel and they will be fully
provided the environment which they need for their studies. Another
benefit of this project is that all the hostel managing works can be done
easily through it by saving our time and also by saving the human
efforts. This management system will be an error less or bugs free
management system and will be able to show the records of even years
without any conflict-ion.

HOSPITAL MANAGEMENT SYSTEM 46


5th SEM BCA

BIBLOGRAPY

Platform Used

Visual Basic Code

Websites Referred

https://docpulse.com/

https://hospitalmanagementsystem.org/

https://mocdoc.in/util/hospital-management-system

HOSPITAL MANAGEMENT SYSTEM 47

You might also like