You are on page 1of 24

INDEX

SL NO CONTENTS PAGE NO
1 INTRODUCTION 1

2 PROJECT PLAN 2

3 SYSTEM ANALYSIS 3

4 SYSTEM REQUIREMENT 4

5 IMPLEMENTATION 6

6 DATA TABLES 7

7 SOURCE CODES 11

8 RESULT 15

9 CONCLUSION 19

10 REFERENCE 20
CHAPTER 1

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 BPharmacy management
system is a management system that is designed to improve accuracy and to enhance safety and
efficiency in the pharmaceutical store. This program can be used in any pharmaceutical shops
having a database to maintain. It is a computer based system which helps the Pharmacist to
improve inventory management, cost, medical safety etc. The software used can generate reports,
as per the user’s requirements. Using this pharmacy management system user is also able to
generate report within a specified period of time. The system allows the user to enter a
manufacturing and expiry date for a particular product or drug during opening stock and sales
transaction. The software can print invoices, bills, receipts etc. It can also maintain the record of
supplies sent in by the supplier.

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
PROJECT PLAN

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. Most
feasibility studies are distinguished for both users and analysts. First, the study often
presupposes that when the feasibility document is being prepared, the analyst is in a position
to evaluate solutions. Second, most studies tend to overlook the confusion inherent in system
development – the constraints and the assumed attitudes.

2.1.1 Operational feasibility


People are inherently resistant to change, and computers have been known to facilitate change.
An estimate should be made of how strong a reaction the user staff is likely to have toward the
development of a computerized system. It is common knowledge that computer installations
have something to do with turnover, transfers, retraining, and changes in employee job status.
Therefore, it is understood that the introduction of a candidate system requires special effort to
educate, sell and train the staff on new ways of conducting business.

2.1.2 Technical feasibility


Technical feasibility centers around the existing computer system (hardware, software, etc.) and to what
extend it can support the proposed addition. For example, if the current computer is operating at 80
percent capacity – an arbitrary ceiling – then running another application could overload the system or
require additional hardware. This involves financial considerations to accommodate technical
enhancements. If the budget is a serious constraint, then the project is judged not feasible.
2.1.3 Cost/ Benefit analysis

Economic analysis is the most frequently used method for evaluating the effectiveness of a
candidate system. More commonly known as cost benefit analysis, the procedure is to
determine the benefits and savings that are expected from a candidate system and compare
them with costs. If benefits overweigh costs, then the decision is made to design and
implement the system. Otherwise, further justification or alterations in the proposed system
will have to be made if it is to have a chance of being approved. This is an ongoing effort that
improves in accuracy at each phase in the system life cycle

Costs:

• Cost of new computer approximately Rs. 22,000/-


• Cost of operating system approximately Rs. 5000/-

Benefits:

• Avoids tedious typing task


• Faster document retrieval
• Saving storage space
• Keeps data secure
• Easy to use, update and maintain
2.2 SYSTEM ANALYSIS

It is the most creative and challenging phase of the system life cycle. The analysis phase is used
to design the logical model of the system whereas the design phase is used to design the physical
model.
Many things are to be done in this phase .we began the designing process by identifying forms,
reports and the other outputs the system will produce. Then the specify data on each were
pinpointed. we sketched the forms or say, the displays, as expected to appear, on paper, so it
serves as model for the project to began finally we design the form on computer display, using
one of the automated system design tool, that is VISUAL BASIC .

After the forms were designed, the next step was to specify the data to be inputted, calculated
and stored individual data items and calculation procedure were written in detail. File structure
such as paper files were selected the procedures were written so as how to process the data and
procedures the output during the programming phase. The documents were design ion the form
of charts.

Output design means what should be the format for presenting the results. It should be in most
convenient and attractive format for the user. The input design deals with what should be the
input to the system and thus prepare the input format. File design deals with how the data has to
be stored on physical devices. Process design includes the description of the procedure for
carrying out operations on the given data.
2.3 SYSTEM REQUIREMENTS

The system services and goals are established by consultation with system user. They are then
defined in details and serve as a system specification. System requirement are those on which the
system runs.

HARDWARE REQUIREMENTS:

• Computer with either Intel Pentium processor or AMD processor.


• 128MB DDR RAM
• 40GB hard disk drive

SOFTWARE REQUIREMENTS:

• NETBEANS
• SQL
• XAMPP
CHAPTER 3

SYSTEM ANALYSIS

3.1 Role

Admin Role
The Admin plays a vital role in the Online Book Store Management System. The Admin controls the
entire database. The report of the product is generated by the Admin itself. The main role of the Admin
is to safeguard the database and can add/delete the details of the books and users from the database.

3.2 Project Scope


This project would be very useful for automation of customer measurements and details
management. It can also be useful for day to day updating of customer information and new
stocks of books.

3.2.1 Functionality:
Since it stand alone application, only an Admin may use it at any time.

3.2.2 Usability:
• Desktop interface

• Windows 7,8,10

3.2.3 Reliability:
The system is available anytime for the Admin.

3.2.4 Performance:
The performance depends on hardware specification
CHAPTER 4
SYSTEM ARCHITECTURE
4.1 Schema Diagram
4.2 Entity-Relationship Diagram
CHAPTER 5
IMPLEMENTATION
NETBEANS

The NetBeans Platform is a framework for simplifying the development of Java


Swing desktop applications. The NetBeans IDE bundle for Java SE contains what is
needed to start developing NetBeans plugins and NetBeans Platform based
applications; no additional SDK is required.
Applications can install modules dynamically. Any application can include the Update
Center module to allow users of the application to download digitally signed upgrades
and new features directly into the running application. Reinstalling an upgrade or a new
release does not force users to download the entire application again.
• User interface management (e.g. menus and toolbars)
• User settings management
• Storage management (carries out efficient storage)
• Window management
• Wizard framework (supports step-by-step dialogs)
• NetBeans Visual Library
• Integrated development tools

XAMPP
XAMPP is a free and open-source cross-platform web server solution stack package developed
by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and
interpreters for scripts written in the PHP and Perl programming languages. Since most actual
web server deployments use the same components as XAMPP, it makes transitioning from a
local test server to a live server possible.
XAMPP's ease of deployment means a WAMP or LAMP stack can be installed quickly and
simply on an operating system by a developer, with the advantage a number of common add-in
applications such as Wordpress and Joomla! can also be installed with similar ease using
Bitnami.
CHAPTER 6
DATABASE TABLE

PHARMACY TABLE

DOCTOR'S DETAILS TABLE


CHAPTER 7
SOURCE CODE

CODE FOR LOGIN:

package logind;

import Doctor.Doctor;

import Help.Help;

import Hospital.Hospital;

import Patient.Patient;

import Payment.Payment;

import Pharmacist.Pharmacist;

import Pharmacy.Pharmacy;

import javax.swing.JFrame;

public class logind extends javax.swing.JFrame {

int attempt = 0;

public logind() {

initComponents();

private void initComponents() {

JOptionPane = new javax.swing.JPanel();

jpassword = new javax.swing.JLabel();

jtxtUsername = new javax.swing.JTextField();

jUsername = new javax.swing.JLabel();


jPassword = new javax.swing.JPasswordField();

jbtnLogin = new javax.swing.JButton();

jbtnExit = new javax.swing.JButton();

jbtnCancel = new javax.swing.JButton();

jbtnPatient = new javax.swing.JButton();

jbtnDoctor = new javax.swing.JButton();

jbtnPharmacy = new javax.swing.JButton();

jbtnPayment = new javax.swing.JButton();

jbtnSpecialist = new javax.swing.JButton();

jbtnHospital = new javax.swing.JButton();

jbtnHelp = new javax.swing.JButton();

jbtnPharmacist = new javax.swing.JButton();

jOptionPane1 = new javax.swing.JPanel();

jHeadline = new javax.swing.JLabel();

jLabel2 = new javax.swing.JLabel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

addWindowListener(new java.awt.event.WindowAdapter() {

public void windowActivated(java.awt.event.WindowEvent evt) {

formWindowActivated(evt);

});

getContentPane().setLayout(null);
JOptionPane.setBorder(javax.swing.BorderFactory.createLineBorder(new
java.awt.Color(0, 0, 0), 2));

JOptionPane.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

jpassword.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N

jpassword.setText("Password");

JOptionPane.add(jpassword, new org.netbeans.lib.awtextra.AbsoluteConstraints(50,


100, -1, -1));

jtxtUsername.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N

jtxtUsername.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jtxtUsernameActionPerformed(evt);

});

JOptionPane.add(jtxtUsername, new
org.netbeans.lib.awtextra.AbsoluteConstraints(260, 50, 220, -1));

jUsername.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N

jUsername.setText("Username");

JOptionPane.add(jUsername, new org.netbeans.lib.awtextra.AbsoluteConstraints(50,


50, -1, -1));

jPassword.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N

jPassword.setToolTipText("");

jPassword.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {


jPasswordActionPerformed(evt);

});

JOptionPane.add(jPassword, new org.netbeans.lib.awtextra.AbsoluteConstraints(260,


100, 220, 30));

jbtnLogin.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N

jbtnLogin.setText("Login");

jbtnLogin.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jbtnLoginActionPerformed(evt);

});

JOptionPane.add(jbtnLogin, new org.netbeans.lib.awtextra.AbsoluteConstraints(30,


180, 160, -1));

jbtnExit.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N

jbtnExit.setText("Exit");

jbtnExit.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jbtnExitActionPerformed(evt);

{ getContentPane().add(jbtnSpecialist);

jbtnSpecialist.setBounds(1010, 190, 250, 53);

jbtnHospital.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N


jbtnHospital.setText("Hospital");

jbtnHospital.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jbtnHospitalActionPerformed(evt);

});

getContentPane().add(jbtnHospital);

jbtnHospital.setBounds(1010, 100, 250, 53);

jbtnHelp.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N

jbtnHelp.setText("Help");

jbtnHelp.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jbtnHelpActionPerformed(evt);

});

getContentPane().add(jbtnHelp);

jbtnHelp.setBounds(1010, 360, 250, 53);

jbtnPharmacist.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N

jbtnPharmacist.setText("Pharmacist");

jbtnPharmacist.addActionListener(new java.awt.event.ActionListener() {

public void actionPerformed(java.awt.event.ActionEvent evt) {

jbtnPharmacistActionPerformed(evt);

}
});

getContentPane().add(jbtnPharmacist);

jbtnPharmacist.setBounds(1010, 280, 250, 53);

jOptionPane1.setBorder(javax.swing.BorderFactory.createLineBorder(new
java.awt.Color(0, 0, 0), 4));

jOptionPane1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

jHeadline.setFont(new java.awt.Font("Tahoma", 1, 48)); // NOI18N

jHeadline.setText("Pharmacy Management System");

jOptionPane1.add(jHeadline, new org.netbeans.lib.awtextra.AbsoluteConstraints(240,


10, 950, -1));

getContentPane().add(jOptionPane1);

jOptionPane1.setBounds(30, 0, 1240, 90);

private void jtxtUsernameActionPerformed(java.awt.event.ActionEvent evt) {

private void jPasswordActionPerformed(java.awt.event.ActionEvent evt) {

private void jbtnLoginActionPerformed(java.awt.event.ActionEvent evt) {


String Username = jtxtUsername.getText();

String Password = jPassword.getText();

if (Username.contains("Deep") && (Password.contains("Deep"))){

jtxtUsername.setText("");

jPassword.setText("");

jbtnDoctor.setEnabled(true);

jbtnPharmacy.setEnabled(true);

jbtnPatient.setEnabled(true);

jbtnPayment.setEnabled(true);

jbtnHospital.setEnabled(true);

jbtnSpecialist.setEnabled(true);

jbtnPharmacist.setEnabled(true);

jbtnHelp.setEnabled(true);

else if (!(Username.contains("Deep") && (Password.contains("Deep")))){

jtxtUsername.setText("");

jPassword.setText("");

jbtnDoctor.setEnabled(false);

jbtnPharmacy.setEnabled(false);

jbtnPatient.setEnabled(false);

jbtnPayment.setEnabled(false);

jbtnHospital.setEnabled(false);

jbtnSpecialist.setEnabled(false);

jbtnPharmacist.setEnabled(false);
jbtnHelp.setEnabled(false);

attempt +=1;

if (attempt ==3)

System.exit(0);

// TODO add your handling code here:

private void jbtnHelpActionPerformed(java.awt.event.ActionEvent evt) {

Help iHelp = new Help();

iHelp.setVisible(true);

// TODO add your handling code here:

private void jbtnPharmacistActionPerformed(java.awt.event.ActionEvent evt) {

Pharmacist iPharmacist = new Pharmacist();

iPharmacist.setVisible(true);

// TODO add your handling code here:

}
// Variables declaration - do not modify

private javax.swing.JPanel JOptionPane;

private javax.swing.JLabel jHeadline;

private javax.swing.JLabel jLabel2;

private javax.swing.JPanel jOptionPane1;

private javax.swing.JPasswordField jPassword;

private javax.swing.JLabel jUsername;

private javax.swing.JButton jbtnCancel;

private javax.swing.JButton jbtnDoctor;

private javax.swing.JButton jbtnExit;

private javax.swing.JButton jbtnHelp;

private javax.swing.JButton jbtnHospital;

private javax.swing.JButton jbtnLogin;

private javax.swing.JButton jbtnPatient;

private javax.swing.JButton jbtnPayment;

private javax.swing.JButton jbtnPharmacist;

private javax.swing.JButton jbtnPharmacy;

private javax.swing.JButton jbtnSpecialist;

private javax.swing.JLabel jpassword;

private javax.swing.JTextField jtxtUsername;

// End of variables declaration

}
CHAPTER 8

RESULTS:

LOGIN PAGE:
PHARMACY PAGE:

DOCTOR'S PAGE:
9. CONCLUSION

It was a wonderful learning experience for me while working on this project. This project took me
through the various phases of project development and gave me real insight into the world of software
engineering. The joy of working and the thrill involved while tackling the various problems and
challenges gave me a feel of the developers’ industry.

It was due to this project I came to know how professional software is designed.

Detailed information gathering has to be done. Without that the purpose for using the software
wont be satisfied properly.

However it can give good profits in the long run.

Implementing the software requires change in the business practices.

Efficient organization of all knowledge is the analysis company and easy analysis access and
retrieval of information is possible.

Company using this software will always be able to plan in future and always be aware of their
financial position in the market.

It leads to streamling of business processes.

The implementation and maintence costs run very high (about 2 to 3 % of the company’s
revenue.)
10.REFERECES

HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"


HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"tt
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/" HYPERLINK "https://www.mysql.com/"
HYPERLINK "https://www.mysql.com/"p

You might also like