Skip to content
Sabin Pant.
Back to projects

Healthcare application

MediLife

Hospital management system

A Java application for patient registration, appointment booking, billing, and medical records, with dedicated access for patients, doctors, and administrators.

Overview

MediLife manages hospital workflows across three user roles. Patients can book appointments and view records, doctors can manage consultations and prescriptions, and administrators oversee accounts, billing, and reporting.

The application follows MVC with JSP views, Servlets, a service layer, and a DAO layer. Authentication filters and role checks protect access, while BCrypt secures passwords.

Key features

  • Patient, doctor, and admin portals with role-based access.
  • Appointment requests and direct booking with approval workflows.
  • Consultation records, diagnoses, prescriptions, and billing.
  • Financial reports with CSV export and account management tools.
  • MVC structure with clear separation of views, routing, logic, and queries.

How it’s built

  1. JSP views

    Display patient, doctor, and admin interfaces.

  2. Servlets & filters

    Handle requests and enforce session authentication and role checks.

  3. Service layer

    Owns appointment workflows, validation, and application logic.

  4. DAO & MySQL

    Keep database queries separate from services and request handlers.