Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

PHARMACY EASY: ONLINE MEDICINE ORDERING APP

Davao del Norte State College

New Visayas, Panabo City

A proposed project title submitted by:

Alayon, Ariel A.

Delos reyes, Aj V.

Gerbolingo, Kristine C.

Lomod, Dexter B.

Lumen, David jones M.

Jan 8, 2023
1 CHAPTER

INTRODUCTION

Background of the Study

Recently, technology has played an increasingly vital role in all aspects of


management in order to effectively computerize the majority of people's occupations.

The practice of pharmacy encompasses the evaluation and interpretation of


medical orders, the administration of pharmaceuticals, the dispensation of prescribed
drugs from trained medical practitioners, the review of prescribed drug regimens, and
the proper storage of drugs. According to the American Pharmacists Association,
pharmacy has a mission that includes ensuring proper medication usage and enjoyment
of pharmacological services in order to obtain optimal therapeutic effects. [1]

Due to convenience, the possibility for cost savings, and anonymity, the internet
has become an acceptable method of purchasing drugs over the last two decades.
According to early research on the use of the internet to buy medicines, the likelihood of
acquiring prescriptions or purchasing prescription drugs online is extremely remote [2].
However, recent data reveal that the number of people using internet pharmacies and
purchasing drugs and other health products online is on the rise [3].

Pharmacy apps can provide the healthcare professional with opportunity for a
quick, user-friendly way of accessing important medical information to support patient
care.[4] According to an early definition by Fung et al [5], an online pharmacy is an
internet-based vendor (legal or illegal), which sells medicine and may operate as an
independent internet-only site, an online branch of “brick-and-mortar” pharmacy, or sites
representing a partnership among pharmacies. Briefly, an online pharmacy is a website
offering to deliver, distribute, or dispense medication on the internet directly to
consumers [6,7].

The rapid expansion of the internet, the ever-increasing digital health, the shift
away from direct doctor-patient relationships to self-diagnosing, consumer experience in
online purchases, the ease of mail-order trade, and distance selling have all aided the
growth of the online pharmacy market [8,9]. The provision of medications through the
internet has evolved in a variety of ways and according to various models in different
parts of the world. This is owing to the fact that the regulatory, economic, and cultural
settings are all different. The internet pharmacy market in the United States is primarily
prescription-based, whereas in Europe, this segment is forming on a nonprescription-
based basis [10].

The online purchase of pharmaceuticals outside of the regular supply chain poses
a number of patient safety concerns, including the possibility of receiving counterfeit
medications. Counterfeit medicine is estimated to account for 10% of all medicines sold
worldwide, ranging from less than 1% in wealthy countries to more than 30% in poor
countries such as Africa, Asia, India, and Latin America [11,12].

The Union Health Ministry has released guidelines for e-pharmacies to register with
the Central Drugs Standard Control Authority (CDSCO), India's major licensing and
regulating organization for pharmaceutical sales [13], in an attempt to legitimize online
drug sales This tendency has been accelerated by the use of mobile devices, which
provide portability, mobility, personalization, and ubiquity. Consumers use the Internet
to get not only health information, but also a variety of health services and goods.
Pharmaceutical e-commerce has grown significantly in tandem with the digital health
industry's continued rise. B2C online pharmacies can be online extensions of brick-and-
mortar pharmacies or third-party B2C platforms that provide a virtual transaction
platform for consumers and drug vendors while maintaining a neutral identity. The
growing market share of online pharmacies is due to the outstanding customer
experience and simplicity of transactions during online buying [14, 15].

Our chosen pharmacy has a wide customer base as a result of its size and quantity
of service. Because of the rising demand for medications in many places, the number of
clients is rapidly expanding. As a result of this predicament, the pharmacist is kept busy
and spends a significant amount of time managing and controlling their business data.
Meanwhile, the pharmacist must ensure customer pleasure in order to maintain
accurate records in a timely manner.
The 2M Pharmacy in Barangay Salvacion, Bangoy St, Panabo City provides
medicines to their barangay. However, they will face any problems, such as not being
able to accommodate the customer on time due to the long queue of people who want
to buy medicine.

And also, every time it has an inventory report prepared for pharmaceutical
supplies, 2M Pharmacy staff will have to recount every medicine and supply and check
their logbooks and excel files. This is a time-consuming activity. This process has many
risks, like miscalculation of inventory, loss of inventory cards, and other undesirable
issues. Tracking medicine expiration is also a primary task that needs to be synthesized
so that staff are prompted automatically to act according to inventory protocols.

The 2M Pharmacy has an inventory system, but according to the pharmacist, they
will need another system that increases accuracy and improves the safety and
efficiency of their pharmacy store.

Hence, the project development team developed a Pharmacy application to address the
problems encountered by the pharmacy.

General Objectives

The proponent aims to develop an Online Pharmacy with mobile and web
application.

Specific Objectives

Specifically, the system includes the following functions:

1. Grant the customer using the mobile app to:

a. Register and login.

b. Search medicine.

c. Determine generic and brand name of medicine.

d. Order medicine online.


e. Upload doctor’s prescription.

f. Select date and time to pick up order.

g. Pay purchases medicine through GCash.

h. View purchase history.

2. Allow the admin to update stocks.

3.Accept walk-in customers to order products

3. Accept and/or reject customer orders made thru mobile app.

4. Allow the admin to monitor the following:

a. Medicine stocks.

b. View sales history.

c. Monitor medicine purchases.

5. Generate the following reports:

a. Inventory of stocks medicines.

b. Out of stock medicine

c. Official receipt.

d. Near expiry medicines.

e. Add/Delete daily, weekly and monthly sales.


Significance of the project

The project benefits the following:

Administrator. The project shall allow the administrator to lessen their effort in recording,
organizing, and retrieve data since the system is automated and convenient to use

Customer. The project shall allow the customer in easy purchasing medicine and lessen
their effort regarding the availability of medicine.

Future Developers. The project shall give the future developers as their reference in
developing related systems using cashiering and inventory management systems.

Cashier. The project shall allow the staff to lessen their effort regarding customer
payments and inventory management.

Scope and Limitation

Scope:

A website and a mobile application make up the Online Pharmacy system. The
website will be used to manage all of the pharmacy's operations, including sales and
inventory. It enables the administrator to add new batches of pharmaceuticals to the
database, delete old drugs, and change the current dosage and indications of a drug.
Furthermore, the system will alert the administrator when any pharmaceuticals on the
shelf are about to expire. The app's mobile version allows customers to order medicine
online and pick up them up at a time that is convenient for them.

Limitation:

The system does not allow for online consultations with doctors or payment for lab
tests. There is also no accounting system included in the system. The method is
exclusively for online medicine purchases and pick-up, not for delivery to their
respective locations.
Definition of Terms

Medicine. The science or practice of the diagnosis, treatment, and prevention of disease.
Operationally, medicine is ordered online through the web app and mobile app to
reserve the drug medication.

Receipt. Is a document acknowledging that a person has received money or property in


payment following a sale or other transfer of goods or provision of a service. All receipts
must have the date of purchase on them.

Report. Is a computer program whose purpose is to take data from a source such as a
database, XML stream, or a spreadsheet, and use it to produce a document in a format
that satisfies a particular human readership. Operationally, displays the list of customer
transactions with the respective invoice.

SMS Notification. Are text messages that are sent when an event occurs. An event, in
this case, can refer to something as exciting as an app update to something as urgent
as a weather alert. SMS stands for “Short Message Service.” SMS Notifications are sent
the same way as any other text message. Operationally, Admin will notify the customer
via SMS that the medicine is ready to reserve.

System. Is a set of things working together as parts of a mechanism or an


interconnecting network. Operationally, was for monitoring of stock inventory and
cashiering of sales in an online medicine system.
CHAPTER 2

METHODOLOGY

The purpose of this chapter is to exhibit system flow and strategies connected in
this study. It is a scientifically-proven, systematic and disciplined approach to project
development and implementation.

In this project I have used System Development Life Cycle (SDLC) Methodology.
System Development Life Cycle is a traditional methodology for developing maintaining
and replacing for successful system development. The project managers and project
development team used the waterfall methodology to determine the performance
needed to understand what to design and describe the inputs and examine the project's
predicted output.

Following the analysis of the requirements, the developers created a system design
to aid in the specification of hardware and the definition of overall system architecture.
The developers developed the software code to move on with the project
implementation. Constant software testing is performed on the completed project to
uncover any defects or faults. The program was deployed in the end user's environment
once it had been fully functioning and tested. If any changes are required as a result of
client requests, the project development team will execute maintenance.

System Planning

The project development team submitted a formal request to develop a project to


Ms. Maria Fe Salaysay the owner of pharmacy. The project development team
conducted an environmental scanning and interviewed the owner of the pharmacy
regarding the problems encountered in the process of buying drugs in the pharmacy.
The project development team identified that in times there are lot of costumers buy to
the said pharmacy some of them will not easily entertain or cater on time.

The current way of the pharmacy in terms of buying will time consuming for the
customer and there are times that they stock in a long queue. Every detail that we can
get in conducting an interview at their organization is great value and help to plan how
to solve their problem. Hence, the project development team found out that the
pharmacy needs to have a mobile and web application for ordering medicine and
inventory management to make the processes time-efficient, and hassle-free.

Project Team Organization

The organization of the project development team was shown in the figure 1. These
refers to providing distinct duties to each member of the team in order for them to focus
on their job areas in constructing the system. The project manager, who is in responsible
for monitoring and mandating the overall progress of the development, is part of the core
team. The assistant programmer is in control of the project's visual output. The system
analyst is in control of the system's overall data flow analysis. The programmer is in
charge of maintaining the database, the function, and the code. Finally, there is the
documenter, who is in control of documentation.
Figure 1. Project Team Organization

Work Breakdown Structure

Figure 2 shows the work breakdown framework for the design of the Pharmacy Easy
Application. The work breakdown structure (WBS) is a tool for breaking a construction
project into sub-projects, tasks, sub-tasks, work packages, and so on. The picture
depicts the processes in the systems development life cycle, which starts with system
development and concludes with systems maintenance. Each objective has been
achieved preceding moving on to the next, implying that each activity is based on the
preceding activity.
Figure 2. Work Breakdown Structure
GANTT Chart

Figure 3 shows the Gantt chart for planning and scheduling projects. It helps the
developers to assess the project duration, determine the resources needed, and plan
the order in which you'll complete tasks. The system planning that includes the
environmental planning, title proposals, title defense and client interview. To be followed
by the system analysis where reviewing the existing business process, system
requirements, constructing Use Case, Context flow and Data flow diagram and
identifying the technology and tools is identified and performed. After the system
analysis, the system design will be executed which includes the creation of ERD and
class diagrams. The system Implementation will follow which includes the system
implementation plan and system testing plan. Lastly, the system maintenance of the
system.
Figure 3. Gantt Chart
Systems Analysis

After we gathered an information, the project development team were able to


classify and recognized the problems and information needed to perform the task.
The problems encountered have also been analyzed base on the environmental
scanning conducted by the team to gain some ideas on how to solve their problems.
The development team have formulated logical design of the "pharmacy easy" as
well as the processes and techniques needed for its development. The project
development team examined many relevant systems/s and developed various
concepts, methods, and strategies to improve the existing system and construct a
user-friendly web-based and mobile-based system for the pharmacy during this
phase.

Furthermore, the system analysis phase describes the many diagrams used to
comprehend and analyze the system flow. The current system business process, in
which the pharmacy's previous process was reviewed to assist identify the
improvements that needed to be implemented. To illustrate the software data flow
and identify the system's end users, the developers constructed and built the
system's Use Case Diagram, Context Flow Diagram, Diagram 0 Data flow Diagram,
and System Flow Chart. The developers also determined the Technology and Tools
required to complete the software project.

Existing System Business Process

The existing system business process is shown in Figure 4 and 5. The 2M


Pharmacy has been operating for years. The customer goes to the shop and
purchases the medicine required. So, a lot of time is wasted and the person gets
tired. If he wants to exchange the product, once again he goes to the shop and
replaces them. The complete process depends on the physical interactions.
Figure 5. Existing System Business process of I pharmacySys

Context Data Flow Diagram

The Context Flow Diagram is shown in Figure 6. The context diagram below
shows the interaction of the system to administrator, customer, and pharmacy. In
this diagram, the administrator entity will input medicine stocks, program details and
medicine dispensed to the system. The system will process the inputted data and
inventory status, expiration status, and medicine received by the customer.

The flow of the system begins from the admin process in which the request for
registration of pharmacy, adding of medicine products and category, medicine
information would be approved or disapproved. The report was automatically saved
into a database and available for printing services. The system admin reports at
every end of the transaction to validate customer transactions.

Figure 6. Context Data Flow Diagram

Use Case Diagram

Use case diagrams to model the functionality of a system using actors and use
cases. Use cases are a set of actions, services, and functions that the system
needs to perform. In this context, a "system" is something being developed or
operated, such as a website. The "actors" are people or entities operating under
defined roles within the system, shown in figure 7.
Figure 7. Use Case Diagram

Diagram 0 Data Flow Diagram

The Diagram 0 Data Flow Diagram is shown in Figure 8. The data flow
diagram maps out the flow of information of all the processes occurring in the
system.
Figure 8. Diagram 0 Data Flow

System Flowchart

The System Flowchart is shown in Figure 9. A system flowchart shows the


graphical representation of the data flow in the system, and represents the work
process of the system.
Figure 9.1 System Flowchart in Admin
Figure 9.2 System Flowchart in Customer
Figure 9.2 System Flowchart in Pharmacy Assistant
Technology and Tool

XAMPP Control Panel v3.2.2

XAMPP is designed to be a development server in a box. There are many


other WAMP packages, but XAMPP for Windows is among the most complete and
easiest to install. This does however come at the expense of security, so XAMPP is
not meant to be used as a production server (Gralla, Gabe, 2011). The project
development team used the XAMPP Control Panel in the project to stand as pages
of the internet even without connection to it. It helps create the software project for it
is fast, reliable, secure, and free and can provide support for creating and
manipulating databases.

Figure 10. XAMMP Control Panel v3.2.2

Sublime Text

The Sublime Text is shown in Figure 11. Sublime Text 3.0 comes with an alternate
theme, called Adaptive, which users of the editor may enable. It uses, better inherits,
colors from the color scheme. The new version of the editor comes with three new
colors schemes on top of that. (Martin Brinkkmann, 2015). The project development
team used the Sublime Text as a code editor for the system development. It is where
the developers edit functional codes with ease. The developers can inspect and
resolve the code right in the editor.

PHPMyAdmin

The PHPMyAdmin is shown in Figure 12. The developers used the


PHPMyAdmin as a database management system. This was also used to build and
create a local database for the system to run in any server. Also, PHPMyAdmin
allows the developers to display images stored in the database and directly connect
dta on the server.
Figure 12. PHYMyAdmin Interface

Android Studio

Android Studio is the official integrated development environment (IDE) for


developing android application, which is based on IntelliJ IDEA. This tool was used
for implementing our e-medication app. The screenshot shows the interface of
Android studio version 1.2 which was used for implementation of this project.

Figure 13. Android Studio


Systems Design

The developers created the Entity Relationship Diagram (ERD) to conceptualize


the data flow of the Pharmacy Easy: Online Ordering App. This aided the developers in
analyzing the function and identifying the many entities engaged in the system in order
to demonstrate the static structure of classifiers in a system. Furthermore, the end-user
may quickly comprehend the flow and operation of the system. The developers also
constructed a Data Dictionary in which distinct tables were identified, including the
properties, data type, keys, and description.

Entity-Relationship Diagram

The Entity-Relationship Diagram (ERD) is shown in Figure 14. The Entity-Relationship


diagram has entities including. The developers used the entity relationship diagram to
identify the relationship of the entities involved in the system.

Figure 14. ERD


Data Dictionary

The table 1 illustrates the collection of description of data on the proposed


project, Pharmacy Easy: Online Medicine Ordering App.

ADMIN TABLE

Field Name Data Type Description

Admin_ID(Primary Key) Int, not null Contains the admin id

Admin_Name Varchar (255), Contains the admin name


not null

Username Varchar (255), Contains the username


not null

Password Varchar (255), Contains the password


not null

Email_Address Varchar (255), Contains the email address


not null

PHARMACY Table

Field Name Data Type Description

Pharmacy_ID(Primary Int, not null Contains the pharmacy id


Key)

Pharmacy_Name Varchar (255), Contains the pharmacy


not null name

Address Varchar (255), Contains the address of the


not null pharmacy
Password Varchar(255), Contains the password
not null

Username Varchar(255), Contains the username


not null

MEDICINE Table

Field Name Data Type Description

Medicine_ID(Primary Int, not null Contains the medicine id


Key)

Brand_Name Varchar (255), Contains the branded


not null medicine

Generic_Name Varchar (255), Contains the generic


not null medicine

Price Int, not null Contains the prices


medicine

Image Binary, not Contains the image


null medicine

Description Varchar (255), Contains the


not null

PAYMENT Table

Field Name Data Type Description

Payment_ID(Primary Int, not null Contains the payment


Key)

Payment_Name Varchar (255), Contains the payment name


not null

Tatol_payment Int, not null Contains the total payment

SUPPLIER Table

Field Name Data Type Description

Supplier_ID (Primary Int, not null Contains the id of the


Key) supplier

Supplier_Name Varchar (255), Contains the name of the


not null supplier

Address Varchar (255), Contains the address of the


not null supplier

Information Varchar (255), Contains the information of


not null the supplier

CUSTOMER Table

Field Name Data Type Description

Customer_ID(Primary Int, not null Contains the customer id


Key)

Customer_Name Varchar (255), Contains the customer


not null name

Address Varchar (255), Contains the address of the


not null customer
Since Our develop system will not already finish, our team planned that we
must show it first to the panels and as well as to our adviser to check its overall
performance so that we will have an idea based on their suggestions and
recommendations about the system performance. Pharmacy Easy will installed at
M2 Pharmacy located at Barangay Salvacion, Bangoy St, Panabo City, Davao Del
Norte after our team received consent from the panels. Our team planned to install
XAMMP, and Sublime text and software to the computer unit of M2 Pharmacy upon
implementing our project our team instructed to the staff and as well as the owner of
the company on how to use our developed system, so that they could familiarize the
sequence of the buttons and as well as the functionalities.

During the maintenance phase, we planned to demonstrate first our developed


system to the staff and the owner so that they know on how to navigate and utilize it.
and to secure the performance of the system and in times they have an issues or error
found we provided them a copy indicating the solutions if they have encountered an
error to the system and also our team decided to provide a contact information to the
M2 pharmacy so that they could able to message us if there any problems or issues to
the system we developed.
References

1. CPP. (2009). Scope of Contemporary Pharmacy Practice: Roles, Responsibilities,


and Functions of Pharmacists and Pharmacy Technicians

2. Baker L, Wagner T, Singer S, Bundorf M. Use of the Internet and e-mail for health
care information: results from a national survey. JAMA. 2003 May 14;289(18):2400–6.
doi: 10.1001/jama.289.18.2400.

3. Desai K, Chewning B, Mott D. Health care use amongst online buyers of medications
and vitamins. Res Social Adm Pharm. 2015 Nov;11(6):844–58. doi:
10.1016/j.sapharm.2015.01.001.

4. Aleksey Sukhanov. What is an App? [Accessed 18th October 2012];

5. Fung CH, Woo H, Asch S. Controversies and legal issues of prescribing and
dispensing medications using the Internet. Mayo Clin Proc. 2004 Feb;79(2):188–94. doi:
10.4065/79.2.188.

6. Orizio G, Merla A, Schulz PJ, Gelatti U. Quality of online pharmacies and websites
selling prescription drugs: a systematic review. J Med Internet Res. 2011 Sep
30;13(3):e74. doi: 10.2196/jmir.1795.

7. US Congress 2008. [2018-05-22]. Ryan Haight Online Pharmacy Consumer


Protection Act of 2008

8. Mackey TK, Nayyar G. Digital danger: a review of the global public health, patient
safety and cybersecurity threats posed by illicit online pharmacies. Br Med Bull. 2016
Jun;118(1):110–26. doi: 10.1093/bmb/ldw016.

9. Gabay M. Regulation of Internet Pharmacies: A Continuing Challenge. Hosp Pharm.


2015 Sep;50(8):681–2. doi: 10.1310/hpj5008-681.

10. Dudley J. Mail Order and Internet Pharmacy in Europe. Kidderminster UK: James
Dudley International Ltd; 2014. Entering the Digital Battleground.

11. Dorsey PJ, Hellstrom WJ. Medscape. 2007. [2018-05-23]. The Illicit Sale of
Medications for the Treatment of Erectile Dysfunction

12. Bate R. The Deadly World of Fake Drugs. Foreign Policy, Washington Post.
2008;168:56–65.

13. Shelar J. Delhi HC order: State FDA to crack down on e-pharmacies. The Hindu.
2018.

14. Mackey TK, Nayyar G. Digital danger: a review of the global public health,
consumer safety and cybersecurity threats posed by illicit online pharmacies. Br Med
Bull. 2016;118(1):110–26.

15. Gabay M. Regulation of internet pharmacies: a continuing challenge. Hosp Pharm.


2015;50(8):681–2.

You might also like