You are on page 1of 34

Republic of Iraq The

Ministry of Higher Education

University of Technology

Computer Science Department

Design and implementation of disease system

BY

Athraa Jameel Mankhi

Baneen Ammar Natak

Baqer Mohammad Abd

Supervised by

Wisam Mahmood Lafta


Supervisor Certification

I hereby certify that is this project entitled (Electronic identity system for
computer science department staff and students using the visual
electronic identifier code), was prepared under my supervision at the
department of computer sciences of the University of Technology, as
partial fulfilment of the requirement for the B.Sc. degree in Computer
Science.

Signature:

Name:

Date:
Examination Committee Certificate

We certify that we have read this project (Design and implementation of


disease system ), and as an examining committee examined the students
(Athraa Jameel Mankhi, Baneen Ammar Natak,Baqer Mohammad Abd )
in its content and what is related to it, and that in our opinion it meets the
standard of a project for the degree of B.Sc. in Computer Science.

Signature:

Name:

Date:

Signature:

Name:

Date:
Thanks and Dedication

I extend my heartfelt gratitude to our supervisor, Wisam Mahmood


Lafta, for his invaluable guidance and support throughout this projects.
His advice and assistance greatly contributed to our success.

I would also like to thank all the teachers Dr. Ragheed Allami,

Nada Najeel who provided advice and the necessary equipment, shaping
our projects.

I would also like to thank Dr. Mohammad Ali for all the valuable
informations .

Furthermore, I am deeply grateful to my family and friends for their


unwavering support, without which we couldn't have completed this
project.

Lastly, I want to thank everyone who helped and motivated us


throughout this journey.

Your contributions have made a significant impact, and I am grateful for


your involvement in our project
Table of Contents

Title page Number


Abstract........................................................................................................................................................ I
List of Tables.................................................................................................................................................II
List of Figures..............................................................................................................................................III
List of Abbreviations...................................................................................................................................IV

ChapterOne………………….…...................................................................................................................1
Introduction..................................................................................................................................................2
Aim of the project........................................................................................................................................2
project outline ............................................................................................................................................3
Chapter Two Theoretical Background .........................................................................................................4
Introduction..................................................................................................................................................5
System requirements....................................................................................................................................5
Project tools..................................................................................................................................................5
Frontend ..................................................................................................................................................... 5
java .............................................................................................................................................................. 5
Backend ....................................................................................................................................................... 6

Benefits of Java............................................................................................................................................ 7

SQLite........................................................................................................................................................... 8

Chapter Three Proposed and Implementation.............................................................................................9

Introduction................................................................................................................................................10

The system
flowchart…………………………………………………………………………………………….…….11

Tables…………………………………………………………………………………………………….12

The diagnose algorithm…………………….…………………………………………………………………………………………………..14

The Implementation and Results…………………….……………………………………………….……………………..…….……..15

Login Flowchart ………….………………………………………………………………………………………………….……………………..13

Dashboards………….…………………………………………………………………………………………………………………….….……..16
Patients…………………………………………………………………………..………………..……….16

Diseases……………………………………………………………………………………….....………...17

Drugs……………………………………………………………………………..………………..…..…..18

Diagnoses....................................................................................................................................................19

Chapter Four Future work...........................................................................................................................22


Introduction ...............................................................................................................................................23

Future work................................................................................................................................................23

References..................................................................................................................................................28
Abstract

In the coming chapters explained that The design and implementation of a disease
system collects patient’s data, analyzes symptoms, identifies diseases, and
recommends medications is essential for efficient healthcare management.

It involves creating a secure database, employing algorithms to match symptoms


with diseases, and providing evidence-based medication suggestions and all of
them comes from Reliable source.

Collaboration between healthcare professionals, data scientists, and software


developers is crucial for accuracy and integration with existing workflows. This
technology-driven approach has the potential to revolutionize healthcare by
improving diagnosis, treatment, and patient outcomes.

And this system will make the patient’s life easier because it won’t take too much
time till you understand your disease.

As the professors told us in the first discussion to make the system specialize into
certain type of diseases and we did by researching and studying more As a result,
this system will save time and effort.

1
List of Tables

NO Caption Page
Figure (3.2) Patient Information Table 12
Figure (3.3) Diseases Table 12
Figure (3.4) Drugs Table 13
Figure (3.5) Login Table 13
Figure (3.6) Symptoms Table 14

2
List of Figures

NO Caption page
1 Figure (3.1) the system 11
flowchart

3
List of Abbreviations

Abbreviations Meaning
SW software
MVC model-view-controller
AWT Abstract Window Toolkit
JFC Java Foundation Classes
GUI graphical user interface
F.I.B.M.S Fellow of the institute of biomedical
science
D.M Doctor of medicine
M.B.CH.B Bachelor of medicine and bachelor of
surgery
I.C.T.S Iraqi cardio - thoracic society

4
Chapter One
General Introduction

5
Chapter One

1.1 Introduction

The design and implementation of a disease system that effectively collects patient
data, analyzes symptoms, identifies diseases, and recommends medications is of
utmost importance for efficient healthcare management. This abstract emphasizes
the significance of such a system and highlights the key elements involved in its
development and operation.

Creating a secure database, utilizing algorithms to match symptoms with diseases,


and providing evidence-based medication suggestions, all sourced from reliable
sources, are crucial components of this disease system. Moreover, the successful
integration of this technology-driven approach with existing workflows requires
collaboration between healthcare professionals, data scientists, and sw developers,
ensuring accuracy and seamless functionality.

By revolutionizing healthcare practices, this innovative system holds the potential


to significantly enhance the diagnosis, treatment, and overall outcomes for patients.
One notable advantage is the ease it brings to patients' lives, as they will no longer
have to endure prolonged periods to understand their diseases. This specialized
system, resulting from extensive research and study, is designed to save both time
and effort for patients and healthcare providers alike.

6
1.2 Aim of the project

The aim of this project is to develop disease system that enhances healthcare
management by collecting patient data, analyzing symptoms, providing accurate
diagnoses, and offering evidence-based medication recommendations. The goal is
to improve healthcare, efficiency, and personalize treatment, ultimately leading to
better patient outcomes and quality of life. As we spoke with a specialized doctor
to direct us to show a real life example of the diseases and what needed for these
disease to be treated

1.3 Project Outline

• Chapter One

highlights its importance in healthcare management with a comprehensive


introduction..

• Chapter Two

The tools used to implement the system, the tool’s specialty and advantages.

• Chapter Three

Project implementation and overview of the system interface and pages, and how
to interact with the system.

• Chapter Four

What is the overall conclusion of the project, why it is important, and the problems
it solves. Also, a futuristic thought about how the system can be more useful and
efficient.

7
Chapter Two
Theoretical
Background

8
Chapter Two
2.1 Introduction

This chapter present how the system was developed and the requirements was
required to diagnose the disease and showcase the programming languages and the
technology and tools to make it work

2.2 System requirements

to make a system that save's tones of time for discovering what disease the patients
have with only a computer device to enter what the patient have of symptoms and
the outcome will be the disease and what medication they will need

2.3 Project tools

This part specifies the programming languages and programs used to build the
system.

2.3.1 Frontend

This part of the shows the tools, languages, and libraries used to implement the
visual section of the project.

1. Java

It's important to note that while Java can be used for front-end development, it may
not be the most common choice in web development where JavaScript and related
frameworks dominate. However, in certain scenarios, such as desktop applications
or cases where Java is already heavily used in the back-end, leveraging Java for
front-end development can provide benefits in terms of code reuse, performance,
integration, and security. But we need framework to make it work ]2[ ]1[

9
2. Java swing framework

Java Swing is a graphical user interface (GUI) toolkit that allows developers to create
desktop applications with a rich set of visual components. It is part of the Java
Foundation Classes (JFC) and is built on top of the Abstract Window Toolkit
(AWT). Swing provides a collection of classes and components that can be used to
create windows, buttons, menus, dialogs, and various other GUI elements. It follows
the model-view-controller (MVC) design pattern, which separates the user interface
logic (view) from the underlying data (model) and the application behavior
(controller). This modular approach makes it easier to design and maintain complex
GUI applications.

key features of Java Swing:

• Cross-platform: Swing-based applications can run on any platform that


supports Java.
• Customizable: Components can be extensively customized for unique
interfaces.
• Rich component library: Offers a wide range of components for building
GUIs.
• Event-driven programming: Follows an event-driven model for user
interactions.
• Internationalization support: Allows for easy translation and localization of
applications.[3][4]

2.3.2 Backend

This part of the shows the tools, languages, and libraries used to implement the
server-side work and programing

10
1. Java

Java is a popular, general-purpose programming language known for its simplicity,


platform-independence, and object-oriented approach. It allows developers to write
code that can run on different operating systems and hardware platforms without
requiring significant modifications.

1.2 Features of Java:

1. Platform Independence: Write once, run anywhere.


2. Object-Oriented Programming: Modular, reusable, and maintainable code.
3. Memory Management: Automatic garbage collection.
4. Exception Handling: Robust error handling and recovery.
5. Rich Standard Library: Extensive pre-built classes and APIs.
6. Multithreading and Concurrency Support: Simultaneous task execution.
7. Security: Built-in security features.
8. Community and Ecosystem: Large and supportive developer community.

1.3 Benefits of Java:

• Platform Independence: Applications can run on different systems.


• Object-Oriented Programming: Modularity and code reusability.
• Memory Management: Reduced risk of memory leaks.
• Exception Handling: Enhanced stability and reliability.
• Rich Standard Library: Faster development and code reuse.
• Multithreading and Concurrency Support: Improved performance and
responsiveness.
• Security: Strong security model for safer applications.
• Community and Ecosystem: Extensive support and resources for
developers.[1][2]

11
2. SQLite

SQLite is a lightweight, file-based relational database management system. It is


self-contained, serverless, and doesn't require a separate server process to operate.
SQLite stores the entire database in a single file, making it simple to set up and
deploy. It provides a compact SQL engine and supports standard SQL syntax,
making it compatible with various programming languages. SQLite is commonly
used in embedded systems, mobile applications, and as a local database for small-
scale projects due to its simplicity, efficiency, and ease of integration.[7][8]

2.4 Programming environment

2.4.1 Netbeans

NetBeans is an open-source integrated development environment (IDE) that


provides a comprehensive set of tools for Java development, including front-end
development. Here are some key features and benefits of using NetBeans for front-
end development:
2.4.2 Features of NetBeans for Front-End Development:
• HTML, CSS, and JavaScript support
• Visual design tools
• Debugger
• Version control integration
• Project management capabilities
• Extensibility through plugins
2.4.3 Benefits of Using NetBeans for Front-End Development:
• Integrated development environment
• Seamless Java integration
• Active community and support
• Cross-platform compatibility[5][6]

12
Chapter Three
Proposed and
Implementation

13
Chapter Three

3.1 Introduction

This chapter will discuss the system's functionality and appearance. The process of
the system is simply taking the patient symptoms and matching them to the diseases
symptoms that have been added to the system and it will show the patient name ,
disease , symptoms and what medication of drug appropriate of them

3.2 The Proposed work

Now we are going to mention algorithms and diagrams to show some of the
important parts of the system.

14
3.2.1 system flowchart

Figure (3.1) system flowchart

15
3.2.2 Tables

Name Gender Age Phone Disease

Ali Male 23 07834543456 Flu

Noor Female 28 07715342213 Cancer

Mohammed Male 22 07703235675 Flue

Figure (3.2) Patient Information Table

Id Name Symptoms

1 Enflaonzaa 5,1

2 Corona 2,6

7 mytocenderia 1,4,5

Figure (3.3) Diseases Table

16
Id Name

1 Paracetemoll

2 Cefixx

7 azithromycin

Figure (3.4) Drugs Table

Tag Value

Username Ali

Password pass

Phone 07810994234

Figure (3.5) Login Table

17
Id Name

1 Blood
streaming
2 Headache

7 Diarrhea

Figure (3.6) Symptoms Table

3.2.3 The diagnose algorithm


Input: patient name
Step1: select patient name
Step2: add the symptoms for the selected patient
Step3: loop through all diseases and match it with the patient symptoms and shows
it as percentage.
Output: the matching percentages of each disease
Step4: select one of the best match’s disease’s and press save
Step5: press on patient to get the final results with the drugs for the disease that
was confirmed
End.

18
3.3 Implementation and Results
With this system having multiple points of view, we will make a lot of processes
easier, there is an interface which will be shown only for the system admin who is
responsible for adding, removing and editing patients' information, the admin is
also authorized to create and delete patients.

Below there is an explanation of each page of the system:


1- System login interface

Figure (3.7) Login interface

This page shows the first thing will appear when you run the system which is the
login page
That has the the logo of the system and the name of the system
And it show 2 felids one for the Username and one for Password
And it also include two buttons Enter to submit and Exit to close the system

19
2. Dashboards
2.1 Profile
In this page it show all the dashboards in the system which will be explained later
in the chapter

First we come to Profile which shows the info of the admin who opened the system
with 4 felids name , specialization , Phone and Email .

Figure (3.8) System first interface + Profile

2.2 Patients

In this page it will show us a table of all the patients who are registered in the
system and it has their info from name , gender , age and phone. Its also include 3
button and 3 felids and 2 option

the felids are to enter new patients info like name , age and phone and they are also
used to show these infos for the registered patients to edit them

20
the option to specify the gender male or female and 3 button add to add new
patients edit to edit the registered patients and delete to delete patients

Figure (3.8) Patients interface

2.3 Diseases

In this page we have we have 2 felids

First to enter new disease and it has 3 buttons to add the new disease and edit to
edit old one and delete to delete old one

Second to enter symptoms and it has the same buttons and buttons functionality of
the 3 above

It also has two list one shows diseases and one for symptoms of the diseases

Their also a third list that saves symptoms for easy input to the diseases using two
buttons Add symptoms and remove symptoms

Figure (3.9) Diseases interface

21
2.4 Drugs

This page show in figure(3.20) a felid to enter new drugs names and it has 3 button

Add , edit and delete and a list of the drugs registered in the system

Figure (3.10) Drugs interface

22
2.5 Diagnoses

In this page and it’s the last page of the system that we going to showcase in this
presentation

This page show a felid to search for patient name and the search button to submit it
and it show a table the shows the info of the patients

Note if you leave the search felid empty and press search it will show all the
patients that have been registered in the system

And it show 3 screens now if you select a patients the first screen to the left it will
show you the symptoms and under it there is a list of symptoms you can add

After adding the symptoms now we go to the second screen it has a button for
diagnoses when you click it the algorithms and diagnose the patients and show the
patient disease in the screen last screen on the right it will show the drug the
needed for this disease

There is also two buttons will be explained after this figure

Figure (3.11) Diagnoses interface

23
The patient details button will show all the patients with their details

Figure (3.12) Patients details interface

24
The other button Patient will show the selected patient details

Figure (3.12) Patients interface

25
Chapter Four
Conclusion and
Future work

26
4.1 Conclusion
1- Building a disease system is not a something just for shows as much as it is an
urgent need to keep up with the comprehensive evolution of the entire world.
2- Taking new patients and writing their symptoms again and again each time we
get a patient is really time consuming and tiring but this system will save older
symptoms and assign them easily to the patients and we get the diagnose and drugs
for it in matter if button click
3- This system is practical, it prevents loss of time, cost and effort.
4- Keeping up with the electronic evolution is important to prevent any miss
diagnoses, and get rid of the old ways which can be hard and complex.
5- Editing information of a patients could take a long time and can be difficult in
an ordinary way, but the Disease system made editing the information of a patients
done with a couple of clicks.
6- After implementing what the doctor said and seeing the results in real life it was
so efficient for saving time and giving accurate diagnoses
4.2 Future work
The system can be used for hospitals, which means that the hospital will be less
crowded and easy to manage patients

27
References

[1]"Head First Java" by Kathy Sierra and Bert Bates

[2]"Java: A Beginner's Guide" by Herbert Schildt

[3]"Java Swing" by Marc Loy, Robert Eckstein, Dave Wood, James Elliott, Brian
Cole

[4]"Java Swing (O'Reilly)" by James Elliott, Robert Eckstein, Marc Loy, David
Wood

[5]"NetBeans: The Definitive Guide" by Tim Boudreau, Jesse Glick, Simeon


Greene, and Geertjan Wielenga

[6]"NetBeans IDE Programmer Certified Expert Exam Guide" by Brian Beach

[7]"Java SQLite Programming" by Brian Porter

[8]"Learning SQLite for iOS" by Gene Da Rocha

[9]”The diseases in the report and the drugs for them and their symptoms” by
Dr. Mohammed Ali

28

You might also like