Online Medicine Ordering System Project
Online Medicine Ordering System Project
TITLE
BY
BALOGUN OLAMIDOTUN
PSP/ICT/CSC/ND/21/1230
SUPERVISOR
1.0 Introduction...............................................................................................................................3
1.1 Background of the Study......................................................................................................3
1.2 Statement of the Problem.......................................................................................................4
1.3 Aim and Objectives...............................................................................................................5
1.4 Scope and Limitation of the Study.........................................................................................5
1.5 Justification of the Study.....................................................................................................6
CHAPTER TWO...................................................................................................................................7
2.0 Literature Review......................................................................................................................7
2.1 Introduction...........................................................................................................................7
2.2 Overview of Existing Systems...............................................................................................8
2.3 Challenges in Adapting Existing Systems to Nigeria...........................................................10
2.4 Online Medicine Ordering Systems in Nigeria....................................................................11
2.5 Trust and Counterfeit Issues................................................................................................12
2.6 Advantages and Disadvantages of Existing Systems..........................................................12
2.6 Disadvantages:.....................................................................................................................13
2.7 Key Factors Influencing System Design.............................................................................14
2.7 Legal and Regulatory Framework........................................................................................15
CHAPTER THREE.............................................................................................................................17
RESEARCH METHODOLOGY.........................................................................................................17
3.5 System Architecture................................................................................................................34
3.6 Use Case Diagram....................................................................................................................34
1.0 Introduction
operates over the Internet and sends orders to customers through credit cards,
shipping companies, or pay on delivery system. People can buy and sell their
products sitting at home. It is getting popular day by day all over the world even
in domestic market space. The aim is to make the ordering process and
The current era can be identified as the age of internet, where manual,
based applications. The age of internet caused the paradigm shift of many
conventional industries from brick and mortar to click and mortar. Similarly, the
pharmacy which was later identified to be a good solution for the inefficiencies
This project seeks to reduce the barrier in accessing drugs in rural area, where
are underdeveloped. it also seek to create a medium where users can have
access to limited varieties of medicine via the web through their mobile devices.
The design of this system aims to reduce the traditional approach to obtaining
of which are concentrated in urban centers. For people living in rural regions,
this often means traveling long distances, sometimes crossing multiple towns, to
substandard medications.
buyer is directly online to the seller’s computer usually via the internet. There is
location efficiently.
Aim
Objectives:
2. Due to time constraints, the software that is developed cover only few
features.
costs
2.1 Introduction
pharmaceutical sales have reached more than nearly $50 billion. This is a
dramatic increase when compared to the $1.9 billion in 1999. At the click of the
consumer products including drugs are being advertised and sold over the
Internet.
the existing manual system with the assist of increase automated software so,
that treasured statistics can be stored for longer period with clean having access
to and manipulation of the identical. The registered user can get admission to
the account with valid credentials. User can surf the drugs gadgets consistent
with classes, Cart and online charge options are available to user. User
can tune their orders with the medicine info. In Online medicine
Ordering System Admin can deal with the functionalities like add new
medicine objects in line with availability and their expiry dates. Admin have
authority to view order details and update the transport popularity of medicines.
The fee transaction and consumer information are also viewable to admin
an allowable number. The proposed scheme has two features that allow
No one, not even an authority, identify users who have been authenticated
within the allowable number, and that allow anyone to trace, without help from
the authority, dishonest users who have been authenticated beyond the
Online medicine ordering systems have gained popularity in many parts of the
semi-urban settings.
NetMeds and PharmEasy, for example, have a large customer base in India
refills, and ensuring that customers have access to critical medications. These
prescription to pharmacy store from where the items will be dispensed (Keralli,
2018).
avenue: In this era of science and technology, computer plays an important role
development. The advent of the internet has had a significant impact on the
formation of an information-driven, rapid-paced society. The number of internet
users reached 150 million in only five years compared to 13 years for television
and 38 years for radio. Consumer expectation for access ,convenience, and
exchange and for e-commerce. The internet offers a wide variety of health
One of the biggest challenges facing the adoption of online medicine ordering
highlights that only about 30% of Nigerian pharmacies offer any form of online
services, and most are located in major cities such as Lagos, Abuja, and Port
Harcourt. As a result, rural areas, where the majority of the population resides,
system nationwide.
urban areas. However, these platforms struggle with issues such as logistics for
last-mile delivery in rural areas, low user trust, and the high incidence of
many rural users lack the digital literacy necessary to navigate these platforms
effectively. Hence, while these systems exist, they cater primarily to affluent
underserved.
Furthermore, platforms in Nigeria have not yet fully integrated with healthcare
professionals such as pharmacists and doctors. Ojo (2019) suggests that the lack
means that the prescription process is still largely manual, which complicates
This is a critical factor affecting user adoption of online systems. Users are
often hesitant to order medicines online due to the fear that they may receive
fake drugs.
To mitigate this issue, the proposed system will integrate a strong verification
process, ensuring that only certified pharmacies are listed on the platform.
Additionally, the platform will collaborate closely with regulatory bodies like
NAFDAC to ensure that only verified products are sold through the system.
particularly helpful for patients with chronic illnesses who need regular
specific hours, online platforms are available round the clock, providing
those in rural areas, may not stock a wide variety of medicines. Online
rare drugs.
4. Cost Savings: Online pharmacies often offer discounts and deals that
2.6 Disadvantages:
medication.
some regions increases the risk of counterfeit drugs being sold through
systems. Adesina (2019) found that a large portion of rural dwellers trust herbal
Economic Factors
Alemika (2020) reports that poverty limits the ability of many Nigerians to
afford essential medicines, let alone cover delivery costs. The proposed system
must therefore explore options like tiered pricing, partnerships with government
health initiatives, and perhaps installment payment plans for more expensive
medications.
Technological Factors:
Low internet penetration in rural areas remains a significant barrier. Eze (2020)
highlights that only 42% of Nigerians have access to reliable internet, with
much of that being concentrated in urban areas. This poses a challenge for
environments, with features that allow for offline ordering that syncs once an
essential, as most users in Nigeria access the internet via their smartphones.
Agency for Food and Drug Administration and Control), which is responsible
for ensuring that only safe, high-quality medicines are sold to the public.
Okoro (2020) argues that the absence of clear guidelines on the verification of
medicines. This legal gap will need to be addressed for online medicine
RESEARCH METHODOLOGY
3.1 Introduction
In Nigeria, most medicine purchases are still done through traditional physical
pharmacies. Although a few online platforms exist (such as HealthPlus), these
systems are generally limited to urban areas and suffer from operational
inefficiencies like:
1. User Accessibility: Most online platforms are not optimized for rural
users due to poor internet penetration and delivery logistics.
2. Trust Issues: Due to the prevalence of counterfeit drugs, users are
reluctant to trust online platforms for ordering medicines.
3. Regulatory Challenges: Inadequate verification of prescriptions and
drugs leads to legal and safety concerns.
Input design involves defining the methods and mechanism through which users
interact with the system to input data or command. The input design focuses on
how users will interact with the system, providing necessary information to
process their orders. In the context of this proposed online medicine ordering
system, the following key inputs include:
1. User Registration Information: Users will be required to input personal
details such as name, contact information, and delivery address during
registration.
2. Prescription Upload: For prescription-required medicines, users must
upload a valid prescription in formats such as PDF or image.
3. Search Queries: Users will search for medicines through a search bar,
which will accept text inputs for medicine names or categories.
4. Order Details: Users must input order details, including quantity,
preferred delivery time, and payment method (cash on delivery, bank
transfer, etc.).
To ensure smooth input, the system will provide error messages and validation
prompts to guide users in filling in the correct information.
Output design determines how data will be presented to the user. The key
outputs of the proposed system include:
The output design focuses on clarity, ensuring that all notifications, summaries,
and tracking details are presented in an easy-to-understand format, especially
for users with low digital literacy.
Request
PLATEAU
STATE
Response
POLYTECHNIC
ADMINISTRATION
MEDICAL
LEVEL –1 DATA FLOW DIAGRAM
Signup
PLATEAU STATE
POLYTECHNIC
Vendor User Id MEDICAL
Information Password
User Id
Password
Products
Information User Id
User Id
Password
Password
Order
Details Direct
Ordering
LEVEL 2 DATA FLOW DIAGRAM
YES
Validation Display
Error Process Total
Customer ID
User
Information
Message
Customer Table
User
Information
Message
Registratio USER
n
START
Is the input
information
NO
valid?
DATABASE
YES
START
FLOW CHART FOR ADDING NEW PRODUCT
START
Generate The
Product Code
Valid
NO
information?
YES
Submit The
Information
STOP
FLOW CHART FOR PRODUCT SELECTION
START
VALID
INFORMATION?
Database
STOP
3.3.4 Database Design
The database design focuses on organizing and structuring the system's data to
ensure fast retrieval, secure storage, and ease of management. Key components
of the database include:
1. User Table: Stores user information such as user ID, name, contact
details, and delivery preferences.
2. Pharmacy Table: Stores information about partner pharmacies,
including pharmacy ID, name, location, and stock information.
3. Medicine Table: Contains records of available medicines, including
medicine name, category, price, prescription requirements, and expiration
dates.
4. Order Table: Logs order information, including order ID, user ID,
medicine ID, quantity, price, order status, and delivery tracking number.
5. Prescription Table: Stores uploaded prescriptions, linked to specific user
IDs and order IDs.
The database will be designed using a relational model to ensure efficient data
organization and retrieval, particularly for order management and prescription
verification.
Customer Table:
In this table all distributor (customer) related information are maintained.
Vendor Table:
In this table all the Categories under a vendor are maintained.
Category Table:
In this table all the Categories under a vendor are maintained.
Products Table:
In this table all the products information under different categories of a
particular vendor are maintained.
Discount Table:
In this table all product codes are their discount structures are stored.
Order Table:
In this table all the orders information put by the customers are
maintained.
Amount Table:
In this table the Customer id and the amount he billed are stored after
ordering.
Admin Login Table:
In this table the administration login and password information are stored.
TABLE: CATEGORY
FIELD NAME DATA TYPE CONSTRAINTS
VENDOR_CODE VARCHAR2
CATEGORY_CODE VARCHAR2 PRIMARY KEY
CATEGORY_NAME VARCHAR2
TABLE: PRODUCT
TABLE: ORDER
FIELD NAME DATA TYPE CONSTRAINTS
CUSTOMER_ID VARCHAR2 PRIMARY KEY
PRODUCT_CODE VARCHAR2
QUANTITY_ORDERED NUMBER
UNIT_COST NUMBER
NET_COST NUMBER
ORDER_DATE DATE
PAYMENT_MODE VARCHAR2
TABLE: VENDOR
FIELD NAME DATA TYPE CONSTRAINTS
VENDOR_CODE VARCHAR2 PRIMARY KEY
VENDOR_NAME VARCHAR2
ADDRESS VARCHAR2
TABLE: AMOUNT
FIELD NAME DATA TYPE CONSTRAINTS
CUSTOMER_ID VARCHAR2
AMOUNT NUMBER
DATE DATE
3.4 Algorithm
The development of the system will involve using modern web and mobile
application technologies. The following programming languages and
frameworks will be used:
3.5.1 PHP (Hypertext Preprocessor)
HTML is the foundational markup language for creating the structure and
layout of web pages. In the crime reporting system, HTML is used to define the
structure of each page, including forms for users to submit reports, pages to
view report details, and interfaces for police officers to review assigned cases.
HTML elements like <form>, <input>, <button>, and <table> make it
possible to create interactive and structured pages. HTML ensures that all
content on the website is organized and accessible, providing a solid framework
that is styled with CSS and made interactive with JavaScript.
CSS is used to control the presentation and visual styling of HTML elements,
allowing for a polished, user-friendly interface. In this system, CSS is employed
to style form fields, buttons, navigation bars, and layout grids, giving the
application a cohesive look and feel. CSS enables the design to be responsive,
ensuring that users on various devices (desktops, tablets, and smartphones) have
an optimized experience. It also allows customization of elements based on user
interaction, such as highlighting active buttons, providing visual feedback, and
enhancing readability, all of which are essential in a professional reporting
system.
3.5.4. SQL (Structured Query Language)
SQL is the standard language for managing and interacting with relational
databases. In this crime reporting system, SQL is used to handle all data-related
operations, including data storage, retrieval, updates, and deletions within the
database. SQL queries facilitate the fetching of crime report records, assigning
officers, and tracking report statuses. The language enables complex data
operations, such as joining multiple tables (e.g., linking crime reports with
officer information) and filtering reports based on specific criteria (e.g., status
or date). SQL's robustness ensures the database is well-managed, efficient, and
secure, making it essential for storing sensitive user and report data securely.
3.5.5. JavaScript
The proposed system will require certain hardware and software specifications
to function optimally.
System : core i5
Hard Disk : 500 GB.
Monitor : 15 inch VGA Color.
Mouse : Logitech Mouse.
Ram : 6 GB
Keyboard : Standard Keyboard