Report 1
Report 1
by
Harika C H
1BY22MC018
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
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.
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.
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
2 Context Diagram 11
4 Class Diagram 15
8 Sequence Diagram 18
9 Login Page 27
11 Patient’s Profile 28
PAGE
SLNO PARTICULARS NO
1. INTRODUCTION
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
3
Medical Report Organizer Department of MCA
4
Medical Report Organizer Department of MCA
5
Medical Report Organizer Department of MCA
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.
6
Medical Report Organizer Department of MCA
• Processor: Pentium–IV
• RAM: 4 GB (min)
• Hard Disk: 20 GB
• Monitor: SVGA
• Software: XAMPP
• Database: MYSQL
• Server: APACHE
7
Medical Report Organizer Department of MCA
8
Medical Report Organizer Department of MCA
9
Medical Report Organizer Department of MCA
4. System Design
10
Medical Report Organizer Department of MCA
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
User
Interface
11
Medical Report Organizer Department of MCA
5. Detailed Design
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
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:
13
Medical Report Organizer Department of MCA
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
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
16
Medical Report Organizer Department of MCA
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
The sequence diagram effectively illustrates the temporal order of actions and
the communication flow between actors (users) and system components.
Authentication
Upload Request
Login Request
Authentication
Upload Request
Validate Request
Validate Response
Storage acknowledgment
Upload Successful
Login Request
Authentication
Report Data
18
Medical Report Organizer Department of MCA
6. IMPLEMENTATION
<?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);
echo "Inserted";
?>
<script>
alert("Values Inserted");
document.location="medical_reports_form.php"
</script>
<?php
ob_end_clean();
require('fpdf/fpdf.php');
19
Medical Report Organizer Department of MCA
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 -->
</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
</div>
</div>
<!--End Advanced Tables -->
</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
.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 -->
</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>
</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){
<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){
?></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 -->
28
Medical Report Organizer Department of MCA
</body>
</html>
</body>
</html>
29
Medical Report Organizer Department of MCA
6.2 Screenshots
30
Medical Report Organizer Department of MCA
31
Medical Report Organizer Department of MCA
7. SOFTWARE 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:
32
Medical Report Organizer Department of MCA
Security Testing:
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
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
36
Medical Report Organizer Department of MCA
10. BIBLIOGRAPHY
37