You are on page 1of 44

‫جامعة المنوفية‬

‫ كلية الحاسبات والمعلوماتـ‬   

2021-2022

MENOUFIA UNIVERSITY

 SYSTEM ANALYSIS & DESIGN PROJECT

SECOND YEAR 

2021-2022

No Name Section
.
1 Menna Samy Mohamed Emam.

2 Mostafa Mohamed Soliman AboAli.

3 Mostafa Nasser Mostafa Elnaggar.

4 Mostafa Magdy Abd Elraouf Hekal.

5 Marwan Ahmed Mohamed Saif Eldeen.

Planning
Project Identification
Project Name :

       Pharmacy 
Current Problem :

. The state of drugs in stock is manually checked.

. Mistake of selling expired drugs to customers. 

.Too much workload on employees

Description about project :

. Find out drug prices easily.


. Knowing the usable medicines and unusable medicines.
. Knowing the expiration dates of the use of these medicines.
. Providing an alert system for the imminent expiration of a certain number of medicines.
System Request
System Request—Digital Music Download Project
Project Sponsor: 
The owner of the pharmacy

Business Need:
1. improving pharmacists efficiency
2. Improving patient health outcomes.
3. Preventing medicine fraud.
4. save effort and money.
5.improve access to info.

Business
Requirements:
1.Know the available and non-existent medicines
2.Knowing about expired medicines
3.Easily know where the medicine is
 

Business Value:
1.60% improve services for the needs.
2.increase sales by enabling existing customers to purchase modern medical tools and
supplies as well as reaching new customers in need of rare medicines not available in the
market.
3.150000 $ cost saving.
4.40% decrease the usage of paper and records.
Special Issues or
Constraints:
1.Deadline in 1/march/2021
2.System must be difficult to penetrate.
3.system must be secure

                  

Feasibility Analysis

Technical Feasibility :
1.Familiarity with technology

● SQL server 
● JAVA 
2.online access
Economic Feasibility :
1. The development costs of the system will be 150,000 $
2. Annual profit 5%
Organizational Feasibility :

1. Clients and patients: The system will save time for them and will not make them need to go
to the pharmacy and with the system they will know what they want. 
2. The working manager in the pharmacy: By using the system, it will make it easier for her to
work and increase sales, and not to deal directly with customers and patients.
3.  This system may prevent these customers from losing to archive many of our products and
may provide us with the opportunity to sell these customers from our stock of supplies.

Time Estimation 

Planning  Analysis  Design  Implementation 

Standard percentages  15% 20% 35% 30%


Estimated time based on planning time  Actual: 
18 24 42 36

Tasks Identification 
Name of Task System Request
Start Date 1/10/2021
End Date 2021/10/3
Person assigned to task Mostafa Mohamed Soliman AboAli
Priority High
Resources Needed Microsoft Word
Estimated Time 5 Days
Actual Time 3 Days 
Name of Task Feasibility Study
Start Date 1/10/2021
End Date 4/10/2021
Person assigned to task Mostafa Magdy Abd Elraof Hekal
Priority High
Resources Needed Microsoft Word
Estimated Time 6 Days
Actual Time 4 Days

Name of Task Task Identification


Start Date 5/10/2021
End Date 7/10/2021
Person assigned to task Mostafa Nasser Mostafa Elnaggar
Priority High
Resources Needed Microsoft Word
Estimated Time 4 Days  
Actual Time 3 Days
Name of Task Pert chart
Start Date 8/10/2021
End Date 11/10/2021
Person assigned to task Marwan Ahmed Mohamed Saif Eldeen
Priority High
Resources Needed EDraw Max
Estimated Time 6 Days
Actual Time 4 Days

Name of Task Project Identification


Start Date 1/10/2021
End Date 4/10/2021
Person assigned to task Mostafa Nasser Mostafa Elnaggar.
Priority High
Resources Needed Microsoft Word
Estimated Time 6 Days
Actual Time 4 Days
Name of Task Gantt Chart
Start Date 8/10/2021
End Date 11/10/2021
Person assigned to task Marwan Ahmed Mohamed Saif Eldeen.
Priority High
Resources Needed EDraw Max
Estimated Time 6 Days
Actual Time 4 Days

Name of Interview and report


Task
Start Date 2021/10/12
End Date 2021/10/14
Person Mostafa Mohamed Soliman AboAli
assigned
to task
Priority High
Resources Microsoft Word
Needed
Estimated 4 Days  
Time
Actual 3 Days
Time
Name of Task Questionnaire
Start Date 2021/10/12
End Date 2021/10/14
Person assigned to task Mostafa mohamed soliman Abo Ali.

Priority High
Resources Needed Google Forms
Estimated Time 4 Days  
Actual Time 3 Days

Name of Task DFD


Start Date 2021/10/15
End Date 2021/10/23
Person assigned to task Marwan Ahmed Mohamed Saif Eldeen
Priority High
Resources Needed EDraw Max
Estimated Time 10 Days
Actual Time 9 Days
Name of Task Data Flow
Start Date 2021/10/24
End Date 2021/10/31
Person assigned to task Mostafa mohamed soliman Abo Ali.
Priority High
Resources Needed word
Estimated Time 10 Days
Actual Time 8 Days

Name of Task Data Element


Start Date 2021/10/24
End Date 2021/10/28
Person assigned to task Mostafa Magdy Abd Elraof Hekal.
Priority High
Resources Needed Word
Estimated Time 8 Days
Actual Time 5 Days

Name of Task Data Store


Start Date 2021/10/24
End Date 2021/10/27
Person assigned to task Mostafa Magdy Abdel Elraof Hekal.
Priority High
Resources Needed Word
Estimated Time 7 Days
Actual Time 4 Days

Name of Task Process Specification


Start Date 2021/10/24
End Date 2021/11/1
Person assigned to task Mostafa Nasser Mostafa Elnaggar.
Priority High
Resources Needed Word
Estimated Time 10 Days
Actual Time 9 Days

Name of Task Normalization


Start Date 2021/11/2
End Date 2021/11/9
Person assigned to task Marwan Ahmed Mohamed Saif Eldeen
Priority High
Resources Needed Word
Estimated Time 10 Days
Actual Time 8 Days

Name of Task ERD


Start Date 2021/11/10
End Date 2021/11/12
Person assigned to task Mostafa Nasser Mostafa Elnaggar.
Priority High
Resources Needed EDraw Max
Estimated Time 7 Days
Actual Time 3 Days

Pert Chart (MS-Project)


Gantt chart (MS-Project)
Interview
(include questions and answers)
1-Tell me about your self?
● “I am extremely passionate about pharmacy and in particular providing the right advice and medicine
to patients. I am accurate and methodical in my approach to all tasks and I have the ability to always
pay attention to detail whilst following strict rules, procedures and regulatory guidelines.

2-Why do you want to work for us in this pharmacy position?


● I want to work for you because it is so important in pharmacy to work for an organization that has
outstanding values and that wants to continually improve so that optimum patient care and treatment
is always provided.

3-What are some of the improvements you would like to see in the way invoices are
processes?
● It caught my attention that the company allocates a small part of the money to the bills, so I think it is
necessary that we must provide a larger part of the company’ s money funds to improve the way it handles
bills, where it is possible that we allocate part of the company’ s money to make android applications that take
care of bills and how to improve them.

4-What do you think about the way invoices are currently processed?

● I see it good, but allow me to add it after the notes. If we look at the current situation in the world, we will see
that technology alone is controlling. Therefore, we can make dealing with the problem of bills with technology
where it is not possible to provide some graduates of computers and information for the manufacture of
applications dedicated only to dealing with bills through payment and so on.

5-What information do you have about the current status of the chain of
pharmacies that we own?
● In fact, I entered the official pages of the chain of pharmacies you have on the official website on
Facebook and social media, and I learned a lot of information about the current status of the chain,
including that the chain has many branches in many governorates and it is one of the largest
companies in terms of employment and in terms of availability medicines, medical supplies and
cosmetics.
6-Why do you want to become a pharmacist?

Pharmacy is a job that pays well. This question tests why applicants would want to be a pharmacist,

beyond a high salary.

7- Do you read any vocational magazines?


● Show them that pharmaceutics is not only your desired field of work, but also your passion. Being
enthusiastic about trends in the industry and mentioning magazines, publications, conferences and
other things you read or attended to keep up to date with the trends is a superb way to stand out of the
crowd of other, mostly passive job applicants, who do nothing more than attending mandatory classes.

8-What if pharmacist have no working experience?


● However, there is no need to be worried if you have no previous working experience. You can speak
about a situation from other job, from the college, from the family life. All you have to do is to pick a
situation when you did something extraordinary. Pick it and speak about it in detail. After all, the attitude
is what matters for the interviewers, not the details of the situation.
9- At the end of the interview , do you want to add anything ?
● NO ,thanks.
Interview Report
Person Interviewed: Mostafa Nasser, pharmacy.

interviewer: Said.
Purpose of Interview: Understand reports on system of pharmacy by the current system. Determine
information requirements for a future system.

Summary of Interview: Examples of the reports on the current pharmacy project are attached to this report.
Unused and missing information is recorded in the reports.
The two biggest problems in the current system are:
1. The unclear router is the same as the problem is the largest problems facing the pharmacist in the
pharmacy, but it is almost all pharmacists who have experienced this problem as many times during their
pharmacist work, and may be the problem of them in a daily basis, and we do not know that some
solutions to this problem.)
2. Exchange of alternative drugs: The pharmaceutical assistant responsible for the exchange of alternative
medicines, but the pharmacist itself, for this Pharmacy must be defined alternative medicines.
1.

Open Items:
Get current employee roster report from Mostafa Magdy.

Verify calculations used to determine vacation time with Mostafa Magdy.

Schedule interview with Mostafa regarding the reasons for data quality problems. Detailed Notes: See attached transcript.

Detailed Notes: See attached transcript.

Questionnaire
(using Google Forms, you must include questions and statistics)
Data Flow Diagram - Context Diagram

Data Flow Diagram – Level/Diagram 0


Data Flow Diagram – Level 1

Data Dictionary
1)-Data Flow
ID 1
Label Order name
Description The customer submits the request
Source From Customer
Destination to process 1
Type Form
Data Structure Customer structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 2
Label Customer order
Description Send customer data to data store
Source From process 1
Destination To data store 1
Type File
Data Structure Customer structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 3
Label Payment
Description The customer pays the money for order
Source From customer
Destination To data store 1
Type Form
Data Structure Customer structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 4
Label Order information
Description Money should payed from customer
Source From process 3
Destination To data store 3
Type File
Data Structure Customer structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 5
Label Release order
Description The possibility of the demand being limited or not
Source From process 3
Destination To customer
Type Screen
Data Structure Release order structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 6
Label process order
Description Product information from the pharmacist
Source From pharmacist
Destination To process 4
Type form
Data Structure Process order structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 7
Label Drug information
Description Send the name of drug
Source From pharmacist
Destination To process 2
Type form
Data Structure drug structure
Volume/Time day/100
Comments Patient Data will be deleted After 5 years from his last
visit

ID 7
Label availability
Description Information about drug
Source From process 2
Destination To data store 2
Type file
Data Structure Availability structure
Volume/Time day/100

ID 8
Label availability drug
Description Availability of drugs
Source From process 2
Destination To pharmacis
Type Screen
Data Structure Availability structure drug
Volume/Time day/100

ID 9
Label The price
Description Price of drugs
Source From process 3
Destination To pharmacist
Type Screen
Data Structure Price structure
Volume/Time day/100

1)-Data Structure for Data Flow

1.customer info = user name +{First Name}+Middle Name+last name +account


customer +User Address+Email+Password+phone number.

2.Customer ordered=Medicine Ordered +(money cost).

3.Payment=Credit card number+{Paid amount}+PIN.

4.Order information =Email+password +Phone number.

5.Release order=Information Status.


6.Process order=Booking.

7.Drug information=drug amount +drug treatment.

8.Availability =medicine +drug availability.

9.The price =costs+paid amount +credit card number.

2)-Data Structure for Data Flow: Structural Record

1.customer info = user name +{First Name}+Middle Name+last name +account customer +User
Address+Email+Password+phone number.

2.Customer ordered=Medicine Ordered +(money cost).

3.Payment=Credit card number+{Paid amount}+PIN.

4.Order information =Email+password +Phone number.

5.Release order=Information Status.

6.Process order=Booking.

7.Drug information=drug amount +drug treatment.


8.Availability =medicine +drug availability.

9.The price =costs+paid amount +credit card number.

Data Element for data flow.

User name Name


User id Alias
contains unique name combine of names and Description
numbers for each user
6 Length
9(6) Input Format
9(6) Output Format
  Default Value
Continuous Continuous / Discrete
Numeric and Alphabetic Type
Derived Base / Derived
888  Upper Limit
000  Lower Limit
  Discrete
  Comments

First Name Name


User first name Alias
contains employee first name Description
10 Length
X(10) Input Format
X(10) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Base Base / Derived
  Upper Limit
  Lower Limit
  Discrete

 The is abbreviationp for user name Comments

Middle Name Name


User Middle Name Alias
contains employee first name Description
10 Length
X(10) Input Format
X(10) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Base Base / Derived
  Upper Limit
  Lower Limit
  Discrete
 There is abbreviation for user name Comments

User address Name


User address name Alias
contains user address name Description
20 Length
X(20) Input Format
X(20) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Base Base / Derived
  Upper Limit
  Lower Limit
  Discrete
 Know the exact place of the user and where he Comments
lives

Email Name
User mail Alias
Contains user mail Description
50 Length
X&9(50) Input Format
X&9(50) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Base Base / Derived
  Upper Limit
  Lower Limit
  Discrete
 This is private mail for each user to login to the Comments
system

Password Name
User password Alias
contains user password Description
20 Length
X&9(20) Input Format
X&9(20) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Base Base / Derived
  Upper Limit
  Lower Limit
  Discrete
 This is unique secret code for each user Comments

Phone number Name


User phone number Alias
contains aspecific number for each user Description
11 Length
9(11) Input Format
9(11) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Derived Base / Derived
 11 Upper Limit
 8 Lower Limit
  Discrete
 These phone number help the system with the Comments
users

  ID
Information status Name
Is Alias
See order was added to data store or not Description
4 Length
X(4) Input Format
X(4) Output Format
  Default Value
Discrete Continuous / Discrete
Alphabetical Type
Derived Base / Derived
  Upper Limit
  Lower Limit
  Discrete
  Comments

DFD: Data Store


D1 ID
Sold medicine file Name
Data medicine sold Alias
Medicine which is sold in pharmacy Description
computer File Type
database File Format
1000 medicine Record Size
9000 Maximum Records
7000 Average Records
4% Growth per Year
Ordered medicine Data Set
Data medicine Data Structure
Costomer name Primary Key
Costomer account Secondary Key
  Comments

D2 ID
Store medicine file Name
Data medicine store Alias
Medicine which is store in pharmacy Description
computer File Type
database File Format
1500 medicine Record Size
6000 Maximum Records
3000 Average Records
4% Growth per Year
Medicine in pharmacy Data Set
Data medicine Data Structure
Costomer name Primary Key
Costomer account Secondary Key
  Comments

“ Process Specification “

 
{ Process Specification Form }
Number: ( 1 ) .

Name: Manage customer information.

Description:

-the practice of managing customer data in an enterprise.

Input Data Flow:

1-  customer (external entity)

Output Data Flow:

1- pharmacist.  
Type of Process

Online                        Batch                         Manual

Process Logic:
If (the customer information entered) then
Check the data.
Else if (data is correct) then
Send it to the data store.
Else
Reenter your information .

End if.

          Structured English                    Decision Table                   Decision Tree


Unresolved Issues: NO.

{ Process Specification Form }

 
Number: ( 2 ) .

Name:

- Manage medicine  information .

Description:

- It is about enabling people to make the best possible use of their medicines.

Input Data Flow:

1- pharmacist

Output Data Flow:


1-The drug availability. The data store 2.
Type of Process

                Online                        Batch                         Manual


Process Logic:
f ( the app has the medicine ) then
Check the data .
Else if ( data is correct ) then
Make people make the best use of it .
Else
There isn’t available medicine.

End if    

          Structured English                    Decision Table                   Decision Tree


Unresolved Issues: NO.

{ Process Specification Form }


Number: ( 3 ) .

Name: 

-Manage sales .

Description:

- It is the process of developing a sales force and coordinating sales operations.

Input Data Flow:


1-The data store of medicine price.

2-The order information from pharmacist.  


Output Data Flow:

1-The data store of order information..

2-The medicine price to pharmacist.


Type of Process

                Online                        Batch                         Manual


Process Logic:
If ( patient pay money ) then
Check the data
Else if ( data is correct ) then
Send the order to the data store
Else
The patient must pay the money

End if

           Structured English                    Decision Table                   Decision Tree


Unresolved Issues: NO.

Process Specification Form


Number: ( 4  ) .

Name:  

- Responding the order of process


 

Description:

-Check the process order to release it for  customer.

Input Data Flow:

1-Process the order from pharmacist.


Output Data Flow:

1-Releas the order to customer.


Type of Process

                 Online                       Batch                         Manual


Process Logic:
If ( the pharmacist send the order to the app ) then
Check the data
Else if (data is correct ) else
Release it for the customer
Else
This order does’t  available in the app

End if  

          Structured English                    Decision Table                   Decision Tree


Unresolved Issues: NO.
Normalization

Normal Tables
Cost First Last Visa num Drug price Drug quantit Pharmacis salar pharmacis pharmacist
ip name name Id NAME y t ID y t name role

Ahmed Magdy 11111111222222 1 10 akren 1 1 3000 Ammar Pharmacist


1
Ali Yasser 5555551111111 1 10 akren 2 2 1000 Salma Assistant
2
Nada Ahmed 9999633225233 2 30 ozi 1 1 3000 Ammar Pharmacist
3 naturalsl

Ahmed Magdy 11111111222222 3 40 the 4 1 3000 Ammar Pharmacist


1 ordinary
Rana Rashed 77777777777777777 4 50 Cerave 3 2 1000 Salma Assistant
4
Ali Yasser 5555551111111 5 60 topicrem 5 3 1000 Lamia Pharmacist
2
Mai Alaa F1111548896445 6 70 Vichy 3 4 3000 Shady Assistant
5
Salma Ayman R22220.003333 7 80 laroche 2 5 20 ramy Pharmacist
6 posay

After 1nf
The table is in the first 1nf.
After 2nf

DRUG ID PRICE

1 10

2 30

3 40

4 50

5 60

6 70

7 80
ID SALARY Pharmacy role
1 3000 Pharmacist
2 1000 Assistant
3 3000 Pharmacist
4 1000 Assistant
5 3000 pharmacist

Cost First Last Visa num Drug Drug quantit Pharmacist pharmacist
ip name name Id NAME y ID name
1 Ahmed Magdy 11111111222222 1 akren 1 1 Ammar

Ali Yasser 5555551111111 1 akren 2 2 Salma


2
3 Nada Ahmed 9999633225233 2 ozi 1 1 Ammar
naturalsl

Ahmed Magdy 11111111222222 3 the 4 1 Ammar


1 ordinary
Rana Rashed 77777777777777777 4 Cerave 3 2 Salma
4
Ali Yasser 5555551111111 5 topicrem 5 3 Lamia
2
Mai Alaa F1111548896445 6 Vichy 3 4 Shady
5
Salma Ayman R22220.003333 7 laroche 2 5 ramy
6 posay
3nf

Id Pharmacy role

1
Pharmacist

2
Assistant

3
Pharmacist

4
Assistant

5
pharmacist
Pharmacy role SALARY

Pharmacist 3000

Assistant 1000

Pharmacist 3000

Assistant 1000

pharmacist 3000
Cost First Last Visa num Drug price Drug quantit Pharmacis salar pharmacis pharmacist
ip name name Id NAME y t ID y t name role

Ahmed Magdy 11111111222222 1 10 akren 1 1 3000 Ammar Pharmacist


1
Ali Yasser 5555551111111 1 10 akren 2 2 1000 Salma Assistant
2
Nada Ahmed 9999633225233 2 30 ozi 1 1 3000 Ammar Pharmacist
3 naturalsl

Ahmed Magdy 11111111222222 3 40 the 4 1 3000 Ammar Pharmacist


1 ordinary
Rana Rashed 77777777777777777 4 50 Cerave 3 2 1000 Salma Assistant
4
Ali Yasser 5555551111111 5 60 topicrem 5 3 1000 Lamia Pharmacist
2
Mai Alaa F1111548896445 6 70 Vichy 3 4 3000 Shady Assistant
5
Salma Ayman R22220.003333 7 80 laroche 2 5 20 ramy Pharmacist
6 posay
DRUG ID PRICE

1 10

2 30

3 40

4 50

5 60

6 70

7 80
ERD

You might also like