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

UNIVERSITY INSTITUTE OF COMPUTING

DIVISION- MCA/BCA/BSc(CS)

(Annexure-I)
Hospital Management System
Second Project Report
Submitted by
Anwesha Mishra Uid: 20MCA1090
Shobhan Kumar Rath Uid: 20MCA1103
Sahebjot Singh Uid: 20MCA1158
IN
UIC-MCA
Submitted to: Dr Jarnail Singh
Section/group: 20MCA1/A
Supervised By: Ms. Pritpaul Kaur

Chandigarh University
FEBRUARY, 2022

1
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

(Annexure-2)

BONAFIDE CERTIFICATE
Certified that this project report “Hospital Management System” is the bonafide
work of “Anwesha Mishra, Shobhan Kumar Rath, Sahebjot Singh” who carried out
the project work under my/our supervision.

<<Signature of the Head of the Department>> <<Signature of the Supervisor>>


SIGNATURE SIGNATURE
<<Name>> <<Name>>
SUPERVISOR HEAD OF THE DEPARTMENT

<<Academic Designation>>
<<Department>> <<Department>>

Submitted for the project viva-voce examination held on_____________________

INTERNAL EXAMINER EXTERNAL EXAMINER

2
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Acknowledgement

We owe our deep gratitude to our project guide Prof. Shilpi, ma’am who took keen
interest on our project work and guided us all along, till the completion of our
project work by providing all the necessary information for developing a good
system. We would never forget to remember their encouragement and more over
for their timely support and guidance till the completion of our project work.

We heartily thank Prof. Jarnail Singh, Project Coordinator, University Institute of


Computing for her guidance and suggestions during this project work.

We are thankful to and fortunate enough to get constant encouragement, support


and guidance from all Teaching staffs of UIC which helped us in successfully
completing our project work

3
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Table of Contents

Contents

Chapter 1: Introduction ............................................................................................................ 6-13


Abstract…….....................................................................................................................................6
Abbreviations ..................................................................................................................................7
Introduction…….....................................................................................................................................8-9
Client Identification and Recognition of need..........................................................................................9
Recognition & Knowledge of contemporary issues…….......................................................................10-11
Project Identification..........................................................................................................................11-12
Task Identification....................................................................................................................................12
Timeline of the Project............................................................................................................................13

Chapter 2: Literature Survey..................................................................................................13-19


Literature Review...............................................................................................................................13-15
Summary……………………………………………………………………...................................................................16-17
Project Definition...............................................................................................................................18
Goals and Objectives....................................................................................................................18-19

Chapter 3: Design flow/Process...............................................................................................19-26


Analysis and Feature Finalization………….........................................................................................19-22
Data Flow Diagram……………………………………………….…….......................................................................23
Selection of the best design & Implementation plan….....................................................................24-26

4
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Chapter 4: Result analysis and Validation...........................................................................27-32


Testing………………………………………………................................................................................................27-30
Verification and Validation………………………….…….……........................................................................30-31
Pre Requisite for Project Installation..................................................................................................32

Chapter 5: Conclusion and Future work............................................................................32-127


Conclusions………………………………………………….....................................................................................32-33
References………………………………………………………………….......................................................................33
Source Code……..............................................................................................................................81-114
User Manual……………………………………………………………................................................................115-127

List of Figures

S.No Description Page No


1 System development life cycle 22
2 Context Level DFD 23

5
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Abstract

OBJECTIVE :

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 throughout the hospital management infrastructure.
Often information (on forms) 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.

A significant part of the operation of any hospital involves the acquisition,


management and timely retrieval of great volumes of information. This
information typically involves; patient personal information and medical history,
staff information, room and ward scheduling, staff scheduling, operating theater
scheduling and various facilities waiting lists. All of this information must be
managed in an efficient and cost wise fashion so that an institution's resources may
be effectively utilized HMS will automate the management of the hospital making
it more efficient and error free. It aims at standardizing data, consolidating data
ensuring data integrity and reducing inconsistencies.

6
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Abbreviations

HMS:- Hospital Management System


HTML:- Hyper Text Markup Language
CSS:- Cascading Style Sheet
PHP:- Hypertext Preprocessor
SQL:- Structured Query Language
SDLC:- Software Development Life Cycle
DFD:- Data Flow Diagram

7
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Introduction

Human Body is a very close and complex structure and consists of millions of
functions. All these complex functions have been understood by man, doing bit by
bit their research and experiments. As science and technology is progressing,
medicine became an important part of the research. Similarly, medical science
became an entirely new branch of science. Till date, the Health Sector comprises of
Medical institutions i.e. HOSPITALS etc. research and development center and
medical colleges. Thus the Health sector aims at providing better medical facilities
to the common man.

Medical Institutions in India

Still being a developing nation India has seen an outstanding growth of the Health
sector in the field of research and in the field of development of various large and
small scale Hospital institutions still missing their inter-structure facilities.
Government of India still aimed at providing medical institutions by building
hospital. The basic working of various hospitals in India is still stuck on papers
compared to hospitals in western countries where computers have been put in to
help the hospital personals their work. The theory of computerization of the
administration and management of hospital is now being used in India also, with
large hospitals like APPOLO and AIIMS in Delhi, ESCORTS in Chennai, having
mechanization their existing system.

8
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Our project is based on the above theory i.e. automation of Administration and
Management of Hospital.

The project has been developed keeping in-view the following issues: -

i. Working environment of the Hospital.


ii. The thought-process and thinking of Indian people.
iii. The literacy rate of India.
iv. The current system, being used in the most of Hospitals

Client identification and recognition of need

Reliability: The current system is not reliable. It varies in quality from month to
month. Sometimes it gives good output, but sometimes the output is not relevant.

Accuracy: There are too many errors in reports.

Time frequency: In the current system the reports and output produced is
commonly not on time and in most of the cases it is useless for the same cause.

Validity: Many times the result in the report is not relevant to the information
required. The customer's information is sometimes not valid

Economy: The current system is not affordable. We have to spend a fortune


amount of money to keep the system good and running, but still we do not get the
expected results.

9
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Capacity: The current system is lacking storage. The staff for organization is very
small and the workload is looks like a burden. Fewer people cannot handle all the
work.

Recognition and knowledge of relevant contemporary issues

Since HOSPITAL is involved with the lives of common people and their everyday
record so I decided to work on this project. The physical handling of the record is
difficult for a single person to handle and highly open to error. The purpose of this

project is to computerize or make online, the process of day-to-day activities like


Room activities, Admission of New Patient, Discharge of Patient, Assign a Doctor,
and finally compute the bill etc.

We tried our best to make the sophisticated process of Hospital Management


System as simple as possible using organized & flexible technique & Menu
aligned interface. We have tried to design the software in such a way that user may
not have trouble in using this package & further development is possible without

any effort. The main purpose of my exercise is performing each Hospital's activity
in automated way rather than manually which is time consuming.

DRAWBACKS OF CURRENT MANUAL-SYSTEM

1. The current manual system has a lot of physical work and it does not deal with
old and new patient data.

10
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
2. To maintain the records one need to spend a lot of tine to manually update it.

3. With the increase in data, it will become a difficult job to maintain the database.

4. Requires large quantities of file storage and cabinets, which are big and need
space in the office.

5. The retrieval of details of previously visited patients will be a tiresome job.

6. Lack of security for the records will lead to the vulnerable threat to patient.

Project Identification

Employee and patient details: The new developed system stores and maintains all
the employees as well as patient details.

Calculations: The new developed system calculates salary and income tax and it is
very fast and accurate.

Registers: There is no need of recording the salary and employee register


physically. It remembers every information and we can get any info related to
employee and salary at any time.

Speed: The new developed system is very fast with 99% accuracy and saves an
ample amount of time.

Manpower: The new developed system needs less physical work. Few people can
do the huge work.

11
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Efficiency: The new developed systems complete the work of many sales people in
less time.

Past details: The new developed system contains the details of every past doctor
and patients for further assistance.

Reduces redundancy: The most important benefit of this system the limit of data
within the data is that it reduces the unnecessary data within the data

Work load: Reduces the work load of the data store by helping in easy updates of
the products and providing them with the necessary details together with financial
transactions management.

Task Identification

The main feature which we face was the different task we need to know. Starting
from the doctors to the patients. The task identification which we used was
physically as well as online mode we connected with the hospitals as well as with
the patients to identify the problems associated with them. After having a brief talk
with these people we came to know the different problems associated with each of
the different places in the hospital. The tasks which we identified as follows:

1. The need of attendance. Many hospitals use traditional attendance that is pen
and paper which came to our knowledge that it need to be automated.

12
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
2. A record of patient is necessary to keep which will help to know the past of
the patients and act according to it.
3. One of the main things we discovered is one has to wait for a test and then
take the report physically to the doctor which usually takes a lot of time. We
came with a master database.
4. The reports of patients were given physically which is pen and paper which
need to digitalized and we need to send them a digital copy of the report.

Timeline of the Project (in weeks)

Week 1 = 14 February- 20 February


Week 2 = 21 February – 27 February
Week 3 = 28 February – 6 March
Week 4 = 7 March – 13 March
Week 5 = 14 March – 20 March
Week 6 = 21 March – 27 March
Week 7 = 28 March – 7 April

Literature review

The project “Hospital Management System” provides several benefits like


streamlined operations, enhanced administration & control, superior patient care,
strict cost control and improved profitability.

13
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Hospital Management System is significant, flexible, and easy to use and is
designed and developed to deliver real and possible benefits to hospitals. Most
importantly it is approved by positive and reliable support.

This Hospital Management System is designed for the multi-specialty hospitals to


balance the administrations and management processes for a wide range of
hospitals. It is a combined end-to-end system that provides relevant information
across the hospitals to support effective decision making for the patient care,
hospital administration and critical financial accounting, in a consistent flow.

A Hospital is a place where the patients visit for general diseases. The hospitals
provide various facilities like:

 Consultation by Doctors on various diseases


 Diagnosis for the diseases.
 Providing better treatment facility
 Facility for admitting the patients (providing beds, medicines etc..)
 Immunization for the Patients/Children

Various operational works done in the hospitals are:

 Recording the information about the patients that visits.


 Generating the bills.
 Recording the information related to diagnosis given to the patients.
 Keeping record of the Immunization provided to the children/patients.
14
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
 Keeping information about various diseases and medicines available to cure
them.
These are the various jobs that should be done in the Hospital by the operational
staff and Doctors. All of these works are done on papers. The work is done as
follows:

 Information about the patients is done by noting down the Patients name,
age and gender. Whenever the Patient visits his/hers information is stored
freshly.

 The bills are generated by noting the price for each facility provided to the
patient on a separate sheet and at last they all are summed up.
 Diagnosis information to patients is generally noted on a document, which
consists of patient information. It is destroyed after some time period to
decrease the paper load in the office.
 Immunization records of children are maintained in preformatted sheets,
which are kept in a file.
 Information about various diseases is not maintained by any document.
Doctors themselves remember various medicines for the specified diseases.

All these work are done manually by the receptionist and other operational staff
members and lot of papers are required to be handled and taken care of. Doctors

15
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
have to remember various numbers of medicines available for diagnosis and
sometimes they miss better alternatives as they can't recall them at that time.

The limited time and resources have confined us to include in this project, only the
main activities that are performed in a HOSPITAL Management System, but
maximum care has been taken to make the entire system efficient and user-

friendly. The "Hospital Management System" has been designed and developed to
automate the following functions that are performed by the system:

1) Online Appointments for the Patients


 Admission of New Patient
2) Free Medical Advice to the Patients

3) Discharge Detail Functions


 Discharge of Patient
 Doctor Assigning related to Patient's Disease
4) Several Training Courses Provided by the Hospital
5) Patient Details
 Admitted Patient
 Discharged Patient
 Doctor Details
6) Total number of Patients admitted in the Hospital
7) Total number of Doctors available in the Hospital
8) Preventive Healthcare Checkups
9) Administrator Links
16
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
 Login Form
 Adding new doctors in the site
 Patients List
 Doctors List

Summary

The Hospital Management System provides several benefits like streamlined


operations, enhanced administration and control, superior patient care, strict cost
control and improved profitability. Hospital Management System is significant,
flexible, and easy to use and is designed and developed to deliver real and possible

benefits to hospitals. Most importantly it is approved by positive and reliable


support.

This project is based on the database, object-oriented and networking techniques.


As there are several areas where we maintain the records in database for which we
are using MySQL software which is one of the best and easiest software to
maintain our information. This project uses HTML, CSS, and PHP as the front-end
software and has connectivity with MySQL.

Hospital Management System is custom built to meet the specific requirement of


the mid level and large size hospitals across the globe. All the required modules
and features have been built to fit in the patient’s requirement. The entire

17
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
application is web-based with the latest technologies. The database of the
application makes it more users friendly and extendible. The package is highly
configurable and can be adjusted as per the needs and requirements of our clients.
Extended study of the functionalities of the hospital and its specific requirement
have inclined a wonderful shape both technically and accessibility wise. It covers
all the required modules like Patient Registration, Medicine details, Doctor, Wards,
Admin, Store, Patient appointment, bill payment, record modification, discharge
details etc.

Problem Definition

This project aims to organize the vast collection of data. Starting from the
admission of patient to the exit of the patient there are many data a hospital
need to keep. Aiming at all the data we came to know the different types of
problems a hospital had to face starting from the admission of a patient all the
data need to organized so that during the billing or any other process it will give a
accurate data of the patient. One data base will help to circulate data all across
different parts of the hospital. Starting from the emergency ward to the radio
department.
18
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
This project helps to keep an eye on the number of doctors available in the
hospital and keeps an update about the doctor’s ready to server or the
requirement of new doctors. Keeps an update on the doctors assigned to the
different patients.

It also keeps an eye on the patient’s requirement and assigns the work to the
doctor or nurse.

Goals and Objective

The main purpose of the project is to give an organized data as per the
requirement of the client. The organized data helps in the more accurate result
for the doctors and patient for their treatment. This will help the hospital staff to

cut off the massive lines in their hospital for different tests and they will get their
result near their loved and dear one.

It will keep an update on the number of staffs available in the hospital it will give
an update if new staff required or not. This will help the hospital staff to keep an
eye on all the activities in the hospital starting from a small activity to the big
operations.

Analysis and feature finalization

PRINCIPLES:

19
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
 Understand the issues before you start to create the analysis model.
 Develop a duplicate that helps a user to understand how human machine
interaction will take place.
 Record the importance and the reason for every requirement.
 Use various views of requirement like data building, function and
behavioural models.
 Work to eliminate puzzle.
System Analysis is a partition of a substance into small parts for their study and
their execution and through examination.

Before making any system it is important that the business and the way it currently
operates are clearly understood. The complete examination provides the specific
information required during design in order to ensure that all the customer's
requirements are completed. The research or the review conducted during the

analysis phase is highly based on the usefulness study. Rather it would not be
wrong to say that the investigation and usefulness phases overlap. High-level
investigation begins during the study. Though analysis is shown as one phase of
the system improving life cycle (SDLC), this is false. Investigation begins with
system input and continues until its maintenance. Even after successful execution
of the system, investigation may play its role for timely maintenance and up
gradation of the system. One of the main causes of project failures is poor
understanding, and one of the main causes of poor understanding of the
requirements is the inadequate planning of system analysis.

20
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
The important parts of the system are:

Giving Information:

The system is effectively used to provide high variety of data to the interested
client. The main purpose of the site is to easily provide access to records of various
data seekers & users of matrimonial such as resume & profile of boys and girls
those who want to search a life partner with quick update to latest changes in the
records. This thing is not at all available in printed things, which are updated only
once a week. It also gives data about the general usage of the system for first time
customers. The system itself works as an information provider for company & life
partner seekers.

Preliminary Investigation

System development, a process consisting of two major steps of system analysis


and design, start when management or sometimes system development personnel
feel that a new system or an improvement in the existing system is required. The
system development is classically thought of as the set of activities that analysts,
designers and users carry out to investigate and execute a data system. The system
development life cycle consists of the following activities:

 Preliminary investigation
21
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
 Determination of system requirements
 Design of system
 Development of software
 System testing
 Implementation, evaluation, and maintenance

Request clarification:

Many accesses from employees and users in the organization are not clearly
mentioned. Therefore it becomes important that project request must be checked
and clarified properly before accepting systems investigation.

Revised Requirement
User Requirement Specification

Feasibility
Requirement Initial Requirement
Analysis
Determination Investigation

Investigation
Feasibility Study

Test plan

Logical System Design Functional specification


System
22 Specification
Analysis
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

System Implementation
System Design

Physical Requirement

System Configuration Data


Schedule Budget

System Evaluation Hardware Study

System Modification Improved System


Maintenance

Fig 1: System development life cycle

Data Flow Diagram

Medical Patient

Advice Appointment

HOSPITAL
Patient PG
MANAGEMENT
Status Programmer
SYSTEM
23
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Carrier and
Bill
Job Hospitality
Payment

Fig 2: Context Level DFD

Selection of best design and Implementation plan

As we know, making software is one thing and the execution of the created
software is another. The process of executing software is much difficult as
compared to the task of improving the project. First we have to execute the
software on a small scale for removing the errors and other bugs in the project and

24
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
after removing them we can execute the software on a large scale. Before we think
in terms of executing the Software on a high basis, we must think about the
Hardware requirements.

Whenever we create software or project a certain hardware and software is being


used by the programmer for creating the project. The hardware and software to be
used by the programmer for creating the project should be such that it would result
in the development of a project, which would complete all the basic needs for
which the project has been developed by the programmer. The Hardware should be
such that money constraints of the Customer should also be taken into account
without any harm to the performance.

Hardware Evaluation Factors:

When we judge computer hardware, we should first look into specific physical and
staging characteristics for each hardware component to be acquired. These specific
questions must be told concerning many important points. These hardware
evaluation points questions are sum up in the below figure.

Notice that there is much more to check out hardware than determining the fastest
and less price computing devices. For e.g. the question of most occurring
obsolescence must be addressed by making a technology assessment. The
important points of ergonomics are also very important. Ergonomics also known as
human factor is the science and technology that tries to ensure those computers and
25
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
other technologies are "customer friendly", that is safe, comfortable and easy to
connect. Connectivity is another important factor, since so many computer systems
are now interconnected within wide area or local area telecommunications
networks.

1. Performance
2. Cost
3. Reliability
4. Availability
5. Compatibility
6. Modularity
7. Technology
8. Ergonomics
9. Connectivity
10.Environmental requirements
11.Software
12.Support

Software Evaluation Factors:

Software can be evaluation according to many facts similar to the hardware


evaluation. Thus the facts of usefulness,, compatibly, modularity, technology and
support should be used to evaluate proposed software acquisitions. In addition,
however, the software examination factors are proven in below figure. For e.g.
26
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
some software packages require too much memory and are notoriously slow, hard
to use, or poorly documented. They are not a well auctioned selection for most
customers, even if offered at low prices.

1) Efficiency: is the software a well-written system of computer programs that


does not use more memory occupancy or Central Processing Unit time?

2) Flexibility: can it handle its processing jobs easily without major changes?

3) Security: does it provide control programs for bugs, errors and improper use?

4) Language: do our computer instructions and users write it in a high level


language that is used?

5) Documentation: is the s/w properly documented? Does it include well known


user instructions?

6) Hardware: does present hardware have the applications required to proper use
this software?

7) Other usefulness of hardware such as its use, the cost, how much we can rely
and etc.

Testing

One of the purposes of the testing is to validate and verify the system. Verification
means checking the system to ensure that it is doing what the function is supposed
to do and Validation means checking to ensure that system is doing what the user
27
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
wants it to do. No program or system design is perfect; communication between
the user and the designer is not always complete or clear, and time is usually short.
The result is errors and more errors. Theoretically, a newly designed system should
have all the pieces in working order, but in reality, each piece works
independently. Now is the time to put all the pieces into one system and test it to
determine whether it meets the user's requirements. This is the best chance to
detect and correct errors before the system is implemented. The purpose of system
testing is to consider all the likely variations to which it will be subjected and then
push the system to its limits. If we implement the system without proper testing
then it might cause the problems.

1. Communication between the user and the designer.

2. The programmer's ability to generate a code that reflects exactly the system

specification.

3. The time frame for the design.

Theoretically, a new designed system should have all the pieces in working order,
but in reality, each piece works independently. Now is the time to put all the pieces
into one system and test it to determine whether it meets the requirements of the

user. The process of system testing and the steps taken to validate and prepare a
system for final implementation are:

28
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
LEVELS OF TESTING:

The different types of testing are as follows:

UNIT TESTING

VALIDATION

INTREGRATION

SYSTEM

1. Unit Testing:

This is the smallest testable unit of a computer system and is normally tested using

the white box testing. The author of the programs usually carries out unit tests.

2. Integration Testing:

In integration testing, the different units of the system are integrated together to
form the complete system and this type of testing checks the system as whole to
ensure that it is doing what is supposed to do. The testing of an integrated system
can be carried out top down, bottom-up, or big-bang. In this type of testing, some

parts will be tested with white box testing and some with black box testing
techniques. This type of testing plays very important role in increasing the systems

29
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
productivity. We have checked our system by using the integration testing
techniques.

3. System Testing:

A part from testing the system to validate the functionality of software against the
requirements, it is also necessary to test the non-functional aspect of the system.
Some examples of non-functional tools include tests to check performance, data
security, usability/user friendliness, volume, load/stress that we have used in our
project to test the various modules..

System testing consists of the following steps:

1. Program(s) testing.

2. String testing.

3. System testing.

4. System documentation.

5. User acceptance testing.

4. Field Testing:

30
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
This is a special type of testing that may be very important in some projects. Here
the system is tested in the actual operational surroundings. The interfaces with
other systems and the real world are checked. This type of testing is very rarely
used. So far our project is concerned; we haven't tested our project using the field
testing.

Acceptance Testing:

After the developer has completed all rounds of testing and he is satisfied with the
system, then the user takes over and re-tests the system from his point of view to
judge whether it is acceptable according to some previously identified criteria. This
is almost always a tricky situation in the project because of the inherent conflict
between the developer and the user.

VERIFICATION AND VALIDATION (V&V)

The objectives of verification, validity activities are to assess and improve the
quality of the work products generated during development and modification of the
software. Quality depends upon the various attributes like correctness,
completeness, consistency, reliability, usefulness, usability, efficiency and
conformance to standards.

The terms verification and validation are used synonymously. These are defined as

under:

31
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Verification: "Are we building the product in a correct manner?"

Validation: "Are we building the correct product?"

Verification activities include proving, testing, and reviews. Validation is the


process of evaluating software at the end of the software development to ensure
compliance with the software requirements.

The major V&V activities for software development are inspection, reviews, and
testing (both static and dynamic). The V&V plan identifies the different V&V
tasks for the different phases and specifies how these tasks contribute to the project
V&V goals. The methods to be used for performing these V&V activities, the
responsibilities and milestones for each of these activities, inputs and outputs for
each V&V task, and criteria for evaluating the outputs are also specified.

The two major V&V approaches are testing and inspections. Testing is an activity
that can be generally performed only on code. It is an important activity and is
discussed in detail in a later chapter. Inspection is a more general activity that can
be applied to any work product, including code. Many of the V&V tasks are such
that for them, an inspection type of activity is the only possible way to perform the
tasks (e.g. trace ability and document evaluation). Due to this, inspections play a
significant role in verification.

32
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Pre-Requisite for Project Installation

✓ System must have installed latest browser (Google chrome, Mozilla, Edge)

✓ It must have installed XAMPP or any type of server for its connection between
different web pages

✓ SQL connection is very important and up to date SQL database must be used

✓ System must have at least 512kb ram to run the application smoothly

✓ Dual core processor

33
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
CONCLUSIONS

This project “Hospital Management System” has been a productive experience in


many ways. This project work has educated us in the following areas.

a) We have obtained an insight into the working of the hospital. This represents a
real world situation.

b) Our understanding of the database design has been enhanced in order to


generate the final reports of database designing that has to be conveniently
followed.

c) Scheduling a project and sticking to that schedule creates a strong awareness of


time management.

d) Perception of teamwork has developed and the assurance of handling a real life
project has expanded to a great extent.

e) Originally, there was problem with the validation but with analysis; we were
able to implement the validations.

34
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

References

i. A detailed view of the Hospital Management System-


https://mocdoc.in/blog/a-detailed-view-of-hospital-management-system
hms#:~:text=Hospital%20management%20system%20is%20a,Laboratory
ii. Hospital Management System-
https://www.tiatech.net/hospital-management-system/
iii. Hospital Management Software Development-Key Features and Benefits-
https://gloriumtech.com/hospital-management-software-development-key-
features-and-benefits/

35
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Source Code
Admin-panel.php $lname = $_SESSION['lname'];
<!DOCTYPE html> $gender =
<?php $_SESSION['gender'];
include('func.php'); $contact =
include('newfunc.php'); $_SESSION['contact'];
$con=mysqli_connect("localhost", $doctor=$_POST['doctor'];
"root","","myhmsdb"); $email=$_SESSION['email'];
$pid = $_SESSION['pid']; # $fees=$_POST['fees'];
$username = $docFees=$_POST['docFees'];
$_SESSION['username']; $appdate=$_POST['appdate'];
$email = $_SESSION['email']; $apptime=$_POST['apptime'];
$fname = $_SESSION['fname']; $cur_date = date("Y-m-d");
$gender = date_default_timezone_set('Asia/
$_SESSION['gender']; Kolkata');
$lname = $_SESSION['lname']; $cur_time = date("H:i:s");
$contact = $apptime1 =
$_SESSION['contact']; strtotime($apptime);
if(isset($_POST['app-submit'])) $appdate1 = strtotime($appdate);
{ if(date("Y-m-d",
$pid = $_SESSION['pid']; $appdate1)>=$cur_date){
$username = if((date("Y-m-d",
$_SESSION['username']; $appdate1)==$cur_date and
$email = $_SESSION['email']; date("H:i:s",
$fname = $_SESSION['fname']; $apptime1)>$cur_time) or

36
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
date("Y-m-d", else{
$appdate1)>$cur_date) {
echo "<script>alert('Unable to process

$check_query = your request. Please try


mysqli_query($con,"select again!');</script>";
apptime from appointmenttb }
where doctor='$doctor' and }
appdate='$appdate' and else{
apptime='$apptime'"); echo "<script>alert('We are
if(mysqli_num_rows($check_query)==0) sorry to inform that the doctor is
{ not available in this time or date.
Please choose different time or
$query=mysqli_query($con,"insert into
date!');</script>";
appointmenttb(pid,fname,lname,gender
}
,email,contact,doctor,docFees,appdate,
}
apptime,userStatus,doctorStatus)
else{
values($pid,'$fname','$lname','$gender',
echo "<script>alert('Select a
'$email','$contact','$doctor','$docFees','
time or date in the
$appdate','$apptime','1','1')");
future!');</script>";
if($query) }

{ }
else{
echo "<script>alert('Your appointment echo "<script>alert('Select a
successfully booked');</script>"; time or date in the
future!');</script>";
}
37
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
} on p.ID=a.ID and p.pid = '$pid' and
} p.ID = '".$_GET['ID']."'");
if(isset($_GET['cancel'])) while($row =
{ mysqli_fetch_array($query)){
$output .= '
$query=mysqli_query($con,"upda
te appointmenttb set
userStatus='0' where ID = '". <label> Patient ID : </label>'.
$_GET['ID']."'"); $row["pid"].'<br/><br/>
if($query) <label> Appointment ID :
{ </label>'.$row["ID"].'<br/><br/>
echo "<script>alert('Your <label> Patient Name :
appointment successfully </label>'.$row["fname"].' '.
cancelled');</script>"; $row["lname"].'<br/><br/>
} <label> Doctor Name :
} </label>'.$row["doctor"].'<br/><b
function generate_bill() r/>
{ $con=mysqli_connect("localhos <label> Appointment Date :
t","root","","myhmsdb"); </label>'.$row["appdate"].'<br/><
$pid = $_SESSION['pid']; br/>
$output=''; <label> Appointment Time :
$query=mysqli_query($con,"select </label>'.$row["apptime"].'<br/><
p.pid,p.ID,p.fname,p.lname,p.doctor, br/>
p.appdate,p.apptime,p.disease,p.aller <label> Disease : </label>'.
gy,p.prescription,a.docFees from $row["disease"].'<br/><br/>
prestb p inner join appointmenttb a <label> Allergies : </label>'.
$row["allergy"].'<br/><br/>

38
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<label> Prescription : </label>'. $obj_pdf ->
$row["prescription"].'<br/><br/> SetHeaderFont(Array(PDF_FON

<label> Fees Paid : </label>'.


$row["docFees"].'<br/> T_NAME_MAIN,'',PDF_FONT_
'; SIZE_MAIN));
} $obj_pdf ->
return $output; SetFooterFont(Array(PDF_FONT
} _NAME_MAIN,'',PDF_FONT_SI
if(isset($_GET["generate_bill"])){ ZE_MAIN));
require_once("TCPDF/ $obj_pdf ->
tcpdf.php"); SetDefaultMonospacedFont('helv
$obj_pdf = new etica');
TCPDF('P',PDF_UNIT,PDF_PA $obj_pdf ->
GE_FORMAT,true,'UTF- SetFooterMargin(PDF_MARGIN
8',false); _FOOTER);
$obj_pdf -> $obj_pdf ->
SetCreator(PDF_CREATOR); SetMargins(PDF_MARGIN_LEF
$obj_pdf -> SetTitle("Generate T,'5',PDF_MARGIN_RIGHT);
Bill"); $obj_pdf ->
$obj_pdf -> SetPrintHeader(false);
SetHeaderData('','',PDF_HEADE $obj_pdf ->
R_TITLE,PDF_HEADER_STRI SetPrintFooter(false);
NG); $obj_pdf ->
SetAutoPageBreak(TRUE, 10);

39
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$obj_pdf -> while($row
SetFont('helvetica','',12); =mysqli_fetch_assoc($query))
$obj_pdf -> AddPage(); {
$content = ''; $docarray[] = $row;
$content .= ' }
return json_encode($docarray);
}
<br/>
<h2 align ="center"> Global
?>
Hospitals</h2></br>
<html lang="en">
<h3 align ="center">
<head>
Bill</h3>
<!-- Required meta tags -->
';
<meta charset="utf-8">
$content .= generate_bill();
<link rel="shortcut icon"
$obj_pdf ->
type="image/x-icon"
writeHTML($content);
href="images/favicon.png" />
ob_end_clean();
<meta name="viewport"
$obj_pdf ->
content="width=device-width,
Output("bill.pdf",'I');
initial-scale=1, shrink-to-fit=no">
}
<link rel="stylesheet"
function get_specs()
type="text/css" href="font-
{ $con=mysqli_connect("localhos
awesome-4.7.0/css/font-
t","root","","myhmsdb");
awesome.min.css">
$query=mysqli_query($con,"select
<link rel="stylesheet"
username,spec from doctb");
href="style.css">
$docarray = array(); <!-- Bootstrap CSS -->

40
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<link rel="stylesheet" <nav class="navbar navbar-
href="vendor/fontawesome/css/fo expand-lg navbar-dark bg-primary
nt-awesome.min.css"> fixed-top">
<link rel="stylesheet" <a class="navbar-brand"
href="https://maxcdn.bootstrapcd href="#"><i class="fa fa-user-
n.com/bootstrap/4.0.0-beta/css/bo plus" aria-hidden="true"></i>
otstrap.min.css" Global Hospital </a>
integrity="sha384- <button class="navbar-toggler"
type="button" data-
toggle="collapse" data-

/Y6pD6FV/
Vv2HJnA6t+vslU6fwYXjCFtcEp
target="#navbarSupportedContent
HbNJ0lyAFsXTsjBbfaDjzALeQs
" aria-
N6M" crossorigin="anonymous">
controls="navbarSupportedConte
<link rel="stylesheet"
nt" aria-expanded="false" aria-
href="https://stackpath.bootstrapc
label="Toggle navigation">
dn.com/bootstrap/4.3.1/css/bootstr
<span class="navbar-toggler-
ap.min.css" integrity="sha384-
icon"></span>
ggOyR0iXCbMQv3Xipma34MD
</button>
+dH/1fQ784/j6cY/iJTQUOhcWr7
<style >
x9JvoRxT2MZw1T"
.bg-primary {
crossorigin="anonymous">
background: -webkit-linear-
<link
gradient(left, #3931af, #00c6ff);
href="https://fonts.googleapis.co
}
m/css?
.list-group-item.active {
family=IBM+Plex+Sans&display
z-index: 2;
=swap" rel="stylesheet">
41
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
color: #fff; <a class="nav-link"
background-color: #342ac1; href="#"></a>
border-color: #007bff; </li>
} </ul>
.text-primary { </div>
color: #342ac1!important; </nav>
} </head>
.btn-primary{ <style type="text/css">
background-color: #3c50c1; button:hover{cursor:pointer;}
border-color: #3c50c1; #inputbtn:hover{cursor:pointer;}
</style>
}

</style>
<div class="collapse navbar-
collapse" <body style="padding-
id="navbarSupportedContent"> top:50px;">
<ul class="navbar-nav mr- <div class="container-fluid"
auto"> style="margin-top:50px;">
<li class="nav-item"> <h3 style = "margin-left: 40%;
<a class="nav-link" padding-bottom: 20px; font-
href="logout.php"><i class="fa family: 'IBM Plex Sans', sans-
fa-sign-out" aria- serif;"> Welcome &nbsp<?php
hidden="true"></i>Logout</a> echo $username ?>
</li> </h3>
<li class="nav-item"> <div class="row">

42
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<div class="col-md-4" pres" id="list-pres-list" role="tab"
style="max-width:25%; margin- data-toggle="list" aria-
top: 3%"> controls="home">Prescriptions</
<div class="list-group" a>
id="list-tab" role="tablist"> </div><br>
<a class="list-group-item list- </div>
group-item-action active" id="list- <div class="col-md-8"
dash-list" data-toggle="list" style="margin-top: 3%;">
href="#list-dash" role="tab" aria- <div class="tab-content"
controls="home">Dashboard</a> id="nav-tabContent"
<a class="list-group-item list- style="width: 950px;">
group-item-action" id="list-home- <div class="tab-pane fade
list" data-toggle="list" show active" id="list-dash"
href="#list-home" role="tab" aria- role="tabpanel" aria-
labelledby="list-dash-list">
<div class="container-fluid
container-fullw bg-white" >
controls="home">Book
Appointment</a> <div class="row"

<a class="list-group-item list- <div class="col-sm-4" style="left:

group-item-action" href="#app- 5%">

hist" id="list-pat-list" role="tab" <div class="panel panel-white no-

data-toggle="list" aria- radius text-center">

controls="home">Appointment <div class="panel-body">

History</a> <span class="fa-stack fa-2x"> <i


<a class="list-group-item list- class="fa fa-square fa-stack-2x
group-item-action" href="#list- text-primary"></i> <i class="fa fa-

43
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
terminal fa-stack-1x <div class="panel-body" >
fa-inverse"></i> </span> <span class="fa-stack fa-2x"> <i
class="fa fa-square fa-stack-2x
<h4 class="StepTitle"
text-primary"></i> <i class="fa
style="margin-top: 5%;"> Book
fa-paperclip fa-stack-1x fa-
My Appointment</h4>
inverse"></i> </span>
<script>
<h4 class="StepTitle"
function clickDiv(id)
style="margin-top: 5%;">My
{ document.querySelector(i
Appointments</h2>
d).click();
<p class="cl-effect-1">
}
<a href="#app-hist"
</script>
onclick="clickDiv('#list-pat-
<p class="links cl-effect-1">
list')">
<a href="#list-home"
View Appointment History
onclick="clickDiv('#list-home-
</a>
list')">
</p>
Book Appointment
</div>
</a>
</div>

</p>
</div>
</div>
</div>
</div>
<div class="col-sm-4" style="left:
</div> 20%;margin-top:5%">
<div class="panel panel-white no-
<div class="col-sm-4" style="left:
radius text-center">
10%">
<div class="panel-body" >
<div class="panel panel-white
<span class="fa-stack fa-2x"> <i
no-radius text-center">
class="fa fa-square fa-stack-2x
44
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
text-primary"></i> <i class="fa <form class="form-group"
fa-list-ul fa-stack-1x fa- method="post" action="admin-
inverse"></i> </span> panel.php">
<h4 class="StepTitle" <div class="row">
style="margin-top: <!-- <?php
5%;">Prescriptions</h2> $con=mysqli_connect("localhost",
<p class="cl-effect-1"> "root","","myhmsdb");
<a href="#list-pres" $query=mysqli_query($con,"select
onclick="clickDiv('#list-pres- username,spec from doctb");
list')">
$docarray = array();
View Prescription List
while($row
</a>
=mysqli_fetch_assoc($query))
</p>
{
</div>
$docarray[] = $row;
</div>
}
</div>
echo json_encode($docarray);
</div>
?> -->
</div>

<div class="tab-pane fade" <div class="col-md-4">

id="list-home" role="tabpanel" <label for="spec"> Specialization:

aria-labelledby="list-home-list"> </label>

<div class="container-fluid"> </div>

<div class="card"> <div class="col-md-8">

<div class="card-body"> <select name="spec"

<center><h4>Create an class="form-control" id="spec">

appointment</h4></center><br>
45
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<option value="" disabled });
selected>Select };
Specialization</option> </script>
<?php <div class="col-md-4"><label
display_specs(); for="doctor">Doctors:</label></d
?> iv>
</select> <div class="col-md-8">
</div> <select name="doctor"
<br><br> class="form-control" id="doctor"
<script> required="required">
document.getElementById('spec'). <option value="" disabled
onchange = function foo() { selected>Select Doctor</option>
let spec = this.value; <?php display_docs(); ?>
console.log(spec) </select>
let docs = </div><br/><br/>
[...document.getElementById('doc <script>
tor').options];
document.getElementById('doctor
').onchange = function
updateFees(e) {

docs.forEach((el, ind, arr)=>{ var selection =


arr[ind].setAttribute("style",""); document.querySelector(`[value=
if (el.getAttribute("data-spec") != $
spec ) { {this.value}]`).getAttribute('data-
arr[ind].setAttribute("style","displ value');
ay: none"); document.getElementById('docFe
} es').value = selection;
46
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
}; var options =
</script> document.getElementById("docto
<!-- <div class="col-md- r1").querySelectorAll("option");
4"><label for (i = 0; i < options.length; i+
for="doctor">Doctors:</label></d +) {
iv> var currentOption = options[i];
<div class="col-md-8"> var category =
<select name="doctor" options[i].getAttribute("data-
class="form-control" spec");
id="doctor1" if (category == selected) {
required="required"> currentOption.style.display =
<option value="" disabled "block";
selected>Select Doctor</option> } else
</select> { currentOption.s
</div> tyle.display = "none";
<br><br> --> }
<!-- <script> }
document.getElementById("spec" }
).onchange = function </script> -->
updateSpecs(event) { <!-- <script>

let data =

var selected =
document.getElementById('spec').
document.querySelector(`[data-
onchange = function
value=$
updateSpecs(e) {
{this.value}]`).getAttribute("value
");
console.log(selected);
47
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
let values = data.filter(obj => <div class="col-md-
obj.spec == this.value).map(o => 4"><label>Appointment
o.username); Date</label></div>
document.getElementById('doctor <div class="col-md-8"><input
1').value = type="date" class="form-control
document.querySelector(`[value= datepicker"
${values}]`).getAttribute('data- name="appdate"></div><br><br>
value'); <div class="col-md-
}; 4"><label>Appointment
</script> --> Time</label></div>
<div class="col-md-4"><label <div class="col-md-8">
for="consultancyfees"> <!-- <input type="time"
Consultancy Fees class="form-control"
</label></div> name="apptime"> -->
<div class="col-md-8"> <select name="apptime"
<!-- <div id="docFees">Select a class="form-control"
doctor</div> --> id="apptime"
<input class="form-control" required="required">
type="text" name="docFees" <option value="" disabled
id="docFees" selected>Select Time</option>
readonly="readonly"/> <option value="08:00:00">8:00
</div><br><br> AM</option>
<option value="10:00:00">10:00
AM</option>
<option value="12:00:00">12:00
PM</option>

48
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<option value="14:00:00">2:00 <th scope="col">Doctor
PM</option> Name</th>
<option value="16:00:00">4:00 <th scope="col">Consultancy
PM</option> Fees</th>
</select> <th scope="col">Appointment
</div><br><br> Date</th>
<div class="col-md-4"> <th scope="col">Appointment
<input type="submit" Time</th>
name="app-submit" <th scope="col">Current
value="Create new entry" Status</th>
class="btn btn-primary" <th scope="col">Action</th>
id="inputbtn"> </tr>
</div> </thead>
<div class="col-md-8"></div> <tbody>
</div> <?php
</form> $con=mysqli_connect("localhost",
</div> "root","","myhmsdb");
</div> global $con;
</div><br> $query = "select
</div> ID,doctor,docFees,appdate,apptim
<div class="tab-pane fade" e,userStatus,doctorStatus from
id="app-hist" role="tabpanel" appointmenttb where fname
aria-labelledby="list-pat-list"> ='$fname' and lname='$lname';";
<table class="table table-hover"> $result = mysqli_query($con,
<thead> $query);
<tr> while ($row =
mysqli_fetch_array($result)){

49
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

#$fname = $row['fname']; if(($row['userStatus']==1) &&


($row['doctorStatus']==0))
#$lname = $row['lname'];
{
#$email = $row['email'];
echo "Cancelled by Doctor";
#$contact = $row['contact'];
}
?>
?></td>
<tr>
<td>
<td><?php echo $row['doctor'];?
<?php if(($row['userStatus']==1)
></td>
&& ($row['doctorStatus']==1))
<td><?php echo
{ ?>
$row['docFees'];?></td>
<a href="admin-panel.php?ID=<?
<td><?php echo $row['appdate'];?
php echo $row['ID']?
></td>
>&cancel=update"
<td><?php echo $row['apptime'];?
onClick="return confirm('Are you
></td>
sure you want to cancel this
<td>
appointment ?')"
<?php if(($row['userStatus']==1)
title="Cancel Appointment"
&& ($row['doctorStatus']==1))
tooltip-placement="top"
{
tooltip="Remove"><button
echo "Active";
class="btn btn-
}
danger">Cancel</button></a>
if(($row['userStatus']==0) &&
($row['doctorStatus']==1))
<?php } else {
{ echo "Cancelled";
echo "Cancelled by You"; } ?>
} </td>

50
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
</tr> </thead>
<?php } ?> <tbody>

</tbody> <?php
</table> $con=mysqli_connect("localhost",
<br> "root","","myhmsdb");
</div> global $con;
<div class="tab-pane fade" $query = "select
id="list-pres" role="tabpanel" doctor,ID,appdate,apptime,disease
aria-labelledby="list-pres-list"> ,allergy,prescription from prestb
<table class="table table-hover"> where pid='$pid';";
<thead> $result = mysqli_query($con,
<tr> $query);
<th scope="col">Doctor if(!$result){
Name</th> echo mysqli_error($con);
<th scope="col">Appointment }
ID</th> while ($row =
<th scope="col">Appointment mysqli_fetch_array($result)){
Date</th> ?>
<th scope="col">Appointment <tr>
Time</th> <td><?php echo $row['doctor'];?
<th scope="col">Diseases</th> ></td>
<th scope="col">Allergies</th> <td><?php echo
<th scope="col"> Prescriptions $row['ID'];?></td>
</th> <td><?php echo $row['appdate'];?
<th scope="col">Bill Payment ></td>
</th> <td><?php echo $row['apptime'];?
</tr> ></td>
51
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<td><?php echo
$row['disease'];?></td> ="generate_bill" class = "btn btn-
success" value="Pay Bill"/>
</a>
<td><?php echo $row['allergy'];? </td>
></td> <td><?php </form>

echo $row['prescription'];?></td> </tr>

<td> <?php }
?>
<form method="get"> </tbody>
<!-- <a href="admin-panel.php? </table>
ID=" onClick="" <br>
</div>
title="Pay Bill" tooltip-
<div class="tab-pane fade"
placement="top"
id="list-messages"
tooltip="Remove"><button
role="tabpanel" aria-
class="btn
labelledby="list-messages-
btn-success">Pay</button>
list">...</div>
</a></td> -->
<div class="tab-pane fade"
<a href="admin-panel.php?ID=<?
id="list-settings" role="tabpanel"
php echo $row['ID']?>">
aria-labelledby="list-settings-
<input type ="hidden" name="ID"
list">
value="<?php echo $row['ID']?
<form class="form-group"
>"/>
method="post"
<input type = "submit"
action="func.php">
onclick="alert('Bill Paid
<label>Doctors name: </label>
Successfully');" name

52
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<input type="text" CkRr/rE9/Qpg6aAZGJwFDMVN
name="name" placeholder="Enter A/GpGFF93hXpG5KkN"

doctors name" class="form-


control"> crossorigin="anonymous"></
<br> script>
<input type="submit" <script
name="doc_sub" value="Add src="https://cdnjs.cloudflare.com/
Doctor" class="btn btn-primary"> ajax/libs/popper.js/1.11.0/umd/po
</form> pper.min.js" integrity="sha384-
</div> b/U6ypiBEHpOf/4+1nzFpr53nxS
<div class="tab-pane fade" S+GLCkfwBdFNTxtclqqenISfwA
id="list-attend" role="tabpanel" zpKaMNFNmj4"
aria-labelledby="list-attend- crossorigin="anonymous"></scrip
list">...</div> t>
</div> <script
</div> src="https://maxcdn.bootstrapcdn.
</div> com/bootstrap/4.0.0-
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then beta/js/bootstrap.min.js"
Popper.js, then Bootstrap JS --> integrity="sha384-
<script h0AbiXch4ZDo7tp9hKZ4TsHbi0
src="https://code.jquery.com/jque 47NrKGLO3SEJAg45jXxnGIfYz
ry-3.2.1.slim.min.js" k4Si90RDIqNm1"
integrity="sha384- crossorigin="anonymous"></scrip
KJ3o2DKtIkvYIK3UENzmM7K t>

53
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<script </script>
src="https://cdnjs.cloudflare.com/ </body>
ajax/libs/limonte- </html>
sweetalert2/6.10.1/
sweetalert2.all.min.js">

Admin-panel2.php
DOCTYPE html> assword','$demail','$spec','$docFe
<?php es')";
$con=mysqli_connect("localhost", $result=mysqli_query($con,$query);
"root","","myhmsdb");
if($result)
include('newfunc.php');
{
if(isset($_POST['docsub']))
echo "<script>alert('Doctor
{
added successfully!');</script>";
$doctor=$_POST['doctor'];
}
}
$dpassword=$_POST['dpassword'
if(isset($_POST['docsub1']))
];
{
$demail=$_POST['demail'];
$demail=$_POST['demail'];
$spec=$_POST['special'];
$query="delete from doctb
$docFees=$_POST['docFees'];
where email='$demail';";
$query="insert into
$result=mysqli_query($con,$query);
doctb(username,password,email,s
pec,docFees)values('$doctor','$dp if($result)
{

54
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
echo "<script>alert('Doctor <!-- Bootstrap CSS -->
removed <link rel="stylesheet"
successfully!');</script>"; href="vendor/fontawesome/css/fo
} nt-awesome.min.css">
else{ <link
echo "<script>alert('Unable to href="https://fonts.googleapis.co
delete!');</script>"; m/css?
} family=IBM+Plex+Sans&display
} =swap" rel="stylesheet">

?> <link rel="stylesheet"


<html lang="en"> href="https://maxcdn.bootstrapcd
<head> n.com/bootstrap/4.0.0-beta/css/bo
<!-- Required meta tags --> otstrap.min.css"
<meta charset="utf-8"> integrity="sha384-/Y6pD6FV/Vv
<link rel="shortcut icon" 2HJnA6t+vslU6fwYXjCFtcEpHb
type="image/x-icon" NJ0lyAFsXTsjBbfaDjzALeQsN6
href="images/favicon.png" /> M" crossorigin="anonymous">
<meta name="viewport" <nav class="navbar navbar-
content="width=device-width, expand-lg navbar-dark bg-primary
initial-scale=1, shrink-to-fit=no"> fixed-top">
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" href="font- href="https://stackpath.bootstrapc
awesome-4.7.0/css/font- dn.com/bootstrap/4.3.1/css/bootstr
awesome.min.css"> ap.min.css" integrity="sha384-
<link rel="stylesheet" ggOyR0iXCbMQv3Xipma34MD
href="style.css"> +dH/1fQ784/j6cY/iJTQUOhcWr7
55
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
x9JvoRxT2MZw1T" document.getElementById('messa
crossorigin="anonymous"> ge').innerHTML = 'Matched';
<a class="navbar-brand" } else
href="#"><i class="fa fa-user- { document.getElementById('mes
plus" aria-hidden="true"></i> sage').style.color = '#f55252';
Global Hospital </a> document.getElementById('messa
<button class="navbar-toggler" ge').innerHTML = 'Not
type="button" data- Matching';
toggle="collapse" data- }
}
target="#navbarSupportedContent
" aria- function alphaOnly(event) {
controls="navbarSupportedConte var key = event.keyCode;
nt" aria-expanded="false" aria- return ((key >= 65 && key <=
label="Toggle navigation"> 90) || key == 8 || key == 32);
<span class="navbar-toggler- };
icon"></span> </script>
</button> <style >
<script > .bg-primary {
var check = function() { background: -webkit-linear-
if gradient(left, #3931af, #00c6ff);
(document.getElementById('dpass }
word').value == .col-md-4{
document.getElementById('cdpas max-width:20% !important;
sword').value) }
{ document.getElementById('mes .list-group-item.active {
sage').style.color = '#5dd05d'; z-index: 2;

56
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
color: #fff; <a class="nav-link"
background-color: #342ac1; href="logout1.php"><i class="fa
border-color: #007bff; fa-sign-out" aria-
} hidden="true"></i>Logout</a>
.text-primary { </li>
color: #342ac1!important; <li class="nav-item">
} <a class="nav-link"
#cpass { href="#"></a>
display: -webkit-box; </li>
} </ul>
</div>
</nav>
#list-app{ </head>
font-size:15px;
} <style type="text/css">

.btn-primary{ button:hover{cursor:pointer;}

background-color: #3c50c1; #inputbtn:hover{cursor:pointer;}

border-color: #3c50c1; </style>

} <body style="padding-

</style> top:50px;">

<div class="collapse navbar- <div class="container-fluid"

collapse" style="margin-top:50px;">

id="navbarSupportedContent"> <h3 style = "margin-left: 40%;

<ul class="navbar-nav mr- padding-bottom: 20px;font-

auto"> family: 'IBM Plex Sans', sans-

<li class="nav-item"> serif;"> WELCOME


RECEPTIONIST </h3>
<div class="row">
57
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<div class="col-md-4" <a class="list-group-item list-
style="max-width:25%;margin- group-item-action" href="#list-
top: 3%;"> pres" id="list-pres-list"
<div class="list-group" role="tab" data-toggle="list" aria-
id="list-tab" role="tablist"> controls="home">Prescription
<a class="list-group-item list- List</a>
group-item-action active" id="list- <a class="list-group-item list-
dash-list" data-toggle="list" group-item-action" href="#list-
href="#list-dash" role="tab" aria- settings" id="list-adoc-list"
controls="home">Dashboard</a> role="tab" data-toggle="list" aria-
<a class="list-group-item list- controls="home">Add
group-item-action" href="#list- Doctor</a>
doc" id="list-doc-list" role="tab" <a class="list-group-item list-
group-item-action" href="#list-
aria-controls="home" data-
toggle="list">Doctor List</a> settings1" id="list-ddoc-list"
<a class="list-group-item list- role="tab" data-toggle="list" aria-
group-item-action" href="#list- controls="home">Delete
pat" id="list-pat-list" role="tab" Doctor</a>
data-toggle="list" aria- <a class="list-group-item list-
controls="home">Patient List</a> group-item-action" href="#list-
<a class="list-group-item list- mes" id="list-mes-list" role="tab"
group-item-action" href="#list- data-toggle="list" aria-
app" id="list-app-list" role="tab" controls="home">Queries</a>
data-toggle="list" aria- </div><br>
controls="home">Appointment </div>
Details</a>

58
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<div class="col-md-8" document.querySelector(id).click(
style="margin-top: 3%;"> );
<div class="tab-content" }
id="nav-tabContent" </script>
style="width: 950px;"> <p class="links cl-effect-1">
<div class="tab-pane fade <a href="#list-doc"
show active" id="list-dash" onclick="clickDiv('#list-doc-
role="tabpanel" aria- list')">
labelledby="list-dash-list"> View Doctors
<div class="container-fluid </a>
container-fullw bg-white" > </p>
<div class="row"> </div>
<div class="col-sm-4"> </div>
<div class="panel </div>
panel-white no-radius text-
center">

<div class="panel-body"> <div class="col-sm-4" style="left:


<span class="fa-stack fa-2x"> <i -3%">
class="fa fa-square fa-stack-2x <div class="panel panel-white no-
text-primary"></i> <i class="fa radius text-center">
fa-users fa-stack-1x fa- <div class="panel-body" >
inverse"></i> </span> <span class="fa-stack fa-2x"> <i
<h4 class="StepTitle" class="fa fa-square fa-stack-2x
style="margin-top: 5%;">Doctor text-primary"></i> <i class="fa
List</h4> fa-users fa-stack-1x fa-
<script> inverse"></i> </span>
function clickDiv(id) {
59
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<h4 class="StepTitle" <a href="#app-hist"
style="margin-top: 5%;">Patient onclick="clickDiv('#list-app-
List</h4> list')">
<p class="cl-effect-1"> View Appointments
<a href="#app-hist" </a>
onclick="clickDiv('#list-pat- </p>
list')"> </div>
View Patients </div>
</a> </div>
</p> </div>
</div> <div class="row">
</div> <div class="col-sm-4" style="left:
</div> 13%;margin-top: 5%;">
<div class="col-sm-4"> <div class="panel
<div class="panel panel-white no- panel-white no-radius text-
radius text-center"> center">

<div class="panel-body" > <div class="panel-body" >


<span class="fa-stack fa-2x"> <i <span class="fa-stack fa-2x"> <i
class="fa fa-square fa-stack-2x class="fa fa-square fa-stack-2x
text-primary"></i> <i class="fa text-primary"></i> <i class="fa
fa-paperclip fa-stack-1x fa- fa-list-ul fa-stack-1x fa-
inverse"></i> </span> inverse"></i> </span>
<h4 class="StepTitle" <h4 class="StepTitle"
style="margin-top: style="margin-top:
5%;">Appointment Details</h4> 5%;">Prescription List</h4>
<p class="cl-effect-1"> <p class="cl-effect-1">
60
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<a href="#list-pres" &nbsp|
onclick="clickDiv('#list-pres- <a href="#app-hist"
list')"> onclick="clickDiv('#list-ddoc-
View Prescriptions list')">
</a> Delete Doctors
</p> </a>
</div> </p>
</div> </div>
</div> </div>
<div class="col-sm-4" style="left: </div>
18%;margin-top: 5%"> </div>
<div class="panel panel-white no- </div>
radius text-center"> </div>
<div class="panel-body" > <div class="tab-pane fade"
<span class="fa-stack fa-2x"> <i id="list-doc" role="tabpanel" aria-
class="fa fa-square fa-stack-2x labelledby="list-home-list">
text-primary"></i> <i class="fa <div class="col-md-8">

fa-plus fa-stack-1x fa-


inverse"></i> </span> <form class="form-group"
<h4 class="StepTitle" action="doctorsearch.php"
style="margin-top: 5%;">Manage method="post">
Doctors</h4> <div class="row">
<p class="cl-effect-1"> <div class="col-md-10">
<a href="#app-hist" <input type="text"
onclick="clickDiv('#list-adoc- name="doctor_contact"
list')">Add Doctors</a>

61
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
placeholder="Enter Email ID" $result = mysqli_query($con,
class = "form-control"></div> $query);
<div class="col-md-2"> while ($row =
<input type="submit" mysqli_fetch_array($result)){
name="doctor_search_submit" $username = $row['username'];
class="btn btn-primary" $spec = $row['spec'];
value="Search"></div></div> $email = $row['email'];
</form> $password = $row['password'];
</div> $docFees = $row['docFees'];
<table class="table table-hover"> echo "<tr>
<thead> <td>$username</td>
<tr> <td>$spec</td>
<th scope="col">Doctor <td>$email</td>
Name</th> <td>$password</td>
<th scope="col"> Specialization <td>$docFees</td>
</th> </tr>";
<th scope="col">Email</th> }
<th scope="col">Password</th> ?>
<th scope="col">Fees</th> </tbody>
</tr> </table>

</thead> <br>
<tbody> </div>
<?php <div class="tab-pane fade"
$con=mysqli_connect("localhost", id="list-pat" role="tabpanel" aria-
"root","","myhmsdb"); labelledby="list-pat-list">
global $con; <div class="col-md-8">
$query = "select * from doctb";
62
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<form class="form-group" </tr>
action="patientsearch.php" </thead>
method="post"> <tbody>
<div class="row"> <?php
<div class="col-md-10"> $con=mysqli_connect("localhost",
<input type="text" "root","","myhmsdb");
name="patient_contact" global $con;
placeholder="Enter Contact" class $query = "select * from patreg";
= "form-control"></div> $result = mysqli_query($con,
<div class="col-md-2"> $query);
<input type="submit" while ($row =
name="patient_search_submit" mysqli_fetch_array($result)){
class="btn btn-primary" $pid = $row['pid'];
value="Search"></div></div> $fname = $row['fname'];
</form> $lname = $row['lname'];
</div> $gender = $row['gender'];
<table class="table table-hover"> $email = $row['email'];
<thead> $contact = $row['contact'];
<tr> $password = $row['password'];
<th echo "<tr>
scope="col">Patient ID</th> <td>$pid</td>

<th scope="col">First Name</th> <td>$fname</td>


<th scope="col">Last Name</th> <td>$lname</td>
<th scope="col">Gender</th> <td>$gender</td>
<th scope="col">Email</th> <td>$email</td>
<th scope="col">Contact</th> <td>$contact</td>
<th scope="col">Password</th> <td>$password</td>
63
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
</tr>"; <th scope="col">Appointment
} Time</th>
?> <th scope="col">Disease</th>
</tbody> <th scope="col">Allergy</th>
</table> <th scope="col">
<br> Prescription</th>
</div> </tr>
<div class="tab-pane fade" </thead>
id="list-pres" role="tabpanel" <tbody>
aria-labelledby="list-pres-list"> <?php
<div class="col-md-8"> $con=mysqli_connect("localhost",
<div class="row"> "root","","myhmsdb");
<table class="table table-hover"> global $con;
<thead> $query = "select *
<tr> from prestb";
<th $result =
scope="col">Doctor</th> mysqli_query($con,$query);
<th while ($row =
scope="col">Patient ID</th> mysqli_fetch_array($result)){
$doctor =
$row['doctor'];

<th scope="col">Appointment $pid = $row['pid'];


ID</th> $ID = $row['ID'];
<th scope="col">First Name</th> $fname = $row['fname'];
<th scope="col">Last Name</th> $lname = $row['lname'];
<th scope="col">Appointment $appdate = $row['appdate'];
Date</th> $apptime = $row['apptime'];
64
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$disease = $row['disease']; <form class="form-group"
$allergy = $row['allergy']; action="appsearch.php"
$pres = $row['prescription']; method="post">
echo "<tr> <div class="row">
<td>$doctor</td> <div class="col-md-
<td>$pid</td> 10"><input type="text"
<td>$ID</td> name="app_contact"
<td>$fname</td> placeholder="Enter Contact" class
<td>$lname</td> = "form-control"></div>
<td>$appdate</td> <div class="col-md-
<td>$apptime</td> 2"><input type="submit"
<td>$disease</td> name="app_search_submit"
<td>$allergy</td> class="btn btn-primary"
<td>$pres</td> value="Search"></div></div>
</tr>"; </form>
} </div>
?> <table class="table table-
</tbody> hover">
</table> <thead>
<br> <tr>
</div>

</div> <th scope="col">Appointment


</div> ID</th>
<div class="tab-pane fade" <th
id="list-app" role="tabpanel" aria- scope="col">Patient ID</th>
labelledby="list-pat-list"> <th
<div class="col-md-8"> scope="col">First Name</th>
65
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<th scope="col">Last <?php
Name</th> $con=mysqli_connect("localhost",
<th "root","","myhmsdb");
scope="col">Gender</th> global $con;
<th $query = "select *
scope="col">Email</th> from appointmenttb;";
<th $result =
scope="col">Contact</th> mysqli_query($con,$query);
<th while ($row =
scope="col">Doctor Name</th> mysqli_fetch_array($result)){
<th ?>
scope="col">Consultancy <tr>
Fees</th> <td><?php echo
<th $row['ID'];?></td>
scope="col">Appointment <td><?php echo
Date</th> $row['pid'];?></td>
<th <td><?php echo
scope="col">Appointment $row['fname'];?></td>
Time</th> <td><?php echo
$row['lname'];?></td>
<td><?php echo
$row['gender'];?></td>
<th scope="col">Appointment
Status</th> <td><?php echo $row['email'];?
</tr> ></td>
</thead> <td><?php echo
<tbody> $row['contact'];?></td>

66
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<td><?php echo echo "Cancelled by
$row['doctor'];?></td> Doctor";
<td><?php echo }
$row['docFees'];?></td> ?></td>
<td><?php echo </tr>
$row['appdate'];?></td> <?php } ?>
<td><?php echo </tbody>
$row['apptime'];?></td> </table>
<td> <br>
<?php </div>
if(($row['userStatus']==1) && <div class="tab-pane fade"
($row['doctorStatus']==1)) id="list-messages"
{ role="tabpanel" aria-
echo "Active"; labelledby="list-messages-
} list">...</div>

if(($row['userStatus']==0) && <div class="tab-pane fade"


($row['doctorStatus']==1)) id="list-settings" role="tabpanel"
{ aria-labelledby="list-settings-
echo "Cancelled by list">
Patient"; <form class="form-group"
} method="post" action="admin-
panel1.php">
<div class="row">
if(($row['userStatus']==1) &&
($row['doctorStatus']==0)) <div class="col-md-
{ 4"><label>Doctor
Name:</label></div>
67
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<div class="col-md- <option
8"><input type="text" value="Neurologist"
class="form-control" name="spec">Neurologist</optio
name="doctor" n>
onkeydown="return <option
alphaOnly(event);" value="Pediatrician"
required></div><br><br> name="spec">Pediatrician</optio
<div class="col-md- n>
4"><label>Specialization:</label> </select>
</div> </div><br><br>
<div class="col-md- <div class="col-md-
8"> 4"><label>Email
<select ID:</label></div>
name="special" class="form- <div class="col-md-
control" id="special" 8"><input type="email"
required="required"> class="form-control"
<option name="demail"
value="head" name="spec" required></div><br><br>
disabled selected>Select <div class="col-md-
Specialization</option> 4"><label>Password:</label></di
<option v>
value="General" <div class="col-md-
name="spec">General</option> 8"><input type="password"
class="form-control"

<option value="Cardiologist" onkeyup='check();'


name="spec">Cardiologist</optio name="dpassword"
n>
68
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
id="dpassword" <input type="submit"
required></div><br><br> name="docsub" value="Add
<div class="col-md- Doctor" class="btn btn-primary">
4"><label>Confirm </form>
Password:</label></div> </div>
<div class="col-md-8"
id='cpass'><input <div class="tab-pane fade"
type="password" class="form- id="list-settings1" role="tabpanel"
control" onkeyup='check();' aria-labelledby="list-settings1-
name="cdpassword" list">
id="cdpassword" required>&nbsp <form class="form-group"
&nbsp<span method="post" action="admin-
id='message'></span> panel1.php">
</div><br><br> <div class="row">

<div class="col-md-
<div class="col-md- 4"><label>Email
4"><label>Consultancy ID:</label></div>
Fees:</label></div> <div class="col-md-
<div class="col-md- 8"><input type="email"
8"><input type="text" class="form-control"
class="form-control" name="demail"
name="docFees" required></div><br><br>
required></div><br><br> </div>
</div> <input type="submit"
name="docsub1" value="Delete
Doctor" class="btn btn-primary"

69
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
onclick="confirm('do you really <div class="col-md-
want to delete?')"> 2"><input type="submit"
</form> name="mes_search_submit"
</div> class="btn btn-primary"
<div class="tab-pane fade" value="Search"></div></div>
id="list-attend" role="tabpanel" </form>
aria-labelledby="list-attend- </div>
list">...</div> <table class="table table-
hover">
<div class="tab-pane fade" <thead>
id="list-mes" role="tabpanel" <tr>
aria-labelledby="list-mes-list"> <th
scope="col">User Name</th>
<div class="col-md-8"> <th
<form class="form-group" scope="col">Email</th>
action="messearch.php" <th
method="post"> scope="col">Contact</th>
<div class="row"> <th
<div class="col-md- scope="col">Message</th>
10"><input type="text" </tr>
name="mes_contact" </thead>
placeholder="Enter Contact" class <tbody>
= "form-control"></div> <?php
$con=mysqli_connect("localhost",
"root","","myhmsdb");
global $con;

70
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$query = "select * </table>
from contact;"; <br>
$result = </div>
mysqli_query($con,$query);
while ($row =
mysqli_fetch_array($result)){
</div>
#$fname = </div>
$row['fname']; </div>
#$lname = </div>
$row['lname']; <!-- Optional JavaScript -->
#$email = <!-- jQuery first, then
$row['email']; Popper.js, then Bootstrap JS -->
#$contact = <script
$row['contact']; src="https://code.jquery.com/jque
?> ry-3.2.1.slim.min.js"
<tr> integrity="sha384-
<td><?php echo KJ3o2DKtIkvYIK3UENzmM7K
$row['name'];?></td> CkRr/rE9/Qpg6aAZGJwFDMVN
<td><?php echo A/GpGFF93hXpG5KkN"
$row['email'];?></td> crossorigin="anonymous"></scrip
<td><?php echo t>
$row['contact'];?></td> <script
<td><?php echo src="https://cdnjs.cloudflare.com/
$row['message'];?></td> ajax/libs/popper.js/1.11.0/umd/po
</tr> pper.min.js" integrity="sha384-
<?php } ?> b/U6ypiBEHpOf/4+1nzFpr53nxS
</tbody>
71
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
S+GLCkfwBdFNTxtclqqenISfwA k4Si90RDIqNm1"
zpKaMNFNmj4" crossorigin="anonymous"></scrip
crossorigin="anonymous"></scrip t>
t> <script
<script src="https://cdnjs.cloudflare.com/
src="https://maxcdn.bootstrapcdn. ajax/libs/limonte-
com/bootstrap/4.0.0-beta/js/bootst sweetalert2/6.10.1/
rap.min.js" integrity="sha384- sweetalert2.all.min.js"></script>
h0AbiXch4ZDo7tp9hKZ4TsHbi0 </body>
47NrKGLO3SEJAg45jXxnGIfYz </html>
Appsearch.php
<!DOCTYPE html> NJ0lyAFsXTsjBbfaDjzALeQsN6
<?php #include("func.php");?> M" crossorigin="anonymous">
<html>
<head> </head>
<title>Patient <body>
Details</title> <?php
<link rel="shortcut icon" include("newfunc.php");
type="image/x-icon" if(isset($_POST['app_search_sub
href="images/favicon.png" /> mit']))
<link rel="stylesheet" {
href="https://maxcdn.bootstrapcd
n.com/bootstrap/4.0.0-beta/css/bo $contact=$_POST['app_contact'];
otstrap.min.css" $query = "select * from
integrity="sha384-/Y6pD6FV/Vv appointmenttb where contact=
2HJnA6t+vslU6fwYXjCFtcEpHb '$contact';";

72
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$result = mysqli_query($con, <thead>
$query); <tr>
<th scope='col'>First
$row=mysqli_fetch_array($result) Name</th>
; <th scope='col'>Last
if($row['fname']=="" & Name</th>
$row['lname']=="" & <th scope='col'>Email</th>
$row['email']=="" & <th
$row['contact']=="" & scope='col'>Contact</th>
$row['doctor']=="" & <th scope='col'>Doctor
$row['docFees']=="" & Name</th>
$row['appdate']=="" & <th scope='col'>Consultancy
$row['apptime']==""){ Fees</th>
echo "<script> alert('No entries <th
found! Please enter valid details'); scope='col'>Appointment
window.location.href = Date</th>
'admin-panel1.php#list-doc';</scri <th
pt>"; scope='col'>Appointment
} Time</th>
else { <th
echo "<div class='container- scope='col'>Appointment
fluid' style='margin-top:50px;'> Status</th>
<div class='card'> </tr>
<div class='card-body' </thead>
style='background- <tbody>";
color:#342ac1;color:#ffffff;'>
<table class='table table-hover'>
$fname = $row['fname'];
73
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$lname = $row['lname']; }
$email = $row['email']; echo "<tr>
$contact = $row['contact']; <td>$fname</td>
$doctor = $row['doctor']; <td>$lname</td>
$docFees= $row['docFees']; <td>$email</td>
$appdate= $row['appdate']; <td>$contact</td>
$apptime = <td>$doctor</td>
$row['apptime']; <td>$docFees</td>
if(($row['userStatus']==1) <td>$appdate</td>
&& ($row['doctorStatus']==1)) <td>$apptime</td>
{ <td>$appstatus</td>
$appstatus = </tr>";
"Active"; echo
} "</tbody></table><center><a
href='admin-panel1.php'
if(($row['userStatus']==0) && class='btn btn-light'>Back to your
($row['doctorStatus']==1)) Dashboard</a></div></center></
{ div></div></div>";
$appstatus = }
"Cancelled by You"; }
}
?>
<script
if(($row['userStatus']==1) && src="https://code.jquery.com/jque
($row['doctorStatus']==0)) ry-3.2.1.slim.min.js"
{ integrity="sha384-
$appstatus = KJ3o2DKtIkvYIK3UENzmM7K
"Cancelled by Doctor";
74
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
CkRr/rE9/Qpg6aAZGJwFDMVN $con=mysqli_connect("localhost",
A/GpGFF93hXpG5KkN" "root","","myhmsdb");
crossorigin="anonymous"></scrip if(isset($_POST['btnSubmit']))
t> {
<script $name =
src="https://cdnjs.cloudflare.com/ $_POST['txtName'];
ajax/libs/popper.js/1.11.0/umd/po $email =
pper.min.js" integrity="sha384- $_POST['txtEmail'];
b/U6ypiBEHpOf/4+1nzFpr53nxS $contact =
S+GLCkfwBdFNTxtclqqenISfwA $_POST['txtPhone'];
zpKaMNFNmj4" $message =
crossorigin="anonymous"></scrip $_POST['txtMsg'];
t>
<script $query="insert into
src="https://maxcdn.bootstrapcdn. contact(name,email,contact,messa
com/bootstrap/4.0.0-beta/js/bootst ge)
rap.min.js" integrity="sha384- values('$name','$email','$contact','
h0AbiXch4ZDo7tp9hKZ4TsHbi0 $message');";
47NrKGLO3SEJAg45jXxnGIfYz $result =
k4Si90RDIqNm1" mysqli_query($con,$query);
crossorigin="anonymous"></scrip
t> if($result)
</body> {
</html> echo '<script
Contact.php type="text/javascript">';
<?php

75
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
echo echo '</script>';
'alert("Message sent }
successfully!");'; }
echo
'window.location.href =
"contact.html";';

Doctorpanel.php
<!DOCTYPE html> }
<?php
include('func1.php'); // if(isset($_GET['prescribe'])){
$con=mysqli_connect("localhost",
"root","","myhmsdb"); // $pid = $_GET['pid'];

$doctor = $_SESSION['dname']; // $ID = $_GET['ID'];

if(isset($_GET['cancel'])) // $appdate = $_GET['appdate'];

{ // $apptime =
$_GET['apptime'];
$query=mysqli_query($con,"upda // $disease = $_GET['disease'];
te appointmenttb set // $allergy = $_GET['allergy'];
doctorStatus='0' where ID = '". // $prescription =
$_GET['ID']."'"); $_GET['prescription'];
if($query) //
{ $query=mysqli_query($con,"inser
echo "<script>alert('Your t into
appointment successfully prestb(doctor,pid,ID,appdate,appti
cancelled');</script>"; me,disease,allergy,prescription)
} values ('$doctor',$pid,

76
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
$ID,'$appdate','$apptime','$diseas <link rel="stylesheet"
e','$allergy','$prescription');"); type="text/css" href="font-
// if($query) awesome-4.7.0/css/font-
// { awesome.min.css">
// echo <link rel="stylesheet"
"<script>alert('Prescribed href="style.css">
successfully!');</script>"; <!-- Bootstrap CSS -->
// } <link rel="stylesheet"
// else{ href="vendor/fontawesome/css/fo
// echo "<script>alert('Unable nt-awesome.min.css">
to process your request. Try <link rel="shortcut icon"
again!');</script>"; type="image/x-icon"
// } href="images/favicon.png" />
// } <link rel="stylesheet"
href="https://maxcdn.bootstrapcd
n.com/bootstrap/4.0.0-beta/css/bo
?> otstrap.min.css"
<html lang="en"> integrity="sha384-/Y6pD6FV/Vv
<head> 2HJnA6t+vslU6fwYXjCFtcEpHb
NJ0lyAFsXTsjBbfaDjzALeQsN6
M" crossorigin="anonymous">
<!-- Required meta tags -->
<meta charset="utf-8"> <link rel="stylesheet"
<meta name="viewport" href="https://stackpath.bootstrapc
content="width=device-width, dn.com/bootstrap/4.3.1/css/bootstr
initial-scale=1, shrink-to-fit=no"> ap.min.css" integrity="sha384-
ggOyR0iXCbMQv3Xipma34MD

77
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
+dH/1fQ784/j6cY/iJTQUOhcWr7 <style >
x9JvoRxT2MZw1T" .btn-outline-light:hover{
crossorigin="anonymous"> color: #25bef7;
background-color: #f8f9fa;
<link border-color: #f8f9fa;
href="https://fonts.googleapis.co }
m/css? </style>
family=IBM+Plex+Sans&display
=swap" rel="stylesheet"> <style >
<nav class="navbar navbar- .bg-primary {
expand-lg navbar-dark bg-primary background: -webkit-linear-
fixed-top"> gradient(left, #3931af, #00c6ff);
<a class="navbar-brand" }
href="#"><i class="fa fa-user- .list-group-item.active {
plus" aria-hidden="true"></i> z-index: 2;
Global Hospital </a> color: #fff;
<button class="navbar-toggler" background-color: #342ac1;
type="button" data- border-color: #007bff;
toggle="collapse" data- }
target="#navbarSupportedContent .text-primary {
" aria- color: #342ac1!important;
controls="navbarSupportedConte }
nt" aria-expanded="false" aria- </style>
label="Toggle navigation">
<span class="navbar-toggler- <div class="collapse navbar-
icon"></span> collapse"
</button> id="navbarSupportedContent">

78
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<ul class="navbar-nav mr- </div>
auto"> </nav>
<li class="nav-item"> </head>
<a class="nav-link" <style type="text/css">
href="logout1.php"><i class="fa button:hover{cursor:pointer;}
fa-sign-out" aria-
hidden="true"></i>Logout</a> #inputbtn:hover{cursor:pointer;}
</li> </style>
<li class="nav-item"> <body style="padding-
<a class="nav-link" top:50px;">
href="#"></a> <div class="container-fluid"
</li> style="margin-top:50px;">
</ul> <h3 style = "margin-left: 40%;
<form class="form-inline my-2 padding-bottom: 20px;font-
my-lg-0" method="post" family:'IBM Plex Sans', sans-
action="search.php"> serif;"> Welcome &nbsp<?php
<input class="form-control echo $_SESSION['dname'] ?>
mr-sm-2" type="text" </h3>
placeholder="Enter contact <div class="row">
number" aria-label="Search" <div class="col-md-4"
name="contact"> style="max-width:18%;margin-
<input type="submit" top: 3%;">
class="btn btn-outline-light" <div class="list-group"
id="inputbtn" id="list-tab" role="tablist">
name="search_submit" <a class="list-group-item list-
value="Search"> group-item-action active"
</form> href="#list-dash" role="tab" aria-

79
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
controls="home" data- <div class="container-
toggle="list">Dashboard</a> fluid container-fullw bg-white" >
<a class="list-group-item list- <div class="row">
group-item-action" href="#list-
app" id="list-app-list" role="tab" <div class="col-sm-4"
data-toggle="list" aria- style="left: 10%">
controls="home">Appointments< <div class="panel
/a> panel-white no-radius text-
<a class="list-group-item list- center">
group-item-action" href="#list- <div class="panel-
pres" id="list-pres-list" role="tab" body">
data-toggle="list" aria- <span class="fa-
controls="home"> Prescription stack fa-2x"> <i class="fa fa-
List</a> square fa-stack-2x text-
primary"></i> <i class="fa fa-list
</div><br> fa-stack-1x fa-inverse"></i>
</div> </span>
<div class="col-md-8" <h4
style="margin-top: 3%;"> class="StepTitle" style="margin-
<div class="tab-content" top: 5%;"> View
id="nav-tabContent" Appointments</h4>
style="width: 950px;"> <script>
<div class="tab-pane fade function
show active" id="list-dash" clickDiv(id) {
role="tabpanel" aria-
labelledby="list-dash-list"> document.querySelector(id).click(
);

80
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
} <h4
</script> class="StepTitle" style="margin-
<p class="links cl- top: 5%;"> Prescriptions</h4>
effect-1">
<a href="#list-app" <p class="links cl-

onclick="clickDiv('#list-app- effect-1">

list')"> <a href="#list-

Appointment List pres" onclick="clickDiv('#list-

</a> pres-list')">

</p> Prescription List

</div> </a>

</div> </p>

</div> </div>
</div>

<div class="col-sm-4" </div>

style="left: 15%">
<div class="panel </div>

panel-white no-radius text- </div>

center"> </div>

<div class="panel-
body">
<div class="tab-pane fade"
<span class="fa-
id="list-app" role="tabpanel" aria-
stack fa-2x"> <i class="fa fa-
labelledby="list-home-list">
square fa-stack-2x text-
primary"></i> <i class="fa fa-list-
<table class="table table-
ul fa-stack-1x fa-inverse"></i>
hover">
</span>
<thead>
81
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<tr> <th
<th scope="col">Prescribe</th>
scope="col">Patient ID</th>
<th </tr>
scope="col">Appointment </thead>
ID</th> <tbody>
<th <?php
scope="col">First Name</th>
<th scope="col">Last $con=mysqli_connect("localhost",
Name</th> "root","","myhmsdb");
<th global $con;
scope="col">Gender</th> $dname =
<th $_SESSION['dname'];
scope="col">Email</th> $query = "select
<th pid,ID,fname,lname,gender,email,
scope="col">Contact</th> contact,appdate,apptime,userStatu
<th s,doctorStatus from
scope="col">Appointment appointmenttb where
Date</th> doctor='$dname';";
<th $result =
scope="col">Appointment mysqli_query($con,$query);
Time</th> while ($row =
<th mysqli_fetch_array($result)){
scope="col">Current Status</th> ?>
<th <tr>
scope="col">Action</th> <td><?php echo
$row['pid'];?></td>

82
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<td><?php echo echo "Cancelled by
$row['ID'];?></td> Patient";
<td><?php echo }
$row['fname'];?></td>
<td><?php echo
$row['lname'];?></td> if(($row['userStatus']==1) &&
<td><?php echo ($row['doctorStatus']==0))
$row['gender'];?></td> {
<td><?php echo echo "Cancelled by
$row['email'];?></td> You";
<td><?php echo }
$row['contact'];?></td> ?></td>
<td><?php echo
$row['appdate'];?></td> <td>
<td><?php echo <?php
$row['apptime'];?></td> if(($row['userStatus']==1) &&
<td> ($row['doctorStatus']==1))
<?php { ?>
if(($row['userStatus']==1) &&
($row['doctorStatus']==1))
{
echo "Active";
}
<a
if(($row['userStatus']==0) && href="doctor-panel.php?ID=<?
($row['doctorStatus']==1)) php echo $row['ID']?
{ >&cancel=update"

83
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
echo $row['pid']?>&ID=<?php
onClick="return confirm('Are you echo $row['ID']?>&fname=<?php
sure you want to cancel this echo $row['fname']?>&lname=<?
appointment ?')" php echo $row['lname']?
title="Cancel >&appdate=<?php echo
Appointment" tooltip- $row['appdate']?>&apptime=<?
placement="top" php echo $row['apptime']?>"
tooltip="Remove"><button tooltip-
class="btn btn- placement="top"
danger">Cancel</button></a> tooltip="Remove"
<?php } else title="prescribe">
{ <button class="btn
btn-success">Prescibe</button></
echo a>
"Cancelled"; <?php } else {
} ?>
echo "-";
</td>
} ?>

<td> </td>

<?php
if(($row['userStatus']==1) && </tr></a>
($row['doctorStatus']==1)) <?php } ?>
{ ?> </tbody>
</table>
<a <br>
href="prescribe.php?pid=<?php </div>
84
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<th
scope="col">Disease</th>
<th
<div class="tab-pane fade" scope="col">Allergy</th>
id="list-pres" role="tabpanel" <th
aria-labelledby="list-pres-list"> scope="col">Prescribe</th>
<table class="table table- </tr>
hover"> </thead>
<thead> <tbody>
<tr> <?php

<th
scope="col">Patient ID</th>
$con=mysqli_connect("localhost",
"root","","myhmsdb");
<th
global $con;
scope="col">First Name</th>
<th scope="col">Last
$query = "select
Name</th>
pid,fname,lname,ID,appdate,appti
<th
me,disease,allergy,prescription
scope="col">Appointment
from prestb where
ID</th>
doctor='$doctor';";
<th
scope="col">Appointment
$result =
Date</th>
mysqli_query($con,$query);
<th
if(!$result){
scope="col">Appointment
echo
Time</th>
mysqli_error($con);
}
85
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
?>
</tbody>
while ($row = </table>
mysqli_fetch_array($result)){ </div>
?>
<tr>
<td><?php echo
$row['pid'];?></td>
<td><?php echo <div class="tab-pane fade"
$row['fname'];?></td> id="list-app" role="tabpanel" aria-
<td><?php echo labelledby="list-pat-list">
$row['lname'];?></td>
<td><?php echo <table class="table table-
$row['ID'];?></td> hover">
<thead>
<td><?php echo <tr>
$row['appdate'];?></td> <th
<td><?php echo scope="col">First Name</th>
$row['apptime'];?></td> <th scope="col">Last
<td><?php echo Name</th>
$row['disease'];?></td> <th
<td><?php echo scope="col">Email</th>
$row['allergy'];?></td> <th
<td><?php echo scope="col">Contact</th>
$row['prescription'];?></td> <th
scope="col">Doctor Name</th>
</tr>
<?php }
86
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<th #$lname =
scope="col">Consultancy $row['lname'];
Fees</th> #$email =
<th $row['email'];
scope="col">Appointment #$contact =
Date</th> $row['contact'];
<th ?>
scope="col">Appointment <tr>
Time</th> <td><?php echo
</tr> $row['fname'];?></td>
</thead> <td><?php echo
<tbody> $row['lname'];?></td>
<?php <td><?php echo
$row['email'];?></td>
<td><?php echo
$con=mysqli_connect("localhost", $row['contact'];?></td>
"root","","myhmsdb"); <td><?php echo
global $con; $row['doctor'];?></td>
<td><?php echo
$query = "select * $row['docFees'];?></td>
from appointmenttb;"; <td><?php echo
$result = $row['appdate'];?></td>
mysqli_query($con,$query); <td><?php echo
while ($row = $row['apptime'];?></td>
mysqli_fetch_array($result)){ </tr>
<?php } ?>
#$fname =
</tbody>
$row['fname'];
87
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
</table> name="doctor"
<br> required></div><br><br>
</div> <div class="col-md-
4"><label>Password:</label></di
v>
<div class="col-md-
8"><input type="password"
class="form-control"
<div class="tab-pane fade" name="dpassword"
id="list-messages" required></div><br><br>
role="tabpanel" aria- <div class="col-md-
labelledby="list-messages- 4"><label>Email
list">...</div> ID:</label></div>
<div class="tab-pane fade" <div class="col-md-
id="list-settings" role="tabpanel" 8"><input type="email"
aria-labelledby="list-settings- class="form-control"
list"> name="demail"
<form class="form-group" required></div><br><br>
method="post" action="admin- <div class="col-md-
panel1.php"> 4"><label>Consultancy
<div class="row"> Fees:</label></div>
<div class="col-md- <div class="col-md-
4"><label>Doctor 8"><input type="text"
Name:</label></div> class="form-control"
<div class="col-md- name="docFees"
8"><input type="text" required></div><br><br>
class="form-control" </div>

88
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<input type="submit" ajax/libs/popper.js/1.11.0/umd/po
name="docsub" value="Add pper.min.js" integrity="sha384-
Doctor" class="btn btn-primary"> b/U6ypiBEHpOf/4+1nzFpr53nxS
</form> S+GLCkfwBdFNTxtclqqenISfwA
</div> zpKaMNFNmj4"
<div class="tab-pane fade" crossorigin="anonymous"></scrip
id="list-attend" role="tabpanel" t>
aria-labelledby="list-attend- <script
list">...</div> src="https://maxcdn.bootstrapcdn.
</div> com/bootstrap/4.0.0-beta/js/bootst
</div> rap.min.js" integrity="sha384-
</div> h0AbiXch4ZDo7tp9hKZ4TsHbi0
</div> 47NrKGLO3SEJAg45jXxnGIfYz
<!-- Optional JavaScript --> k4Si90RDIqNm1"
<!-- jQuery first, then crossorigin="anonymous"></scrip
Popper.js, then Bootstrap JS --> t>
<script <script
src="https://code.jquery.com/jque src="https://cdnjs.cloudflare.com/
ry-3.2.1.slim.min.js" ajax/libs/limonte-
integrity="sha384- sweetalert2/6.10.1/
KJ3o2DKtIkvYIK3UENzmM7K sweetalert2.all.min.js"></script>
CkRr/rE9/Qpg6aAZGJwFDMVN </body>
A/GpGFF93hXpG5KkN" </html>
crossorigin="anonymous"></scrip doctor-search.php
t> <!DOCTYPE html>
<script <?php #include("func.php");?>
src="https://cdnjs.cloudflare.com/ <html>

89
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<head> $result = mysqli_query($con,
<title>Doctor $query);
Details</title>
<link rel="shortcut icon" $row=mysqli_fetch_array($result)
type="image/x-icon" ;
href="images/favicon.png" /> if($row['username']=="" &
<link rel="stylesheet" $row['password']=="" &
href="https://maxcdn.bootstrapcd $row['email']=="" &
n.com/bootstrap/4.0.0-beta/css/bo $row['docFees']==""){
otstrap.min.css" echo "<script> alert('No entries
integrity="sha384-/Y6pD6FV/Vv found!');
2HJnA6t+vslU6fwYXjCFtcEpHb window.location.href =
NJ0lyAFsXTsjBbfaDjzALeQsN6 'admin-panel1.php#list-doc';</scri
M" crossorigin="anonymous"> pt>";
</head> }
<body> else {
<?php echo "<div class='container-
include("newfunc.php"); fluid' style='margin-top:50px;'>
if(isset($_POST['doctor_search_s <div class ='card'>
ubmit'])) <div class='card-body'
{ style='background-
color:#342ac1;color:#ffffff;'>
$contact=$_POST['doctor_contac <table class='table table-hover'>
t']; <thead>
$query = "select * from doctb <tr>
where email= '$contact'"; <th
scope='col'>Username</th>

90
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<th href='admin-panel1.php'
scope='col'>Password</th> class='btn btn-light'>Back to
<th scope='col'>Email</th> dashboard</a></div></center></d
<th scope='col'>Consultancy iv></div></div>";
Fees</th> }
</tr> }
</thead>
<tbody>";
?>
// while <script
($row=mysqli_fetch_array($result src="https://code.jquery.com/jque
)){ ry-3.2.1.slim.min.js"
$username = integrity="sha384-
$row['username']; KJ3o2DKtIkvYIK3UENzmM7K
$password = CkRr/rE9/Qpg6aAZGJwFDMVN
$row['password']; A/GpGFF93hXpG5KkN"
$email = $row['email']; crossorigin="anonymous"></scrip
$docFees = $row['docFees']; t>
echo "<tr> <script
<td>$username</td> src="https://cdnjs.cloudflare.com/
<td>$password</td> ajax/libs/popper.js/1.11.0/umd/po
<td>$email</td> pper.min.js" integrity="sha384-
<td>$docFees</td> b/U6ypiBEHpOf/4+1nzFpr53nxS
</tr>"; S+GLCkfwBdFNTxtclqqenISfwA
// } zpKaMNFNmj4"
echo crossorigin="anonymous"></scrip
"</tbody></table><center><a t>

91
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<script k4Si90RDIqNm1"
src="https://maxcdn.bootstrapcdn. crossorigin="anonymous"></scrip
com/bootstrap/4.0.0-beta/js/bootst t>
rap.min.js" integrity="sha384- </body>
h0AbiXch4ZDo7tp9hKZ4TsHbi0 </html>
47NrKGLO3SEJAg45jXxnGIfYz
Error.php
<!DOCTYPE html> color: #0076d4;
<html lang="en"> background-color: #f8f9fa;
<head> border-color: #f8f9fa;
<!-- Required meta tags --> }
<meta charset="utf-8"> </style>
<meta name="viewport" </head>
content="width=device-width, <body style="background: -
initial-scale=1, shrink-to-fit=no"> webkit-linear-gradient(left,
#3931af,
<!-- Bootstrap CSS --> #00c6ff);color:white;padding-
<link rel="stylesheet" top:100px;text-align:center;">
href="https://maxcdn.bootstrapcd <h3>Invalid Email-Id or
n.com/bootstrap/4.0.0-beta/css/bo Password!<br>Please try
otstrap.min.css" again.</h3><br><br>
integrity="sha384-/Y6pD6FV/Vv <a href="index1.php"
2HJnA6t+vslU6fwYXjCFtcEpHb class="btn btn-outline-light">Try
NJ0lyAFsXTsjBbfaDjzALeQsN6 Again</a>
M" crossorigin="anonymous"> <!-- Optional JavaScript -->
<style > <!-- jQuery first, then
.btn:hover{ Popper.js, then Bootstrap JS -->

92
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
<script zpKaMNFNmj4"
src="https://code.jquery.com/jque crossorigin="anonymous"></scrip
ry-3.2.1.slim.min.js" t>
integrity="sha384- <script
KJ3o2DKtIkvYIK3UENzmM7K src="https://maxcdn.bootstrapcdn.
CkRr/rE9/Qpg6aAZGJwFDMVN com/bootstrap/4.0.0-beta/js/bootst
A/GpGFF93hXpG5KkN" rap.min.js" integrity="sha384-
crossorigin="anonymous"></scrip h0AbiXch4ZDo7tp9hKZ4TsHbi0
t> 47NrKGLO3SEJAg45jXxnGIfYz
<script k4Si90RDIqNm1"
src="https://cdnjs.cloudflare.com/ crossorigin="anonymous"></scrip
ajax/libs/popper.js/1.11.0/umd/po t>
pper.min.js" integrity="sha384- </body>
b/U6ypiBEHpOf/4+1nzFpr53nxS </html>
S+GLCkfwBdFNTxtclqqenISfwA

Errorpage1.php
<!DOCTYPE html> <link rel="stylesheet"
<html lang="en"> href="https://maxcdn.bootstrapcd
<head> n.com/bootstrap/4.0.0-beta/css/bo
<!-- Required meta tags --> otstrap.min.css"
<meta charset="utf-8"> integrity="sha384-/Y6pD6FV/Vv
<meta name="viewport" 2HJnA6t+vslU6fwYXjCFtcEpHb
content="width=device-width, NJ0lyAFsXTsjBbfaDjzALeQsN6
initial-scale=1, shrink-to-fit=no"> M" crossorigin="anonymous">
<style >
<!-- Bootstrap CSS --> .btn:hover{

93
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
color: #0076d4; <script
background-color: #f8f9fa; src="https://code.jquery.com/jque
border-color: #f8f9fa; ry-3.2.1.slim.min.js"
} integrity="sha384-
</style> KJ3o2DKtIkvYIK3UENzmM7K
</head> CkRr/rE9/Qpg6aAZGJwFDMVN
<body style="background: - A/GpGFF93hXpG5KkN"
webkit-linear-gradient(left, crossorigin="anonymous"></scrip
#3931af, t>
#00c6ff);color:white;padding- <script
top:100px;text-align:center;"> src="https://cdnjs.cloudflare.com/
<h3>Confirm Password doesn't ajax/libs/popper.js/1.11.0/umd/po
match Password!<br>Please try pper.min.js" integrity="sha384-
again.</h3><br><br> b/U6ypiBEHpOf/4+1nzFpr53nxS
<a href="index.php" class="btn S+GLCkfwBdFNTxtclqqenISfwA
btn-outline-light">Try Again</a> zpKaMNFNmj4"
<!-- Optional JavaScript --> crossorigin="anonymous"></scrip
<!-- jQuery first, then t>
Popper.js, then Bootstrap JS --> <script
src="https://maxcdn.bootstrapcdn.
com/bootstrap/4.0.0-beta/js/bootst
rap.min.js" integrity="sha384-
h0AbiXch4ZDo7tp9hKZ4TsHbi0
47NrKGLO3SEJAg45jXxnGIfYz
k4Si90RDIqNm1"
crossorigin="anonymous"></scrip
t>

94
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
</body> </html>

User Manual
Home Page

95
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

About Us

96
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Contact Us

97
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Register As Patient

Patient Home Page

98
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Book an Appointment

Appointment booked

Appointment History

99
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Prescription

Logout

100
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Login as doctor

Doctor Home Page

101
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

View Appointments

Prescription List

102
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Login as Receptionist

Home Page

103
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Doctor List

104
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Patient List

Appointment Details

105
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Prescription List

106
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)
Manage Doctors

Add Doctor

Doctor Successfully added

Delete Doctor

107
UNIVERSITY INSTITUTE OF COMPUTING
DIVISION- MCA/BCA/BSc(CS)

Queries

108

You might also like