Project Requirements
Project Requirements
This work shows the analysis for the development of a sales and
prescription control system for the “Botica la Esperanza” pharmacy. The work is
structured according to the methodology that Roger Pressman exposes in his book
“ Software Engineering, a Practical Approach”, in its seventh edition .
Beginning Stage.
Despite being a method that has worked for them for years, the inventory
and information on the recipes is not very exact and requires many sheets and
space to store them, as well as causing discomfort to customers and the seller
himself by not knowing if They have the product or it is expired and keeping all that
documentation in order is very difficult.
Proposed Solution.
Design and develop a point-of-sale system to keep track of sales and
inventory, be able to print reports, review how many medications are expired to
remove them from inventory, and be able to keep track of customer prescription
data. to later or when necessary to be able to print them, as well as to be able to
keep track of the sellers.
Project requirements
Below is a list of the requirements that were discovered in the first instance for the
development of the system. For a second analysis, they were simply described in
more detail and adding the requirements regarding user privileges and their
creation.
1.- The company requires consultations on medications that require a prescription for
subsequent sale.
2.- In addition, control of the sales made in the pharmacy is required.
3.- The company manages many suppliers who supply the drugs.
4.- Many drug laboratories are managed.
5.- You need to know or have stored the information of the pharmacy employees.
6.- You need to know which drugs are close to expiring or expired.
7.- It is necessary to have an inventory of all the product that exists in the warehouse.
8.- The pharmacy needs monthly reports to verify the financial situation.
9.- Proof of payment is required to be provided for customers who purchase products.
10.- When selling an antibiotic or controlled medication, the prescription needs to be
recorded, and the following information must be included, at a minimum:
- Patient identification
- Identification of the doctor (prescriber)
- Medical certificate.
- Date of issue
- Name, concentration and total amount of the drug
- Indications for use
- Route of administration
- Presentation
- Frequency and duration of treatment
11.- The company requires maintaining a record of the pharmaceutical products
purchased, acquired, or introduced into the warehouse/inventory.
12.- It is required to be able to update controlled medications.
13.- Antibiotics can only be dispensed through a legal prescription or medical order.
14.- Prescriptions for controlled substances can be filed in written version or
electronically. If the pharmacy chooses to maintain electronic files, the original copy of
the prescriptions should also be kept.
15.- The purchase date of the drug that requires a prescription must be saved.
16.- The total amount dispensed must not exceed the total prescribed amount
17.- Nothing should be dispensed after the period for which the prescription is valid.
18.- The employee must be registered in the system.
19.- Control must be kept of which employee made the sale.
When the seller or pharmacist receives the client's order, he must search
the database to see if he has the medication and if so, the system must
verify if the medicine requires a prescription, inform the seller, he will ask the
client for the prescription and will write the prescription data such as: name
of the client, date of issue of the prescription, date of expiration of the
prescription, name of the doctor, professional license of the doctor, name of
the medication, quantity dictated by the prescription, quantity sold,
chemicals , type (antibiotic or other controlled medication) and address will
then proceed to register the purchase in the system and it will save the data,
calculate the total sale price and update the warehouse quantities in the
database.
Restrictions
Risks
Classification of Requirements
In the classification of requirements, all aspects provided by clients and users are considered
in order to organize them in such a way that the functional aspects that the system will have to
cover the needs of the company are considered.
Functional Requirements
Non-Functional Requirements
The functions of the system are what it will do . They must be identified and listed in
cohesive and logical groups. Functions must be classified to prioritize them and identify
those that would otherwise go unnoticed (but consume time and other resources). The
categories are:
- Obvious: It must be done, and the user should know that it has been done.
- Hidden: It must be done, although it is not visible to users. These functions are often
(wrongly) omitted during the requirements elicitation process.
Below is the description of the extended use cases, which are tables that
come out of the use case diagram, in which the system processes are described in
a clearer way, that is, the steps that have to be done or the steps that must be
gone through, in order to carry out said process, in which actors intervene.
Alternative Courses
None
15.- Include(Print Receipt). 16.- The system saves the record of the sale
in the DB.
17.- This use case ends when the user has
made the sale and registers in the system.
Alternative Courses
Line 5: The system does not find the data, an
information message is displayed.
Line 10: The medication does not need a
prescription, the sale is registered.
Alternative Courses
None
Alternative Courses
Line 4: The Pharmacist chooses to cancel, the
deletion is cancelled.
Alternative Courses
Line 3: Cannot connect to the server, a message is
displayed informing that it cannot connect
to the server.
Line 4: There are no new updates, a message is
displayed informing you that you have the
most current database.
Extended Use Case
Alternative Courses
None
Alternative Courses
Line 3: Missing fields to fill, the system displays a
fill fields message.
Line 4: The system does not find the records, a
message is displayed informing it.
Line 7: The Manager cancels the printing, leaves
the section.
Extended Use Case
Alternative Courses
None
Alternative Courses
Line 3: Missing fields to fill, the system displays a
fill fields message.
Genera
Report
te
Genera
Employee te Note
Register
Manage
Recipe
Medicine Reques
t
Purchase notification
Bill
Add
Inventory
Glossary
Restrictions Restrictions
It must have the name of the medication You must say if it is a controlled medication
It must have the route of administration
Domain Class Domain class
Pending to specify Pending to specify