Skip to content

sasmithaK/hands-on-OSGI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Hospital Management System (OSGi)

Overview

This is a simple CLI-based Hospital Management System built using the Eclipse Equinox OSGi framework. It serves as a university assignment to practice Microkernel Architecture by implementing modular and extensible services.

Features

The system includes the following services:

1) Patient Admission Service

2) Pharmacy Service

3) Surgery Scheduling Scervie

  • Surgery Schedule Service: Manages surgery scheduling.
  • Surgery Room Allocation Service: Allocates surgery rooms based on availability.
  • Surgeon Allocation Service: Assigns surgeons to scheduled surgeries.
  • Report Generation Service: Generates reports related to surgeries and resource allocation.

Technologies Used

  • Java
  • Eclipse Equinox - OSGi Framework
  • Microkernel Architecture

Project Structure


HospitalManagementSystem/
├── PatientAdmissionService
├── PharmacyService
├── SurgeryScheduleService/  # Manages surgery scheduling
  ├── SurgeryRoomAllocationService/  # Allocates rooms
  ├── SurgeonAllocationService/  # Assigns surgeons
  └──  ReportGenerationService/  # Generates surgery reports

Running on Eclipse

  1. Open Eclipse IDE and install the OSGi Development Tools Plugin if not already installed.
  2. Import the project into Eclipse:
    • Click FileImportExisting Projects into Workspace.
    • Select the project folder and click Finish.
  3. Configure the Run Configuration:
    • Go to RunRun Configurations.
    • Create a new OSGi Framework configuration.
    • Select all the required bundles.
    • Click Apply and then Run.
  4. Open the OSGi console in Eclipse to interact with the system.

Usage

  • Interact with the CLI to schedule surgeries, allocate rooms and surgeons, and generate reports.
  • Ensure all required bundles are installed and started before running operations.

Contributing

Feel free to fork this repository and submit pull requests for improvements and new features.

About

A simple CLI-based hospital management system implemented using the Eclipse Equinox OSGi framework and designed with Microkernel Architecture.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages