← Back to DAGDA | Support | Source: https://github.com/aatesh-t/COMP0004CW_Patient_Data_App
Skip to content

About

COMP0004 Java Coursework Patient Data App

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.txt - COMP0004 Coursework - Patient Data App
To run: mvn clean compile exec:exec — then open http://localhost:8080

OVERVIEW

A Java web application for viewing, searching, and managing synthetic patient data built using
embedded Tomcat with servlets and JSPs following the MVC pattern.

FEATURES

All 10 requirements have been implemented.

The app loads patient data from a CSV file into a general purpose DataFrame data structure.
Patients can be viewed in a sortable table, searched for across all fields, and clicked through to view a
specific patient's full details.
Patients can be added, edited, and deleted with all changes being saved back to the CSV file.
Data (filtered or unfiltered) can be exported as JSON at any time.
A statistics page provides summaries and data visualisation charts covering various distributions,
such as gender and age.

DESIGN HIGHLIGHTS

MVC: Servlets act as controllers, JSPs as views, and the Model handles all data operations.
     No data manipulation occurs in servlets or JSPs.
Singleton: ModelFactory ensures the CSV data is loaded once at startup and the same Model instance is reused
across all requests.
DataFrame: The core data structure is general purpose with no patient-specific knowledge. All patient logic
is contained within the Model and PatientStatistics classes, meaning that the DataFrame is reusable for any CSV data
CSV and JSON handling: Implemented using standard JDK classes, with no third-party libraries being used.

About

COMP0004 Java Coursework Patient Data App

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages