UML Diagram for Online Pharmacy Management System

UML diagrams for the Online Pharmacy Management project. Following are the different UML diagrams like Components, Activity, Use Case, and Sequence diagrams of the Online Pharmacy Management System.

The Online Pharmacy Management application will help to manage the pharmacy. It allows the owner to manage the day-to-day process of a pharmacy conveniently.

UML Diagram for Online Pharmacy Management System

We’ve compiled structural UML diagrams i.e. component diagrams, and three types of behavioural UML diagrams i.e. Activity, Sequence, and Use Case diagrams for the Online Pharmacy Management Project. We have also explained the data flow diagram (DFD) for this project.

In this application, we have two users, who will be interacting with the system. With the help of these diagrams, one can get a better understanding of the project. This web application is developed to provide pharmacy owners with an online medium where they can manage different types of medical items. Admin is who will manage the overall application; whereas the pharmacist can view the stocks allotted.

Component diagram for Online Pharmacy Management Project

The component diagram below shows the structural relations between components in an Online Pharmacy Management system. The connected components by lines represent relationships within the systems. In the diagram, it can be seen that there are components namely product, order, customer, and account.

It shows the different components of the system. Everything from the stock details to adding medicines to pharmacists can be seen in the component diagram.

Admin will be responsible for maintaining the system and also, keeping a check on the medicines and management of the system, can add/remove/update medicines from lists, categorize medicines, check availability of medicines, etc.  Admin can add pharmacists. Admin can allot stocks to the pharmacist.

Activity diagram for Online Pharmacy Management Project

Activity diagrams in UML display the functionalities of various activities and flow in management processes and software systems. The flow in the activity diagram can be sequential, branched, or concurrent.

Admin can Add/Remove/Update any details related to the medicines like product stocks, category, and type of medicines, update prices of the medicines, can categorize, and maintain product databases.

Admin can Add/Remove/Update medicines, manage medicines/product categories, details, and availability, can manage pharmacists, stocks, etc. Admin can View/Generate/Track sales reports with the help of this module. Admin can track the sales activity and also, the growth of the business.

Sequence diagram for Online Pharmacy Management Project

Sequence diagrams in UML are used to illustrate the sequence of messages between objects in an interaction. A sequence diagram consists of a group of objects that are represented by lifelines and the messages that they exchange overtime during the interaction.

Admin can Add/Remove/Update medicines, manage medicines/product categories, details, and availability, can manage pharmacists, stocks, etc. Admin can View/Generate/Track sales reports with the help of this module. Admin can track the sales activity and also, the growth of the business.

On the other hand, Pharmacists can only view allotted stock details.

Use Case Diagram for Online Pharmacy Management Project

A UML use case diagram can create a broad, high-level view of the relationship between use cases, actors involved, and systems being performed.

As you can see from the examples below, use cases are represented by oval shapes, and the lines then show at which point an actor/pharmacist participates and interacts with their corresponding use case. We can see that the admin actor can add pharmacists, add medicines, add medicine, etc. Whereas, pharmacists can view stock details of the allotted stock, manage profiles, etc.

DFD Diagram for Online Pharmacy Management Project

A data flow diagram represents the flow of information for any process or system. It shows the system with its relationship to external entities. Here, we can see how the pharmacists and the process flow work in a system.

After logging in, Admin will land on the home page where they can manage their profiles. Admin can add, view medicines, manage prices of medicines, view bookings, check the availability of the medicines, etc. Admin can Add/Remove/Update medicines, manage medicines/product categories, details, and availability, can manage pharmacists, stocks, etc.


Click here to get the source code