Skip to content

About

Hospital Management System - Our Object Oriented Programming Project

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chocolate General Hospital Logo

Chocolate General Hospital Management System

A Java desktop application built for managing hospital operations across multiple user roles.
Developed as a group diploma project applying Object-Oriented Programming principles.


Overview

The system simulates a real-world hospital management workflow — from public-facing guest pages to role-specific dashboards for admins, doctors, and patients. All data is persisted using plain .txt files (no database required).


Screenshots

Guest — Public Interface

Homepage Login
Homepage Login
Services Visitor Info
Services Visitor Info
Healthcare Programs About Us
Programs About Us

Admin

Assistance

Prescription List Prescription Detail
Assistance Prescription Detail

Inventory

Inventory List Manage Item
Inventory Manage Item
Stock Report
Stock Report

User Management

Doctor List Manage Doctor
User Management Manage Doctor

Healthcare Programs

Participants Settings
Participants Settings

Hospital Info

General Services
General Services
Visitor Info Awards
Visitor Info Awards
Reviews
Reviews

Features

Guest (Public)

  • Browse hospital homepage, services, and doctors
  • View visitor information (visiting hours, guidelines, safety measures)
  • Explore healthcare programs and register for them
  • View hospital awards and about us page

Admin

  • Dashboard — live stats: pending prescriptions, inventory alerts, user counts, activity log
  • Assistance — view, dispense, and manage patient prescriptions
  • Inventory — full CRUD for medicines, devices, and equipment; stock level alerts; expiry tracking; generate stock reports
  • User Management — register, view, edit, and deactivate doctors and patients
  • Healthcare Programs — manage programs, view and manage participant registrations
  • Hospital Info — edit general info, services, amenities, awards, safety measures, guidelines, FAQs, and visitor reviews
  • My Profile — view and update personal details, change profile picture

Doctor

  • Dashboard — appointment overview and patient summary
  • Patient Records — view assigned patients, manage appointments
  • Medical Reports — create and view medical reports per patient
  • Medication — issue and track prescriptions
  • My Profile — update profile and credentials

Patient

  • Dashboard — upcoming appointments and health summary
  • My Appointments — view and manage appointment schedule
  • Billing — view billing records and payment status
  • View Report — access personal medical reports issued by doctors

Superuser

  • Dashboard — system-wide overview
  • Admin Management — register, view, edit, and remove admin accounts

Tech Stack

Layer Technology
Language Java (JDK 8+)
UI Framework Java Swing
Look & Feel FlatLaf 3.6 — FlatMacLightLaf
Charts JFreeChart 1.0.19
Date Picker JCalendar 1.4
Data Storage Plain .txt files (CSV-style, ~ delimiter)
IDE Apache NetBeans
Build Apache Ant (build.xml)

Getting Started

Prerequisites

  • Java JDK 8 or higher
  • Apache NetBeans (recommended) or any IDE with Ant support

Run via NetBeans

  1. Clone or download this repository
  2. Open NetBeans → File → Open Project → select the OOP_Combined folder
  3. Click Run Project (F6)

Run via Command Line

# From the project root, build first
ant jar

# Then run from the dist/ folder
cd dist
java -jar oop-group8.jar

The app must be run from the dist/ folder so relative paths to src/assets/ resolve correctly.


Default Credentials

Role Username Password
Superuser superuser superuser123
Admin aaron aaron123
Doctor doctor doctor123
Patient patient patient123

Project Structure

OOP_Combined/
├── src/
│   ├── MainLauncher.java          # Entry point
│   ├── assets/
│   │   ├── data/                  # All .txt data files
│   │   └── images/                # All image assets
│   ├── backend/
│   │   ├── models/                # Business logic & data managers
│   │   └── utility/               # FileHelper, IconHelper, DateTime
│   └── frontend/
│       ├── guest/                 # Public-facing frames
│       ├── login/                 # Login & forgot password
│       ├── admin/                 # Admin dashboard & forms
│       ├── doctor/                # Doctor dashboard & forms
│       ├── patient/               # Patient dashboard & forms
│       └── superuser/             # Superuser dashboard & forms
├── lib/                           # External JAR dependencies
├── screenshots/                   # README screenshots
├── nbproject/                     # NetBeans project configuration
├── build.xml                      # Ant build script
└── manifest.mf

Contributors

Contributors

About

Hospital Management System - Our Object Oriented Programming Project

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages