Chapter Four

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

CHAPTER FOUR

CODING AND TESTING


4.1 Introduction
In this chapter, it is where all the coding is done including screenshots of samples
interfaces. This chapter presents the result of the Medical imaging booking system
and a description of the results obtained. It refers to the manner in which new
system files are created, as well as their data flow diagram, database structure, and
list of all parameters or input variables that will be utilized in the new system. This
section also covers the result of the database, implementation of the frontend and
the back-end.

4.2 Sample Interfaces


Sample interfaces in the context of a medical imaging booking system refer to
visual representations or mockups that showcase the design and layout of the
system's various screens or pages. These interfaces are not functional applications
but rather static images or designs that illustrate how the actual user interface might
look and feel.

1
4.2.1 Home Page
This is the main website from here the patient checks out on the imaging
services, They login, scroll down and book an imaging service. Its primary
purpose is to provide an inviting and user-friendly interface that
encourages users to explore book for appointments efficiently.

Figure 1 home page

2
4.2.2 Sign Up Page

Signup page

This is where the patient registers and sign up to access the web and book for a service.

Figure 2, Sign Up Page

3
4.2.3 Login Page for patient, imaging doctor and Receptionist/Admin
This is where the patient can login and access imaging booking services and its where
also the admin or receptionist can login and manages the booking services.

Figure 3,Login Page

4.2.4 Booking Page

4
This is where the patient sees the available imaging services options and choose the
service he/she wants.

Figure 4patient page

4.2.6 Receptionist/Admin Page

Admin is able to schedule imaging services as per the doctor availability.

Figure 5 admin page

5
Imaging
Figure 6admin page2 doctor page.

The imaging doctor is able to view his appointments.

Figure 7 imaging doctors page

4.3 TESTING
System testing it is a process of evaluating the system as a whole to ensure that it meets its
specified requirements and functions as intended. The primary goal of system testing is to
identify and fix defects, ensure that all components work together seamlessly, and validate that
the system is ready for deployment.

6
4.3.1 Types of system testing
 Functional Testing: This type of testing focuses on verifying that all the system's
functionalities work correctly. It involves testing individual features and their interactions
with each other to ensure they perform as expected.
 Integration Testing: Integration testing evaluates the interaction between different
modules or components of the food ordering system to ensure they work together
harmoniously. It checks for proper data flow and communication between various parts
of the system.
 User Interface (UI) Testing: UI testing assesses the visual elements and user
interactions within the system. It ensures that the interface is user-friendly, intuitive, and
follows design guidelines. UI testing also verifies that the system is responsive and
accessible across different devices and screen sizes.
 Usability Testing: Usability testing is conducted to determine how user-friendly the food
ordering system is. It involves gathering feedback from real users to identify any usability
issues and improve the overall user experience.
 Performance Testing: Performance testing assesses the system's speed, responsiveness,
and stability under various conditions, such as high user loads or concurrent transactions.
It helps identify and address performance bottlenecks.
 Security Testing: Security testing evaluates the system's resilience against potential
security threats and vulnerabilities. It includes measures to protect user data, prevent
unauthorized access, and ensure secure transactions.
 Compatibility Testing: Compatibility testing ensures that the food ordering system
functions correctly across different web browsers, operating systems, and devices. It
helps verify that users can access and use the system seamlessly regardless of their
platform.

4.3.2 Test Cases


System test cases are specific scenarios or test scenarios that are designed to verify the correct
functioning of the entire medical imaging booking system as a whole. Each test case is a detailed
description of a test scenario, including the input data, expected output, and steps to execute the
test.

7
I. Test Case: User Registration

Description: Verify that users can successfully register a new account on the medical booking
system.

Steps:

 Navigate to the registration page.


 Enter valid user details (username, email, password, contact, address and password).
 Click on the "Sign Up" button.

Expected Output: User account is created, and the user is redirected to the login page.

II. Test Case: User Login

Description: Ensure that registered users can log in to the system.

Steps:

 Navigate to the login page.


 Enter valid credentials (username and password).
 Click on the "Login" button.

Expected Output: User is successfully logged in and redirected to the homepage.

III. Test Case: imaging services Display

Description: Verify that the system displays the available slots with various imaging services.

Steps:

 Navigate to the search page.


 Check if the imaging services displayed correctly.

Expected Output: The menu has accurately scheduled imaging services.

IV. Test Case: book an appointment

8
Description: Verify that users can proceed to checkout and book their and book their
appointment.

Steps:

 Go to the search page.


 Review the imaging service and click on the "BOOK" button.

Expected Output: Appointment successfully booked.

4.3.3 Test Reports


Web based medical imaging booking system - System Test Report

4.3.3.1 Introduction
The medical imaging booking system is a web-based application designed to facilitate the
booking of medical imaging services. The system allows patient to navigate on the search
menu ,search for their desired imaging test, Book an appointment as scheduled , and track
their appointment history status.

4.3.3.2 Test Objectives


Validate the functionality of the entire imaging booking system.

Verify the accuracy of the booking process.

Assess system performance under various load conditions.

Identify and report defects for resolution.

4.3.3.3 Test Environment


Operating System: Windows 10

Web Browsers: Google Chrome, Mozilla Firefox, Microsoft Edge

Database: MySQL 5.7

Programming Languages: PHP, JavaScript, HTML, CSS

9
4.3.3.4 Test Plan
Test cases were designed to cover different aspects of the imaging booking process,
including user registration, Imaging services display, booking placement and processing.

4.3.3.5 Test Execution Summary


Total Test Cases: 3

Passed: 3

Failed: 0

Blocked: 0

4.3.3.6 Defect Summary


Two defects were identified during testing:

Issue: Incorrect order total calculation

Severity: High

Priority: Medium

Status: Open

Steps to Reproduce: (Steps to reproduce the defect)

Issue: Unable to add an item to the cart

Severity: Medium

Priority: High

Status: Open

Steps to Reproduce: (Steps to reproduce the defect)

10
4.3.3.7 Test Coverage
The test cases covered all major features and functionalities of the medical imaging
booking system, including user management, menu browsing, booking placement, and
order tracking.

4.3.3.8 Test Results and Observations


The system performed well in most test scenarios, with successful booking placements
and accurate menu display.

During performance testing, the system response time was acceptable under normal user
loads.

4.3.3.9 Risk Assessment


The high-severity defects pose a risk to the system's usability and could impact user
experience.

4.3.3.10 Conclusions
The majority of test cases passed successfully, indicating that the system is stable and
functioning as expected in most scenarios.

The two identified defects require immediate attention to ensure a smooth user
experience.

11
4.4 Project Appraisal
4.4.1 Introduction
The medical imaging booking system is a web-based platform that enables patients to search for
their imaging services and book an appointment on their desired time. This project appraisal
evaluates the feasibility and potential of developing a food ordering system to meet the growing
demand for online food services.

4.4.2 Strengths
 Convenience: The medical imaging booking system offers convenience to patients by
providing a user-friendly interface and enabling them to book appointments from the
comfort of their homes or offices.
 Increased Revenue: The clinic can benefit from the system by reaching a broader
customer base, increasing bookings frequency, and optimizing their operations for higher
efficiency.
 Real-time Tracking: Implementing real-time order tracking enhances patient’s
satisfaction by keeping them informed about the status of their appointments.

12
4.5 Conclusions
The medical imaging booking system presents a promising solution to meet the increasing
demand for online of services , offering convenience and efficiency to both patients and the
clinic. Throughout the project appraisal, it became evident that the system holds substantial
potential in the market, given its user-friendly interface and real-time appointment booking
tracking capabilities. The positive feedback received during unit testing reinforces the system's
technical robustness and functionality.

The seamless user experience and streamlined payment process contribute to enhanced customer
satisfaction, making it a desirable platform for patients to book for imaging services with ease.
Additionally, the system provides clinics with a valuable opportunity to reach a wider customer
base and optimize their operations, leading to potential revenue growth and increased efficiency.

Recommendations for Further Development


 Enhanced User Experience: Continuous efforts should be made to refine the user
interface and experience. Implementing features such as order history, saved addresses,
and personalized recommendations will create a more engaging and personalized
interaction for patients, leading to improved retention and loyalty.
 Feedback Mechanism: Introducing an in-feature feedback mechanism will encourage
customers to share their opinions and suggestions. Addressing customer feedback
promptly will foster a sense of trust and demonstrate a commitment to continuous
improvement.

By focusing on these recommendations, the medical imaging booking system can solidify its
position as a leading platform for online booking, ensuring continued success and growth in a
competitive market landscape. Ongoing improvements, user-centric enhancements, and strategic
partnerships will be key to the system's sustained success and widespread adoption among
patients and clinics alike.

Appendices
i) Appendix: Budget

Table 1.Budget and Budget Justifications

ITEM QUANTITY SPECIFICATION COST TOTAL COST


13
(KSH) (KSH)
Computer 1 minimum SSD of 2500 25000
500GB and a Ram 0
of 4GB.
External 1 FLASH DISK 56 200 2000
storage GB AND ABOVE 0
Transport - 3 DAYS 250 250
cost

TOTAL 27,250

ii) Appendix: Time Plan

ACTIVITIES DURATIO EXPECTE EXPECTE ACTUAL ACTUA DELIVERABL


N D D ENDING START L E
IN HOURS STARTING DATE DATE ENDING
DATE DATE
Problem 12 HOURS 2ND JUNE 5TH JUNE 3RD JUNE 4TH JUNE Done
Identification 2023 2023 2023
Proposal 48 HOURS 5TH JUNE 8TH JUNE 5TH 7TH JUNE Done
Writing JUNE202 2023
3
Data 84 HOURS 17TH JUNE 29th June 30TH June 31TH June Done
Collection
Data Analysis 108 HOURS 1ST JULY 6th July 10th July 15th July Done
2023
Coding and 108 HOURS 17TH JULY 18TH JULY 19TH 25TH
Done
Testing JULY JULY

14
Documentatio 72 HOURS 29TH JULY 30TH
JULY 30TH
JULY 31TH
Done
n JULY

iii) Gannt Chart

Gannt Chart

Task Name Week Week Week Week Week Week Week 14


1- 2 3-4 5-6 7-8 9-11 12-13
Problem
identification
Proposal
writing
Data collection

Data analysis

Coding and
testing
Documentation

15
iv) Appendix: Use Manual

Welcome to the Medical imaging booking system! This user manual will guide you
through the process of using our platform to book an imaging service

Table of Contents
Introduction
1.1 Purpose of the System
1.2 Key Features
1.3 User Roles
Getting Started
2.1 Creating an Account
2.2 Logging In
Patients Guide
3.1 Browsing for preferred imaging service.
3.2 Booking an appointment.
3.3 Managing Your appointments.
Imaging doctor Owner Guide
4.1 Managing appointments.
4.2 Handling sessions
Administrator Guide
5.1 Managing patients.
5.2 Monitoring System Activities
5.3 Handling patients’ appointments.

Troubleshooting and FAQs


6.1 Common Issues and Solutions
6.2 Frequently Asked Questions

Appendix
7.1 Glossary
7.2 Contact Information
16
1. Introduction:

1.1User Roles
Patient: login and views preferred imaging test and books for the appointment.

Imaging doctor: The manages and view his appointments.

Administrator: The system administrator who oversees user management, system activities, and
customer support.

2. Getting Started
2.1 Creating an Account
Patients: To create an account, click on the "Sign Up" or "Register" button and fill in
your details, including name, email, and password.
Imaging Doctor: Click on "Register Your Restaurant" and provide necessary information
about your establishment.
Administrators: System administrators will receive credentials from the system
administrator.

2.2 Logging In

Patients and the imaging doctor: Enter your email and password to log in.

Administrators: Use the provided credentials to access the admin dashboard.

3. Patients Guide
3.1 searching menu
3.2 Booking an appointment.
Select imaging service: Choose the desired test I from the menu.
Review appointment: Verify your appointment, proceed to checkout.

3.3 Manage appointments.


Booking History: View your past booking appointments.
Booking Tracking: Track the status of your current appointments.
17
4.1 imaging Guide
4.2 Managing appointments
Views appointments and cancels due date and overbooked sessions.

5. Administrator Guide

5.1 Managing Users and Roles

User Management: Add, modify, or delete user accounts and assign roles (Patient,
imaging doctor, administrator).
5.2 Monitoring System Activities
Monitor System: Oversee system activities, identify issues, and perform necessary
maintenance tasks.
5.3 Handling Customer Support
Customer Support: Assist patients and imaging doctor with any queries or issues they
may encounter.
6. Appendix
6.1 Glossary: Provides definitions of key terms used in the system
6.2 Contact Information: Lists contact details for customer support
i. Appendix: Sample code
System Setting Up code in PHP

18
Figure 8, Sample Code

Figure 9, Sample Code 2

19
Figure 10, Sample code 3

Figure 11,Sample code4

20
Figure 12, sample code 5

21
Figure 13, Sample code 7

22
Figure 14, Sample code 7

23

You might also like