Professional Documents
Culture Documents
Lifecare - Report
Lifecare - Report
Project Report
On
Life Care
Submitted in the Partial Fulfillment of the Requirement
for the Award of Degree of
Master of Computer Applications
(Session: 2018-2020)
The matter embodied in this project work has not been submitted earlier for
award of any degree or diploma to the best of my knowledge and belief.
i
Department of Computer Science & Applications
Kurukshetra University, Kurukshetra
(Professor)
Certificate
ii
Department of Computer Science & Applications
Kurukshetra University, Kurukshetra
Certificate
iii
Company Certificate
This is to certify that Mr. Rahul Baniwal a student of Department of Computer Science
and Application, Kurukshetra University is under training/Internship from 28th January
2020 to 30th July 2020. During this Training/Internship, he is working under the guidance
of Ms. Seema Chauhan. His overall performance during the training/internship period is
Excellent. Other details related to his training are as below:
Name : Deepti
Appworx IT Solutions Pvt Ltd., Corporate and Reg. Office Address: Netsmartz House, Plot No 10, I.T. Park,
Chandigarh-160101, India Phone No: 91-172-5055200, Website: www.appworx.in,
iv
Acknowledgement
It gives me immense pleasure to the implied help I received while developing this project
at its various stages. It would not have been possible without the contribution and great
deal of encouragement on parts of numerous individuals.
I express profound gratitude to Dr. Rajender Nath my project guide for his guidance,
motivation and assistance throughout the project.
Expressing my sincere and heartfelt gratitude to Mrs. Seema Chauhan (Team Leader) for
his valuable guidance and encouragement, who look from interest on my project work
and guided me all along till the completion of my project by providing me all the
necessary information for developing a good system. His prompt inspirations, timely
suggestion with kindness, enthusiasm and dynamism have enabled me to complete the
project successfully.
I would also like to thank all the other people who were directly or indirectly involved in
the success of the project.
Finally, I would like to thank my family for their love and continuous encouragement
during the entire duration of the project.
(Rahul)
v
List of Figures
vi
List of Tables
vii
Index
Sr. no. Topic name Page no.
Declaration…………………………………………… i
Supervisor Certificate………………………………... ii
Chairperson Certificate………………………………. iii
Company Certificate…………………………………. iv
Acknowledgement…………………………………… v
List of Figures………………………………………... vi
List of Tables………………………………………… vii
1 INTRODUCTION…………………………………… 1-6
1.1 Introduction of the Project……………………... 1
1.1.1 Scope of the Project…………………….. 1
1.1.2 Technologies Used……………………... 2
1.2 Objectives of the Project………………………. 2
1.3 About the Company……………………………. 3
1.4 Methodology of the Developing of Project…… 4-5
1.5 Organization of the Project Report…………….. 6
2 SYSTEM ANALYSIS……………………………….. 7-11
2.1 Introduction…………………………………….. 7-9
2.1.1 Functional Requirements……………….. 7
2.1.2 System Objectives……………………… 9
2.2 Existing System………………………………... 9
2.3 Proposed System………………………………. 10
2.4 Feasibility Analysis……………………………. 10-11
3 REQUIREMENT SPECIFICATION………………... 12-16
3.1 Hardware Specification………………………… 12
viii
3.2 Software Specification…………………………. 13
3.3 Performance Specification……………………... 13
3.4 Tools And Language Specification……………. 14-16
3.4.1 Front End……………………………….. 14
3.4.2 Back End……………………………….. 16
4 SYSTEM DESIGN…………………………………... 17-28
4.1 Introduction…………………………………… 17-18
4.1.1 Input Design………………………….. 18
4.1.2 Output Design………………………… 18
4.2 Table Design…………………………………... 19-22
4.3 Data Flow Diagram…………………………… 23-25
4.4 ER Diagram…………………………………… 26-27
4.5 Summary………………………………………. 28
5 SYSTEM IMPLEMENTATION…………………….. 29-61
5.1 Coding & Screenshots………………………… 29-60
5.2 Module Description…………………………… 30
5.2.1 Admin Module………………………... 30
5.2.2 Appointment book Module …………... 46
5.2.3 Doctor Module………………………... 50
5.2.4 Patient Module………………………... 52
5.3 Summary………………………………………. 61
6 SYSTEM TESTING…………………………………. 62-67
6.1 Introduction…………………………………… 62
6.2 Testing Strategies……………………………... 63
6.3 Software Testing Hierarchy…………………… 64
6.4 Test Case For Life Care……………………….. 66
ix
6.4.1 Login Form…………………………... 66
x
CHAPTER 1: INTRODUCTION
Life Care is a project which aims in developing a computerized system to maintain all
the information of hospital entities. It has a facility of admin login through which the
admin can monitor the whole system. Admin modules are managing patients, manage
doctors, and manage appointments. Patient modules are find doctors and applied for
appointment, view appointment and view prescription. Doctor modules are view our
appointments, write prescriptions, and view patient details. Overall this project of ours
is being developed to help the hospital administration, maintain the hospital
management in the best way possible and also reduce the human efforts.
1
1.1.2 Technologies Used:
I had used many technologies in the development of Life Care portal such as PHP
MYSQL, database. Hyper Text Markup Language is very effective language to
develop the site. Our project is prepared in HTML. It is as popular as it can use any
text editor for coding purposes, and developing web pages is an easy task here. HTML
is the language interpreted by browsers. CSS stands for Cascading Style Sheet. It is
used to give designer look to HTML using the external file. JavaScript is powerful
client side scripting language which is mainly used for Validations. It is a Dynamic
programming language.
Our objective is by using this website patient can search and view doctors profiles and
also apply for appointment. This website project is also become useful for doctors for
viewing patient’s details and write prescriptions to patients.
Project is discussed in this subchapter. The aims and objectives are as follows:
• The main objective of this project is to link and bring all major private medical
clinics of the city to a single platform. So that patients can easily get access to the
doctor's profile and make online appointments.
• The system allows doctors to manage their booking slots online. Patients are
allowed to book empty slots online and those slots are reserved in their name
• The system manages the appointment data for multiple doctors for various date
and times.
• Each time a user visits a doctor his/her medical entry is stored in the database by
doctor. Next time a user logs in he may view his/her entire medical history as and
when needed.
• The aim of the project is to create a platform where patients and doctors can
2
access/interact efficiently with each other and provides ease and comfort to the
patients.
Appworx is a joint venture of Sebiz and WeExcel. The company was formed with the
mission to bridge the gap between antiquated college syllabi and the demands of a fast
changing IT environment. To make the workforce industry-ready, Appworx initiated
programs like Skill India Mission, Skill Malls and Technology Excellence Centers and
TISS. Appworx came in to existence as a social entrepreneurial initiative in skill
training, working largely in the underdeveloped regions of the country. The company
is committed towards providing young people with high quality vocational education
& skill training with relevant & recognized certifications that result in meaningful
employment and successful careers in the organized sector.
Company History:
Appworx IT Solutions Private Limited is a Non-govt company, incorporated on 06
Aug, 2012. It's a private unlisted company and is classified as'company limited by
shares'.Company's authorized capital stands at Rs 200.0 lakhs and has 62.926% paid-
up capital which is Rs 125.85 lakhs.Company is registered in Chandigarh
(Chandigarh) Registrar Office. Appworx IT Solutions Private Limited registered
address is Netsmartz House, Plot No. 10, Rajiv Gandhi Chandigarh Technology Park.
Goal:
To be a catalyst in enriching and empowering businesses through sustainable
technology in accordance with the highest professional standards continuously
challenging ourselves while maintaining team spirit, integrity and happiness.
The Company
3
1.4 Methodology of the Development of Project
The Software Development Life Cycle (SDLC) provides a systematic process for
building and delivering software applications from inception to completion.
There are a number of different SDLC methodologies that can be used to deliver
projects. SDLC is a framework defining tasks performed at each step in the software
development process. The life cycle defines a methodology for improving the quality
of software and the overall development process.
In the above figure, I have defined the steps used in designing the Life Care Software
Development Life Cycle consists of the following stages –
4
Once the requirement analysis is done the second step is to clearly define and
document the product requirements and get them approved from the customer or the
market analysts. This is done through an SRS (Software Requirement
Specification) document which consists of all the product requirements to be designed
and developed during the project life cycle.
The third stage describes, in detail, the necessary specifications, features and
operations that will satisfy the functional requirements of the proposed portal which
will be in place. A design approach clearly defines all the architectural modules of the
product along with its communication and data flow representation with the external
and third party modules (if any). The internal design of all the modules of the
proposed architecture should be clearly defined with the minutes of the details in DDS.
In this stage of SDLC the actual development starts and the portal is built. The
programming code is generated as per DDS during this stage. If the design is
performed in a detailed and organized manner, code generation can be accomplished
without much hassle.
Once the portal is tested and ready to be deployed it is released formally in the
appropriate market. The last stage is when end users can fine tune the system to boost
performance and add new capabilities or meet additional user requirements.
Sometimes system deployment happens in stages as per the business strategy of that
organization.
5
1.5 Organization of the Project Report
Chapter 6: Testing
Testing is used at key checkpoints in the overall process to determine whether
objectives are being met.
Chapter 7: Conclusion
A conclusion is the last part of something, its end or results. When we write a paper,
we always end by summing up your arguments and drawing a conclusion.
Chapter 8: Bibliography
Bibliography is a list of sources like books and URLs that are used in making of project.
6
CHAPTER 2: SYSTEM ANALYSIS
2.1 Introduction
In this chapter, we will discuss and analyze about the developing process of the project
entitled Life Care including software requirement specification (SRS) and comparison
between existing and proposed system. The functional and non functional requirements
are included in SRS part to provide complete description and overview of system
requirement before the developing process is carried out.
Besides that, existing versus proposed provides a view of how the proposed system will
be more efficient than the existing one.
All the operations to be performed on the input data to obtain the output should be
specified. This includes specifying the validity check on output and output data,
parameters affected by the operations and the equations or the other logical operations
that must be used to transform the inputs into corresponding outputs. The functions must
be clearly said what the system should do in abnormal situations like invalid input or
error during computation.
We will focus on the following set of requirements while designing the Life Care:
c) Each doctor will have a unique identification number and other details.
d) The system should be able to retrieve information like who took an appointment or
what are the details checked-out by a specific doctor.
7
e) The system should be able to collect information of appointments related to the
patient.
a) Administrator
Administrator is authorized to have its own unique login- Id & password. The Admin
section will be managed by an administrator account. Administrator will login to the
Admin account by entering his login details on “ADMIN LOGIN” option that is on
Home Page and then he will be directed to the admin section.
1) The administrator is the one who has the overall control of the web application.
b) Doctor:
Doctor can perform the following functions:-
1) Login to site: Doctor can login to the site from Doctorlogin form, link to which is
available on site’s Home Page.
2) Edit Profile: doctor can edit his/her name, username, password, phone number
whenever he/she wants.
3) View patient: doctor can only view of various patients in the site.
4) View appointment: doctor can view appointment, and delete appointment from
site’s database
c) Patient
Patient can perform the following functions:-
1) Login to site: patient can login to the site from User login form, link to which is
available on site’s Home Page.
2) Edit Profile: patient can edit his/her name, username, password, phone number
whenever he/she wants.
3) Search Different Categories of doctors: - patient can search different categories of
doctors regarding us diseases.
8
4) View doctors and book appointment on that particular search: - patient can view
all the doctors of our site and after login patient can book appointment.
Save time- Patient is able to search doctors by using few clicks of mouse and few search
keywords thus saving his valuable time.
Option of online blogs- Patient will be able to see a detailed description of news going in
the hospitals.
Disadvantages
a) The work is done manually so that it takes much time to recognize the patient at the
registration office.
b) Booking appointments.
c) We can’t asses the calculations accurately.
d) Amount of time is more needed when the more patients come to registration counter.
It counts time factor.
e) As there are thousands of patients records; Searching process is a difficult task.
f) Time consuming.
g) Getting clinic details.
9
2.3 Proposed System
The present system has obvious problems, inhibiting growth and more usage of man
power. The present system which has been proposed is very easy to work .The
computerization of the every department in the health center will reduce the work that is
done manually. The man power is reduced to the maximum extent. The patients at the
registration office are registered within no time, because every time there is no need
search for the particular option no in the shelf’s .The drugs information are maintained
without any complexity and all the calculations are made automatically by this system
there is no need for the calculations
Advantages:
a) A fast and more efficient service to all patients. As there are thousands of patients
records; Searching process is an easy task.
b) Saving in staff time in entering and manipulating data.
c) Easy input, deletion and manipulation of lot, patient details.
d) Making appointments.
a) Economic Feasibility
b) Technical Feasibility
c) Operational Feasibility
d) Behavioral Feasibility
10
a) Economic Feasibility
Economic analysis determines the benefits and the saving that are expressed from a
candidate system and compare those costs. It benefits outweigh costs. Otherwise, further
justification or alterations in the proposed system will have to be made if it is to have a
chance of being approved. This is an ongoing effort that improves in accuracy at each
phase of the system life cycle. It looks at the financial aspects of the project.
b) Technical Feasibility
c) Operational Feasibility
d) Behavioral Feasibility
People are inherent to change and computers have been known to facilitate change. An
estimate should be made about the reaction of user staff towards the development of a
computerized system. Computer installations have something to do with turnover,
transfers and change in job status. In this type of feasibility check, we come to know if
the newly developed system will be taken and accepted by the working force i.e. the
people who will use it.
11
CHAPTER 3: REQUIREMENT SPECIFICATION
HDD 40 GB
PC PC (Windows 7/8)
12
3.2 Software Specification
ActiveX/Plugin
Flash Player 9 or above
Requirement specification plays an important part in the analysis of a system. Only when
the requirement specifications are properly given, it is possible to design a system, which
will fit into required environment. It rests largely in the part of the users of the existing
system to give the requirement specifications because they are the people who finally use
the system. The requirement specification for any system can be broadly stated as given
below:
13
3.4 : SYSTEM TOOLS AND TECHNOLOGY SPECIFICATION
b) HTML: Hyper Text Markup Language is very effective language to develop the site.
Our project is prepared in HTML. It also includes the important codes that are used
while we coding a site. It supports the d-html and script languages like VB-Script and
Java Script; here in this project we have used the later one.
c) CSS: CSS stands for Cascading Style Sheet. It is used to give designer look to HTML
using the external file. Cascading Style Sheets (CSS) is a style sheet language used
for describing the presentation semantics (the look and formatting) of a document
written in a markup language.
e) JQUERY: jQuery is a fast, small, and feature-rich JavaScript library. It makes things
like HTML document traversal and manipulation, event handling, animation, and
Ajax much simpler with an easy-to-use API that works across a multitude of
browsers. With a combination of versatility and extensibility, jQuery has changed the
way that millions of people write
f) JavaScript:- It is powerful client side scripting language which is mainly used for
Validations. It is a Dynamic programming language. It is most commonly used as part
of web browsers, whose implementations allow client-side to interact with the user,
control the browser, communicate asynchronously.
14
WHAT EXACTLY IS PHP?
PHP is an intuitive server side scripting language. Like any other scripting language it
allows developers to build logic into the creation of web page content and handle data
returned from a web browser. PHP also contains a number of extensions that make it easy
to interact with databases, extracting data to be displayed on a web page and storing
information entered by a web site visitor back into the database. Web forms and create
content. PHP provides developers and administrators with a flexible and efficient set of
security safeguards. These safeguards can be divided into two frames of reference:
system level and application level.
CHARACTERISTICS OF PHP
PHP is about providing the programmer with the necessary tools to get the job done in a
quick and efficient fashion. Five important characteristics make PHP’s practical nature
possible:
a) Familiarity
b) Simplicity
c) Efficiency
d) Security
e) Flexibility
15
3.4.2 Back End
b) What is a Database?
A database is a structure that comes in two flavors: a flat database and a relational
database. A relational database is much more oriented to the human mind and is often
preferred over the gabble-de-gook flat databases that are just stored on hard drives like a
text file. MySQL is a relational database. .
c) XAMPP: XAMPP is the most famous PHP and Perl development environment. It
helps developers to setup a local server which is fully equipped with all necessary tools
and helps them to work at high speed. It is a totally free, very simple in installing Apache
distribution containing Maria DB (MySQL), PHP, and Perl. The set up of the the package
is extremely easy for multiple operating systems like Windows, Linux, Mac OS X and
Solaris.
16
CHAPTER 4: SYSTEM DESIGN
4.1 Introduction
Design is the first step into the development phase for any engineered product or system.
Design is a creative process. A good design is the key to effective system. The term
“design” is defined as “the process of applying various techniques and principles for the
purpose of defining a process or a system in sufficient detail to permit its physical
realization”. It can be defined as a process of applying various principles and techniques
for the defining a device, a system or a process to permit its physical realization with
sufficient detail. Software design is at the technical kernel of the software engineering
process and is applied whatever development paradigm is used.
The system design develops the architectural detail required to build a system or product.
While using systematic approach, software too has pass through the best possible design
phase fine with efficiency, performance and accuracy. The design phase is a transition
from a user oriented document to the programmer documents. System design passes
through two phases of development: Logical and Physical Design.
Logical Design
Logical Design defines the logical flow of a system and the boundaries of a system. It
includes the following steps:
a) Reviews the current physical system – its file content, data flows,
volumes, Frequencies etc.
b) Prepares input specifications – format, content and most of the input functions.
c) Prepares output specifications – it determines the format, content and Frequency of
reports.
d) Prepares edit, security and control specifications.
e) Specifies the implementation plan.
f) Reviews benefits, costs, target dates and system constraints.
g) Design the database.
17
Physical Design
Physical Design produces the Physical working systems and defines the design
specification that tells exactly what the candidate system must do to the programmer. It
includes the following steps.
18
4.2 Table Design
1. patient
2. blogspot
19
3. doctor_list
20
5. appointment
21
7. tbl_feedback
22
4.3 Data Flow Diagram
A Data Flow Diagram (DFD) is a graphical representation of the "flow" of data through
an Information System. A data flow diagram can also be used for the visualization of
Data Processing. It is common practice for a designer to draw a context-level DFD first
which shows the interaction between the system and outside entities. This context-level
DFD is then "exploded" to show more detail of the system being modeled.
A DFD represents flow of data through a system. Data flow diagrams are commonly used
during problem analysis. It views a system as a function that transforms the input into
desired output. A DFD shows movement of data through the different transformations or
processes in the system.
Dataflow diagrams can be used to provide the end user with a physical idea of where the
data they input ultimately has an effect upon the structure of the whole system from order
to dispatch to restock how any system is developed can be determined through a dataflow
diagram. The appropriate register saved in database and maintained by appropriate
authorities.
Data Flow Diagram Notation
Function
File/Database
Input/output
Flow
24
DFD Level 1 Diagram
25
4.4 Entity Relationship Diagrams (ER-Diagrams):
Attribute: Attribute is a particular property that describes the entity. Attribute symbol is
below
26
ENTITY RELATIONSHIP(ER) DIAGRAM
27
4.5 Summary
• Systems
• Processes
• Technology
a) Organization
Organization implies structure and order. It is the arrangement of components that helps
to achieve predetermined objectives.
b) Interaction
It is defined by the manner in which the components operate with each other.
c) Interdependence
Interdependence means how the components of a system depend on one another. For
proper functioning, the components are coordinated and linked together according to a
specified plan. The output of one subsystem is the required by other subsystem as input.
d) Integration
Integration is concerned with how the system components are connected together. It
means that the parts of the system work together within the system even if each part
performs a unique function.
28
CHAPTER 5: SYSTEM IMPLEMENTATON
29
Figure 5.1.2 (Screenshot For Admin Login)
ADMIN
POST
DOCTOR HANDLING
REGISTRATIO
N AND
INFORMATIO
CLINIC
N PATIENT REGISTRATION USER
REGISTRATION APPOINTMENTS AND
STATUS QUERY
AND INFORMATION
INFORMATION HANDLING
30
• Code for Admin module
<!DOCTYPE html>
<?php
include "dbconfigure.php";
session_start();
if(!isset($_SESSION['user_id']) OR $_SESSION['user_type']!=3)
header('Location:login.php?error=invalidUser');
?>
<html lang="en">
<head>
<meta charset="utf-8">
</title>
<!--external css-->
31
<link href="css/elegant-icons-style.css" rel="stylesheet" />
<link href="assets/fullcalendar/fullcalendar/bootstrap-
fullcalendar.css" rel="stylesheet" />
<link href="assets/fullcalendar/fullcalendar/fullcalendar.css"
rel="stylesheet" />
<link href="assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css"
rel="stylesheet" type="text/css" media="screen"/>
</head>
<body>
<!--header Start-->
<!--header end-->
<!--sidebar start-->
32
<!--sidebar end-->
<section id="main-content">
<section class="wrapper">
<!--overview start-->
<div class="row">
<div class="col-lg-12">
<ol class="breadcrumb">
</ol>
</div>
</div>
<div class="row">
<div class="count"><?=totaldoctor()?></div>
<div class="title">Doctors</div>
</div><!--/.info-box-->
</div><!--/.col-->
<div class="count"><?=totalappointment()?></div>
<div class="title">Appoinments</div>
</div><!--/.info-box-->
33
</div><!--/.col-->
<div class="count"><?=totalpatient()?></div>
<div class="title">Patient</div>
</div><!--/.info-box-->
</div><!--/.col-->
</div><!--/.row-->
</section>
<!-----Credit Start------->
<?php #include("./comnpages/credit.php");?>
<!-----Credit End------->
</section>
</section>
<?php
if(isset($_POST['btn_login']))
require('./comnpages/config.php');
$email=$_POST['email'];
$password=$_POST['pass'];
//$user_id=$_POST['user_id'];
$data=mysqli_query($conn,$sql);
34
if(mysqli_num_rows($data)>0)
session_start();
$row=mysqli_fetch_array($data);
$_SESSION['user_id']=$row['user_id'];
$_SESSION['user_type']=3;
header('Location:index.php');
//}
//else
//{
//header('Location:testlogin.php?error=invalidUSER');
}else{
window.location="./login.php?user_name_password_do_not_match";
</script>';
}else{
window.location="../index.php?invalidUSER";
</script>';
?>
<!DOCTYPE html>
35
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<title>Book Appoinment</title>
<meta charset="utf-8">
<!-- <?php
($_GET);
?> -->
<!--[if IE]>
<![endif]-->
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<style
.inpbox
</style>
36
<!--[if lt IE 9]>
<script src="js/vendor/html5shiv.min.js"></script>
<script src="js/vendor/respond.min.js"></script>
<script src="js/vendor/jquery-1.12.4.min.js"></script>
<![endif]-->
</head>
<body>
<!--[if lt IE 9]>
<![endif]-->
<div class="preloader">
<div class="preloader_image"></div>
</div>
<span aria-hidden="true">
<i class="rt-icon2-cross2"></i>
</span>
</button>
37
</div>
</div>
<!--
<ul class="list-unstyled">
<li>Message To User</li>
</ul>
-->
</div>
</div>
<!-- wrappers for visual page editor and boxed version of template -->
<div id="canvas">
<div id="box_wrapper">
<div class="container">
<div class="row">
</div>
</div>
38
<ol class="breadcrumb bottom_breadcrumbs">
Home
</a> </li>
</ol>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-sm-12">
</div>
</div>
<div class="row">
<div class="row">
<div class="col-sm-12">
<!--<label>Full Name</label>-->
</div>
</div>
<div class="col-sm-6">
39
<div class="inpbox" >
</div>
</div>
<div class="col-sm-6">
</div>
</div>
<div class="col-sm-6">
<!--<label for="subject">Subject<span
class="required">*</span></label>-->
</div>
</div>
<div class="col-sm-6">
<div>
40
<option>11:00 - 11:15 AM </option>
41
<option>05:45 - 05:00 PM </option>
</select>
</div>
</div>
<div class="col-sm-12">
<!--<label for="message">Message</label>-->
42
<textarea rows="3" cols="45"
style="width:100%;background:url(images.png)no-repeat;border:none;"
name="message" placeholder="Message"></textarea>
</div>
</div>
<div>
</div>
</div>
</form>
</div>
<li>
<div class="media">
<div class="media-body">
</div>
</li>
<li>
<div class="media">
43
<div class="media-body">
</div>
</li>
<li>
<div class="media">
<div class="media-body">
</div>
</li>
<li>
<div class="media">
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
44
</div>
</div>
<script src="js/compressed.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDTwYSMRGuTsmfl2
z_zZDStYqMlKtrybxo"></script>
</body>
</html>
45
5.2.2 Doctor Module
The following module contains various facilities like doctor registration, doctor login,
online book appointment, and edit profile. Any doctor if at any moment forgets his
password he can retrieve it from forgot password option.
DOCTOR MODULE
Appointment
Doctor Login Status
Doctor
Registration
Username Forgot
and password password
authentication
46
• Code For Doctor Login
<?php
if(isset($_REQUEST['sucess']))
{
echo"<script>
alert('Your Password Change Success');
</script>";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<meta name="description" content="Creative - Bootstrap 3 Responsive
Admin Template">
<meta name="author" content="GeeksLabs">
<meta name="keyword" content="Creative, Dashboard, Admin, Template,
Theme, Bootstrap, Responsive, Retina, Minimal">
<link rel="shortcut icon" href="img/favicon.png">
<title>Doctor Login</title>
<!-- Bootstrap CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- bootstrap theme -->
<link href="css/bootstrap-theme.css" rel="stylesheet">
<!--external css-->
<!-- font icon -->
<link href="css/elegant-icons-style.css" rel="stylesheet" />
<link href="css/font-awesome.css" rel="stylesheet" />
<!-- Custom styles -->
<link href="css/style.css" rel="stylesheet">
<link href="css/style-responsive.css" rel="stylesheet" />
</head>
<body class="login-img3-body">
<div class="container">
47
<form class="login-form" method="post" >
<input type="hidden" name="ldtype" value='2'>
<div class="login-wrap">
<p class="login-img">Doctor Login<i class="icon_lock_alt"></i></p>
<div class="input-group">
<span class="input-group-addon"><i class="icon_profile"></i></span>
<input type="text" class="form-control" name="emailid"
placeholder="Username" autofocus>
</div>
<div class="input-group">
<span class="input-group-addon"><i class="icon_key_alt"></i></span>
<input type="password" name="password" class="form-control"
placeholder="Password">
</div>
<label class="checkbox">
<input type="checkbox" name="rem" value="remember-me"> Remember me
<span class="pull-right"> <a href="#"> Forgot Password?</a></span>
</label>
<button class="btn btn-primary btn-lg btn-block" name="submit"
type="submit">Login</button>
<!-- <button class="btn btn-info btn-lg btn-block"
type="submit">Signup</button> -->
</div>
</form>
<div class="text-right">
<div class="credits">
</div>
</div>
</div>
</body>
</html>
<?php
session_start();
include "dbconfigure.php";
if(isset($_POST['submit']))
{
$emailid = $_POST['emailid'];
$password = $_POST['password'];
48
$query = "select count(*) from doctor_list where emailid='$emailid'
and password='$password'";
$n = my_one($query);
if($n==1)
{
echo $_SESSION['semailid']=$emailid;
echo $_SESSION['spassword']=$password;
echo '<script>
window.location="index.php";
</script>';
}
else
{
echo '<script>alert("Invalid Login Credentials.")</script>';
}
}
?>
49
5.2.3 Appointment Book Module
The following module contains various facilities like add new appointment and search
appointment. If any new appointment comes in the database then the admin can check/set
status. On the basis of appointment slot available admin allocates slot to patients and then
patients can check their booking status by login using their credentials.
APPOINTMENT
50
• Code For Adding New Appoinment
<?php
if (isset($_POST['btn_reg'])) {
$name=$_POST['name'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$date=$_POST['date'];
$apptime=$_POST['app_time'];
$message=$_POST['message'];
$cid=$_POST['cid'];
require './comnpages/config.php';
$appins="INSERT INTO
appoinment(app_name,app_email,app_phone,app_doctor,app_date,app_time,ap
p_msg) VALUES
('$name','$email','$phone','$cid','$date','$apptime','$message') ";
$result=mysqli_query($conn,$appins);
$ticketno = mysqli_insert_id($conn);
if($ticketno){
window.location="./appoinment.php"</script>';
}else{
window.location="./appoinment.php"</script>';
}else{
echo '<script>
window.location="./index.php?error_invalid"</script>';
}?>
51
5.2.4 Patient Module
The following module contains various facilities like patient registration, patient login,
online book appointment, and edit profile. Any doctor if at any moment forgets his
password he can retrieve it from forgot password option.
PATIENT MODULE
Username Forgot
and password password
authentication
52
• Code For Patient login
<?php
ob_start();
?>
<!DOCTYPE html>
<html class="no-js">
<head>
<title>Patient Login</title>
<meta charset="utf-8">
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-
lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ"
crossorigin="anonymous">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<style>
53
.inpbox{
</style>
</head>
<body>
<div class="preloader">
<div class="preloader_image"></div>
</div>
<span aria-hidden="true">
<i class="rt-icon2-cross2"></i>
</span>
</button>
</div>
54
</div>
</div>
</div>
<div id="canvas">
<div id="box_wrapper">
<div class="container">
<div class="row">
</div>
</div>
Home
</a> </li>
55
</ol>
</div>
</section>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h3 class="module-header">Login</h3>
</div>
</div>
<div class="row">
<div class="row">
<div class="col-sm-12">
<div class="inpbox">
</div>
</div>
<div class="col-sm-12">
56
<div class="inpbox" >
</div>
</div>
<div>
</div>
<div >
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
57
<!-- Start Footer -->
</div>
</div>
<script src="js/compressed.js"></script>
<script src="js/main.js"></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDTwYSMRGuTsmfl2z
_zZDStYqMlKtrybxo"></script>
</body>
</html>
<?php
session_start();
include "dbconfigure.php";
if(isset($_POST['submit']))
$emailid = $_POST['emailid'];
$password = $_POST['password'];
$n = my_one($query);
58
if($n==1)
echo $_SESSION['semailid']=$emailid;
echo $_SESSION['spassword']=$password;\
if(isset($_GET['id']))
/*echo '<script>
window.location="patient/patienthome.php";
</script>';*/
header("location:patient/bookappointment.php?id=".$_GET['id']);
else
header("location:patient/patienthome.php");
else
?>
59
Figure 5.2.4.3 (Patient Module)
60
5.3 Summary
Implementation is a process of ensuring that the information system is operational. It
involves −
Implementation allows the users to take over its operation for use and evaluation. It
involves training the users to handle the system and plan for a smooth conversion.
Training
The personnel in the system must know in detail what their roles will be, how they can
use the system, and what the system will or will not do. The success or failure of
welldesigned and technically elegant systems can depend on the way they are operated
and used.
Training Guidelines
a) Establishing measurable objectives
61
CHAPTER 6: SYSTEM TESTING
6.1 Introduction
The purpose of system testing is to identify and correct errors in the candidate system.
Testing is an important element of software quality assurance ad represents the ultimate
review of specification, design and coding. The increasing visibility of the software as a
system element and the cost associated with a software failure are motivated forces for
well planned, through testing. System testing was conducted in order to detect errors and
for comparing then the final system with the requirement specification reports, i.e.
whether the system meets requirements. During testing the software was executed with
the set of test cases and the output of programs for the test cases was evaluated to
determine if the program is performing as it was expected to.
Testing presents an interesting challenge for the software engineers attempt to build
software from an abstract concept to an acceptable implementation. In testing engineer
create a series of test cases that occurs when errors are uncovered. Testing is the process
of executing a program for finding errors. A good test is one that has the high probability
of finding an uncovered error. A successful error is one that uncovers undiscovered
errors.
The term error is used to refer the difference between actual output of the software and
the current output. Fault is a condition that causes the software to fail to perform its
required function. Software reliability is defined as a required function. Software
reliability is defined as the probability that the software will not undergoes failures for a
specified times under specified condition. Failure is the inability of a system or a
component to perform a required function according to its specification. Different levels
of testing were employed for software to make it error free, fault free and reliable.
62
6.2 Testing Strategies
a) White box testing
White box testing is performed to reveal problems with the internal structure of a
program. This requires the tester to have detailed knowledge of the internal structure. A
common goal of white box testing is to ensure a test case exercises every path through a
program. A fundamental strength that all white box strategies share is that the entire
software implementation is taken into account during testing, which facilitates error
detection even when software specification is vague or incomplete. The effectiveness or
thoroughness of white box testing is commonly expressed in terms of test or code
coverage metrics, which measure the fraction of code exercised by test cases.
1) All independent paths within a module have been exercised once. In our system,
ensuring that case was selected and executed checked all case structures. The bugs that
were prevailing in some part of code where fixed.
2) All logical decisions were checked for the truth and falsify of the values.
Black box tests are performed to access how well a program meets its requirements,
looking for incorrect or missing functionality. Functional tests typically exercise code
with valid or nearly valid input for which the expected output is known. This includes
concepts such as ‘boundary values’. Performance tests evaluate response time, memory
usage, throughput, device utilization and execution time. Stress tests push the system to
or beyond its specified limits to evaluate its robustness and error handling capabilities.
2) Interface errors
4) Performance errors
63
6.3 SOFTWARE TESTING HIERARCHY
1. Unit Testing:
Unit testing is essentially for the verification of the code produced during the coding
phase and the goal is test the internal logic of the module/program. Unit testing is
normally done by the programmer who writes the code.
b) Doctor account addition - In this section the admin can verify doctor details and then
64
only add doctor details to main database it contains add and delete buttons if user click add
button data will be added to doctor database and if he clicks delete button the doctor data
will be deleted.
c) Book Appointment - Admin can check details of appointments and can add the
details to the main appointment table also he can view the appointments requests.
b) Test for account creation- This form is used for new account creation when doctor
does not fill the form completely it asks again to fill the whole form when he fill the form
fully it gets redirected to page to fill all details.
a) Test for patient login form- This form is used for login of patient.In this we enter the
username and password if all these are correct patient login page will open other wise if
any of data is wrong it will get redirected back to the login page and again ask for username
and password.
b) Test for account creation- This form is used for new account creation when patient
does not fill the form completely it asks again to fill the whole form when he fill the form
fully it gets redirected to page to fill all details.
2. Integration Testing:
All the tested modules are combined into sub systems, which are then tested. The goal is
to see if the modules are properly integrated, and the emphasis being on the testing
interfaces between the modules. On this project integration testing is done mainly while
implementing menus in a sample application such as Browser for Mobiles. In this type of
testing we test various integration of the project module by providing the input.
65
6.4 Test Cases for Life Care
6.4.1 Login Form:
1 Enter valid name and password & Software should display main Successful
click on login button window
66
CHAPTER 7: CONCLUSION
7.1 Conclusion
The system has been developed with much care that it is free of errors and at the same
time it is efficient and less time consuming. The important thing is that the system is
robust. Avoid malfunction from outsiders. It goes through all phases of software
development cycle. So product is accurate. Also provision is provided for future
developments in the system.
Completion of the development process resulted in a software package that provide user
friendly environment which is very easy to work with, even for people with very little
knowledge of computer. Management of various tasks is incorporated in the package and
will deliver the required information in a very easy to use and easy to access manner.
This package will provide accuracy, efficiency, speed and easiness to the end user. Paper
work will be subjugated and come to an appropriate level. This web application involves
almost all the basic features of the online searching of doctors and appointment
management. The future implementation will be online help for the users and chatting
with website administrator.
Life Care provides various features, which complement the information system
and increase the productivity of the system. These features make the system easily usable
and convenient. Some of the important features included are listed as follows:
d) Data Security
67
7.2 Future Scope
Our Life care system currently focuses on the relationships between patients and
doctors. We plan to extend the system to other healthcare facilities and professionals,
such as laboratory technicians who perform and report tests and analyses requested by
physicians. We also plan to investigate whether our Clinic modules can be interfaced to
applications supplied by pharmaceutical companies that provide information on
medications and dosages and warn of interactions between medications. In addition, we
plan to investigate drug delivery devices, such as e-pillboxes, that prompt and monitor
the regular and timely consumption of medications.
68
CHAPTER 8: BIBLIOGRAPHY
8.2 URLs
● www.phpmanual.net
● www.w3schools.com
● https://en.wikipedia.org/wiki/PHP
● https://www.codecademy.com/learn/php
● https://www.javascript.com/
● https://www.mysql.com/
69