Académique Documents
Professionnel Documents
Culture Documents
1. INTRODUCTION
1.1 Pharmacy Database Management System
1.2 Application
2. FUNCTIONAL REQUIREMENTS
2.1 Feasibility study
2.1.1 Functional requirements
2.1.2 Non- functional Requirements
2.2 System Analysis
2.3 Hardware Requirements
2.4 Software Requirement
3. ERD DATA FLOW DIAGRAMS AND
NORMILIZATION & TABLES.
3.1 ERD Diagram
3.2 Data-Flow-Diagram
3.2.1 Context DFD
3.2.2 First Level DFD
3.2.3 Second Level DFD
3.3 Tables
4. DATABASE DESIGN WITH FEW FORMS AND SQL
QUERIES & CODING
4.1 System design
4.2 Sql Queries and Coding.
5. ADVANTAGES, WEAKNESSES AND
IMPROVEMENTS OF THE SYSTEM
5.1 Advantages
5.2 Weaknesses
5.3 Improvement of the system
6. CONCLUSION AND FUTURE SCOPE
COMPLEX ENGINEERING PROBLEM
Chapter 1
INTRODUCTION
1.1 Pharmacy Database Management System
Introduction:
The main aim of the project is the management of the database of the pharmaceutical
shop. This is done by creating a database of the available medicines in the shop. The
database is then connected to the main program by using interconnection of the Visual
Basic program and the database already created.
1.2 Application:
This program can be used in any pharmaceutical shops having a database to maintain.
The software used can generate reports, as per the user’s requirements. The software
can print invoices, bills, receipts etc. It can also maintain the record of supplies sent in
by the supplier
Chapter 2
FUNCTIONAL REQUIREMENTS
2.1 Feasibility Study
A feasibility analysis involves a detailed assessment of the need, value and
practicality of a proposed enterprise, such as systems development. The process of
designing and implementing record keeping systems has significant accountability
and resource implications for an organization. Feasibility analysis will help you make
informed and transparent decisions at crucial points during the developmental process
to determine whether it is operationally, economically and technically realistic to
proceed with a particular course of action.
System must ensure right format is followed while interacting with the system
and only valid date should be sent to the system.
The system should use more informative error messages to help the user
understand what to do next.
For the administrative interface, only administrators can add or remove other
administrators but there should be at least one administrator of the system.
The system should allow future expansion and modification.
Software Specifications
Operating - Windows 7, Windows 2000, Windows NT, Windows XP and
System Windows Server 2005 Enterprise Edition
Database MySQL
Server Apache
Chapter 3
In level one of the DFD the client select the mode of the action i.e. whether he wants
to buy a medicine or general store product. If he selects mode as medicine than the
flow of data will be as follows:
The process 2.0 i.e. medicine can enter the medicine information into the Database or
can retrieve the information from the Database. If the medicine has to soled, than the
sales process will check the stock whether the requested medicine is available or not,
this will be done by checking the availability of the medicine and the stock process
will reply by giving the status of the available stock.. If the requested medicine is
available than the client will pay the bill and the account process will generate the bill
for the purchased medicine.
If the medicine is purchased than, first the supplier’s information is retrieved from the
suppliers Database. After purchasing the bill amount of the purchased medicine is
paid by the account process and the stock Database is updated automatically after the
new medicines are purchased.
If the product is purchased than the information of the supplier from whom the
product is purchased is retrieved from the supplier process by the purchase process
and if the supplier is new than the supplier information is entered in the suppliers
database.
The Account process also keeps all the details of the stock.
3.2.3 Second Level DFD
Further in the second level DFD the process 5.0 i.e. sales process is elaborated.
In the sale process, after selecting the mode i.e. medicine or general store the further
operation is performed. The 5.1 process is the Medicine sale process in this process
the patient’s information can be retrieved from the patient Database. If the patient is
visiting for the first time than his information or detail is entered in the patient
database.
Similarly the Doctor’s information or detail is also entered in the Doctor Database,
who referred to the patient. If the patient is referred by the new Doctor than his
information can be entered in the doctor’s Database.
With the help of the medicine sales process the patient’s and Doctor’ information can
be entered or retrieved from the respective Database.
Functionalities:
RESULTS:
1. Data (User Passward) Updating with respect to Name
2. From 031 to 0333
OUTPUT:
The above screen displays the option available under the Master menu.
The options are:
Purchase
Item details
Customer
Update order
Delete order
Clear order
Enter new Order
Purchasing:
User enters the data of required purchasing in the required fields.
Here we see the “RESERVATION” message which is successfully done. We can
also see the option of “ADD”. We can also Add more items , during our
purchasing.
Here we can the stock (Panadol) is removed from Admin stock Table, if we want to
delete.
Buying the item Again
int i = cmd.ExecuteNonQuery();
if (i != 0)
{
f1.Close();
UserHome home2 = new UserHome();
home2.Show();
}
else
{
MessageBox.Show("Sorry Account Not Found");
}
cn.Close();
}
}
MessageBox.Show("Account is created");
}
else
{
MessageBox.Show("ERROR");
}
cn.Close();
}
}
int i = cmd.ExecuteNonQuery();
if (i != 0)
{
MessageBox.Show("DATA DELETED");
}
else
{
MessageBox.Show("ERROR");
}
cn.Close();
}
Code For Updating the Password with respect to Name of a User by Admin
int i = UpdateCommand.ExecuteNonQuery();
if (i != 0)
{
MessageBox.Show("User Passward Updated");
}
else
{
MessageBox.Show("ERROR");
}
cn.Close();
}
Summery
Admin Add a stock of a drugs and set a price and other stuff. Admin Can update delete
and Insert a record any times he wants .User can Signup the Account for Buying Drugs
but User can only buy the drugs he can not do other Operations like Admin.
Multiple User can SignUp but There is Only One Admin.
Chapter 5
5.2 Weaknesses:
It was realized that the current system does not allow the Admin to view previous
prescriptions pertaining made pertaining the disease thus prone to making
mistakes due to fatigue.
The current system does not enable to record and store Customer’s information in
an organized way for easy retrieval.
It was noted that prescriptions are given to patients who in the long run goes away
with them thus a challenge in retaining similar information for future reference.
Retrieval of needed information by management was not enhanced in the current
system.
There was no information sharing and dissemination by Admin in the current
system that will enhance easy identification of new symptoms and prescriptions
Admin and Customer’s be able to view the rate of common diseases and their
percentages.
Management to be able to know the number of Customers has attended to within a
particular specified period of time thus making it easier for Admin to view and
know how much the currently working employes is supposed to be paid at the end
of the month.
Chapter 6