0% found this document useful (0 votes)
28 views48 pages

Report 1

The document describes a medical report organizer system that allows doctors to access patient reports by entering the patient's ID number. The updated system incorporates advanced capabilities like result comparison, keyword extraction from PDFs, and color differentiation to highlight variations in medical parameters. It aims to streamline storage, retrieval, and analysis of medical reports through cutting-edge technologies.

Uploaded by

ZERO H
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views48 pages

Report 1

The document describes a medical report organizer system that allows doctors to access patient reports by entering the patient's ID number. The updated system incorporates advanced capabilities like result comparison, keyword extraction from PDFs, and color differentiation to highlight variations in medical parameters. It aims to streamline storage, retrieval, and analysis of medical reports through cutting-edge technologies.

Uploaded by

ZERO H
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

Mini Project report on

“MEDICAL REPORT ORGANIZER”


A mini project dissertation submitted in partial fulfilment of the requirement for the award of
degree

MASTER OF COMPUTER APPLICATIONS

by
Harika C H
1BY22MC018

Under the Guidance of


Dr. P Ganesh
Professor
Department of MCA
BMSIT&M
Bengaluru-560064

Department of Master of Computer Applications


BMS Institute of Technology and Management
(An Autonomous Institution, Affiliated to VTU, Belagavi)

Bengaluru – 560064

MARCH-2024
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(An Autonomous Institution, Affiliated to VTU, Belagavi)

Bengaluru – 560064
MARCH-2024

Department of MCA
(Accredited by NBA, New Delhi)

CERTIFICATE

This is to certify that Ms. Harika C H bearing USN 1BY22MC018 has


successfully completed the VTU prescribed Mini Project Work – II
(22MCA307) titled Medical Report Organizer at Department of MCA, BMS
Institute of Technology and Management, Bengaluru under the guidance of
Dr. P Ganesh, Professor, Department of MCA during the period from
DECEMBER 2023 to MARCH 2024.

Signature of the Guide Signature of HoD


Dr. Ganesh P Dr. M.Sridevi
Professor Assistant Professor & Head
Department of MCA Department of MCA
BMSIT&M BMSIT&M
Bengaluru. Bengaluru
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(An Autonomous Institution, Affiliated to VTU, Belagavi)

Bengaluru – 560064
Department of MCA

VISION
To develop quality professionals in Computer Applications who can provide
sustainable solutions to the societal and industrial needs.

MISSION
Facilitate effective learning environment through quality education, state-of-the-art
facilities, and orientation towards research and entrepreneurial skills.

Programme Educational Objectives (PEOs)

PEO 1: Develop innovative IT applications to meet industrial and societal needs.

PEO 2: Adapt themselves to changing IT requirements through life-long learning.

PEO 3: Exhibit leadership skills and advance in their chosen career.


BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(An Autonomous Institution, Affiliated to VTU, Belagavi)
Bengaluru – 560064
Department of MCA

Programme Outcomes (POs)

PO 1: Apply knowledge of computing fundamentals, computing specialization,


mathematics and domain knowledge to provide IT solutions.

PO 2: Identify, analyse and solve IT problems using fundamental principles of


mathematics and computing sciences.

PO 3: Design, Develop and evaluate software solutions to meet societal and


environmental concerns.

PO 4: Conduct investigations of complex problems using research-based knowledge


and methods to provide valid conclusions.
PO 5: Select and apply appropriate techniques and modern tools for complex
computing activities.

PO 6: Understand professional ethics, cyber regulations and responsibilities.


PO 7: Involve in life-long learning for continual development as an IT professional.
PO 8: Apply and demonstrate computing and management principles to manage
projects in multidisciplinary environments by involving in different roles.
PO 9: Comprehend & write effective reports and make quality presentations.
PO 10: Understand the impact of IT solutions on socio-environmental issues.
PO 11: Work collaboratively as a member or leader in multidisciplinary teams.
PO 12: Identify potential business opportunities and innovate to create value for the
society and seize that opportunity.
BMS INSTITUTE OF TECHNOLOGY AND MANAGEMENT
(An Autonomous Institution, Affiliated to VTU, Belagavi)
Bengaluru – 560064
Department of MCA

Course Outcomes (COs)

CO 1: Analyse the given requirements.

CO 2: Design a suitable system model.

CO 3: Develop the solution using appropriate tools.

CO 4: Prepare effective documentation.

CO 5: Involve in team work.


ABSTRACT

In the the rapidly advancing domain of healthcare, effective management of medical records
is indispensable. Our project, the "Medical Report Organizer," builds upon the foundations of
our previous work where medical reports are accessed by entering the Aadhar number to
introduce innovative features aimed at revolutionizing the way medical information is
handled.

This updated system integrates cutting-edge technologies to further streamline the storage,
retrieval, and analysis of medical reports. Beyond the conventional functionalities, it now
incorporates advanced capabilities such as result comparison and keyword extraction from
uploaded PDFs.

Doctors have the ability to access patient reports by simply entering the patient's Aadhar
number, eliminating the need for manual retrieval and reducing administrative overhead.
Admins possess comprehensive oversight, with the ability to manage users, monitor system
activity, and access all records.

By facilitating result comparison, medical professionals can swiftly identify trends and
deviations in patients' health metrics, enabling informed decision-making and personalized
treatment plans. The integration of keyword extraction automates the process of organizing
information, enhancing efficiency and accuracy in record management.

Moreover, our system employs color differentiation to visually highlight variations in


medical parameters, aiding in the rapid interpretation of data. This feature not only enhances
accessibility but also promotes better comprehension of complex medical information for
both healthcare providers and patients.

Keywords: Medical records, Data analysis, Healthcare innovation, Personalized treatment.


TABLE OF CONTENTS

Page No.
1. INTRODUCTION 01
1.1. Project Description 01
2. LITERATURE SURVEY 02
2.1. Existing System 03
2.2. Proposed System 04
2.3. Tools and Technologies used 05
2.4. System Study 06
2.4.1. Feasibility 06
2.4.2. Technical Feasibility 06
2.4.3. Operational Feasibility 06
2.4.4. Economic Feasibility 06
2.5. System Requirements 07
2.5.1. Hardware Requirements 07
2.5.2. Software Requirements 07
3. SOFTWARE REQUIREMENTS SPECIFICATION 08
3.1. Functional Requirements 08
3.2. Non-Functional Requirements 09
4. SYSTEM DESIGN 10
4.1. System Architecture 10
4.2. Context Diagram 11
5. DETAILED DESIGN 12
5.1. Use Case Diagram 12
5.2. Class Diagram 13
5.3. Activity Diagram 15
5.4. Sequence Diagram 17
6. IMPLEMENTATION 19
6.1. Snippet Code 19
TABLE OF CONTENTS
ABSTRACT
6.2 Screenshots 27
7. SOFTWARE TESTING 29
7.1. System Testing 29
7.2. Test Cases 31
8. CONCLUSION 32
9. FUTURE ENHANCEMENTS 33
10. BIBLIOGRAPHY 34
APPENDIX: PLAGIARISM REPORT 35
LIST OF FIGURES

SLNO PARTICULARS PAGE


NO
1 System Architecture 10

2 Context Diagram 11

3 Use Case Diagram 13

4 Class Diagram 15

5 Doctor’s Activity Diagram 16

6 Diagnostician’s Activity Diagram 16

7 Patient’s Activity Diagram 17

8 Sequence Diagram 18

9 Login Page 27

10 Diagnostician Uploading Patient Report 27

11 Patient’s Profile 28

12 Past Reports of Patient 28

13 Doctor opening Patient’s Reports 28


LIST OF TABLES

PAGE
SLNO PARTICULARS NO

1 Functional Requirements of the project 8

2 Non-Functional Requirements of the project 9

3 Test Cases of the final results obtained 31


Medical Report Organizer Department of MCA

1. INTRODUCTION

1.1 Project Description

In our continued pursuit of innovation in healthcare record management, we present


the evolved version of our project, the "Medical Report Organizer." Building upon
the success of our initial implementation, this enhanced system introduces ground-
breaking features aimed at further optimizing the management and utilization of
medical records.
In response to the evolving needs of the healthcare landscape, we have integrated
advanced functionalities to provide a more comprehensive solution. One of the key
enhancements is the introduction of result comparison capability, allowing medical
professionals to analyze trends and deviations in patients' health metrics with
unprecedented ease and precision. This empowers healthcare providers to make
data-driven decisions and deliver personalized care effectively.
Additionally, our system now includes automated keyword extraction from
uploaded PDFs, revolutionizing the process of organizing and categorizing medical
information. By automatically identifying and tagging relevant keywords, we
streamline record management, ensuring that pertinent data is readily accessible
when needed.
To further enhance usability and comprehension, we have introduced colour
differentiation for highlighting variations in medical parameters. This visual
representation facilitates rapid interpretation of complex data, enabling both
healthcare professionals and patients to grasp crucial insights at a glance.
While our focus remains on empowering patients and healthcare professionals with
efficient access to medical records, these new features underscore our commitment
to staying at the forefront of technological innovation in healthcare. By leveraging
advanced technologies and user-centric design principles, the "Medical Report
Organizer" promises to redefine the standards of healthcare record management,
driving improvements in patient care, operational efficiency, and overall healthcare
outcomes.

1
Medical Report Organizer Department of MCA

2. LITERATURE SURVEY

Paper Title: "Automated Data Management for Healthcare Using Machine Learning"

Methodology Followed:
The methodology employed in this research involves the development of two Android
applications for healthcare data management. The applications are designed to serve both
doctors and patients and are created using Android Studio, a popular integrated development
environment for Android app development.

Techniques Used:
The paper mentions several techniques and technologies that are utilized in the development
of the Android applications:
1. QR Code Scanner: The applications incorporate a QR code scanner feature. This
functionality allows users to scan QR codes, which can be used to access specific patient
records or documents.
2. QR Code Generator: In addition to scanning QR codes, the system also includes a QR
code generation feature. This feature may be used to generate QR codes for various
purposes, such as linking to patient information.
3. Google Firebase: Google Firebase is mentioned as one of the technologies used. Firebase
is a popular mobile and web application development platform. It offers features like real-
time database, authentication, and cloud storage, which can be leveraged for storing and
managing healthcare data securely.

Conclusion:
The research paper concludes that by developing two Android applications for doctors and
patients and integrating technologies such as QR code scanning, QR code generation,
Google Firebase, and machine learning, the project achieved the following outcomes:

2
Medical Report Organizer Department of MCA

2.1 Existing System

• Digitalized Records: The system transitioned patient medical records


from paper-based to digital format. Each patient had an electronic file
containing medical documents like test results, diagnostic reports,
prescriptions, and medical histories.

• Basic Data Accessibility: Accessing patient records was facilitated


through digital means but still required manual retrieval within the
system. Users typically searched for patient records using identifiers
such as patient names or unique identification numbers.

• Remote Accessibility: While records were stored digitally, remote


access capabilities were limited. Users could access records only
through the system's interface, which was typically accessible within
the healthcare institution's network.

• Limited Interactivity: Patients had some level of access to their medical


records through the system interface, but functionalities were basic.
They could view reports and documents but had limited options for
interaction or engagement with their data.

• Moderate Administrative Overhead: While the transition to digital


records reduced some administrative burdens associated with paper-
based systems, there were still tasks involved in managing digital
records within the system. Administrative staff spent time organizing
and updating records, though to a lesser extent compared to manual
systems.

3
Medical Report Organizer Department of MCA

2.2 Proposed System

The "Medical Report Organizer", represents a significant evolution from the


existing digitalized system, incorporating advanced features and
functionalities to further optimize medical record management. The
proposed system aims to address the limitations of the previous version
while introducing innovative capabilities to enhance efficiency,
accessibility, and data analysis. Key aspects of the proposed system include:
 Result Comparison Feature: The updated system introduces a result
comparison feature, allowing medical professionals to analyse trends
and deviations in patients' health metrics over time. This feature enables
side-by-side comparison of multiple test results, facilitating data-driven
decision-making and personalized treatment planning.
 Automated Keyword Extraction: Advanced algorithms are
implemented to automatically extract keywords and key phrases from
uploaded PDF documents. This automated process categorizes and tags
relevant information, streamlining record organization and retrieval.
Users can easily search for and access specific medical data based on
extracted keywords, enhancing efficiency and accuracy.
 Visual Data Representation: The system incorporates color
differentiation to visually highlight variations in medical parameters
within reports. High, low, and normal values are visually distinguished,
allowing for quick interpretation of complex data. This visual
representation enhances accessibility and comprehension for both
healthcare professionals and patients.
 Enhanced Accessibility and Interactivity: The proposed system offers
improved remote accessibility, allowing authorized users to securely
access medical records from any location with internet connectivity.
Patients have expanded access to their own medical records, with
features for viewing, downloading, and interacting with their data.
Additionally, interactive elements such as graphs and charts provide
intuitive visualization of health trends and progress.

4
Medical Report Organizer Department of MCA

2.3 Tools and Technologies Used

PHP stands for Hypertext Preprocessor, is a widely adopted server-side


scripting language renowned for its pivotal role in web development. It is
open-source, meaning it's freely accessible, modifiable, and distributable,
and boasts a thriving global community of developers. It is distinguished by
its server-side execution, where code is processed on the webserver rather
than the client's browser. Its extensive standard library provides a plethora of
functions and modules for tasks ranging from file handling to data
encryption.

MYSQL is a widely acclaimed open-source relational database management


system (RDBMS) that plays a pivotal role in modern web applications and
data-driven systems. It has earned a reputation as a go-to choice for
managing and querying structured data. It supports various platforms and is
compatible with numerous operating systems, makingit highly versatile. It
employs a client-server architecture, where client applicationscommunicate
with the server to store, retrieve, and manipulate data. Its primary language
for interaction is SQL (Structured Query Language), which enables
developers and database administrators to create, modify, and extract data
with SQL statements.

HTML is the fundamental building block of the World Wide Web,


serving as thebackbone of virtually every web page on the internet. HTML
is a markup language that uses a system of tags to structure content, such as
text, images, links, and multimedia, within a web page.

CSS are a fundamental component of modern web development, providing a


powerful mechanism for controlling the visual presentation and layout of
web pages. It is astylesheet language that complements HTML's structural
elements by defining howcontent should be styled, formatted, and displayed
on a webpage.

5
Medical Report Organizer Department of MCA

2.4 System Study

2.4.1 Feasibility
A feasibility study plays a role, in assessing the practicality, viability and advantages
of a proposed project. In relation, to the "Online Medical Report Organizer" initiative
we have conducted a feasibility study to evaluate its economic, operational and
schedule-related aspects.

2.4.2 Technical Feasibility


Determining the feasibility of the project involves assessing the technology stack
needed for feature extraction and analyzing Android applications. It is important to
ensure that all necessary tools and software are readily accessible. Additionally
evaluating the team's expertise in Android app development is crucial. Lastly, it is
essential to determine if any specific hardware requirements, such, as data storage are
necessary, for the project.

2.4.3 Operational Feasibility


The operational Feasibility of the project is to make sure that you have a team of
analysts and developers who will be available, throughout the project. Also, check if
you can legally and ethically obtain the datasets for Android app analysis.
Additionally assesses if the proposed framework can handle an increasing number of
Android apps and new types of malware threats, in the future.

2.4.4 Economic Feasibility


Economic Feasibility is to determine the viability of the project involves assessing
the projected expenses, for software licenses, personnel, and other necessary
resources. Additionally, it is important to estimate the return on investment by
evaluating the anticipated benefits of better report organization, such as mitigating
security risks. Identifying funding sources is also crucial including exploring options,
like government grants, private investors, or institutional support.

6
Medical Report Organizer Department of MCA

2.5 System requirements

2.5.1 Hardware Requirements

• Processor: Pentium–IV

• RAM: 4 GB (min)

• Hard Disk: 20 GB

• Key Board: Standard Windows Keyboard

• Mouse: Two or Three Button Mouse

• Monitor: SVGA

2.5.2 Software Requirements

• Software: XAMPP

• Operating System: Windows 10

• Browser: Google Chrome

• Coding Language: PHP

• Front End: HTML and CSS

• Back End: PHP

• Database: MYSQL

• Server: APACHE

7
Medical Report Organizer Department of MCA

3. SOFTWARE REQUIREMENTS SPECIFICATION

A Software Requirement Specification (SRS) is a comprehensive document that


outlines the functional and non-functional requirements of a software system, serving
as a blueprint for itsdevelopment. It defines what the software should do, how it should
behave, and the constraints it must adhere to.
3.1 Functional Requirements

Table 3.1.1 Functional Requirements of the project


Sl. Functional Description
No. Requirements
1. Data collection and Data collection involves gathering patient details
preprocessing including Aadhar numbers and medical reports, while
pre-processing includes validation, standardization, and
extraction of metadata and keywords for efficient
storage and analysis within the system.

2. Feature Extraction Feature extraction involves extracting key information


from medical reports, such as test results and diagnostic
terms, using advanced algorithms to enable efficient
categorization and analysis within the system,
enhancing data accessibility and decision-making for
healthcare professionals.
3. Searching and Filtering Searching and filtering functionalities enable users to
quickly locate specific medical records by criteria such
as patient name, report type, or date, streamlining
access to relevant information and enhancing workflow
efficiency within the system.
4. Report Viewing and Report viewing and retrieval features allow users to
Retrieval seamlessly access and review medical reports stored
within the system, providing intuitive interfaces for
navigating through reports, interpreting data, and
facilitating informed decision-making by healthcare
professionals.
5. Integration with Aadhar Integration with the Aadhar database facilitates
Database seamless user registration and authentication processes
within the system, ensuring secure and accurate
identification of patients and healthcare professionals,
thereby enhancing data integrity and user experience.

8
Medical Report Organizer Department of MCA

3.2 Non-Functional Requirements

Table 3.2.1 Non-Functional Requirements of the project


Sl.no Non-Functional Description
Requirements
1. Scalability The system should be scalable to accommodate
an increasing number of users and reports
without a significant drop in performance.

2. Reliability The system should minimize errors and data


loss, and ensure the integrity of patient data.

3. Availability The system should be available 24/7 with


minimal downtime for maintenance.

4. Security Patients’ data and reports should be protected


from unauthorized access.

5. Usability The user interfaces mush be intuitive and user


friendly, requiring minimal training for user.

6. Compatibility The user should be compatible with variety of


web browsers.

7. Response Time The system should respond to users request


within an acceptable time frame, typically in
seconds.

9
Medical Report Organizer Department of MCA

4. System Design

4.1 System Architecture

The system architecture for the "Medical Report Organizer" project is


meticulously designed to optimize healthcare record management. It follows
a modular approach, promoting scalability, maintainability, and usability.
The core architecture comprises distinct modules: User Authentication and
Management, Medical Report Upload and Retrieval, Data Security and
Compliance, User Dashboards, and Administrative Tools. These modules
work cohesively to ensure secure and efficient handling of patient data. User
authentication and management guarantee secure access control, while the
Medical Report module enables seamless report upload and retrieval. User
dashboards provide a user-friendly interface for patients, diagnosticians,
doctors, and administrators to access and manage data efficiently. The
architecture's scalability accommodates growing data volumes, making it
adaptable to evolving healthcare needs.

4.1.1 System Architecture

10
Medical Report Organizer Department of MCA

4.2 Context Diagram

The Context Diagram for the "Medical Report Organizer" project provides a
visual representation of how data flows and interacts within the system,
illustrating the key processes from data input to achieving efficient medical
record management. The process commences with Data Input, where
patient information and medical reports are either registered or uploaded.
These inputs are then directed to the Data Preprocessing stage, where data
validation, cleaning, and encryption occur to ensure data accuracy and
security. After preprocessing, data is stored securely in the Database.
A separate branch of data flow leads to the Report Retrieval process, where
Doctors can retrieve patient reports by entering the patient's Aadhar number.
The retrieved reports are then presented to the Doctors for analysis.
Additionally, a notification system generates automated notifications for
patients when new reports are uploaded or when Doctors access their
reports.

Online Medical
Report Organizer

Patient Doctor Diagnostician

User
Interface

Data Data Report

Input Pre-Processing Retrieval

4.2.1 Context Diagram

11
Medical Report Organizer Department of MCA

5. Detailed Design

5.1 Use case Diagram

The User-Side Use Case Diagram for the "Medical Report Organizer" project
outlines the interactions and functionalities between the users and the system's user
interface. At the core of this diagram is the "User Input" use case, where users
interact with the web interface to perform various tasks related to medical report
management. Users can input their Aadhar numbers, upload medical reports, view
their own reports, and search for specific reports. The system processes these
inputs, ensuring secure data handling and access. Once processed, users can
efficiently manage their medical records, access reports, and perform essential tasks
with ease.

Additionally, users can explore further functionalities provided by the system. The
"View Report History" use case enables users to access their historical medical
records and track changes over time. The "Contact Support" use case allows users
to reach out for assistance or resolve any issues they encounter while using the
system. Overall, the User-Side Use Case Diagram emphasizes user interactions and
showcases the system's user-friendly interface, designed to enhance the patient
experience and streamline healthcare processes.

The Machine-Side Use Case Diagram illustrates the system's internal processes and
functionalities. It commences with the "Load Data" use case, where the system
retrieves medical data, including patient information and reports, and stores it
securely. After data loading, the system proceeds to the "Data Preprocessing" use
case, where data validation, cleansing, and encryption occur to ensure data accuracy
and security.

12
Medical Report Organizer Department of MCA

5.1.1 Use Case Diagram

5.2 Class diagram

A Class Diagram for the "Medical Report Organizer" project would provide a
structured representation of the system's classes, their attributes, methods, and the
relationships between them. Here's a description of the key classes and their
relationships in this project:

1. User Interface Class


 Attributes: This class manages user interface elements, including patient
registrationforms, report upload interfaces, and user dashboards.
 Methods: Includes methods for user registration, report upload, report
retrieval, and userauthentication.
 Relationships: Associated with other classes like Data Validation, Report
Management,and System Controller for data flow and interaction.

13
Medical Report Organizer Department of MCA

2. Report Management Class

 Attributes: Manages the storage and retrieval of medical reports, ensuring


secure datahandling.
 Methods: Includes methods for report upload, retrieval, and categorization.
 Relationships: Collaborates with Data Validation and Data Security for
secure reportmanagement.

3. Data Security Class

 Attributes: Implements data security measures, including encryption and access


control.
 Methods: Contains methods for data encryption, user access control, and audit
logging.
 Relationships: Collaborates with Report Management for secure data storage.

4. User Dashboards Class

 Attributes: Provides user-specific dashboards for Patients, Diagnosticians,


Doctors, andAdmins.
 Methods: Includes methods for displaying patient reports, managing user
profiles, andreport searching.
 Relationships: Associated with User Interface and Report Management for
user-specificdata presentation.

In this class diagram, the classes represent the core components of the "Medical
Report Organizer" project, and their relationships illustrate how data and control
flow within the system. It provides a structured representation of the system's
architecture, aiding developers and maintainers in understanding and working on
the project.

14
Medical Report Organizer Department of MCA

5.2.1 Class Diagram

5.3 Activity Diagram


An activity diagram is a visual representation of the flow of activities or processes
within a system. In the context of the "Medical Report Organizer" project, an
activity diagram would illustrate how users and the system interact to perform
various tasks related to managing medical reports. It typically begins with a start
point and ends with an endpoint, with activities represented as rounded rectangles.
Arrows and lines connect these activities to show the sequence in which they occur.

Starting with activities like user authentication and dashboard selection based on
roles, it further details actions within each user's dashboard, such as uploading
reports, viewing, searching, and administrative tasks. The diagram employs arrows
to represent the logical sequence of actions, aiding in workflow clarification,
bottleneck identification, and ensuring system functionality in complex projects like
this medical report organizer.

15
Medical Report Organizer Department of MCA

5.3.1 Doctor activity diagram

5.3.1 Diagnostician Activity Diagram

16
Medical Report Organizer Department of MCA

5.3.1 Patient Activity Diagram

5.4 Sequence Diagram


The sequence diagram for the "Medical Report Organizer" project offers a dynamic
representation of the interactions between different actors and the system's key
components. The sequence starts with users (Admins, Doctors, Diagnosticians,
Patients) initiating the authentication process by entering their credentials. The
system validates these credentials, ensuring that users have the appropriate role-
based access.

Once authenticated, users are directed to their respective dashboards based on their
roles.Admins gain access to the Admin Dashboard, where they can manage users,
generate reports, and monitor system activity. Diagnostician users find themselves
in the Diagnostician Dashboard, allowing them to upload reports on behalf of
patients. Patients, on the other hand, interact with the Patient Dashboard, where
they can upload medical reports, view their own reports, or search for specific
reports.

17
Medical Report Organizer Department of MCA

Admins have additional privileges, including managing user accounts and


generating varioustypes of reports based on system data. They can also monitor
system activities, such as user logins, report uploads, and accesses.

The sequence diagram effectively illustrates the temporal order of actions and
the communication flow between actors (users) and system components.

Diagnosti Application Database


Doctor
Patient cian Server Server
Login request

Authentication

Upload Request
Login Request

Authentication

Upload Request

Validate Request

Validate Response

Store Report Request

Storage acknowledgment
Upload Successful

Login Request
Authentication

View Report Request


Retrieve Report Request
Display Report

Report Data

5.4.1 Sequence Diagram

18
Medical Report Organizer Department of MCA

6. IMPLEMENTATION

6.1 Snippet code

Medical Reports upload:

<?php
include('dbconnect.php');
$patint_name=$_POST['patent_name'];
$patent_adr_no=$_POST['patent_adhar'];
$email=$_POST['rep_email'];
$date=$_POST['rep_date'];
$b_preasure=$_POST['bp'];
$sugar_level=$_POST['sugar'];
$hemoglobin=$_POST['rbc'];
$platelet_count=$_POST['p_count'];
$pulse_rate=$_POST['pulse_value'];

$photo=$_FILES['images']['name'];
$basename = basename($photo);
$tmp_location=$_FILES['images']['tmp_name'];
$target="../img/".$photo;
move_uploaded_file($tmp_location,$target);

$sql="insert into medical_reports values


(null,'$patint_name','$patent_adr_no','$email','$date','$b_preasure','$sugar_level','$hemoglobin','
$platelet_count','$pulse_rate','$photo','testing ',now())";
mysqli_query($conn,$sql);

echo "Inserted";

?>

<script>
alert("Values Inserted");
document.location="medical_reports_form.php"
</script>

<?php
ob_end_clean();
require('fpdf/fpdf.php');

// Instantiate and use the FPDF class

19
Medical Report Organizer Department of MCA

$pdf = new FPDF();

//Add a new page


$pdf->AddPage();

// Set the font for the text


$pdf->SetFont('Arial', 'B', 18);

// Prints a cell with given text


$pdf->Cell(0, 10, 'Patient Report' , 0, 1);
$pdf->Cell(0, 10, '' , 0, 1);
$pdf->Cell(0, 10, ' ',
0, 1);
$pdf->Cell(0, 10, '' , 0, 1);
//$pdf->Cell(10,30,'Name');
//$pdf->Cell(10,40,'Disease:');
//$pdf->Cell(10,60,'Allergies:');
//$pdf->Cell(10,70,'Prescription:');

$pdf->Cell(0, 10, 'Patient Adhar : '


. $patent_adr_no, 0, 1);

$pdf->Cell(0, 10, 'Patient Name : '


. $patint_name, 0, 1);
$pdf->Cell(0, 10, 'Email: '
. $email, 0, 1);
$pdf->Cell(0, 10, 'BLood Presure: '
. $b_preasure, 0, 1);
$pdf->Cell(0, 10, 'Sugar: '
. $sugar_level, 0, 1);
$pdf->Cell(0, 10, 'RBC: '
. $hemoglobin, 0, 1);
$pdf->Cell(0, 10, 'platelet_count: '
. $platelet_count, 0, 1);
$pdf->Cell(0, 10, 'pulse_rate: '
. $pulse_rate, 0, 1);

// return the generated output


//$pdf->Output();
$newStr = explode(".", $basename);
$path = "../img/$patent_adr_no"."$newStr[0]".".pdf";
#file_put_contents( $path, $pdf );
$pdf->Output($path,'F');

20
Medical Report Organizer Department of MCA

?>

<script>
alert("Values Inserted");
document.location="medical_reports_form.php"
</script>

View Report

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include('medatada.php');?>
<?php include('header.php');?>
<?php include('sidebar.php');?>
<title>Medical Reports</title></head>
<body>
<!--/. NAV TOP -->

<!-- /. NAV SIDE -->


<div id="page-wrapper" >
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-header">Medical Reports</h1>

</div>
</div>
<!-- /. ROW -->
<!--<a href="medical_reports_form.php" class="btn btn-info btn">ADD DETAILS
</a> <hr>--!>
<div class="row">
<div class="col-md-12">
<!-- Advanced Tables -->
<!--<a href="Past_records_form.php" class="btn btn-info
btn">ADD DETAILS </a> <hr>
<div class="row">
<div class="col-md-12">-->
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
Medical Reports View </div>
<div class="panel-body">

21
Medical Report Organizer Department of MCA

<div class="table-responsive">
<table width="1845" class="table table-striped table-bordered table-hover"
id="dataTables-example">
<thead>
<tr>
<td width="53"><div align="center">Sl.No</div></td>
<td width="156">Patient Name </td>
<td width="156">Patient Adhar Number </td>
<td width="156">Email</td>
<td width="156">Date</td>
<td width="156"><div align="center">Blood Preasure </div></td>
<td width="188"><div align="center">Blood Sugar </div></td>
<td width="160"><div align="center">Haemoglobin</div></td>
<td width="169"><div align="center">Platelets Count </div></td>
<td width="85"><div align="center">Pulse</div></td>
<td width="122">Image</td>
<td width="96"><div align="center">Edit</div></td>
<td width="110"><div align="center">Delete</div></td>
</tr>
</thead>
<tbody>
<?php
$uname=$_SESSION['uname'];
include("dbconnect.php");
$sl=1;
$sql="select* from medical_reports where email='$uname' ";
$res=mysqli_query($conn,$sql);
while($row=mysqli_fetch_array($res))
{
?>
<tr>
<th height="41"><?php echo $sl++; ?></th>
<th><?php echo $row['Patient_Name']; ?></th>
<th><?php echo $row['Patient_adhar_no']; ?></th>
<th><?php echo $row['email']; ?></th>
<th><?php echo $row['date']; ?></th>
<th><?php echo $row['blood_preasure']; ?></th>
<th><?php echo $row['blood_sugar']; ?></th>
<th><?php echo $row['haemoglobin']; ?></th>
<th><?php echo $row['platelets_count']; ?></th>
<th><?php echo $row['pulse']; ?></th>
<th><?php echo $row['image'];?></th>
<th><a href="medical_reports_edit.php?b_p=<?php echo $row['blood_preasure'];?>"><img
src="../img/edit.png" width="34" height="36"></a></th>

22
Medical Report Organizer Department of MCA

<th><a href="medical_reports_delete.php?b_p=<?php echo


$row['blood_preasure'];?>"onClick="return confirm('Do you want to delete?')"><img
src="../img/delete.jpeg" width="34" height="36"></a></th>
</tr>
<?php } ?>
</tbody>
</table>
</div>

</div>
</div>
<!--End Advanced Tables -->

<!-- /. ROW -->

<!-- End Hover Rows -->


<?php include('footer.php');?>
<div class="col-md-6">
<!-- Context Classes -->
<div class="panel panel-default">
</div>
<!-- end Context Classes -->
</div>
</div>
<!-- /. ROW -->
</div>
</body>
</html>

</body>
</html>

</body>
</html>

23
Medical Report Organizer Department of MCA

Upload Records:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
.label {
color: white;
padding: 8px;
font-family: Arial;
}
.success {background-color: #04AA6D;} /* Green */
.info {background-color: #2196F3;} /* Blue */
.warning {background-color: #ff9800;} /* Orange */
.danger {background-color: #f44336;} /* Red */
.other {background-color: #e7e7e7; color: black;} /* Gray */
</style>

<style>
div.gallery {
border: 1px solid #ccc;
}

div.gallery:hover {
border: 1px solid #777;
}

div.gallery img {
width: 100%;
height: auto;
}

div.desc {
padding: 15px;
text-align: center;
}

*{
box-sizing: border-box;
}

.responsive {
padding: 0 6px;
float: left;
width: 24.99999%;
}

24
Medical Report Organizer Department of MCA

@media only screen and (max-width: 700px) {


.responsive {
width: 49.99999%;
margin: 6px 0;
}
}

@media only screen and (max-width: 500px) {


.responsive {
width: 100%;
}
}

.clearfix:after {
content: "";
display: table;
clear: both;
}
</style>

<?php include('medatada.php');?>
<?php include('header.php');?>
<?php include('sidebar.php');?>
<title>Medical Reports</title></head>
<body>
<!--/. NAV TOP -->

<!-- /. NAV SIDE -->


<div id="page-wrapper" >
<div id="page-inner">
<div class="row">
<div class="col-md-12">
<h1 class="page-header">Medical Reports</h1>

</div>
</div>
<!-- /. ROW -->
<!--<a href="medical_reports_form.php" class="btn btn-info btn">ADD DETAILS
</a> <hr>--!>
<div class="row">
<div class="col-md-12">
<!-- Advanced Tables -->
<div class="panel panel-default">
<div class="panel-heading">

25
Medical Report Organizer Department of MCA

</div>
<div class="panel-body">
<div class="table-responsive">
<table width="1521" class="table table-striped table-bordered table-hover"
id="dataTables-example">

<?php
# <th height="41"><?php echo $sl++;
# <th><?php echo $row['Patient_Name'];
# <th><?php echo $row['Patient_adhar_no'];
include("dbconnect.php");
$uname=$_SESSION['uname'];
$sl=1;
$sql="SELECT Patient_Name ,Patient_adhar_no ,email ,date,DATEDIFF(now(), date) as
due,blood_preasure ,image ,blood_sugar ,haemoglobin ,platelets_count,pulse FROM
medical_reports where email='$uname' order by date_chg DESC";

$res=mysqli_query($conn,$sql);
$count = 0 ;
while($row=mysqli_fetch_array($res))
{
$count = $count+1;
if($count == 1){

?>
<tr>
<th> Patient Name </th>
<th colspan ='6'><?php echo $row['Patient_Name']; ?></th> </tr>

<tr>

<td width="156">Date </td>


<td width="156"><div align="center">Blood Preasure </div></td>
<td width="188"><div align="center">Blood Sugar </div></td>
<td width="160"><div align="center">Haemoglobin</div></td>
<td width="169"><div align="center">Platelets Count </div></td>
<td width="85"><div align="center">Pulse</div></td>
<td width="122">Image</td>

</tr>

26
Medical Report Organizer Department of MCA

<tbody>
<?php
}
?>
<tr>
<th><?php echo $row['date']; ?></th>
<th><?php
$BP = $row['blood_preasure'];
if($row['blood_preasure'] > 140){

echo "<span class='label danger'> $BP</span>";


}elseif($row['blood_preasure'] <80){
echo "<span class='label info'> $BP</span>";
}else{
echo "<span class='label success'> $BP </span>";
}
?></th>

<th><?php
$bld = $row['blood_sugar'] ;
if($row['blood_sugar'] > 130){
echo "<span class='label danger'> $bld </span>";
}elseif($row['blood_sugar'] < 70){
echo "<span class='label info'> $bld</span>";
}else{
echo "<span class='label success'> $bld </span>";
}
?></th>
<th><?php
$hemo =$row['haemoglobin'];
if($row['haemoglobin'] > 14){

echo "<span class='label danger'> $hemo </span>";


}elseif($row['haemoglobin'] <10 ){
echo "<span class='label info'> $hemo </span>";
}else{
echo "<span class='label success'> $hemo </span>";
}

?></th>
<th><?php
$plate = $row['platelets_count'];
if($row['platelets_count'] < 10000 ){
echo "<span class='label danger'> $plate </span>";
}elseif ($row['platelets_count'] > 10000) {
echo "<span class='label success'> $plate</span>";

27
Medical Report Organizer Department of MCA

}else{
echo "<span class='label info'> $plate </span>";
}
?></th>
<th><?php
$puls =$row['pulse'];
if($row['pulse'] > 110){
echo "<span class='label danger'> $puls</span>";
}elseif ($row['pulse'] < 90) {
echo "<span class='label info'> $puls</span>";

}else{
echo "<span class='label success'> $puls </span>";

}
?></th>
<th>
<div class="responsive">
<div class="gallery">
<a target="_blank" href="../img/<?php echo $row['image']?> " >
<a target="_blank" href="../img/<?php echo $row['image']?> " ><a target="_blank"
href="../img/<?php echo $row['image']?> " ><img src="../img/<?php echo $row['image']?>"
alt="" ></a>
<a target="_blank" href="../img/<?php echo $row['image']?> " >
<input type="button" value="click here "/>
</a>

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

</tr>
<?php } ?>
</tbody>
</table>
</div>

</div>
</div>
<!--End Advanced Tables -->

<!-- /. ROW -->

28
Medical Report Organizer Department of MCA

<!-- End Hover Rows -->


<?php include('footer.php');?>
<div class="col-md-6">
<!-- Context Classes -->
<div class="panel panel-default">
</div>
<!-- end Context Classes -->
</div>
</div>
<!-- /. ROW -->
</div>
</body>
</html>

</body>
</html>

</body>
</html>

29
Medical Report Organizer Department of MCA

6.2 Screenshots

6.1.1 Login Page

6.1.2 Patient Medical Report Upload

30
Medical Report Organizer Department of MCA

6.1.3 Medical Reports

6.1.4 Doctor Uploading Reports

6.1.5 Patient’s Profile

31
Medical Report Organizer Department of MCA

7. SOFTWARE TESTING

7.1 System Testing

The software testing process for the "Medical Report Organizer" project is crucial
to ensure reliability, security, and seamless functionality. The testing process
encompasses various typesof testing to validate different aspects of the system:
 Unit Testing:

- Unit testing involves testing individual components or modules


in isolation toverify their correctness.
- For this project, unit testing focuses on modules responsible for
functions likedata validation, report management, user
authentication, and data preprocessing.
- It ensures that each module functions correctly and produces the intended
output.
 Integration Testing:

- Integration testing verifies that different system components


work togethercorrectly.
- It includes testing the interaction between modules
responsible for userauthentication, report management,
data validation, and report retrieval.
- This testing phase ensures that the system as a whole functions seamlessly.
 Functional Testing:

- Functional testing is essential to validate the core functionality of the


system.

- It includes testing the system's ability to accurately manage


medical reports,perform user authentication, and generate
reports.
- For doctors, it ensures that they can search for and view patient reports.

32
Medical Report Organizer Department of MCA

 Security Testing:

- Security testing assesses the system's resistance to


adversarial attacks andpotential data leakage.
- It checks for vulnerabilities in data storage, user
authentication, and accesscontrol.
- Security measures, including encryption and access control, are rigorously
tested.
 Scalability Testing:
- Scalability testing evaluates how the system performs as the user
base and datavolume increase.
- It ensures that the system can handle a growing number of users
and medicalreports without performance degradation.
 User Acceptance Testing (UAT):
- UAT involves real users or stakeholders testing the application
to validate itsusability and functionality.
- It gathers feedback on system usability and performance from the
perspective ofactual users.
- UAT ensures that the system meets user expectations and requirements.

 Validation Testing:
- Validation testing ensures that the software functions as expected
following theresult of other testing phases.
- It verifies that interaction flaws identified during earlier testing
phases have beenaddressed.
- This phase confirms that the software meets the user's expectations.

 Performance Testing:
- Performance testing evaluates various quality characteristics of the
software, suchas stability, dependability, and availability.
- It assesses the system's response time, reliability, and overall
performance underdifferent conditions.

33
Medical Report Organizer Department of MCA

7.2 Test cases

Table 7.2.1 Test Cases of the final results obtained

Sl. Test Case Description Input Expected Test


No. Output Results
1. User Verify user Valid doctor Successful Passed
Authentication authentication credentials login, redirect to
functionality. (username and doctor
password). dashboard.
2. Report Upload Test the report upload A medical The report is Passed
functionality. report file for successfully
a patient. uploaded and
associated with
the patient.
3. Report Test the retrieval of a Patient’s The correct Passed
Retrieval patient’s medical Aadhar medical report
report by doctor. number. is displayed
based on the
Aadhar number.
4. Data Ensure that sensitive Uploaded The medical Passed
Encryption data is securely medical report data is
encrypted. report. securely
encrypted
during storage.
5. Access Control Verify that users can Doctor user Access denied Passed
only access trying to for unauthorized
functionalities and access admin functionalities.
data appropriate for functionalities.
their roles.
6. User Involve real users or Feedback User feedback Passed
Acceptance stakeholders to access from actual on system
Testing usability. users. usability and
performance.
7. Performance Evaluate system Request to The system Passed
Testing response time during retrieval a responds within
report retrieval. patient’s an acceptable
medical time frame.
report.

34
Medical Report Organizer Department of MCA

8. CONCLUSION
In conclusion, the "Medical Report Organizer" stands as a beacon of innovation in
the realm of healthcare record management. By embracing advanced features such
as result comparison, keyword extraction, and visual data representation, the
system not only streamlines administrative tasks but also empowers healthcare
professionals with actionable insights for improved patient care.

The integration with the Aadhar database ensures robust user authentication and
data security, fostering trust and compliance with regulatory standards.
Furthermore, the system's user-friendly interface and efficient functionalities,
including searching, filtering, and report viewing, enhance accessibility and
streamline workflows within healthcare institutions.

As we embark on this digital transformation journey, it's evident that the " Medical
Report Organizer" not only addresses existing challenges but also paves the way
for future innovations in healthcare. By prioritizing data accuracy, user
experience, and patient-centric care, this project underscores our commitment to
revolutionizing healthcare record management for the betterment of society as a
whole.

35
Medical Report Organizer Department of MCA

9. FUTURE ENHANCEMENT

The "Medical Report Organizer" project provides a strong foundation for


efficient medical record management, but there are several potential future
enhancements to consider:
 Mobile Application: Developing a mobile app version of the platform
would offer greater accessibility and convenience for users. Patients
and healthcare professionals could access medical reports and manage
records on their smartphones, increasing usability and engagement.

 Telehealth Integration: Inclusion of telehealth features would enable


doctors to conductvirtual consultations, view patient records during video
calls, and seamlessly update patient medical histories. This integration
could enhance the project's relevance in an increasingly digital healthcare
landscape.

 Integration with Wearable Devices: Integrating with wearable health


devices and ensors would enable real-time health data monitoring.
Patient data from wearables could be seamlessly integrated into
medical records, providing a holistic view of thepatient's health.

36
Medical Report Organizer Department of MCA

10. BIBLIOGRAPHY

1. Thimbleby, H. "Technology and the Future of Healthcare." CRC Press.

2. Hripcsak, G., & Albers, D. J."Next-generation phenotyping of electronic


healthrecords." Journal of the American Medical Informatics Association.

3. Haque, A. U., Rahman, A., & Khokhar, R. H. (2014). "Design and


development of an onlinemedical report retrieval system." International Journal of
Computer Applications.

4. Rosen, A., & Smith “Healthcare Data Management and Analytics.”

5. Johnson, P., & Williams “Introduction to Electronic Health Records.”

37

You might also like