You are on page 1of 59

Republic of the Philippines

ZAMBOANGA PENINSULA POLYTECHNIC STATE UNIVERSITY


Region IX, Zamboanga Peninsula
R.T. Lim Blvd., Zamboanga City
Tel. No. (062) 993-0023

COLLEGE OF INFORMATION AND COMPUTING STUDIES


Vision: ZCSPC as the leading provider of globally Mission: Provide effective and efficient services through
competitive human resources. advanced technological studies and researches for the
empowerment of the nation’s human resources.

PATIENT TRACKER
MANAGEMENT SYSTEM

In Partial Fulfillment of the Requirements


for the System Analysis and Design Subject

By

Rachell Q. Aculbe
Romaclaire E. Bagayas
John Marc B. Gallardo
Edwin L. Manila
Nimfa P. Villacampa

August 2021
CHAPTER I

INTRODUCTION OF THE STUDY

Technology has gradually become more integrated into our daily lives. Almost

everyone in our generation uses technology on a daily basis. Everything has become more

rapid as a result of technological advancements and the use of Patient Tracker System is a

great example. Medical staff collects and store all of their patients’ necessary information

that connect to their computer system. Before the technology, medical staff requires

exhaustive process of tracking their patients’ record using the manual method of collecting

and storing patient’s information as well as their medical diagnosis. Patient Tracker

System is not only for storing information it can also help to track the patient’s medical

history, medications and follow-up consultations that can be also continually upgrade by

updating the latest medical data of the patients.

Patient tracker system aims to provide better quality of storing data that deposit

and track patients’ records in a clinic or hospital. It necessitates an effective system that

keeps a close eye on patients despite their increasing numbers. This is necessary so that

you always have copies of your patients’ medical records without touching massive pages

of paper. These can therefore be used as a reference point when making a proper diagnosis.
STATEMENT OF THE PROBLEM

The practice of using patient tracker system is relatively new and not widespread

particularly in a small clinic, a system that tracks patient this way records data and

diagnosis that is relevant for the business. In today’s digital era where technology is rising

and evolving some businesses particularly in a small clinic most of them are still using the

manual method of collecting and storing their customer or patient records which made

them hard to compete with other business. The problem with the manual method is it takes

time to retrieve the data and information that is done manually the use of such method

demands exhaustive time and large place for storage.

SIGNIFICANCE OF THE STUDY

The fundamental desire of this study is to refine and enhance the process of

collecting and storing information currently used by Navales Dental Clinic with the help

of the Patient Tracker system managing their patients personal and medical data will be

improved. It also helps their Dentist and staff for checking in their patients’ diagnosis and

appointment schedule it would be a big help for their clinic’s system that can compete with

other relative businesses.


SCOPE OF THE STUDY

The study focused on patient tracking that prioritizing within the Navales Dental

Clinic. Patient tracking refers to identifying and registering names of the patient, recording

their information and initial medical conditions and the advancement in patients’ treatment

and tracking their medical needs. In addition, the clinic can also print the stored information

and payment receipt of their costumer for any future purposes.

INCLUDED MODULES

Login/Logout – It is use for accessing the system

o Admin are the only one that can use the system

Dashboard – The overall dynamic UI of the system

o List of patients
o Payment report

List of Patients – Display all the patient’s information

o View, Add, Update, Search

Payment Report – Display the payment reports of the patient

o Generate payment receipt

Print – Produce a hard copies of payment receipt information

o Print the generated receipt

Search – Find patient stored in the system or database

Search patient by inputting either first name or last name


DEFINITION OF TERMS

In making this project, the proponents pick important key terms to facilitate

understanding of the problem. In order to have an easy and better interpretation for the

readers the following terminologies are defined according to how it is used in this study.

System is a group of organized collection of entities that work together to achieve a shared

objective.

Management is an operation that is regularly performed associated with a particular goal

in mind.

Tracking is the science and skill of monitoring creature footprints and other signs in

hunting and environment.

UI (user interface) is the point of human-computer interaction in a device.

Diagram a visual representation of data.

Modules is a section of a program or a software component that holds one or more

procedures

Print a computer transferring data to a computer printer to generate a hard copy.

Cycle a series of events that happen repeatedly in the same order.


CHAPTER III

RESEARCH METHODOLOGY

In this chapter present and discuss the methods used which has been utilized for

conducting and gathering information for the development of the Patient Tracker

Information Management System. The method used in this project has been carefully

initiated to ensure the capability and to maximize the potential of the study and the system.

In addition, the proponents chose the agile method that served as navigation from gathering

information to the deployment process for the success of this project.

The Agile methodology is a product development methodology that are aligned

with the Agile Manifesto's principles and values for software development. Agile

Methodology is also a project management method that focuses on continuous

improvement and is ideal for those who require speed and flexibility to meet client needs.

Figure 3.1
Agile Methodology Life Cycle
RESEARCH DESIGN

This study uses survey method to obtain the needed data to provide solution to the

stated problem. This is to figure of what method the client currently using which is

necessary for tracking patients through their information and how they handle the data

using the manual method. Additionally, this study will also use the Agile Methodology life

cycle which is widely used for software development, this cycle provides the necessary

steps to procure each phases with better results. Furthermore, agile methodology requires

the attention and care of a team that is versatile and flexible, using this method it can greatly

enhance the positive outcome of the study. Also, in a survey questionnaire and meeting the

client was given an idea of what should they see in a display that is related for the collection

of information to the system.

FUNCTIONAL AND NON-FUNCTIONAL REQUIREMENTS

FUNCTIONAL REQUIREMENTS

o Enable saving and storing patients’ data

o Enable adding and updating stored patients’ data

o Enable monitoring and tracking of patient

o Enable the automatic generation of patients’ receipt

o Enable printing of generated receipt of the patient

o Enable printing of stored information of the patient


NON-FUNCTIONAL REQUIREMENTS

HARDWARE REQUIREMENTS

o Minimum CPU or Processor speed

o Pentium 4 or latest

o 4GB RAM

o 200MB Free space disk

o Printer

SOFTWARE REQUIREMENTS

o Any 64-bit operating system

o Web browser

o Windows driver

RESEARCH LOCALE

The clinic that is involved in this study is located at Pitogo Sinunuc, Zamboanga

City near Limpapa-Labuan National Road. The study is conducted and consisting a set of

questionnaire intentionally made for the staff of the clinic. The survey is constructed to an

automated display and was sent to their clinic’s email address without having to go into

their clinic’s location physically.


POPULATION AND SAMPLING

The respondents of the study are consisting of 3 staff from Navales Dental Clinic.

They are given survey questionnaire and were asked different types of questions which are

relatable to the gathering, storing and tracking into their patients’ medical information in

the proposed system. This is to determine how their clinic conduct and track their patients’

information. All appropriately fulfilled questionnaires were retrieved, prepared, organized

and compiled for the analysis of the data.


3.5 PROTOTYPING
DATA FLOW DIAGRAM
ENTITY RELATIONSHIP DIAGRAM
FLOWCHART
CHAPTER IV

DISCUSSION, RESULTS AND RECOMMENDATION

The respondents were given a survey questionnaire through online. There were 3

respondents originally working from or for Navales Dental Clinic who answered 12

questions, the survey was participated with 1 dentist and 2 staff from the said clinic.

Figure and graphs are shown prior to the results of the given survey.

1. What responsibility do you have as a medical practitioner?

Figure 4.1.1
(Question No.1 Result)
2. Do you own or working in a clinic?

Figure 4.1.2
(Question No.2 Result)

3. Based on your own experience what kind of method that is reliable for storing
your data and information?

Figure 4.1.3
(Question No.3 Result)
4. Are you familiar with technology?

Figure 4.1.4
(Question No.4 Result)

5. Does your clinic or workplace use computers or any technology?

Figure 4.1.5
(Question No.5 Result)
6. What method do you use in collecting and storing of information at your work?

Figure 4.1.6
(Question No.6 Result)

7. Do you agree that computers, laptops and other technology conveniently help us

in our work? (Such as collecting and storing information)

Figure 4.1.7
(Question No.7 Result)
8. Do you have knowledge about computer system? (For example a reservation

system that books an appointment)

Figure 4.1.8
(Question No.8 Result)

9. Does your company or workplace use system for collecting or recording and

storing information?

Figure 4.1.9
(Question No.9 Result)
10. In a consultation to your patients what kind of information do you take from them?

Figure 4.1.10
(Question No.10 Result)

11. How likely are you to have a system for tracking a patient for its medical

consultation and needs? (This include storing their information and other medical

needs to your computers)

Figure 4.1.11
(Question No.11 Result)
12. If having a system that stores information of your patients what kind of output or

display that you would like to see? (Example in a website) For any suggestions

please input below

Figure 4.1.12
(Question No.12 Result)

RECOMMENDATIONS

Based on the findings and sufficient result that garnered from the study, the

proponents highly recommend the execution of Patient Tracker Management System for

Navales Dental Clinic. The use of Patient Tracker Management System would allow them

to cover a large range of data that will be stored into their computer database that it allows

them to electronically keep records, saving and updating their customer’s information that

is why the implementation of the system is highly recommended. The system will eliminate

the burden of manual method and significantly increase the response time of the clinic.
The proponents specifically list down the following recommendations:

1. The proponents highly recommend that Navales Dental Clinic should install the

Patient Tracker System to utilize the collecting and storing information that can be

used to track on their customer’s medication and medical appointment.

2. Upon using the system, the proponents highly suggest that the clinic; the dentist

and staff should take the proper demonstration or training to familiarize and use the

system effectively.

3. The proponents highly recommend the use of the system for it is designed to handle

information for medical purposes that is accurate, efficient and effective.

4. The proponents highly recommend that the system is friendly and easy to use.
BIBLIOGRAPHY

Farzanfar, R., Finkelstein, J., & Friedman, R. H. (2004). Testing the Usability of Two
Automated Home-Based Patient-Management Systems.
Ismanov, Z., & Ni, I. (2018). Patient information system for specialized newborn care
units in Malawi.
Madan, G., Das, C., & Sridhar, S. (2021). CODOC: COVID-19 PATIENT TRACKER.
Rathod, R. D., Deshmukh, T. S., & Sawant, A. S. (n.d.). Patient History Tracker System.
International Research Journal of Engineering and Technology (IRJET).
APPENDIX A
PROJECT PROTOTYPE
APPENDIX B
PROGRAM CODES

1 Log in
1.1 Index.php
<?php
session_start();
?>
<?php
$link =
mysqli_connect("localhost","root","12345678","patient");

?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>

<h1></h1>
</br>
</br>
</br>
</br>
</br>
</br>
</br>
</br>
<div class="container">
<div class="table-1">
<form action = "index.php" method = "post">
<img src="images/PT.png" class="logo1">
<div class="col">
<label for="Email" >Email address</label>
<input type="text" class="form-control" name =
"Username" placeholder="Enter email">
</div>
<div class="col">
<label for="Password">Password</label>
<input type="password" class="form-control" name =
"Pass" placeholder="Password">
</div></br>
<center><button class="btn btn-dark" type="submit"
name = "login" >Log in</button></center>
</form>
</div>
</div>
<?php
if (isset($_POST['login'])){
$Username = $_POST['Username'];
$Pass = $_POST['Pass'];

$select = mysqli_query($link," SELECT * FROM admin_user WHERE


Username = '$Username' AND Pass = '$Pass' ");
$row = mysqli_fetch_array($select);

if(is_array($row)) {
$_SESSION["Username"] = $row['Username'];
$_SESSION["Pass"] = $row['Pass'];
} else {
echo '<script>';
echo 'alert("Invalid Username or Password!");';
echo '</script>';
}
}
if(isset($_SESSION["Username"])){
header("Location:home.php");
}
?>

</body>
</html>

2 Dashboard
2.2 Home.php

<?php
session_start();
?>
<?php

$link = mysqli_connect("localhost", "root", "12345678",


"patient");
$count=0;
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "UFT-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/boots
trap.min.css" rel="stylesheet" integrity="sha384-
1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="style.css">
</head>

<body>

<body>
<div class="topnav">
<a class="active1" style="color:white;font-size:30px"><i
class="fa fa-user-circle" aria-hidden="true" style="font-
size:40px" ></i> <?php echo $_SESSION['Username']; ?></a>
</div>
<div class="w3-sidebar w3-bar-block" style="width:14%" >
<h3 class="w3-bar-item">Menu</h3><hr>
<a href="home.php" class="w3-bar-item btn active"><i class="fa
fa-home" aria-hidden="true"></i> Home</a>
<a href="table.php" class="w3-bar-item w3-button"><i class="fa
fa-address-card" aria-hidden="true"></i> Patient list</a>
<a href="payment.php" class="w3-bar-item w3-button"><i
class="fa fa-money" aria-hidden="true"></i> Payment</a>
<a href="logout.php" class="w3-bar-item w3-button"><i class="fa
fa-sign-out" aria-hidden="true"></i> Log out</a>
</div>

<div class ="container-xl">


<div class="panel panel-default">
<div class="panel-heading" style="font-size:45px;margin-
left:1%"><i class="fa fa-tachometer" aria-hidden="true"></i>
Dashboard</div><hr style="width:98%;margin-left:1%;margin-
top:0%;margin-bottom:1%;weight:2px;">
<div class="panel-body">
<table>
<?php
$sql = "SELECT * FROM p_list";
$result = $link->query($sql);
while($rows=mysqli_fetch_assoc($result))
{
$count++;
}
?>
<div class ="table-count">
<i class="material-icons" style="font-size:55px"
>person</i></br>
<a>Patient</a>
<div><?php echo $count;?></div>
</div>
</table>
<table>
<?php
$count_query = mysqli_query( $link, "SELECT COUNT(*) AS
total FROM payment ");
$row_count =mysqli_fetch_assoc($count_query);
$count = $row_count['total'];
?>
<div class ="table-count1">
<i class="material-icons" style="font-size:55px"
>paid</i></br>
<a>Payed</a>
<div><?php echo $count;?></div>
</div>
</div>
</div>
</div>
</table>
</div>
</body>
</html>

3. Patient List
3.1 table.php
<?php
session_start();
?>

<?php

$link = mysqli_connect("localhost", "root", "12345678",


"patient");
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "UFT-8">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-
q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/
popper.min.js" integrity="sha384-
ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootst
rap.min.js" integrity="sha384-
ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<script
src="https://cdn.datatables.net/1.11.3/js/jquery.dataTables.min.j
s"></script>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/boots
trap.min.css" rel="stylesheet" integrity="sha384-
1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet"
href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min
.css">
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="topnav">
<a class="active1" style="color:white;font-size:30px"><i
class="fa fa-user-circle" aria-hidden="true" style="font-
size:40px" ></i> <?php echo $_SESSION['Username']; ?></a>
</div>
<div class="w3-sidebar w3-bar-block" style="width:14%" >
<h3 class="w3-bar-item">Menu</h3><hr>
<a href="home.php" class="w3-bar-item w3-button"><i class="fa
fa-home" aria-hidden="true"></i> Home</a>
<a href="table.php" class="w3-bar-item btn active"><i class="fa
fa-address-card" aria-hidden="true"></i> Patient list</a>
<a href="payment.php" class="w3-bar-item w3-button"><i
class="fa fa-money" aria-hidden="true"></i> Payment</a>
<a href="logout.php" class="w3-bar-item w3-button"><i class="fa
fa-sign-out" aria-hidden="true"></i> Log out</a>
</div>

<div class="container-l">
<div class="card">
<div class="card-header" style="font-size:40px"><i class="fa
fa-address-card" aria-hidden="true"></i> Patient List</div>
<div class="card-body">
<div style="margin-left:1%;margin-top:2%"><?php include_once
'modal.php';?></div><hr style="width:98%;margin-left:1%;margin-
top:0%;margin-bottom:2%">
<table class="table table-borderless" id="myTable">
<thead class= "thead-light">
<tr>
<th scope="col">Name</th>
<th scope="col">Age</th>
<th scope="col">Gender</th>
<th scope="col">Contact</th>
<th scope="col">Address</th>
<th scope="col">Date</th>
<th scope="col">D.History</th>
<th scope="col">Operation1</th>
<th scope="col">Operation2</th>
<th scope="col">Administ</th>
<th scope="col">Update</th>
<th scope="col">Payment</th>
</thead>
</tr>
<?php
$sql = "SELECT * FROM p_list";
$result = $link->query($sql);
while($rows = mysqli_fetch_assoc($result)){
?>
<tr>

<td><?php echo $rows['Name'];


?></td>
<td><?php echo $rows['Age'];
?></td>
<td><?php echo $rows['Gender'];
?></td>
<td><?php echo $rows['Contact'];
?></td>
<td><?php echo $rows['Address'];
?></td>
<td><?php echo
$rows['Date_Consult']; ?></td>
<td><?php echo
$rows['D_history']; ?></td>
<td><?php echo $rows['Cond_1'];
?></td>
<td><?php echo $rows['Cond_2'];
?></td>
<td><?php echo
$rows['Med_Administ']; ?></td>
<td><a href="update.php?
updateid=<?php echo $rows['id']; ?>"><button class="btn btn-
primary"><i class="fa fa-pencil" aria-
hidden="true"></i></button></td>
<td><a href="print.php? sid=<?php
echo $rows['id']; ?>"><button class="btn btn-dark"><i class="fa
fa-money" aria-hidden="true"></i></button></td>
</tr>
<?php
}
?>
</div>
</div>
</div>
<script>
$(document).ready( function () {
$('#myTable').DataTable();
} );
</script>
</body>
</html>

4. Update
4.1 Update.php
<?php
session_start();
?>

<?php

$link = mysqli_connect("localhost","root","12345678","patient");

if(isset($_REQUEST["updateid"]))
{
$id =$_REQUEST ["updateid"];

$sql = mysqli_query($link, "SELECT * FROM p_list WHERE


id=$id");
$rows=mysqli_fetch_array($sql);

if(isset($_POST["update"]))
{

$name = $_POST['fname'];
$age = $_POST['age'];
$gender = $_POST['gender'];
$contact = $_POST['contact'];
$address = $_POST['address'];
$dhist = $_POST['dhistory'];
$date= $_POST['date'];
$condition1 = $_POST['condition1'];
$condition2 = $_POST['condition2'];
$admin = $_POST['administ'];
$query = "UPDATE p_list SET Name='$name', Age ='$age', Gender
='$gender', Address='$address', Contact='$contact',
Date_Consult='$date', D_history='$dhist', Med_Administ='$admin',
Cond_1='$condition1', Cond_2='$condition2' WHERE id='$id' ";
$result = mysqli_query($link, $query);
if($result){
echo "<script> alert('Updated successfully!');</script>";
echo "<script> document.location='table.php';</script>";
}else{
echo "Can't insert information $query. "
.mysqli_error($link);
}
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-
scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/boots
trap.min.css" rel="stylesheet" integrity="sha384-
1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="style.css">
</head>
<body>

<div class="topnav">
<a class="active1" style="color:white;font-size:30px"><i
class="fa fa-user-circle" aria-hidden="true" style="font-
size:40px" ></i> <?php echo $_SESSION['Username']; ?></a>
</div>
<div class="w3-sidebar w3-bar-block" style="width:14%" >
<h3 class="w3-bar-item ">Menu</h3><hr>
<a href="" class="w3-bar-item btn active"><i class="fa fa-
pencil-square-o" aria-hidden="true"></i> Update</a>
<a href="home.php" class="w3-bar-item w3-button"><i class="fa
fa-home" aria-hidden="true"></i> Home</a>
<a href="table.php" class="w3-bar-item w3-button"><i class="fa
fa-arrow-left" aria-hidden="true"></i> Back</a>
</div>

<div class ="container-xl">


<div class="card">
<div class="card-header" style="font-size:20px"><i class="fa fa-
pencil-square-o" aria-hidden="true"></i> Update Information</div>
<div class="card-body">
<table class="table table-bordered" id="myTable">

<form method = "post">


<div class="col">
<label for="Name">Name</label>
<input type="text" class="form-control" name="fname"
value="<?php echo $rows['Name']; ?>">

<div class="row">
<div class="col-4">
<label for="Age">Age</label>
<input type="text" class="form-control" name="age"
value="<?php echo $rows['Age']; ?>">
</div>
<div class="col">
<label for="Administ">Gender</label>
<input type="text" class="form-control" name="gender"
value="<?php echo $rows['Gender']; ?>">
</div>
<div class="col">
<label for="Contact">Contact</label>
<input type="text" class="form-control" name="contact"
value="<?php echo $rows['Contact']; ?>">
</div>
</div>
</div>
<div class="col">
<label for="Address">Address</label>
<input type="text" class="form-control" name="address"
value="<?php echo $rows['Address']; ?>">
</div>

<div class="col">
<label for="History">Disease History</label>
<input type="text" class="form-control" name="dhistory"
value="<?php echo $rows['D_history']; ?>">
</div>

<div class="col">
<label for="Date">Date of Consultation</label>
<input type="date" class="form-control" name="date"
value="<?php echo $rows['Date_Consult']; ?>">

<div class="row">
<div class="col-6">
<label for="Date">Operation 1</label>
<select class="form-control" name="condition1">
<option value="Normal Teeth Extraction"
<?php
if($rows['Cond_1'] =='Normal Teeth Extraction')
{
echo "Selected";
}
?>
>Normal Teeth Extraction</option>

<option value="Wisdom Teeth Extraction"


<?php
if($rows['Cond_1'] =='Wisdom Teeth Extraction')
{
echo "Selected";
}
?>>Wisdom Teeth Extration</option>

<option value="Tar-Tar Removal "


<?php
if($rows['Cond_1']=='Tar-Tar Removal')
{
echo "Selected";
}
?>>Tar-Tar Removal</option>

<option value="Pasting"
<?php
if($rows['Cond_1'] =='Pasting')
{
echo "Selected";
}
?>>Pasting</option>

<option value="Teeth Whitening "


<?php
if($rows['Cond_1'] =='Teeth Whitening')
{
echo "Selected";
}
?>>Teeth Whitening</option>

<option value="Brace Installation "


<?php
if($rows['Cond_1'] =='Brace Installation ')
{
echo "Selected";
}
?>>Brace Installation</option>
</select>
</div>

<div class="col-6">
<label for="Date">Operation 2</label>
<select class="form-control" name="condition2">
<option value="Normal Teeth Extraction"
<?php
if($rows['Cond_2'] =='Normal Teeth Extraction')
{
echo "Selected";
}
?>
>Normal Teeth Extraction</option>

<option value="Wisdom Teeth Extraction"


<?php
if($rows['Cond_2'] =='Wisdom Teeth Extraction')
{
echo "Selected";
}
?>>Wisdom Teeth Extration</option>

<option value="Tar-Tar Removal"


<?php
if($rows['Cond_2'] =='Tar-Tar Removal')
{
echo "Selected";
}
?>>Tar-Tar Removal</option>

<option value="Pasting"
<?php
if($rows['Cond_2'] =='Pasting')
{
echo "Selected";
}
?>>Pasting</option>

<option value="Teeth Whitening "


<?php
if($rows['Cond_2'] =='Teeth Whitening')
{
echo "Selected";
}
?>>Teeth Whitening</option>

<option value="Brace Installation"


<?php
if($rows['Cond_2'] =='Brace Installation ')
{
echo "Selected";
}
?>>Brace Installation</option>

<option value="None"
<?php
if($rows['Cond_2'] =='None ')
{
echo "Selected";
}
?>>None</option>
</select>
</div>
</div>
</div>

<div class="col">
<label for="Administ">Administ</label>
<select class="form-control" name="administ" value="<?php
echo $rows['Med_Administ']; ?>">
<option value="Dr.Liza Navales">Dr. Liza Navales</option>
</select>
</div>
</div>

<center><button type="submit" name="update" class="btn btn-


success">Update</button>
</form>
<a href="table.php"><button type="submit" class="btn btn-
dark">cancel</button></center>
</div>

</body>
</html>

5. Payment Price
5.1 Print.php
<?php
session_start();
?>

<?php
$link = mysqli_connect("localhost","root","12345678","patient");

if(isset($_POST['insert']))
{
$sid =$_GET ['sid'];

$total=0;
$name = $_POST['fname'];
$address = $_POST['address'];
$date= $_POST['date'];
$cond = $_POST['condition'];
$condd = $_POST['condition1'];
$opp1 = $_POST['operation'];
$opp2 = $_POST['operation2'];

$sql = "INSERT INTO payment (`Name`, `Address`,


`Date`, `Opeartion1`, `Operation2`, `Op1_price`, 'Op2_price')
VALUES ('$name', '$address', '$date', '$cond', '$condd', '$opp1',
'$opp2')";
if($sql){
echo "<script> alert('Updated successfully!');</script>";
echo "<script> document.location='table.php';</script>";
}else{
echo "<script>alert('Data not updated');</script>";
}

}
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-
scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/boots
trap.min.css" rel="stylesheet" integrity="sha384-
1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="style.css">
</head>
<body>

<div class="topnav">
<a class="active1" style="color:white;font-size:30px"><i
class="fa fa-user-circle" aria-hidden="true" style="font-
size:40px" ></i> <?php echo $_SESSION['Username']; ?></a>
</div>
<div class="w3-sidebar w3-bar-block" style="width:14%" >
<h3 class="w3-bar-item ">Menu</h3><hr>
<a href="" class="w3-bar-item btn active"><i class="fa fa-
credit-card" aria-hidden="true"></i> Payment</a>
<a href="home.php" class="w3-bar-item w3-button"><i class="fa
fa-home" aria-hidden="true"></i> Home</a>
<a href="table.php" class="w3-bar-item w3-button"><i class="fa
fa-arrow-left" aria-hidden="true"></i> Back</a>
</div>

<div class ="container-xl">


<div class="card">
<div class="card-header" style="font-size:20px"><i class="fa
fa-credit-card" aria-hidden="true"></i> Payment Information</div>
<div class="card-body">
<table class="table table-bordered" id="myTable">

<form action="ins.php" method = "post">


<?php
$id =$_GET ['sid'];
$sql = mysqli_query($link, "SELECT * FROM p_list
WHERE id=$id");
while($rows=mysqli_fetch_array($sql)){
?>
<div class="container">

<div class="col">
<label for="Name">Name</label>
<input type="text" class="form-control" name="fname"
value="<?php echo $rows['Name']; ?>">
</div>
<div class="col">
<label for="Address">Address</label>
<input type="text" class="form-control" name="address"
value="<?php echo $rows['Address']; ?>">
</div>

<div class="col">
<label for="Date">Date of Consultation</label>
<input type="date" class="form-control" name="date"
value="<?php echo $rows['Date_Consult']; ?>"></br>

<div class="row">
<div class="col">
<label for="Administ">Operation1</label>
<input type="text" class="form-control" name="condition"
value="<?php echo $rows['Cond_1']; ?>">
</div>
<div class="col">
<label for="Administ">Operation2</label>
<input type="text" class="form-control" name="condition1"
value="<?php echo $rows['Cond_2']; ?>">
</div>
</div>

<div class="row">
<div class="col">
<label for="Administ">Price</label>
<input type="text" class="form-control" name="operation"
value="<?php echo $rows['Op1_price']; ?>">
</div>
<div class="col">
<label for="Administ">Price</label>
<input type="text" class="form-control" name="operation2"
value="<?php echo $rows['Op2_price']; ?>">
</div>
</div>
</div>
<?php
}
?>
<center><button type="submit" name="insert" value="insert"
class="btn btn-success">Pay</button>
</form>
<a href="table.php"><button type="submit" class="btn btn-
dark">cancel</button></center>
</div>

</body>
</html>

6. Payment Table
6.1 payment.php
<?php
session_start();
?>

<?php
$link = mysqli_connect("localhost", "root", "12345678",
"patient");
?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset = "UFT-8">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstr
ap.min.css" integrity="sha384-
Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/boots
trap.min.css" rel="stylesheet" integrity="sha384-
1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-
awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="topnav">
<a class="active1" style="color:white;font-size:30px"><i
class="fa fa-user-circle" aria-hidden="true" style="font-
size:40px" ></i> <?php echo $_SESSION['Username']; ?></a>
</div>
<div class="w3-sidebar w3-bar-block" style="width:14%" >
<h3 class="w3-bar-item">Menu</h3><hr>
<a href="home.php" class="w3-bar-item w3-button"><i class="fa
fa-home" aria-hidden="true"></i> Home</a>
<a href="table.php" class="w3-bar-item w3-button"><i class="fa
fa-address-card" aria-hidden="true"></i> Patient list</a>
<a href="payment.php" class="w3-bar-item btn active"><i
class="fa fa-money" aria-hidden="true"></i> Payment</a>
<a href="logout.php" class="w3-bar-item w3-button"><i class="fa
fa-sign-out" aria-hidden="true"></i> Log out</a>
</div>

<div class ="container-xl">


<div class="card">
<div class="card-header" style="font-size:40px;margin-
bottom:2%"><i class="fa fa-credit-card" aria-hidden="true"></i>
Payment List</div>
<div class="card-body">
<table class="table table-bordered" id="myTable" >
<thead class="thead-light">
<tr>
<th scope="col">Name</th>
<th scope="col">Address</th>
<th scope="col">Date</th>
<th scope="col">Operation1</th>
<th scope="col">Operation2</th>
<th scope="col">Price1</th>
<th scope="col">Price2</th>
<th scope="col">Delete</th>
<th scope="col">Print</th>
</thead>
</tr>
<?php
$sql = "SELECT * FROM payment";
$result = $link->query($sql);
while($rows=mysqli_fetch_assoc($result)){
?>
<tr>
<td><?php echo $rows['Name'];
?></td>
<td><?php echo $rows['Address'];
?></td>
<td><?php echo $rows['Date'];
?></td>
<td><?php echo
$rows['Opeartion1']; ?></td>
<td><?php echo
$rows['Operation2']; ?></td>
<td><?php echo
$rows['Op1_price']; ?></td>
<td><?php echo
$rows['Op2_price']; ?></td>
<td><a href="delete.php?
tid=<?php echo $rows['id']; ?>"><button class="btn btn-danger"><i
class="fa fa-trash" aria-hidden="true"></i></button></td>
<td><a href="receipt.php?
pid=<?php echo $rows['id']; ?>"><button class="btn btn-dark"><i
class="fa fa-print" aria-hidden="true"></i> </button></td>
</tr>
<?php
}
?>

</div>
</div>
</div>
</body>
</html>

7. Receipt
7.1 receipt.php

<?php

include ('db.php');

$id = $_GET['pid'];

$sql ="SELECT * FROM payment where id = '$id' ";


$result = mysqli_query($link,$sql);
while($rows=mysqli_fetch_array($result))
{

$total=0;
$name = $_POST['fname'];
$address = $_POST['address'];
$date= $_POST['date'];
$cond = $_POST['condition'];
$condd = $_POST['condition1'];
$opp1 = $_POST['operation'];
$opp2 = $_POST['operation2'];

$total = $total + $row['opp1'] + $row['opp2'];

?>

<header>
<h1>Patient Receipt</h1>
<address >
<p>NAVALES, DENTAL CLINIC,</p>
<p>labuan- limpapa national
road,<br>Sinunuc, Pitogo<br>Zamboanga City.</p>
</address>
</header>
<article>
<h1></h1>
<address >

<p><br></p>
<p>Patient Name : <?php echo
$rows['Name'];?><br></p>
</address>
<table class="meta">
<tr>
<th>Date of Consultation</th>
<td><span ><?php echo $rows['Date'];?>
</span></td>
</tr>
</table>
<br>
<br>
<table class="inventory">
<thead>
<tr>
<th><span >Operation</span></th>
<th><span >Price </span></th>
</tr>
</thead>
<tbody>
<tr>
<td><span ><?php echo
$rows['Opeartion1']; ?></span></td>
<td><span ><?php echo
$rows['Op1_price']; ?> </span></td>
</tr>
<tr>
<td><span ><?php echo
$rows['Operation2']; ?></span></td>
<td><span ><?php echo
$rows['Op2_price'];?></span></td>
</tr>
</tbody>
</table>
<table class="balance">
<tr>
<th><span >Total</span></th>
<td><span data-
prefix>₱</span><span><?php echo $rows['Total']; ?></span></td>
</tr>
</table>
</article>
</body>
</html>

<?php

?>

8. Database Connection
8.1 db.php
<?php

$link = mysqli_connect("localhost","root","12345678","patient");

?>
APPENDIX C
Survey Questionnaires

 What responsibility do you have as a medical practitioner?

 Do you own or working in a clinic?

 Based on your own experience what kind of method that is reliable for storing

your data and information?

 Are you familiar with technology?

 Does your clinic or workplace use computers or any technology?

 What method do you use in collecting and storing of information at your work?

 Do you agree that computers, laptops and other technology conveniently help us

in our work? (Such as collecting and storing information)

 Do you have knowledge about computer system? (For example a reservation

system that books an appointment)

 Does your company or workplace use system for collecting or recording and

storing information?

 In a consultation to your patients what kind of information do you take from

them?

 How likely are you to have a system for tracking a patient for its medical

consultation and needs? (This include storing their information and other medical

needs to your computers)

 If having a system that stores information of your patients what kind of output or

display that you would like to see? (Example in a website) For any suggestions

please input below.


PROOF OF IMPLEMENTATION
APPENDIX D
CURRICULUM VITEA

RACHELL Q. ACULBE
Phone: 09653843966
Email: rachellaculbe11@gmail.com
Address: Navarro San Jose, Cawa-Cawa Zamboanga City,
Philippines
Birthday: December 12, 1991

TECHNICAL SKILLS
 Microsoft Office (MS Word, Power Point)
 Computer Troubleshooting
 Networking Troubleshooting

PERSONAL SKILLS
 Critical Thinking
 Communication
 Creativity

EDUCATION

Tertiary Bachelor of Science in Information Technology


Zamboanga Peninsula Polytechnic State University (Ongoing)

Secondary Zamboanga Del Norte National High School (2005-2009)

Primary Dohinob Elementary School (1999-2005)

ACHIEVEMENTS / RESPONSIBILITIES
 N/A

ROLE
 System Analyst
ROMACLAIRE E. BAGAYAS
Phone: 09657363452
Email: Klengkleng.rc3@gmail.com
Address: Calle Lourdes, Purok 1 Malagutay. Zamboanga City,
Philippines
Birthday: July 20, 2000

TECHNICAL SKILLS
 Microsoft Office (MS Word, Power Point)

PERSONAL SKILLS
 Creativity
 Flexibility
 Communication

EDUCATION

Tertiary Bachelor of Science in Information Technology


Zamboanga Peninsula Polytechnic State University (Ongoing)

Senior Baliwasan Senior National High School (2017-2019)

Secondary Zamboanga National High School West (2012-2017)

Primary Malagutay Elementary School (2006-2012)

ACHIEVEMENTS / RESPONSIBILITIES
 Honor Student in Senior High School

ROLE
 Quality Assurance
JOHN MARC B. GALLARDO
Phone: 09398483039
Email: Johnjohnmarc03@gmail.com
Address: Sinunuc, Uchai Subd. Zamboanga City, Philippines
Birthday: May 05, 2001

TECHNICAL SKILLS
 Hardware Troubleshooting
 Microsoft Office (MS Word, Power Point)
 Corel Draw

PERSONAL SKILLS
 Self-management
 Learning/adaptability
 Teamwork
 Communication

EDUCATION

Tertiary Bachelor of Science in Information Technology


Zamboanga Peninsula Polytechnic State University (Ongoing)

Senior Baliwasan Senior National High School (2017-2019)

Secondary Sinunuc National High School (2012-2017)

Primary Sinunuc Elementary School (2006-2012)

ACHIEVEMENTS / RESPONSIBILITIES
 Outstanding Performance in TLE: CHS (Secondary)
 Outstanding Performance in TVL: CSS (Senior)
 Consistent Honor Student in Senior High School

ROLE
 System Programmer
EDWIN L. MANILA
Phone: 09559735299
Email: manilaedwin@gmail.com
Address: Recodo, Zamboanga City, Philippines
Birthday: August 27, 1994

TECHNICAL SKILLS
 Microsoft Office (MS Word, Power Point)
 Programming (PHP, MySQL, HTML)
 PC Troubleshooting

PERSONAL SKILLS
 Teamwork
 Critical Thinking
 Communication
 Time Management
 Creativity

EDUCATION

Tertiary Bachelor of Science in Information Technology


Zamboanga Peninsula Polytechnic State University (Ongoing)

Secondary Ayala National High School (2015-2018)

Primary Simbalan Elementary School (2002-2008)

ACHIEVEMENTS / RESPONSIBILITIES
 Consistent Honor Student in Elementary

ROLE
 Project Manager
NIMFA P. VILLACAMPA
Phone: 09271147646
Email: nimfavillacampa9@gmail.com
Address: 441 Brillantes Compound, Sta Maria
Zamboanga City, Philippines
Birthday: July 20, 1987

TECHNICAL SKILLS
 Microsoft Office (MS Word, Power Point)

PERSONAL SKILLS
 Problem Solving
 Leadership
 Creativity
 Provide safety and compassionate care
 Follow direction with minimal supervision

EDUCATION

Tertiary Bachelor of Science in Information Technology


Zamboanga Peninsula Polytechnic State University (Ongoing)

Secondary Zamboanga National High School West (2006-2009)

Primary Southcom Elementary School (2001-2006)

ACHIEVEMENTS / RESPONSIBILITIES
 Mother and a loving Wife

ROLE
 Junior Analyst

You might also like