/medicine-and-patient-managemen

Medicine and Patient Management System using OSGI framework

Primary LanguageJavaApache License 2.0Apache-2.0

Medicine and Patient Management System

Introduction:

The system demonstrated in this report is a medicine and patient information management system where a consumer is prompt to select medicine management or patient management. In Medicine Management you can enter new medicine detail, add or deduct medicine quantity, search particular medicine detail, delete medicine details from the system which is stored in a HashMap inside the Database Bundle but if you want, we can further improve this system by storing data in HapMap to a Document or Relational database but for simplicity we have use a HashMap to store data. You can perform enter new patient detail, search particular patient detail, delete patient details from the Patient Management. We have two versions in Medicine Publisher, one is improved version and other one is the old version. In the new version you are prompt to enter a new detail called medicine description which is not in the older version. The diagram shown below demonstrates how the consumer and service publishers interact with each other.

Untitled

Figure_1: Overview of the Medicine and Patient Management System


Untitled

Figure_2: Component Diagram of the Medicine and Patient Management System


Deployment Guide

Untitled

Figure_1: Run Configuration for Medicine Publisher Version 1.0.1


** When you run the configuration above sometimes bundles may start out of order and some bundle exception may occur, if something like that happens stop all 4 bundles and start them again in given order below. **

Untitled

Figure_2: Before starting bundles


Untitled

Figure_3: Bundle starting process


Untitled

Figure_4: After starting bundles


Sample screenshots

Usage of medicine Service

Capture

Fig1: Demonstrates how a user can navigate to use the medicine service


Capture

Fig 2: Process of adding medicine to the system


Capture

Fig3:Process of displaying medicine with specific medicine id


Capture

Fig4: Process of increasing quantity of a specific medicine


Capture

Fig5: Process of deducting a quantity of a specific medicine


Capture

Fig6: Process of removing a medicine entry from the system entirely


Usage of Paitient Service

Capture

Fig7: Demonstrate how to navigate to use the paitent service


Capture

Fig8:Process of adding a paitent to the system


Capture

Fig9:Process of displaying a specific paitent with patient id


Capture

Fig10: Process of removing a paitent with specific paitent id


After updating medicine service to new version

Capture

Fig11: Process of adding medicine using the new version


Capture

Fig12: Process of displaying medicine using the new version