Professional Documents
Culture Documents
ON
WEB DEVELOPMENT
BACHELOR OF TECHNOLOGY
Submitted by :-
Ashish Kumar Agnihtori
(Roll no. 1904290100011)
Under the guidance of
Mr. Sarvesh Agrawal
Submitted by :-
Mr. Atul Mathur
(HOD CSE)
Naraina Vidyapeeth Engineering and management institute
2022-2023
ABSTRACT
A training report reflect the 6 weeks summer training at Internshala Pvt.ltd.
The report has details of the practical experience and the academic knowledge that I
have gained from INTERNSHALA during these 6 weeks as a student also it is also
include details of many project that I have conduct and involved .
I have the report of Web Development . I have tried my best elucidate all the relevant
details to be included in the report while in the beginning I have tried to give a general
view about this language.
ACKNOWLEDGEMENT
It is our priviledge and duty to acknowledge the kind of help and guidance received
from several people in preparation of this report .it would not have been possibleto
prepare this report in this from without their valuable help , cooperation and
guidance .
First and foremost , we wish to record our sincere graduate to prof. Mr.Atul Mathur
for his constant and encouragement in preparation of this report and for making
available library and laboratory facilities needed to prepare this report .
The seminar on web development was very helpful to us in giving the necessary
background information and inspiration in choosing this topic for the seminar . their
contribution and technical support in preparation this report are greatly
acknowledged .
Last but no the least , we wish to think our parent for financing our studies in this
collage as well as for constantly encouraging us to learn engineering . Their personal
sacrifies is providing this opportunity to learn engineering is greatefully
acknowledgement.
DECLARATION
1. Introduction
1.2 Objective
2. Project Management
2.1.1 Methodology
3. System Analysis
3.2.1 Reliability
3.2.2 Availability
3.2.3 Security
4. System Design
5. System Implementation
5.1 Implementation
6. System Testing
6.9 Advantages
7. Conclusion
7.1 Conclusion
8 . Certificate of Training
Intorduction
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 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.
Since Hospital is associated with the lives of common people and their day-to-day routines so I decide
to work on this project. The manual handling of the record is time consuming and highly prone to
error. The purpose of this project is to automate or make online, the process of day-to-day activites
like Room activites, Admission of new patient , Discharge of patient , Assign a Doctor, and finally
compute the bill etc. I have tried my best to make the comlicated process Hospital Management
System as simple as possible using Structured & Modular technique & Menu oriented interface.
1.2 Objective
Hospitals and healthcare centre have undergone a change for its betterment. The administrations of
healthcare sector are opting IT solutions for the better management and patient care in their hospital
campus. Have a look at some salient features of hospital management software. Daily functions like
patient registration, monitoring blood bank, managing admission and overall management of various
departments can be easily performed with higher accuracy after the installation of hospital software.
Since, every hospital has some or the other points of worth those vary in comparison with to its
competitors. Hence, most of the IT companies give on-demand solutions or feature of customization. It
further implicates that hospital information management software can be customized by specifying
personal requirements of the campus. The automated functions of online hospital software make
productivity effective. This web based IT solution has automated operations and permit officials to
continue with their work in a swift manner. It further implicates that complete
automation of the hospital software makes productivity easily obtainable. All in all, this
enhances the infrastructure of hospital administration.
Tools Used
Software Tools:
Database : MS-SQL
Plateform:
Software Requirement:
Hardware Tools:
: 2 GB RAM
HDD : 160 G
Project planning is a part of project management which relates to the use of shedules such as Gantt
charts to plan and subsequently report progess within the project environment. Initially, the project
scope is defined and the appropriate methods for complete the project are determined . Following this
step, the durations for the various tasks necessary to complete the work are listed and grouped into a
work breakdown structure.
2.1.1. Methodology
We have used Iterative and Incremental Development model (IID) for our project development. This
development approach is also referred to as Iterative waterfall Development approach. Iterative and
Incremental Development is a software development process developed in response to the more
traditional waterfall model. This model is designed to take care of such big project. The large and
complicated project chiefly demand better development and testing procedure
1. Initiation
2. Planning
3.Execution
4.Closure
Schedule the project tasks is an important project planning activity. It involves deciding which
tasks would be taken up when. In order to schedule the project activities, a software project
manager needs to do the following this rules.
Gantt chart:
Week 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Planning
Design
Coding
Testing
Delivery
Software Risk Management is a proactive approach for minimizing the uncertainly and potential
loss associated with a project . Some categories of risk included product size, business impact,
customer- related , process technology, development environment, staffing
,schedule, and cost. Risk Management is a practice with process , methods, and tools for
managing risk in a project.
Risk identification is a systematic attempt to specify threats to the project Plan. By identifying known
and predictable risks, we can take a first step toward avoiding them when possible and controlling
them when necessary. To perform the risk identification. We categorized the risk into different
categories as:
1. Project Risk
2. Technical Risk
3. Business Risk
4. Known Risk
5. Predictable Risk
6. Unpredictable
System Analysis
3.1 Background Study
System Analysis is a separation of a substance into parts for study and their implementation and
detailed examination. Before designing any system it is important that the nature of the business and
the currently operates are clearly understood. The detailed examination provides the specific data
required during designing in order to ensure that all the client’s requirement are fulfilled. The
investigation or the study conducted during to analysis and feasibility phase overlap. High level
analysis begins during the feasibility study. Though analysis is represented as one phase of the system
development life cycle (SDLC) , this is not true.
Analysis begins with system initialization and continues until its maintenance.
3.2.1 Reliability: This application is a reliable product that produces fast & verified output
of all its process.
3.2.2 Availability: This application will be available to use and help them to carry their
operations conveniently.
3.2.3 Security: This application will be designed in a maintainable manner. It will be easy to
incorporate new requirements in the individual modules.
The proposed software product is the Hospital Management System. The system will be used in any
hospital, clinic , dispensary or pathology labs. Clinic, dispensary or pathology to get the information
from the patients and then storing that data for future usage. The current system in use is a paper
based system. It is too slow and cannot provide update lists of patients within reasonable timeframe.
The intention of the system is to reduce over time pay and increase the number of patients that can be
treated accurately.
3.4.1 Technical feasibility: This is concerned with specifying equipment and software that
will successfully satisfying the user requirement; the technical needs of the system may vary
considerably ,but might include: The facility to produce outputs in a given time:
3. What new skills will be required? Do the existing staff members have these skill ? If not,
can then the trained due course of time
3.4.3 Economic Feasibility: Economic analysis is the most frequently used technique for
evaluating the effectiveness off a propose system. More frequently used technique for
evaluating the effectiveness of a proposed system. More frequently known as cost benefit
system and compare them with costs. If benefits outweigh costs, a decision is taken to design
and implement the system.
3.4.5 Social Feasibility: Social Feasibility is a determination of whether the project will be
acceptable to the people or not. This determination typically examines the probability of the
project accepted by the group directly affected by the proposed system change.
System Design
4.1 Database Design
Database design is the process of producing a detailed data model of database. This data model
contains all the need logical and physical design choices and physics storage parameter needed to
generate a design in a data definition language, which can then be used to create a database. A fully
attributed data model contains detailed for each entity.
The term database design can be used to describe many different part of the design of an overall
database system. Principally, and most correctly, it can be thought of as the logical design of the base
data structure used to store the data. In the relational model these are the tables and views. In an object
database the entities and relationships map directly to object classes and named relationships.
However, the term database design could also be used to apply to the overall process of designing, not
just the base data structure, but also the forms and queries used as part of the overall database
application within the database management system.
Entity relationship diagram is used in modern database software engineering to illustrate logical
structure of database. It is a relational schema database modeling method used to model a system and
approach. This approach commonly used in database design. The diagram created using this method is
called E-R diagram.
Fig, 4.1 E-R Diagram
A database schema is the skeleton structure that represents the logical view of the entire database. It
defines how the data is organized and how the relations among them are associated. It formulates all
the constraints that are to be applied on the data. A database schema defines its entities and the
relationship among them. It contains a descriptive detail of the database, which can be depicted by
means of schema diagrams. It’s the database designers who design the schema to help programmers
understand the database and make it useful.
Fig. 4.2 Database Schema
• Physical Database Schema − This schema pertains to the actual storage of data and its
form of storage like files, indices, etc. It defines how the data will be stored in a secondary
storage.
• Logical Database Schema − This schema defines all the logical constraints that need to be
applied on the data stored. It defines tables, views, and integrity constraints.
Hospital Management System Data flow diagram is often used as a preliminary step to create an
overview of the Hospital without going into great detail, which can later be elaborated.it normally
consists of overall application dataflow and processes of the Hospital process.
In Software engineering DFD(data flow diagram) can be drawn to represent the system of different
levels of abstraction. Higher level DFDs are partitioned into low levels-hacking more information
and functional elements. Levels in DFD are numbered 0, 1, 2 or beyond.
Here, we will see mainly 3 levels in data flow diagram, which are: 0-level DFD, 1-level DFD, and 2-
level DFD.
0- level DFD: It is also known as context diagram. It’s designed to be an abstraction view,
showing the system as a single process with its relationship to external entities. It represent
the entire system as single bubble with input and output data indicated by incoming/outgoing
arrows.
1- level DFD:
In 1-level DFD, context diagram is decomposed into multiple bubbles/processes.in this level we
highlight the main functions of the system and breakdown the high level process of 0-level DFD into
subprocesses.
2- level DFD:
2-level DFD goes one step deeper into parts of 1-level DFD. It can be used to plan or record the
specific/necessary detail about the system’s functioning.
Actor: Admin
Doctor
Reception
Fig 4.5 Login Page
Implemantation is the process of having system personal check out and provide new equipment’s
into, use train the user to install a new application and construct any files of data needed to use it.
There are three types of implementation . Implementation of computer system to replace a manual
system. To problem encountered are covering files, training user, creating accurate files and verifying
print outs for integrity. Implementation of a new computer system to replace an existing one. This is
usually difficult conversion. If not properly planned , there can be many problems. So large computer
system many take as long as a year to convert. This type of conversing is relatively easy to handle,
usually there are no major change in the file. Our project is yet to be implemented.
The implementation view of softaware requirement present the real wordmanifestation of processing
function and information structure. This computerized system is specified in a manner that dictates
accommodation of certain implementation details. The implementation envoirnment of the developed
system facilities multiple user to use this system simultaneously. This user interface are designed
keeping in mind that the users of this system are familiar to using GUI – based system. Thus, we
restricted ourselves to developing a GUI- based system so that it becames easier for the end user to
get acquainted to the developed system.
❖ Administrator interface
❖ Users interface.
Integration testing done befor during the after integration of a new module into the main software
package. The involves testing of each individual code module. One piece of software can contain several
module which are often created by several different programmers.
Unit testing performed on each module or block of code during development.Unit testing is normally
done by the programmer who writes the code.
System testing done by a professional testing agent on the completed software product before it is
introduced to the market.
Acceptance testing is a beta testing of the product done by the actual end user.
Recovery testing is done to demonstrate a software salution is reliable, trustworthy and can
successfully recoup form possible crashes.
Functional testing also known as functional testing. Functional Testing involves trying to think to any
possible missing functions. Testers might make a list of additional functionalities that a product could
to improve it during functional testing.
IBM refers to Hardware/Software testing as “HW/SW Testing ”. This is when the tester focuses
his/her attention on the interactions between the hardware and software during system testing.
Security testing is a variant of software Testing which ensures, that system and applications in an
organization, are free from any loopholes that may cause a big loss. Sequrity testing of any system is
about finding all possible loopholes and weakness of the system which might result into a loss of
information at the hands of the employees or outsiders of the Organization.
6.9 Advantages
The software help to handle the entire administration of hospitals and healthcare facilities.
Typicallty, such a software includes various modules that help doctors manage their
assign,ents and schedules, carry out patient registration , maintain store inventory records, keep track
of medicine,administration, maintain blood bank (with available blood type) details, financial
information, including final billing & payment, insurance details and much more.
Login.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public Login()
InitializeComponent();
Application.Exit();
pass = txtpass.Text;
if(comboBox1.SelectedIndex==0)
{
administration admin = new administration(); this.Hide();
admin.Show();
else
else if(comboBox1.SelectedIndex==1)
cn.Open();
SqlDataReader dr = cmd.ExecuteReader(); if
(dr.Read())
this.Hide();
doc.Show();
doc.DataTransfe(dr[0].ToString(),dr[1].ToString(),dr[2].ToString(),dr[3].ToString(),dr[4].ToS
tring(),dr[5].ToString(),dr[6].ToString(),dr[7].ToString(),dr[8].ToString());
else
cn.Close();
else if (comboBox1.SelectedIndex == 2)
this.Hide();
rec.Show();
else
else
{
}
if(comboBox1.SelectedIndex==0)
txtid.Text = "admin";
txtpass.Text = "123";
else if(comboBox1.SelectedIndex==1)
txtid.Text = "doctor";
txtpass.Text = "123";
else if(comboBox1.SelectedIndex==2)
txtid.Text = "reception";
txtpass.Text = "123";
administration.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public administration()
{
InitializeComponent();
au.ShowDialog();
if (dialog == DialogResult.Yes)
this.Hide();
l.Show();
if (dialog == DialogResult.Yes)
Application.Exit();
}
else
e.Cancel = true;
ap.ShowDialog();
dp.ShowDialog();
ai.ShowDialog();
asa.ShowDialog();
st.ShowDialog();
ad.ShowDialog();
di.ShowDialog();
ss.ShowDialog();
timer1.Start();
DateTime.Now.ToLongTimeString();
label3.Text = DateTime.Now.ToLongTimeString();
timer1.Start();
Add_user.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public add_user()
InitializeComponent();
}
this.Hide();
textBox1.Enabled = false;
textBox2.Enabled = false;
textBox3.Enabled = false;
Add_patient.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public Add_patient()
{
InitializeComponent();
groupGender.Enabled = false;
groupMaritalS.Enabled = false;
txtaddress.Enabled = false;
txtcontact.Enabled = false;
txtdisease.Enabled = false;
txtname.Enabled = false;
Add_staff.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
gender;
btnDelete.Enabled = true;
Btnupdate.Enabled = true;
public Add_Staff()
InitializeComponent();
da.Fill(dt); dataGridView1.DataSource =
dt;
if (txtid.Text == "")
txtid.Focus();
txtname.Focus();
txtnumber.Focus();
txtsalary.Focus();
else
cn.Open();
int i = cmd1.ExecuteNonQuery(); if (i
> 0)
MessageBox.Show("Data Inserdddddddddd");
}
else
cn.Close();
ShowData();
da.Fill(dt);
dataGridView1.DataSource = dt;
gender = radiomale.Text;
gender = radiofemale.Text;
}
ShowData();
btnDelete.Enabled = false;
Btnupdate.Enabled = false;
cn.Open();
int i = cmd.ExecuteNonQuery(); if
(i > 0)
MessageBox.Show("Data Updtedddddddddddddddddd");
ClearData();
btnDelete.Enabled = false;
Btnupdate.Enabled = false;
else
btnDelete.Enabled = false;
Btnupdate.Enabled = false;
}
ShowData();
cn.Close();
txtid.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
txtname.Text = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
txtadd.Text = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();
txtemail.Text = dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString();
txtnumber.Text = dataGridView1.Rows[e.RowIndex].Cells[4].Value.ToString();
txtsalary.Text = dataGridView1.Rows[e.RowIndex].Cells[7].Value.ToString();
Enabled1();
txtid.Enabled = false;
this.Close();
Add_doctor.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
{
static string con =
ConfigurationManager.ConnectionStrings["hospital"].ConnectionString;
gender;
public Add_Doctor()
InitializeComponent();
btnDelete.Enabled = true;
Btnupdate.Enabled = true;
SqlCommand cmd = new SqlCommand("Select * from Add_doctor where id='" + txtid.Text + "'
or email='" + txtemail.Text + "'or number='" + txtnumber.Text + "'", cn);
cn.Open();
ds = new DataSet();
da.Fill(ds);
if (ds.Tables[0].Rows.Count > 0)
Id_Doctor_Id = true;
}
cn.Close();
return Id_Doctor_Id;
new SqlDataAdapter(cmd);
da.Fill(dt); dataGridView1.DataSource =
dt;
btnDelete.Enabled = false;
Btnupdate.Enabled = false;
txtid.BackColor = Color.White;
if (txtid.Text == "")
txtid.Focus();
{
MessageBox.Show("Plese Enter Doctor Name");
txtname.Focus();
txtadd.Focus();
txtemail.Focus();
txtnumber.Focus();
txtsalary.Focus();
}
txtpass.Focus();
else
if (checkDoctorId() == true)
txtid.BackColor = System.Drawing.Color.Red;
else
cn.Open();
Doctor_information.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
{
static string con =
ConfigurationManager.ConnectionStrings["hospital"].ConnectionString;
public Doctor_Information()
InitializeComponent();
new SqlDataAdapter(cmd);
da.Fill(dt); dataGridView1.DataSource =
dt;
ShowData();
da.Fill(dt); dataGridView1.DataSource =
dt;
}
Staff_Information.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
{
public Staff_Information()
InitializeComponent();
da.Fill(dt); dataGridView1.DataSource =
dt;
da.Fill(dt);
dataGridView1.DataSource = dt;
ShowData();
Patient_Information.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
da.Fill(dt); dataGridView1.DataSource =
dt;
public Patient_Information()
InitializeComponent();
ShowData();
{
SqlDataAdapter da = new SqlDataAdapter("select * from Add_Patient where id like '%" +
txtid.Text + "%' or name like '%" + txtid.Text + "%'", cn);
da.Fill(dt); dataGridView1.DataSource =
dt;
Administration.cs
Reception.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public Reception()
InitializeComponent();
}
timer1.Start();
DateTime.Now.ToLongTimeString();
di.ShowDialog();
if (dialog == DialogResult.Yes)
Application.Exit();
else
e.Cancel = true;
}
}
if (dialog == DialogResult.Yes)
Application.Exit();
label3.Text = DateTime.Now.ToLongTimeString();
timer1.Start();
pi.ShowDialog();
si.ShowDialog();
}
dp.ShowDialog();
ap.ShowDialog();
Reception.cs(logout)
Home_Doctor.cs
When id 101 login
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public void DataTransfe(string a,string b,string c,string d,string e,string f,string g,string h,string i)
labid.Text = a.ToString();
labname.Text = b.ToString();
labadd.Text = c.ToString();
labemail.Text = d.ToString();
labnumber.Text = e.ToString();
labgenger.Text = f.ToString();
labspecialist.Text =h.ToString();
labsalary.Text = i.ToString();
labjoingdate.Text = g.ToString();
public DoctorHome()
{
InitializeComponent();
panel4.Hide();
dcp.ShowDialog();
if (dialog == DialogResult.Yes)
this.Hide();
l.Show();
Application.Exit();
else
e.Cancel = true;
panel4.Hide();
pi.ShowDialog();
panel4.Show();
timer1.Start();
label20.Text = DateTime.Now.ToLongDateString();
label19.Text = DateTime.Now.ToLongTimeString();
label19.Text = DateTime.Now.ToLongTimeString();
timer1.Start();
Doctor_change_password.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
System.Data;
using System.Data.SqlClient;
using System.Drawing;
System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TryWindowsForm
public doctor_change_password()
InitializeComponent();
SQLAdapter.Fill(dt);
if (dt.Rows.Count == 0)
else
da.Fill(dt);