Medical Shop Management System

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 180

Project Report of Medical Shop Management System

Report of Medical Shop Management System

Page - 1
Project Report of Medical Shop Management System

Introduction of the Project Medical Shop Management System:

The "Medical Shop Management System" has been developed to override the problems
prevailing in the practicing manual system. This software is supported to eliminate and
in some cases reduce the hardships faced by this existing system. Moreover this
system is designed for the particular need of the company to carry out operations in a
smooth and effective manner.

The application is reduced as much as possible to avoid errors while entering the data.
It also provides error message while entering invalid data. No formal knowledge is
needed for the user to use this system. Thus by this all it proves it is user-friendly.
Medical Shop Management System , as described above, can lead to error free, secure,
reliable and fast management system. It can assist the user to concentrate on their
other activities rather to concentrate on the record keeping. Thus it will help organization
in better utilization of resources.

Every organization, whether big or small, has challenges to overcome and managing
the information of Stocks, Medical Shop, Sales, Medicine, User. Every Medical Shop
Management System has different Medical Shop needs, therefore we design exclusive
employee management systems that are adapted to your managerial requirements.
This is designed to assist in strategic planning, and will help you ensure that your
organization is equipped with the right level of information and details for your future
goals. Also, for those busy executive who are always on the go, our systems come with
remote access features, which will allow you to manage your workforce anytime, at all
times. These systems will ultimately allow you to better manage resources.

Page - 2
Project Report of Medical Shop Management System

Abstract of the Project Medical Shop Management System:


The purpose of Medical Shop Management System is to automate the existing
manual system by the help of computerized equipments and full-fledged computer
software, fulfilling their requirements, so that their valuable data/information can be
stored for a longer period with easy accessing and manipulation of the same. The
required software and hardware are easily available and easy to work with.

Medical Shop Management System, as described above, can lead to error free,
secure, reliable and fast management system. It can assist the user to concentrate on
their other activities rather to concentrate on the record keeping. Thus it will help
organization in better utilization of resources. The organization can maintain
computerized records without redundant entries. That means that one need not be
distracted by information that is not relevant, while being able to reach the information.

The aim is to automate its existing manual system by the help of computerized
equipments and full-fledged computer software, fulfilling their requirements, so that their
valuable data/information can be stored for a longer period with easy accessing and
manipulation of the same. Basically the project describes how to manage for good
performance and better services for the clients.

Page - 3
Project Report of Medical Shop Management System

Objective of Project on Medical Shop Management System:

The main objective of the Project on Medical Shop Management System is to


manage the details of Medical Shop, Stocks, Company, Sales, User. It manages all the
information about Medical Shop, Medicine, User, Medical Shop. The project is totally
built at administrative end and thus only the administrator is guaranteed the access. The
purpose of the project is to build an application program to reduce the manual work for
managing the Medical Shop, Stocks, Medicine, Company. It tracks all the details about
the Company, Sales, User.

Functionalities provided by Medical Shop Management System are as follows:

 Provides the searching facilities based on various factors. Such as Medical Shop,
Company, Sales, User
 Medical Shop Management System also manage the Medicine details online for
Sales details, User details, Medical Shop.
 It tracks all the information of Stocks, Medicine, Sales etc
 Manage the information of Stocks
 Shows the information and description of the Medical Shop, Company
 To increase efficiency of managing the Medical Shop, Stocks
 It deals with monitoring the information and transactions of Sales.
 Manage the information of Medical Shop
 Editing, adding and updating of Records is improved which results in proper
resource management of Medical Shop data.
 Manage the information of Sales
 Integration of all records of User.

Page - 4
Project Report of Medical Shop Management System

Scope of the project Medical Shop Management System

It may help collecting perfect management in details. In a very short time, the
collection will be obvious, simple and sensible. It will help a person to know the
management of passed year perfectly and vividly. It also helps in current all works
relative to Medical Shop Management System. It will be also reduced the cost of
collecting the management & collection procedure will go on smoothly.

Our project aims at Business process automation, i.e. we have tried to


computerize various processes of Medical Shop Management System.

 In computer system the person has to fill the various forms & number of copies of
the forms can be easily generated at a time.
 In computer system, it is not necessary to create the manifest but we can directly
print it, which saves our time.
 To assist the staff in capturing the effort spent on their respective working areas.
 To utilize resources in an efficient manner by increasing their productivity through
automation.
 The system generates types of information that can be used for various
purposes.
 It satisfy the user requirement
 Be easy to understand by the user and operator
 Be easy to operate
 Have a good user interface
 Be expandable
 Delivered on schedule within the budget.

Page - 5
Project Report of Medical Shop Management System

Reports of Medical Shop Management System:

 It generates the report on Medical Shop, Stocks, Medicine


 Provide filter reports on Company, Sales, User
 You can easily export PDF for the Medical Shop,Medicine, Sales
 Application also provides excel export for Stocks, Company, User
 You can also export the report into csv format for Medical Shop, Stocks, User

Modules of Medical Shop Management System:

 Medical Shop Management Module: Used for managing the Medical Shop
details.
 User Module : Used for managing the details of User
 Medicine Module : Used for managing the details of Medicine
 Stocks Management Module: Used for managing the information and details of
the Stocks.
 Company Module : Used for managing the Company details
 Sales Module : Used for managing the Sales information
 Login Module: Used for managing the login details
 Users Module : Used for managing the users of the system

Page - 6
Project Report of Medical Shop Management System

Input Data and Validation of Project on Medical Shop Management System

 All the fields such as Medical Shop, Company, User are validated and does not take
invalid values
 Each form for Medical Shop, Stocks, Medicine can not accept blank value fields
 Avoiding errors in data
 Controlling amount of input
 Integration of all the modules/forms in the system.
 Preparation of the test cases.
 Preparation of the possible test data with all the validation checks.
 Actual testing done manually.
 Recording of all the reproduced errors.
 Modifications done for the errors found during testing.
 Prepared the test result scripts after rectification of the errors.
 Functionality of the entire module/forms.
 Validations for user input.
 Checking of the Coding standards to be maintained during coding.
 Testing the module with all the possible test data.
 Testing of the functionality involving all type of calculations etc.
 Commenting standard in the source files.

The software quality plan we will use the following SQA Strategy:

 In the first step, we will select the test factors and rank them. The selected test
factors such as reliability, maintainability, portability or etc, will be placed in
the matrix according to their ranks.
 The second step is for identifying the phases of the development process. The
phase should be recorded in the matrix.
 The third step is that identifying the business risks of the software
deliverables. The risks will be ranked into three ranks such as high, medium
and low.

Page - 7
Project Report of Medical Shop Management System

Features of the project Medical Shop Management System:

 Product and Component based


 Creating & Changing Issues at ease
 Query Issue List to any depth
 Reporting & Charting in more comprehensive way
 User Accounts to control the access and maintain security
 Simple Status & Resolutions
 Multi-level Priorities & Severities.
 Targets & Milestones for guiding the programmers
 Attachments & Additional Comments for more information
 Robust database back-end
 Various level of reports available with a lot of filter criteria’s
 It contain better storage capacity.
 Accuracy in work.
 Easy & fast retrieval of information.
 Well designed reports.
 Decrease the load of the person involve in existing manual system.
 Access of any information individually.
 Work becomes very speedy.
 Easy to update information

Page - 8
Project Report of Medical Shop Management System

Software Requirement Specification

The Software Requirements Specification is produced at the culmination of the


analysis task. The function and performance allocated to software as part of system
engineering are refined by establishing a complete information description, a detailed
functional and behavioral description, an indication of performance requirements and
design constraints, appropriate validation criteria, and other data pertinent to
requirements.

The proposed system has the following requirements:


 System needs store information about new entry of Medical Shop.
 System needs to help the internal staff to keep information of Stocks and find
them as per various queries.
 System need to maintain quantity record.
 System need to keep the record of Company.
 System need to update and delete the record.
 System also needs a search area.
 It also needs a security system to prevent data.

Page - 9
Project Report of Medical Shop Management System

Identification of need:

The old manual system was suffering from a series of drawbacks. Since whole of
the system was to be maintained with hands the process of keeping, maintaining and
retrieving the information was very tedious and lengthy. The records were never used to
be in a systematic order. there used to be lots of difficulties in associating any particular
transaction with a particular context. If any information was to be found it was required
to go through the different registers, documents there would never exist anything like
report generation. There would always be unnecessary consumption of time while
entering records and retrieving records. One more problem was that it was very difficult
to find errors while entering the records. Once the records were entered it was very
difficult to update these records.

The reason behind it is that there is lot of information to be maintained and have
to be kept in mind while running the business .For this reason we have provided
features Present system is partially automated (computerized), actually existing system
is quite laborious as one has to enter same information at three different places.

Following points should be well considered:

 Documents and reports that must be provided by the new system: there can also
be few reports, which can help management in decision-making and cost
controlling, but since these reports do not get required attention, such kind of
reports and information were also identified and given required attention.
 Details of the information needed for each document and report.
 The required frequency and distribution for each document.
 Probable sources of information for each document and report.
 With the implementation of computerized system, the task of keeping records in
an organized manner will be solved. The greatest of all is the retrieval of
information, which will be at the click of the mouse. So the proposed system helps
in saving the time in different operations and making information flow easy giving
valuable reports.

Page - 10
Project Report of Medical Shop Management System

Feasibility Study:
After doing the project Medical Shop Management System, study and analyzing
all the existing or required functionalities of the system, the next task is to do the
feasibility study for the project. All projects are feasible - given unlimited resources and
infinite time.
Feasibility study includes consideration of all the possible ways to provide a solution to
the given problem. The proposed solution should satisfy all the user requirements and
should be flexible enough so that future changes can be easily done based on the
future upcoming requirements.
A. Economical Feasibility
This is a very important aspect to be considered while developing a project. We
decided the technology based on minimum possible cost factor.
 All hardware and software cost has to be borne by the organization.
 Overall we have estimated that the benefits the organization is going to receive
from the proposed system will surely overcome the initial costs and the later on
running cost for system.

B. Technical Feasibility
This included the study of function, performance and constraints that may affect
the ability to achieve an acceptable system. For this feasibility study, we studied
complete functionality to be provided in the system, as described in the System
Requirement Specification (SRS), and checked if everything was possible using
different type of frontend and backend plaformst.

C. Operational Feasibility
No doubt the proposed system is fully GUI based that is very user friendly and all
inputs to be taken all self-explanatory even to a layman. Besides, a proper training has
been conducted to let know the essence of the system to the users so that they feel
comfortable with new system. As far our study is concerned the clients are comfortable
and happy as the system has cut down their loads and doing.

Page - 11
Project Report of Medical Shop Management System

System Design of Medical Shop Management System

In this phase, a logical system is built which fulfils the given requirements. Design
phase of software development deals with transforming the clients’s requirements into a
logically working system. Normally, design is performed in the following in the following
two steps:

1. Primary Design Phase:


In this phase, the system is designed at block level. The blocks are created on
the basis of analysis done in the problem identification phase. Different blocks
are created for different functions emphasis is put on minimising the information
flow between blocks. Thus, all activities which require more interaction are kept
in one block.
2. Secondary Design Phase:
In the secondary phase the detailed design of every block is performed.

The general tasks involved in the design process are the following:

1. Design various blocks for overall system processes.


2. Design smaller, compact and workable modules in each block.
3. Design various database structures.
4. Specify details of programs to achieve desired functionality.
5. Design the form of inputs, and outputs of the system.
6. Perform documentation of the design.
7. System reviews.

Page - 12
Project Report of Medical Shop Management System

User Interface Design

User Interface Design is concerned with the dialogue between a user and the

computer. It is concerned with everything from starting the system or logging into the

system to the eventually presentation of desired inputs and outputs. The overall flow of

screens and messages is called a dialogue.

The following steps are various guidelines for User Interface Design:

1. The system user should always be aware of what to do next.

2. The screen should be formatted so that various types of information, instructions

and messages always appear in the same general display area.

3. Message, instructions or information should be displayed long enough to allow

the system user to read them.

4. Use display attributes sparingly.

5. Default values for fields and answers to be entered by the user should be

specified.

6. A user should not be allowed to proceed without correcting an error.

7. The system user should never get an operating system message or fatal error.

Page - 13
Project Report of Medical Shop Management System

Preliminary Product Description:

The first step in the system development life cycle is the preliminary investigation
to determine the feasibility of the system. The purpose of the preliminary investigation is
to evaluate project requests. It is not a design study nor does it include the collection of
details to describe the business system in all respect. Rather, it is the collecting of
information that helps committee members to evaluate the merits of the project request
and make an informed judgment about the feasibility of the proposed project.

Analysts working on the preliminary investigation should accomplish


the following objectives:

 Clarify and understand the project request


 Determine the size of the project.
 Assess costs and benefits of alternative approaches.
 Determine the technical and operational feasibility of alternative approaches.
 Report the findings to management, with recommendations outlining the
acceptance or rejection of the proposal.

 Benefit to Organization

The organization will obviously be able to gain benefits such as savings in


operating cost, reduction in paperwork, better utilization of human resources and more
presentable image increasing goodwill.

 The Initial Cost

The initial cost of setting up the system will include the cost of hardware software
(OS, add-on software, utilities) & labour (setup & maintenance). The same has to bear
by the organization.

Page - 14
Project Report of Medical Shop Management System

 Running Cost

Besides, the initial cost the long term cost will include the running cost for the
system including the AMC, stationary charges, cost for human resources, cost for
update/renewal of various related software.

 Need for Training

The users along with the administrator need to be trained at the time of
implementation of the system for smooth running of the system. The client will provide
the training site.

We talked to the management people who were managing a the financial issues
of the center, the staff who were keeping the records in lots of registers and the
reporting manager regarding their existing system, their requirements and their
expectations from the new proposed system. Then, we did the system study of the
entire system based on their requirements and the additional features they wanted to
incorporate in this system.

Reliable, accurate and secure data was also considered to be a complex task
without this proposed system. Because there was no such record for keeping track of all
the activities, which was done by the Medical Shop Management System on the daily
basis.

The new system proposed and then developed by me will ease the task of the
organization in consideration. It will be helpful in generating the required reports by the
staff, which will help them to track their progress and services.

Thus, it will ease the task of Management to a great extent as all the major
activities to be performed, are computerized through this system.

Page - 15
Project Report of Medical Shop Management System

Project Category

Relational Database Management System (RDBMS) : This is an RDBMS based project


which is currently using MySQL for all the transaction statements. MySQL is an
opensource RDBMS System.

Brief Introduction about RDBSM :

A relational database management system (RDBMS) is a database management


system (DBMS) that is based on the relational model as invented by E. F. Codd, of
IBM's San Jose Research Laboratory. Many popular databases currently in use are
based on the relational database model.

RDBMSs have become a predominant choice for the storage of information in new
databases used for financial records, manufacturing and logistical information,
personnel data, and much more since the 1980s. Relational databases have often
replaced legacy hierarchical databases and network databases because they are easier
to understand and use. However, relational databases have been challenged by object
databases, which were introduced in an attempt to address the object-relational
impedance mismatch in relational database, and XML databases.

Page - 16
Project Report of Medical Shop Management System

Implementation Methodology:
Model View Controller or MVC as it is popularly called, is a software design pattern for
developing web applications. A Model View Controller pattern is made up of the
following three parts:
 Model - The lowest level of the pattern which is responsible for maintaining data.
 View - This is responsible for displaying all or a portion of the data to the user.
 Controller - Software Code that controls the interactions between the Model
and View.
MVC is popular as it isolates the application logic from the user interface layer and
supports separation of concerns. Here the Controller receives all requests for the
application and then works with the Model to prepare any data needed by the View. The
View then uses the data prepared by the Controller to generate a final presentable
response. The MVC abstraction can be graphically represented as follows.
MVC (Model View Controller Flow) Diagram

DATA FLOW DIAGRAMS

Page - 17
Project Report of Medical Shop Management System

Project Planning:

Software project plan can be viewed as the following:

1) Within the organization: How the project is to be implemented? What are


various constraints (time, cost, staff)? What is market strategy?

2) With respect to the customer: Weekly or timely meetings with the customer
with presentation on status reports. Customers feedback is also taken and further
modification and developments are done. Project milestones and deliverables
are also presented to the customer.

For a successful software project, the following steps can be followed:

 Select a project

o Identifying project’s aims and objectives

o Understanding requirements and specification

o Methods of analysis, design and implementation

o Testing techniques

o Documentation

 Project milestones and deliverables

 Budget allocation

o Exceeding limits within control

 Project Estimates

o Cost

o Time

o Size of code

Page - 18
Project Report of Medical Shop Management System

o Duration

 Resource Allocation

o Hardware

o Software

o Previous relevant project information

o Digital Library

 Risk Management

o Risk avoidance

o Risk detection

Page - 19
Project Report of Medical Shop Management System

Project Scheduling:

An elementary Gantt chart or Timeline chart for the development plan is given below.
The plan explains the tasks versus the time (in weeks) they will take to complete.

January February March

Requirement
Gathering

Analysis

Design

Coding

Testing

Implement

W1 W2 W3 W4 W1 W2 W3 W4 W1 W2 W3 W4

Wi‘s are weeks of the months, for i =1, 2, 3, 4

Page - 20
Project Report of Medical Shop Management System

Cost estimation of the project:

Software cost comprises a small percentage of overall computer-based system cost.


There are a number of factors, which are considered, that can affect the ultimate cost of
the software such as - human, technical, Hardware and Software availability etc.

The main point that was considered during the cost estimation of project was its sizing.
In spite of complete software sizing, function point and approximate lines of code were
also used to "size" each element of the Software and their costing.

The cost estimation done by me for Project also depend upon the baseline metrics
collected from past projects and these were used in conjunction with estimation
variables to develop cost and effort projections.

We have basically estimated this project mainly on two bases -

1) Effort Estimation - This refers to the total man-hours required for the development
of the project. It even includes the time required for doing documentation and user
manual.

2) Hardware Required Estimation - This includes the cost of the PCs and the
hardware cost required for development of this project.

Page - 21
Project Report of Medical Shop Management System

Tools/Platform, Hardware and Software Requirement specifications:

Software Requirements:

Name of component Specification


Operating System Windows 98, Windows XP, Windows7,
Linux
Language Java 2 Runtime Environment
Database MySQL Server
Browser Any of Mozilla, Opera, Chrome etc
Web Server Tomcat 7
Software Development Kit Java JDK 1.7 or Above
Scripting Language Enable JSP (Java Server Pages)
Database JDBC Driver MySQL Jconnector

Hardware Requirements:

Name of component Specification


Processor Pentium III 630MHz
RAM 128 MB
Hard disk 20 GB
Monitor 15” color monitor
Keyboard 122 keys

Page - 22
Project Report of Medical Shop Management System

Project Profile

There has been continuous effort to develop tools, which can ease the process of
software development. But, with the evolving trend of different programming paradigms
today’s software developers are really challenged to deal with the changing technology.
Among other issues, software re-engineering is being regarded as an important process
in the software development industry. One of the major tasks here is to understand
software systems that are already developed and to transform them to a different
software environment. Generally, this requires a lot of manual effort in going through a
program that might have been developed by another programmer. This project makes a
novel attempt to address the issued of program analysis and generation of diagrams,
which can depict the structure of a program in a better way. Today, UML is being
considered as an industrial standard for software engineering design process. It
essential provides several diagramming tools that can express different aspects/
characteristics of program such as

Use cases: Elicit requirement from users in meaningful chunks. Construction planning
is built around delivering some use cases n each interaction basis for system testing.

Class diagrams: shows static structure of concepts, types and class. Concepts how
users think about the world; type shows interfaces of software components; classes
shows implementation of software components.

Interaction diagrams: shows how several objects collaborate in single use case.

Package diagram: show group of classes and dependencies among them.

State diagram: show how single object behaves across many use cases.

Activity diagram: shows behavior with control structure. Can show many objects over
many uses, many object in single use case, or implementations methods encourage
parallel behavior, etc.

Page - 23
Project Report of Medical Shop Management System

The end-product of this project is a comprehensive tool that can parse any vb.net
program and extract most of the object oriented features inherent in the program such
as polymorphism, inheritance, encapsulation and abstraction.

What is UML?

UML stands for Unified Modeling Language is the successor to the wave of
Object Oriented Analysis and Design (OOA&D) methods that appeared in the late 80’s.
It most directly unifies the methods of Booch, Rumbaugh (OMT) and Jacobson. The
UML is called a modeling language, not a method. Most methods consist at least in
principle, of both a modeling language and a process. The Modeling language is that
notation that methods used to express design.

Notations and meta-models:

The notation is the graphical stuff; it is the syntax of the modeling language. For
instance, class diagram notation defines how items are concepts such as class,
association, and multiplicity is represented. These are:

Class Diagram: The class diagram technique has become truly central within object-
oriented methods. Virtually every method has included some variation on this technique.
Class diagram is also subject to the greatest range of modeling concept. Although the
basic elements are needed by everyone, advanced concepts are used less often. A
class diagram describes the types of objects in the system and the various kinds of
static relationship that exist among them. There are two principal kinds of static
relationship:

 Association
 Subtype
Class diagram also show the attributes and operations of a class and the constraints
that apply to the way objects are connected.

Page - 24
Project Report of Medical Shop Management System

Association: Association represent between instances of class. From the conceptual


perspective, association represents conceptual relations between classes. Each
association has two roles. Each role is a direction on the association. A role also has
multiplicity, which is a indication of how many object may participate in the given
relationship.

Generalization: A typical example of generalization evolves the personal and corporate


customer of a business. They have differences but also many similarity. The similarities
can be placed in generalization with personal customer and corporate customer sub
type.

Aggregation: aggregation is the part of relationship. It is like saying a car has engine
and wheels as its parts. This sounds good, but difficult thing is considering, what is the
difference is aggregation and association.

Interaction: interaction diagrams are models that describes how groups of objects
collaboration in some behavior.

Typically, an interaction diagram captures the behavior a single use cases. The
diagram shows a number of example objects and the messages that are passed
between these objects in use cases. These are following approaches with simple use
case that exhibits the following behavior.

Objects can send a message to another. Each message is checks with given
stock item. There are two diagrams: Sequence and Collaboration diagram.

Package Diagram: One of the oldest questions in software methods is: how do you
break down a large system into smaller systems? It becomes difficult to understand and
the changes we make to them.

Structured methods used functional decomposition in which the overall system


was mapped as a function broken down into sub function, which is further broken down
into sub function and so forth. The separation of process data is gone, functional
decomposition is gone, but the old question is still remains. One idea is to group the
classes together into higher-level unit. This idea, applied very loosely, appears in many

Page - 25
Project Report of Medical Shop Management System

objects. In UML, this grouping mechanism is package. The term package diagram for a
diagram that shows packages of classes and the dependencies among them.

A dependency exists between two elements if changes to the definition of one


element may cause to other. With classes, dependencies exist for various reasons: one
class sends a message to another; one class has another as part of its data; one class
mentions another as a parameter to an operation. A dependency between two
packages exists; and any dependencies exist between any two classes in the package.

State diagram: State diagram are a familiar technique to describe the behavior of a
system. They describe all the possible states a particular object can get into and how
the objects state changes as a result of events that reach the objects. In most OO
technique, state diagrams are drawn for a single class to show the lifetime behavior of a
singe object. There are many form of state diagram, each with slightly different
semantics. The most popular one used in OO technique is based on David Harel’s state
chart.

Page - 26
Project Report of Medical Shop Management System

PERT CHART (Program Evaluation Review Technique)

PERT chart is organized for events, activities or tasks. It is a scheduling device that
shows graphically the order of the tasks to be performed. It enables the calculation of
the critical path. The time and cost associated along a path is calculated and the path
requires the greatest amount of elapsed time in critical path.

Design Database Code database

Integrate and Test

Specification Design GUI part Code GUI Part

Implementation
Write User Manual

PERT Chart representation

Page - 27
Project Report of Medical Shop Management System

GANTT CHART

It is also known as Bar chart is used exclusively for scheduling purpose. It is a project
controlling technique. It is used for scheduling. Budgeting and resourcing planning. A
Gantt is a bar chart with each bar representing activity. The bars are drawn against a
time line. The length of time planned for the activity. The Gantt chart in the figure shows
the Gray parts is slack time that is the latest by which a task has been finished.

1-19 MAY 10 20-3 JUNE 10 6-25 JUNE 10 26-15 JULY 10 JULY 16 AUG 31
Specification

Design Database Part

Design GUI Modulation

CODE DATABASE
PART

CODE GUI BLACK BOX TESTING

INTEGRATE AND TEST

IMPLEMENTATION

WRITE USER MANUAL

GANTT CHART REPRESENTATION

Page - 28
Project Report of Medical Shop Management System

Use Case Model of the Project:

The use case model for any system consists of “use cases”. Use cases represent
different ways in which the system can be used by the user. A simple way to find all the
use case of a system is to ask the questions “What the user can do using the system?”
The use cases partition the system behavior into transactions such that each
transaction performs some useful action from the users’ point of view.

The purpose of the use case to define a piece of coherent behavior without
reveling the internal structure of the system. An use case typically represents a
sequence of interaction between the user and the system. These interactions consists
of one main line sequence is represent the normal interaction between the user and the
system. The use case model is an important analysis and design artifact (task).Use
cases can be represented by drawing a use case diagram and writing an accompany
text elaborating the drawing.

In the use case diagram each use case is represented by an ellipse with the
name of use case written inside the ellipse. All the ellipses of the system are enclosed
with in a rectangle which represents the system boundary. The name of the system
being moduled appears inside the rectangle. The different users of the system are
represented by using stick person icon. The stick person icon is normally referred to as
an Actor. The line connecting the actor and the use cases is called the communication
relationship. When a stick person icon represents an external system it is annotated by
the stereo type<<external system>>.

Page - 29
Project Report of Medical Shop Management System

Dataflow Diagram:

Data flow diagram is the starting point of the design phase that functionally
decomposes the requirements specification. A DFD consists of a series of bubbles
joined by lines. The bubbles represent data transformation and the lines represent
data flows in the system. A DFD describes what data flow rather than how they are
processed, so it does not hardware, software and data structure.

A data-flow diagram (DFD) is a graphical representation of the "flow" of data


through an information system. DFDs can also be used for the visualization of data
processing (structured design). A data flow diagram (DFD) is a significant modeling
technique for analyzing and constructing information processes. DFD literally means
an illustration that explains the course or movement of information in a process. DFD
illustrates this flow of information in a process based on the inputs and outputs. A
DFD can be referred to as a Process Model.

The data flow diagram is a graphical description of a system’s data and how

to Process transform the data is known as Data Flow Diagram (DFD).

Unlike details flow chart, DFDs don’t supply detail descriptions of modules that
graphically describe a system’s data and how the data interact with the system. Data
flow diagram number of symbols and the following symbols are of by DeMarco.

process

Data store

Source/sink

Data Flow

DeMarco &
Yourdon Gane & Sarson
symbols symbols

Page - 30
Project Report of Medical Shop Management System

There are seven rules for construct a data flow diagram.

i) Arrows should not cross each other.


ii) Squares, circles and files must wears names.
iii) Decomposed data flows must be balanced.
iv) No two data flows, squares or circles can be the same names.
v) Draw all data flows around the outside of the diagram.
vi) Choose meaningful names for data flows, processes & data stores.
vii)Control information such as record units, password and validation
requirements are not penitent to a data flow diagram.

Additionally, a DFD can be utilized to visualize data processing or a structured design.

This basic DFD can be then disintegrated to a lower level diagram demonstrating
smaller steps exhibiting details of the system that is being modeled.

On a DFD, data items flow from an external data source or an internal data store to an
internal data store or an external data sink, via an internal process. It is common
practice to draw a context-level data flow diagram first, which shows the interaction
between the system and external agents, which act as data sources and data sinks. On
the context diagram (also known as the Level 0 DFD’), the system's interactions with the
outside world are modeled purely in terms of data flows across the system boundary.
The context diagram shows the entire system as a single process, and gives no clues
as to its internal organization.

This context-level DFD is next "exploded", to produce a Level 1 DFD that shows some
of the detail of the system being modeled. The Level 1 DFD shows how the system is
divided into sub-systems (processes), each of which deals with one or more of the
data flows to or from an external agent, and which together provide all of the
functionality of the system as a whole. The level 1 DFD is further spreaded and split
into more descriptive and detailed description about the project as level 2 DFD.The
level 2 DFD can be a number of data flows which will finally show the entire
description of the software project.

Page - 31
Project Report of Medical Shop Management System

About ER Diagram:

Entity Relationship Diagram

E-R Model is a popular high level conceptual data model. This model and its variations
are frequently used for the conceptual design of database application and many
database design tools employ its concept.

A database that confirms to an E-R diagram can be represented by a collecton of tables


in the relational system. The mapping of E-R diagram to the entities are:

 Attributes

 Relations

o Many-to-many

o Many-to-one

o One-to-many

o One-to-one

 Weak entities

 Sub-type and super-type

The entities and their relationshops between them are shown using the following
conventions.

 An entity is shown in rectangle.

 A diamond represent the relationship among number of entities.

 The attributes shown as ovals are connected to the entities or relationship by


lines.

 Diamond,oval and relationships are labeled.

Page - 32
Project Report of Medical Shop Management System

 Model is an abstraction process that hides super details


while highlighting details relation to application at end.
 A data model is a mechanism that provides this abstraction for
database application.
 Data modeling is used for representing entities and their relationship in the
database.
 Entities are the basic units used in modeling database entities can
have concrete existence or constitute ideas or concepts.
 Entity type or entity set is a group of similar objects concern to an
organization for which it maintain data,
 Properties are characteristics of an entity also called as attributes.
 A key is a single attribute or combination of 2 or more attributes of
an entity set is used to identify one or more instances of the set.
 In relational model we represent the entity by a relation and use tuples to
represent an instance of the entity.
 Relationship is used in data modeling to represent in association
between an entity set.
 An association between two attributes indicates that the values of
the associated attributes are independent.

Page - 33
Project Report of Medical Shop Management System

Security Testing of the Project

Testing is vital for the success of any software. no system design is ever perfect. Testing is also
carried in two phases. first phase is during the software engineering that is during the module
creation. second phase is after the completion of software. this is system testing which verifies
that the whole set of programs hanged together.

White Box Testing:

In this technique, the close examination of the logical parts through the software are tested by
cases that exercise species sets of conditions or loops. all logical parts of the software checked
once. errors that can be corrected using this technique are typographical errors, logical
expressions which should be executed once may be getting executed more than once and error
resulting by using wrong controls and loops. When the box testing tests all the independent part
within a module a logical decisions on their true and the false side are exercised , all loops and
bounds within their operational bounds were exercised and internal data structure to ensure
their validity were exercised once.

Black Box Testing:

This method enables the software engineer to device sets of input techniques that fully exercise
all functional requirements for a program. black box testing tests the input, the output and the
external data. it checks whether the input data is correct and whether we are getting the desired
output.

Alpha Testing:

Acceptance testing is also sometimes called alpha testing. Be spoke systems are developed for
a single customer. The alpha testing proceeds until the system developer and the customer
agree that the provided system is an acceptable implementation of the system requirements.

Beta Testing:

On the other hand, when a system isto be marked as a software product, another process
called beta testing is often conducted. During beta testing, a system is delivered among a
number of potential users who agree to use it. The customers then report problems to the

Page - 34
Project Report of Medical Shop Management System

developers. This provides the product for real use and detects errors which may not have been
anticipated by the system developers.

Unit Testing:

Each module is considered independently. it focuses on each unit of software as implemented


in the source code. it is white box testing.

Integration Testing:

Integration testing aims at constructing the program structure while at the same constructing
tests to uncover errors associated with interfacing the modules. modules are integrated by using
the top down approach.

Validation Testing:

Validation testing was performed to ensure that all the functional and performance requirements
are met.

System Testing:

It is executing programs to check logical changes made in it with intention of finding errors. a
system is tested for online response, volume of transaction, recovery from failure etc. System
testing is done to ensure that the system satisfies all the user requirements.

Page - 35
Project Report of Medical Shop Management System

Implementation and Software Specification Testings

Detailed Design of Implementation

This phase of the systems development life cycle refines hardware and software specifications,
establishes programming plans, trains users and implements extensive testing procedures, to
evaluate design and operating specifications and/or provide the basis for further modification.

Technical Design

This activity builds upon specifications produced during new system design, adding detailed
technical specifications and documentation.

Test Specifications and Planning

This activity prepares detailed test specifications for individual modules and programs, job
streams, subsystems, and for the system as a whole.

Programming and Testing

This activity encompasses actual development, writing, and testing of program units or modules.

User Training

This activity encompasses writing user procedure manuals, preparation of user training
materials, conducting training programs, and testing procedures.

Acceptance Test

A final procedural review to demonstrate a system and secure user approval before a system
becomes operational.

Installation Phase

In this phase the new Computerized system is installed, the conversion to new procedures is
fully implemented, and the potential of the new system is explored.

Page - 36
Project Report of Medical Shop Management System

System Installation

The process of starting the actual use of a system and training user personnel in its operation.

Review Phase

This phase evaluates the successes and failures during a systems development project, and to
measure the results of a new Computerized Transystem in terms of benefits and savings
projected at the start of the project.

Development Recap

A review of a project immediately after completion to find successes and potential problems in
future work.

Post-Implementation Review

A review, conducted after a new system has been in operation for some time, to evaluate actual
system performance against original expectations and projections for cost-benefit
improvements. Also identifies maintenance projects to enhance or improve the system.

THE STEPS IN THE SOFTWARE TESTING

The steps involved during Unit testing are as follows:

a. Preparation of the test cases.


b. Preparation of the possible test data with all the validation checks.
c. Complete code review of the module.
d. Actual testing done manually.
e. Modifications done for the errors found during testing.
f. Prepared the test result scripts.

The unit testing done included the testing of the following items:

1. Functionality of the entire module/forms.


2. Validations for user input.
3. Checking of the Coding standards to be maintained during coding.

Page - 37
Project Report of Medical Shop Management System

4. Testing the module with all the possible test data.


5. Testing of the functionality involving all type of calculations etc.
6. Commenting standard in the source files.

After completing the Unit testing of all the modules, the whole system is integrated with all its
dependencies in that module. While System Integration, We integrated the modules one by one
and tested the system at each step. This helped in reduction of errors at the time of the system
testing.

The steps involved during System testing are as follows:

 Integration of all the modules/forms in the system.


 Preparation of the test cases.
 Preparation of the possible test data with all the validation checks.
 Actual testing done manually.
 Recording of all the reproduced errors.
 Modifications done for the errors found during testing.
 Prepared the test result scripts after rectification of the errors.

The System Testing done included the testing of the following items:

1. Functionality of the entire system as a whole.


2. User Interface of the system.
3. Testing the dependent modules together with all the possible test data scripts.
4. Verification and Validation testing.
5. Testing the reports with all its functionality.

After the completion of system testing, the next following phase was the Acceptance Testing.
Clients at their end did this and accepted the system with appreciation. Thus, we reached the
final phase of the project delivery.

There are other six tests, which fall under special category. They are described below:

 Peak Load Test: It determines whether the system will handle the volume of activities that
occur when the system is at the peak of its processing demand. For example, test the
system by activating all terminals at the same time.

Page - 38
Project Report of Medical Shop Management System

 Storage Testing: It determines the capacity of the system to store transaction data on a disk
or in other files.
 Performance Time Testing: it determines the length of time system used by the system to
process transaction data. This test is conducted prior to implementation to determine how
long it takes to get a response to an inquiry, make a backup copy of a file, or send a
transmission and get a response.
 Recovery Testing: This testing determines the ability of user to recover data or re-start
system after failure. For example, load backup copy of data and resume processing without
data or integrity loss.
 Procedure Testing: It determines the clarity of documentation on operation and uses of
system by having users do exactly what manuals request. For example, powering down
system at the end of week or responding to paper-out light on printer.
 Human Factors Testing: It determines how users will use the system when processing data
or preparing reports.

Page - 39
Project Report of Medical Shop Management System

System Analysis:

System analysis is a process of gathering and interpreting facts, diagnosing


problems and the information about the Medical Shop Management System to
recommend improvements on the system. It is a problem solving activity that requires
intensive communication between the system users and system developers. System
analysis or study is an important phase of any system development process. The
system is studied to the minutest detail and analyzed. The system analyst plays the role
of the interrogator and dwells deep into the working of the present system. The system
is viewed as a whole and the input to the system are identified. The outputs from the
organizations are traced to the various processes. System analysis is concerned with
becoming aware of the problem, identifying the relevant and decisional variables,
analyzing and synthesizing the various factors and determining an optimal or at least a
satisfactory solution or program of action. A detailed study of the process must be made
by various techniques like interviews, questionnaires etc. The data collected by these
sources must be scrutinized to arrive to a conclusion. The conclusion is an
understanding of how the system functions. This system is called the existing system.
Now the existing system is subjected to close study and problem areas are identified.
The designer now functions as a problem solver and tries to sort out the difficulties that
the enterprise faces. The solutions are given as proposals. The proposal is then
weighed with the existing system analytically and the best one is selected. The proposal
is presented to the user for an endorsement by the user. The proposal is reviewed on
user request and suitable changes are made. This is loop that ends as soon as the user
is satisfied with proposal. Preliminary study is the process of gathering and interpreting
facts, using the information for further studies on the system. Preliminary study is
problem solving activity that requires intensive communication between the system
users and system developers. It does various feasibility studies. In these studies a
rough figure of the system activities can be obtained, from which the decision about the
strategies to be followed for effective system study and analysis can be taken.

Page - 40
Project Report of Medical Shop Management System

Existing System of Medical Shop Management System:


In the existing system the exams are done only manually but in proposed system we
have to computerize the exams using this application.
 Lack of security of data.
 More man power.
 Time consuming.
 Consumes large volume of pare work.
 Needs manual calculations.
 No direct role for the higher officials

Proposed System of Medical Shop Management System:


The aim of proposed system is to develop a system of improved facilities. The
proposed system can overcome all the limitations of the existing system. The system
provides proper security and reduces the manual work.
 Security of data.
 Ensure data accuracy’s.
 Proper control of the higher officials.
 Minimize manual data entry.
 Minimum time needed for the various processing.
 Greater efficiency.
 Better service.
 User friendliness and interactive.
 Minimum time required.

Page - 41
Project Report of Medical Shop Management System

Data Dictionary:

This is normally represented as the data about data. It is also termed as metadata
some times which gives the data about the data stored in the database. It defines each
data term encountered during the analysis and design of a new system. Data elements
can describe files or the processes.

Following are some major symbols used in the data dictionary

 = equivalent to
 + and
 [] either/ or
 () Optional entry

Following are some rules, which defines the construction of data dictionary
entries:

1. Words should be defined to understand for what they need and not the
variable need by which they may be described in the program .
2. Each word must be unique. We cannot have two definition of the same
client.
3. Aliases or synonyms are allowed when two or more enters shows the same
meaning. For example a vendor number may also be called as customer
number.
4. A self-defining word should not be decomposed. It means that the reduction
of any information in to subpart should be done only if it is really required
that is it is not easy to understand directly.
Data dictionary includes information such as the number of records in file, the
frequency a process will run, security factor like pass word which user must enter
to get excess to the information.

Page - 42
Project Report of Medical Shop Management System

Screenshot of the Project


Medical Shop
Management System

Page - 43
Project Report of Medical Shop Management System

Page - 44
Project Report of Medical Shop Management System

Page - 45
Project Report of Medical Shop Management System

Page - 46
Project Report of Medical Shop Management System

Page - 47
Project Report of Medical Shop Management System

Page - 48
Project Report of Medical Shop Management System

Page - 49
Project Report of Medical Shop Management System

Page - 50
Project Report of Medical Shop Management System

Page - 51
Project Report of Medical Shop Management System

Page - 52
Project Report of Medical Shop Management System

Page - 53
Project Report of Medical Shop Management System

Page - 54
Project Report of Medical Shop Management System

Page - 55
Project Report of Medical Shop Management System

Page - 56
Project Report of Medical Shop Management System

Page - 57
Project Report of Medical Shop Management System

Page - 58
Project Report of Medical Shop Management System

Page - 59
Project Report of Medical Shop Management System

Page - 60
Project Report of Medical Shop Management System

Page - 61
Project Report of Medical Shop Management System

Page - 62
Project Report of Medical Shop Management System

Code of the Project


Medical Shop
Management System

Page - 63
Project Report of Medical Shop Management System

Coding for Company.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Company extends Connect

/////Function for connect to the MySQL Server Database////////////

public Company()

Connect.connect_mysql();

Page - 64
Project Report of Medical Shop Management System

//////////Save User Details /////

public String saveCompany(HashMap companyData)

String SQL = "INSERT INTO `company` (`company_name`, `company_phone`,


`company_address`, `company_description`) VALUES (?, ?, ?, ?);";

int record=0;

String error = "";

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) companyData.get("company_name"));

pstmt.setString(2,(String) companyData.get("company_phone"));

pstmt.setString(3,(String) companyData.get("company_address"));

pstmt.setString(4,(String) companyData.get("company_description"));

Page - 65
Project Report of Medical Shop Management System

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

Page - 66
Project Report of Medical Shop Management System

//////////////////Function for getting Users Details//////////

public HashMap getCompanyDetails(int company_id)

HashMap results = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM `company` WHERE company_id = "+company_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

results.put("company_id",rs.getString("company_id"));

results.put("company_name",rs.getString("company_name"));

results.put("company_phone",rs.getString("company_phone"));

results.put("company_address",rs.getString("company_address"));

Page - 67
Project Report of Medical Shop Management System

results.put("company_description",rs.getString("company_description"));

count++;

if(count==0)

results.put("company_id","");

results.put("company_name","");

results.put("company_phone","");

results.put("company_address","");

results.put("company_description","");

catch(Exception e)

System.out.println("Error is: "+ e);

Page - 68
Project Report of Medical Shop Management System

return results;

/// Update the Company ////

public String updateCompany(HashMap companyData)

String SQL = "UPDATE `company` SET `company_name` = ?, `company_phone` = ?,


`company_address` = ?, `company_description` = ? WHERE `company_id` = ?;";

String error = "";

int record=0;

try

pstmt = connection.prepareStatement(SQL);

Page - 69
Project Report of Medical Shop Management System

pstmt.setString(1,(String) companyData.get("company_name"));

pstmt.setString(2,(String) companyData.get("company_phone"));

pstmt.setString(3,(String) companyData.get("company_address"));

pstmt.setString(4,(String) companyData.get("company_description"));

pstmt.setString(5,(String) companyData.get("company_id"));

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

Page - 70
Project Report of Medical Shop Management System

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllCompany()

String SQL = "SELECT * FROM `company`";

int count=0;

ArrayList resultArray = new ArrayList();

try

statement = connection.createStatement();

Page - 71
Project Report of Medical Shop Management System

rs = statement.executeQuery(SQL);

while(rs.next())

HashMap results = new HashMap();

results.put("company_id",rs.getString("company_id"));

results.put("company_name",rs.getString("company_name"));

results.put("company_phone",rs.getString("company_phone"));

results.put("company_address",rs.getString("company_address"));

results.put("company_description",rs.getString("company_description"));

count++;

resultArray.add(results);

catch(Exception e)

Page - 72
Project Report of Medical Shop Management System

System.out.println("Error is: "+ e);

return resultArray;

Page - 73
Project Report of Medical Shop Management System

Coding for Employee.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Employee extends Connect

/////Function for connect to the MySQL Server Database////////////

public Employee()

Connect.connect_mysql();

Page - 74
Project Report of Medical Shop Management System

//////////Save User Details /////

public String saveEmployee(HashMap employeeData)

String SQL = "INSERT INTO employee (employee_sal, employee_first_name,


employee_middle_name, employee_last_name, employee_gender, employee_address,
employee_village, employee_state, employee_country, employee_landline, employee_mobile,
employee_email, employee_status, employee_deparment, employee_dob, employee_nationalty,
employee_manager_id, employee_role) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);";

int record=0,last_inserted_id=0;

String error = "";

try

pstmt = connection.prepareStatement(SQL, Statement.RETURN_GENERATED_KEYS);

pstmt.setString(1,(String) employeeData.get("employee_sal"));

pstmt.setString(2,(String) employeeData.get("employee_first_name"));

pstmt.setString(3,(String) employeeData.get("employee_middle_name"));

Page - 75
Project Report of Medical Shop Management System

pstmt.setString(4,(String) employeeData.get("employee_last_name"));

pstmt.setString(5,(String) employeeData.get("employee_gender"));

pstmt.setString(6,(String) employeeData.get("employee_address"));

pstmt.setString(7,(String) employeeData.get("employee_village"));

pstmt.setString(8,(String) employeeData.get("employee_state"));

pstmt.setString(9,(String) employeeData.get("employee_country"));

pstmt.setString(10,(String) employeeData.get("employee_landline"));

pstmt.setString(11,(String) employeeData.get("employee_mobile"));

pstmt.setString(12,(String) employeeData.get("employee_email"));

pstmt.setString(13,(String) employeeData.get("employee_status"));

pstmt.setString(14,(String) employeeData.get("employee_deparment"));

pstmt.setString(15,(String) employeeData.get("employee_dob"));

pstmt.setString(16,(String) employeeData.get("employee_nationalty"));

pstmt.setString(17,(String) employeeData.get("employee_manager_id"));

pstmt.setString(18,(String) employeeData.get("employee_role"));

Page - 76
Project Report of Medical Shop Management System

record = pstmt.executeUpdate();

/// Get the Last Insert ID ///

rs = pstmt.getGeneratedKeys();

if(rs.next())

last_inserted_id = rs.getInt(1);

pstmt.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

Page - 77
Project Report of Medical Shop Management System

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

/// Save Credentials to Login ////

SQL = "INSERT INTO login (login_emp_id, login_user, login_password, login_email, login_level)


VALUES (?, ?, ?, ?, ?);";

try

pstmt = connection.prepareStatement(SQL);

pstmt.setInt(1,last_inserted_id);

pstmt.setString(2,(String) employeeData.get("employee_user"));

pstmt.setString(3,(String) employeeData.get("employee_password"));

pstmt.setString(4,(String) employeeData.get("employee_email"));

pstmt.setString(5,(String) employeeData.get("employee_role"));

Page - 78
Project Report of Medical Shop Management System

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

Page - 79
Project Report of Medical Shop Management System

//////////////////Function for getting Users Details//////////

public HashMap getEmployeeDetails(int employee_id)

HashMap resultsArray = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM employee WHERE employee_id = "+employee_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

resultsArray.put("employee_id",rs.getString("employee_id"));

resultsArray.put("employee_manager_id",Integer.parseInt(rs.getString("employee_manager_id

Page - 80
Project Report of Medical Shop Management System

")));

resultsArray.put("employee_role",Integer.parseInt(rs.getString("employee_role")));

resultsArray.put("employee_sal",Integer.parseInt(rs.getString("employee_sal")));

resultsArray.put("employee_first_name",rs.getString("employee_first_name"));

resultsArray.put("employee_middle_name",rs.getString("employee_middle_name"));

resultsArray.put("employee_last_name",rs.getString("employee_last_name"));

resultsArray.put("employee_gender",rs.getString("employee_gender"));

resultsArray.put("employee_address",rs.getString("employee_address"));

resultsArray.put("employee_village",rs.getString("employee_village"));

resultsArray.put("employee_state",Integer.parseInt(rs.getString("employee_state")));

resultsArray.put("employee_country",Integer.parseInt(rs.getString("employee_country")));

resultsArray.put("employee_landline",rs.getString("employee_landline"));

Page - 81
Project Report of Medical Shop Management System

resultsArray.put("employee_mobile",rs.getString("employee_mobile"));

resultsArray.put("employee_email",rs.getString("employee_email"));

resultsArray.put("employee_status",Integer.parseInt(rs.getString("employee_status")));

resultsArray.put("employee_deparment",Integer.parseInt(rs.getString("employee_deparment"))
);

resultsArray.put("employee_dob",rs.getString("employee_dob"));

resultsArray.put("employee_nationalty",rs.getString("employee_nationalty"));

count++;

if(count==0)

resultsArray.put("employee_id","");

resultsArray.put("employee_manager_id",0);

resultsArray.put("employee_role",0);

resultsArray.put("employee_user","");

Page - 82
Project Report of Medical Shop Management System

resultsArray.put("employee_sal",0);

resultsArray.put("employee_first_name","");

resultsArray.put("employee_middle_name","");

resultsArray.put("employee_last_name","");

resultsArray.put("employee_gender","");

resultsArray.put("employee_address","");

resultsArray.put("employee_village","");

resultsArray.put("employee_state",0);

resultsArray.put("employee_country",0);

resultsArray.put("employee_landline","");

resultsArray.put("employee_mobile","");

resultsArray.put("employee_email","");

resultsArray.put("employee_status",0);

resultsArray.put("employee_deparment",0);

resultsArray.put("employee_dob","");

resultsArray.put("employee_nationalty","");

Page - 83
Project Report of Medical Shop Management System

catch(Exception e)

System.out.println("Error is: "+ e);

return resultsArray;

public String updateEmployee(HashMap employeeData)

String SQL = "UPDATE employee SET employee_sal = ?, employee_first_name = ?,


employee_middle_name = ?, employee_last_name = ?, employee_gender = ?, employee_address = ?,
employee_village = ?, employee_state = ?, employee_country = ?, employee_landline = ?,
employee_mobile = ?, employee_email = ?, employee_status = ?, employee_deparment = ?,
employee_dob = ?, employee_nationalty = ?, employee_manager_id = ?, employee_role = ? WHERE
employee_id = ?";

String error = "";

Page - 84
Project Report of Medical Shop Management System

int record=0;

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) employeeData.get("employee_sal"));

pstmt.setString(2,(String) employeeData.get("employee_first_name"));

pstmt.setString(3,(String) employeeData.get("employee_middle_name"));

pstmt.setString(4,(String) employeeData.get("employee_last_name"));

pstmt.setString(5,(String) employeeData.get("employee_gender"));

pstmt.setString(6,(String) employeeData.get("employee_address"));

pstmt.setString(7,(String) employeeData.get("employee_village"));

pstmt.setString(8,(String) employeeData.get("employee_state"));

pstmt.setString(9,(String) employeeData.get("employee_country"));

pstmt.setString(10,(String) employeeData.get("employee_landline"));

pstmt.setString(11,(String) employeeData.get("employee_mobile"));

Page - 85
Project Report of Medical Shop Management System

pstmt.setString(12,(String) employeeData.get("employee_email"));

pstmt.setString(13,(String) employeeData.get("employee_status"));

pstmt.setString(14,(String) employeeData.get("employee_deparment"));

pstmt.setString(15,(String) employeeData.get("employee_dob"));

pstmt.setString(16,(String) employeeData.get("employee_nationalty"));

pstmt.setString(17,(String) employeeData.get("employee_manager_id"));

pstmt.setString(18,(String) employeeData.get("employee_role"));

pstmt.setString(19,(String) employeeData.get("employee_id"));

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

Page - 86
Project Report of Medical Shop Management System

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

public boolean deleteEmployee(int employee_id)

return true;

/////Function for Getting the List////////////

public String getStateOption(Integer SelID)

Page - 87
Project Report of Medical Shop Management System

int selectedID = SelID.intValue();

return
Connect.getOptionList("state","state_id","state_name","state_id,state_name",selectedID,"1");

/////Function for Getting the List////////////

public String getEmployeeOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("employee","employee_id","employee_id","employee_id,employee_id",selected
ID,"1");

/////Function for Getting the List////////////

public String getRoleOption(Integer SelID)

int selectedID = SelID.intValue();

return Connect.getOptionList("roles","role_id","role_title","role_id,role_title",selectedID,"1");

Page - 88
Project Report of Medical Shop Management System

/////Function for Getting the List////////////

public String getCountryOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("country","country_id","country_name","country_id,country_name",selectedID,
"1");

/////Function for Getting the List////////////

public String getSalutionOption(Integer SelID)

int selectedID = SelID.intValue();

return Connect.getOptionList("salutions","sl_id","sl_name","sl_id,sl_name",selectedID,"1");

/////Function for Getting the List////////////

Page - 89
Project Report of Medical Shop Management System

public String getStatusOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("status","status_id","status_name","status_id,status_name",selectedID,"1");

/////Function for Getting the List////////////

public String getDepartmentOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("department","dept_id","dept_name","dept_id,dept_name",selectedID,"1");

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllEmployee(String managerID)

Page - 90
Project Report of Medical Shop Management System

int count=0;

String error = "";

String SQL = "SELECT * FROM employee";

ArrayList resultArray = new ArrayList();

try

if(!managerID.equals("0"))

SQL = "SELECT * FROM employee WHERE employee_manager_id =


"+managerID;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

Page - 91
Project Report of Medical Shop Management System

HashMap results = new HashMap();

results.put("employee_id",rs.getString("employee_id"));

results.put("employee_role",rs.getString("employee_role"));

results.put("employee_sal",rs.getString("employee_sal"));

results.put("employee_first_name",rs.getString("employee_first_name"));

results.put("employee_middle_name",rs.getString("employee_middle_name"));

results.put("employee_last_name",rs.getString("employee_last_name"));

results.put("employee_gender",rs.getString("employee_gender"));

results.put("employee_address",rs.getString("employee_address"));

results.put("employee_village",rs.getString("employee_village"));

results.put("employee_state",rs.getString("employee_state"));

results.put("employee_country",rs.getString("employee_country"));

results.put("employee_landline",rs.getString("employee_landline"));

results.put("employee_mobile",rs.getString("employee_mobile"));

Page - 92
Project Report of Medical Shop Management System

results.put("employee_email",rs.getString("employee_email"));

results.put("employee_status",Integer.parseInt(rs.getString("employee_status")));

results.put("employee_deparment",Integer.parseInt(rs.getString("employee_deparment")));

results.put("employee_dob",rs.getString("employee_dob"));

results.put("employee_nationalty",rs.getString("employee_nationalty"));

results.put("employee_manager_id",Integer.parseInt(rs.getString("employee_manager_id")));

count++;

resultArray.add(results);

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

Page - 93
Project Report of Medical Shop Management System

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return resultArray;

public String getDepartment(int dept_id)

HashMap results = new HashMap();

String SQL = "";

String value = "";

int count=0;

try

Page - 94
Project Report of Medical Shop Management System

SQL = "SELECT dept_name FROM department WHERE dept_id = "+dept_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

value = rs.getString("dept_name");

catch(Exception e)

System.out.println("Error is: "+ e);

return value;

Page - 95
Project Report of Medical Shop Management System

public String getStatus(int status_id)

HashMap results = new HashMap();

String SQL = "";

String value = "";

int count=0;

try

SQL = "SELECT status_name FROM status WHERE status_id = "+status_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

value = rs.getString("status_name");

Page - 96
Project Report of Medical Shop Management System

catch(Exception e)

System.out.println("Error is: "+ e);

return value;

Page - 97
Project Report of Medical Shop Management System

Coding for Login.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Login extends Connect

/////Function for connect to the MySQL Server Database////////////

public Login()

Connect.connect_mysql();

Page - 98
Project Report of Medical Shop Management System

//////////////////Function for Update the airport////////////////////////

public boolean changePassword(String old_password,String new_password, int login_id)

String SQL;

int count = 0;

try

SQL = "SELECT * FROM login WHERE login_password = '"+old_password+"' AND


login_id = "+login_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next()) count++;

if(count==1)

SQL = "UPDATE login SET login_password=? WHERE login_id=?";

int record=0;

Page - 99
Project Report of Medical Shop Management System

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,new_password);

pstmt.setInt(2,login_id);

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

System.out.println(" Error : "+ e.toString());

if(count==0)

return false;

return true;

Page -
Project Report of Medical Shop Management System

//////////////////Function for geting the Single Airport Details//////////

public boolean checkLogin(String login_user,String login_password)

int count=0;

try

String SQL = "SELECT * FROM login WHERE login_user = '"+login_user+"' AND login_password =
'"+login_password+"'" ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next()) count++;

catch(Exception e)

System.out.println("Error is: "+ e);

Page -
Project Report of Medical Shop Management System

if(count==0)

return false;

return true;

//////////////////Function for getting Login Details//////////

public HashMap getLoginDetails(String login_user,String login_password)

HashMap resultsArray = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM login WHERE login_user = '"+login_user+"' AND login_password =
'"+login_password+"'" ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

Page -
Project Report of Medical Shop Management System

resultsArray.put("login_id",rs.getString("login_id"));

resultsArray.put("login_emp_id",rs.getString("login_emp_id"));

resultsArray.put("login_user",rs.getString("login_user"));

resultsArray.put("login_level",rs.getString("login_level"));

count++;

if(count==0)

resultsArray.put("login_id","");

resultsArray.put("login_emp_id","");

resultsArray.put("login_user","");

resultsArray.put("login_level","");

catch(Exception e)

Page -
Project Report of Medical Shop Management System

System.out.println("Error is: "+ e);

return resultsArray;

//////////////////Function for getting Login Details//////////

public int checkUsernameExits(String login_user, int type)

HashMap resultsArray = new HashMap();

int exits=0;

try

String SQL = "";

if(type == 1) {

SQL = "SELECT * FROM login WHERE login_user = '"+login_user+"'" ;

Page -
Project Report of Medical Shop Management System

if(type == 2) {

SQL = "SELECT * FROM login WHERE login_email = '"+login_user+"'" ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

exits++;

catch(Exception e)

System.out.println("Error is: "+ e);

return exits;

Page -
Project Report of Medical Shop Management System

Page -
Project Report of Medical Shop Management System

Coding for Medicine.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Medicine extends Connect

/////Function for connect to the MySQL Server Database////////////

public Medicine()

Connect.connect_mysql();

Page -
Project Report of Medical Shop Management System

//////////Save User Details /////

public String saveMedicine(HashMap medicineData)

String SQL = "INSERT INTO `medicine` (`medicine_type_id`, `medicine_company_id`,


`medicine_title`, `medicine_unit`, `medicine_price_per_unit`, `medicine_description`) VALUES (?, ?, ?, ?,
?, ?);";

int record=0;

String error = "";

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) medicineData.get("medicine_type_id"));

pstmt.setString(2,(String) medicineData.get("medicine_company_id"));

pstmt.setString(3,(String) medicineData.get("medicine_title"));

pstmt.setString(4,(String) medicineData.get("medicine_unit"));

pstmt.setString(5,(String) medicineData.get("medicine_price_per_unit"));

Page -
Project Report of Medical Shop Management System

pstmt.setString(6,(String) medicineData.get("medicine_description"));

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

Page -
Project Report of Medical Shop Management System

return error;

//////////////////Function for getting Users Details//////////

public HashMap getMedicineDetails(int medicine_id)

HashMap results = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM `medicine`,`type`,`company` WHERE medicine_type_id = type_id


AND medicine_company_id = company_id AND medicine_id = "+medicine_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

results.put("medicine_id",rs.getString("medicine_id"));

Page -
Project Report of Medical Shop Management System

results.put("medicine_type_id",Integer.parseInt(rs.getString("medicine_type_id")));

results.put("medicine_company_id",Integer.parseInt(rs.getString("medicine_company_id")));

results.put("medicine_title",rs.getString("medicine_title"));

results.put("medicine_unit",rs.getString("medicine_unit"));

results.put("medicine_price_per_unit",rs.getString("medicine_price_per_unit"));

results.put("medicine_description",rs.getString("medicine_description"));

results.put("company_name",rs.getString("company_name"));

results.put("type_title",rs.getString("type_title"));

count++;

if(count==0)

results.put("medicine_id","");

results.put("medicine_company_id",0);

Page -
Project Report of Medical Shop Management System

results.put("medicine_type_id",0);

results.put("medicine_unit","");

results.put("medicine_title","");

results.put("medicine_price_per_unit","");

results.put("medicine_description","");

results.put("type_title","");

catch(Exception e)

System.out.println("Error is: "+ e);

return results;

/// Update the Medicine ////

public String updateMedicine(HashMap medicineData)

Page -
Project Report of Medical Shop Management System

String SQL = "UPDATE `medicine` SET `medicine_type_id` = ?, `medicine_company_id` =


?, `medicine_title` = ?, `medicine_unit` = ?, `medicine_price_per_unit` = ?, `medicine_description` = ?
WHERE `medicine_id` = ?";

String error = "";

int record=0;

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) medicineData.get("medicine_type_id"));

pstmt.setString(2,(String) medicineData.get("medicine_company_id"));

pstmt.setString(3,(String) medicineData.get("medicine_title"));

pstmt.setString(4,(String) medicineData.get("medicine_unit"));

pstmt.setString(5,(String) medicineData.get("medicine_price_per_unit"));

Page -
Project Report of Medical Shop Management System

pstmt.setString(6,(String) medicineData.get("medicine_description"));

pstmt.setString(7,(String) medicineData.get("medicine_id"));

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

Page -
Project Report of Medical Shop Management System

return error;

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllMedicine()

String SQL = "SELECT * FROM `medicine`,`type`,`company` WHERE medicine_type_id =


type_id AND medicine_company_id = company_id";

int count=0;

ArrayList resultArray = new ArrayList();

try

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

Page -
Project Report of Medical Shop Management System

HashMap results = new HashMap();

results.put("medicine_id",rs.getString("medicine_id"));

results.put("medicine_type_id",Integer.parseInt(rs.getString("medicine_type_id")));

results.put("medicine_company_id",Integer.parseInt(rs.getString("medicine_company_id")));

results.put("medicine_title",rs.getString("medicine_title"));

results.put("medicine_unit",rs.getString("medicine_unit"));

results.put("medicine_price_per_unit",rs.getString("medicine_price_per_unit"));

results.put("medicine_description",rs.getString("medicine_description"));

results.put("company_name",rs.getString("company_name"));

results.put("type_title",rs.getString("type_title"));

count++;

resultArray.add(results);

Page -
Project Report of Medical Shop Management System

catch(Exception e)

System.out.println("Error is: "+ e);

return resultArray;

/////Function for Getting the List////////////

public String getMedicineTypeOption(Integer SelID)

int selectedID = SelID.intValue();

return Connect.getOptionList("type","type_id","type_title","type_id,type_title",selectedID,"1");

/////Function for Getting the List////////////

public String getCompanyOption(Integer SelID)

Page -
Project Report of Medical Shop Management System

int selectedID = SelID.intValue();

return
Connect.getOptionList("company","company_id","company_name","company_id,company_name",sele
ctedID,"1");

Page -
Project Report of Medical Shop Management System

Coding for Sell.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Sell extends Connect

/////Function for connect to the MySQL Server Database////////////

public Sell()

Connect.connect_mysql();

Page -
Project Report of Medical Shop Management System

//////////Save User Details /////

public String saveOrder(HashMap sellData)

String SQL = "INSERT INTO `order` (`order_customer_name`, `order_customer_mobile`,


`order_total`, `order_status`) VALUES (?, ?, ?, ?);";

int record=0;

int order_id=0;

String error = "";

try

//// Insert Data into Order table ///////

pstmt = connection.prepareStatement(SQL,
Statement.RETURN_GENERATED_KEYS);

pstmt.setString(1,(String) sellData.get("customer_name"));

pstmt.setString(2,(String) sellData.get("customer_mobile"));

pstmt.setString(3,(String) sellData.get("order_total"));

Page -
Project Report of Medical Shop Management System

pstmt.setString(4,(String) sellData.get("order_status"));

record = pstmt.executeUpdate();

/// Get the Last Insert ID ///

rs = pstmt.getGeneratedKeys();

if(rs.next())

order_id = rs.getInt(1);

error = order_id + "";

pstmt.close();

catch(Exception e)

Page -
Project Report of Medical Shop Management System

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

//////////Save User Details /////

public String saveSell(HashMap sellData)

String SQL = "INSERT INTO `sell` (`sell_order_id`, `sell_medicine_id`, `sell_units`,


`sell_price_per_unit`, `sell_total_cost`) VALUES (?, ?, ?, ?, ?);";

int record=0;

Page -
Project Report of Medical Shop Management System

int order_id=0;

String error = "";

try

//// Insert Data into Order table ///////

pstmt = connection.prepareStatement(SQL,
Statement.RETURN_GENERATED_KEYS);

pstmt.setString(1,(String) sellData.get("sell_order_id"));

pstmt.setString(2,(String) sellData.get("sell_medicine_id"));

pstmt.setString(3,(String) sellData.get("sell_units"));

pstmt.setString(4,(String) sellData.get("sell_price_per_unit"));

pstmt.setString(5,(String) sellData.get("sell_total_cost"));

record = pstmt.executeUpdate();

pstmt.close();

Page -
Project Report of Medical Shop Management System

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

//////////////////Function for getting Users Details//////////

public HashMap getSellDetails(int order_id)

Page -
Project Report of Medical Shop Management System

HashMap results = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM `sell`,`order` WHERE medicine_id = sell_medicine_id AND order_id
= sell_order_id AND order_id = "+order_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

results.put("order_customer_name",rs.getString("order_customer_name"));

results.put("order_customer_mobile",rs.getString("order_customer_mobile"));

results.put("order_total",rs.getString("order_total"));

results.put("medicine_title",rs.getString("medicine_title"));

results.put("sell_units",rs.getString("sell_units"));

Page -
Project Report of Medical Shop Management System

results.put("sell_price_per_unit",rs.getString("sell_price_per_unit"));

results.put("sell_total_cost",rs.getString("sell_total_cost"));

count++;

catch(Exception e)

System.out.println("Error is: "+ e);

return results;

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllSell(int orderID)

String SQL = "";

Page -
Project Report of Medical Shop Management System

if(orderID == 0)

SQL = "SELECT * FROM `sell`,`order`,`medicine` WHERE medicine_id =


sell_medicine_id AND order_id = sell_order_id " ;

else

SQL = "SELECT * FROM `sell`,`order`,`medicine` WHERE medicine_id =


sell_medicine_id AND order_id = sell_order_id AND order_id = "+orderID ;

int count=0;

ArrayList resultArray = new ArrayList();

try

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

Page -
Project Report of Medical Shop Management System

HashMap results = new HashMap();

results.put("order_customer_name",rs.getString("order_customer_name"));

results.put("order_customer_mobile",rs.getString("order_customer_mobile"));

results.put("order_total",rs.getString("order_total"));

results.put("medicine_title",rs.getString("medicine_title"));

results.put("sell_units",rs.getString("sell_units"));

results.put("sell_price_per_unit",rs.getString("sell_price_per_unit"));

results.put("sell_total_cost",rs.getString("sell_total_cost"));

count++;

resultArray.add(results);

catch(Exception e)

Page -
Project Report of Medical Shop Management System

System.out.println("Error is: "+ e);

return resultArray;

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllOrder()

String SQL = "";

SQL = "SELECT * FROM `order`";

int count=0;

ArrayList resultArray = new ArrayList();

try

Page -
Project Report of Medical Shop Management System

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

HashMap results = new HashMap();

results.put("order_customer_name",rs.getString("order_customer_name"));

results.put("order_customer_mobile",rs.getString("order_customer_mobile"));

results.put("order_total",rs.getString("order_total"));

results.put("order_id",rs.getString("order_id"));

count++;

resultArray.add(results);

catch(Exception e)

Page -
Project Report of Medical Shop Management System

System.out.println("Error is: "+ e);

return resultArray;

/////Function for Getting the List////////////

public String getMedicineOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("medicine","medicine_id","medicine_title","medicine_id,medicine_title",selecte
dID,"1");

Page -
Project Report of Medical Shop Management System

Coding for Stock.java

package Model;

import java.util.*;

import java.sql.*;

import com.*;

import java.io.*;

public class Stock extends Connect

/////Function for connect to the MySQL Server Database////////////

public Stock()

Connect.connect_mysql();

Page -
Project Report of Medical Shop Management System

//////////Save User Details /////

public String saveStock(HashMap stockData)

String SQL = "INSERT INTO `stock` (`stock_medicine_id`, `stock_number`,


`stock_description`) VALUES (?, ?, ?);";

int record=0;

String error = "";

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) stockData.get("stock_medicine_id"));

pstmt.setString(2,(String) stockData.get("stock_number"));

pstmt.setString(3,(String) stockData.get("stock_description"));

record = pstmt.executeUpdate();

Page -
Project Report of Medical Shop Management System

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

System.out.println(" Error : "+ e.toString());

return error;

//////////////////Function for getting Users Details//////////

Page -
Project Report of Medical Shop Management System

public HashMap getStockDetails(int stock_id)

HashMap results = new HashMap();

int count=0;

try

String SQL = "SELECT * FROM `stock`,`medicine` WHERE stock_medicine_id = medicine_id AND


stock_id = "+stock_id ;

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

while(rs.next())

results.put("stock_id",rs.getString("stock_id"));

results.put("stock_medicine_id",Integer.parseInt(rs.getString("stock_medicine_id")));

results.put("stock_number",rs.getString("stock_number"));

results.put("stock_description",rs.getString("stock_description"));

Page -
Project Report of Medical Shop Management System

results.put("medicine_title",rs.getString("medicine_title"));

count++;

if(count==0)

results.put("stock_id","");

results.put("stock_medicine_id",0);

results.put("stock_number","");

results.put("stock_description","");

results.put("medicine_title","");

catch(Exception e)

System.out.println("Error is: "+ e);

Page -
Project Report of Medical Shop Management System

return results;

/// Update the Stock ////

public String updateStock(HashMap stockData)

String SQL = "UPDATE `stock` SET `stock_medicine_id` = ?, `stock_number` = ?,


`stock_description` = ? WHERE `stock_id` = ?";

String error = "";

int record=0;

try

pstmt = connection.prepareStatement(SQL);

pstmt.setString(1,(String) stockData.get("stock_medicine_id"));

Page -
Project Report of Medical Shop Management System

pstmt.setString(2,(String) stockData.get("stock_number"));

pstmt.setString(3,(String) stockData.get("stock_description"));

pstmt.setString(4,(String) stockData.get("stock_id"));

record = pstmt.executeUpdate();

pstmt.close();

connection.close();

catch(Exception e)

StringWriter writer = new StringWriter();

PrintWriter printWriter = new PrintWriter( writer );

e.printStackTrace( printWriter );

printWriter.flush();

String stackTrace = writer.toString();

error+="Error : "+stackTrace;

Page -
Project Report of Medical Shop Management System

System.out.println(" Error : "+ e.toString());

return error;

////////////////Function for getting all the Airport Details////////////////////

public ArrayList getAllStock()

String SQL = "SELECT * FROM `stock`,`medicine` WHERE stock_medicine_id =


medicine_id";

int count=0;

ArrayList resultArray = new ArrayList();

try

statement = connection.createStatement();

rs = statement.executeQuery(SQL);

Page -
Project Report of Medical Shop Management System

while(rs.next())

HashMap results = new HashMap();

results.put("stock_id",rs.getString("stock_id"));

results.put("stock_medicine_id",Integer.parseInt(rs.getString("stock_medicine_id")));

results.put("stock_number",rs.getString("stock_number"));

results.put("medicine_title",rs.getString("medicine_title"));

count++;

resultArray.add(results);

catch(Exception e)

System.out.println("Error is: "+ e);

Page -
Project Report of Medical Shop Management System

return resultArray;

/////Function for Getting the List////////////

public String getMedicineOption(Integer SelID)

int selectedID = SelID.intValue();

return
Connect.getOptionList("medicine","medicine_id","medicine_title","medicine_id,medicine_title",selecte
dID,"1");

}
}

Page -
Project Report of Medical Shop Management System

Coding for Company.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<%

Company companyDetails = new Company();

String companyLabel = "Save";

int company_id = Integer.parseInt(request.getParameter ("company_id"));

if(company_id != 0) {

companyLabel = "Update";

HashMap Values = companyDetails.getCompanyDetails(company_id);

%>

<div class="wrapper row3">

<div class="rounded">

Page -
Project Report of Medical Shop Management System

<main class="container clear">

<!-- main body -->

<div id="comments" style="width: 70%; float:left; margin-right:30px">

<h2>Company Entry Form</h2>

<form action="model/company.jsp" method="post">

<div id="empl_id">

<label for="email">Company Name<span>*</span></label>

<input type="text" name="company_name" id="company_name" value="<%


out.print(Values.get("company_name")); %>" size="22" style="width:300px;" required>

</div>

<div>

<label for="email">Company Phone<span>*</span></label>

<input type="text" name="company_phone" id="company_phone" value="<%


out.print(Values.get("company_phone")); %>" size="22" style="width:300px;" required>

</div>

<div id="company_status_row">

<label for="email">Company Address<span>*</span></label>

Page -
Project Report of Medical Shop Management System

<textarea style="width:300px; height:100px;" name="company_address"


required><% out.print(Values.get("company_address")); %></textarea>

</div>

<div>

<label for="email">Description<span>*</span></label>

<textarea style="width:300px; height:100px;" name="company_description"


required><% out.print(Values.get("company_description")); %></textarea>

</div>

<div class="block clear"></div>

<div>

<input name="submit" type="submit" value="<% out.print(companyLabel); %> Company">

&nbsp;

<input name="reset" type="reset" value="Reset Form">

</div>

<input type="hidden" name="act" value="Save" />

<input type="hidden" name="company_id" value="<%


out.print(Values.get("company_id")); %>"/>

</form>

Page -
Project Report of Medical Shop Management System

</div>

<div style="float: left">

<div><img src="images/save_1.jpg" style="width: 250px"></div><br>

<div><img src="images/save_2.jpg" style="width: 250px"></div>

</div>

<div class="clear"></div>

</main>

</div>

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Coding for Employee.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<%

Employee employeeDetails = new Employee();

int employee_id = Integer.parseInt(request.getParameter ("employee_id"));

String male = "";

String female = "";

HashMap Values = employeeDetails.getEmployeeDetails(employee_id);

if(Values.get("employee_gender").equals("Male"))

male = "Selected";

else if(Values.get("employee_gender").equals("Female"))

Page -
Project Report of Medical Shop Management System

female = "Selected";

%>

<script>

jQuery(function() {

jQuery( "#employee_dob" ).datepicker({

changeMonth: true,

changeYear: true,

yearRange: "-50:-18",

dateFormat: 'd MM,yy'

});

});

</script>

<div class="wrapper row3">

<div class="rounded">

Page -
Project Report of Medical Shop Management System

<main class="container clear">

<!-- main body -->

<div id="comments" style="width: 70%; float:left; margin-right:30px">

<h2>Registration Form</h2>

<% if(request.getParameter("msg") != null) { %>

<div class="msg"><%=request.getParameter("msg") %></div>

<% } %>

<form action="model/employee.jsp" method="post">

<div class="one_third first">

<label for="email">Salution <span>*</span></label>

<select style="height: 40px; width:200px" name="employee_sal" required>

<% out.print(employeeDetails.getSalutionOption((Integer) Values.get("employee_sal"))); %>

</select>

</div>

<div class="one_third">

<label for="email">Status<span>*</span></label>

Page -
Project Report of Medical Shop Management System

<select style="height: 40px; width:200px" name= "employee_status" id = "employee_status"


required>

<% out.print(employeeDetails.getStatusOption((Integer)
Values.get("employee_status"))); %>

</select>

</div>

<div class="one_third">

<label for="email">Department<span>*</span></label>

<select style="height: 40px; width:200px" name = "employee_deparment" id =


"employee_deparment" required>

<% out.print(employeeDetails.getDepartmentOption((Integer)
Values.get("employee_deparment"))); %>

</select>

</div>

<div class="one_third first">

<label for="email">First Name <span>*</span></label>

<input type="text" name="employee_first_name" id="employee_first_name" value="<%


out.print(Values.get("employee_first_name")); %>" size="22" required>

</div>

Page -
Project Report of Medical Shop Management System

<div class="one_third">

<label for="email">Middle Name <span>*</span></label>

<input type="text" name="employee_middle_name" id="employee_middle_name" value="<%


out.print(Values.get("employee_middle_name")); %>" size="22" required>

</div>

<div class="one_third">

<label for="url">Last Name</label>

<input type="text" name="employee_last_name" id="employee_last_name" value="<%


out.print(Values.get("employee_last_name")); %>" size="22" required>

</div>

<div class="one_third first">

<label for="url">Gender</label>

<select style="height: 40px; width:200px" name="employee_gender" required>

<option value="0">Please Select</option>

<option value="Male" <% out.print(male); %>>Male</option>

<option value="Female" <% out.print(female); %>>Female</option>

</select>

Page -
Project Report of Medical Shop Management System

</div>

<div class="one_third">

<label for="url">Date of Birth</label>

<input type="text" name="employee_dob" id="employee_dob" value="<%


out.print(Values.get("employee_dob")); %>" size="22" required>

</div>

<div class="one_third">

<label for="url">Nationality</label>

<input type="text" name="employee_nationalty" id="employee_nationalty" value="<%


out.print(Values.get("employee_nationalty")); %>" size="22" required>

</div>

<div class="one_third first">

<label for="url">E-mail</label>

<input type="text" name="employee_email" id="employee_email" value="<%


out.print(Values.get("employee_email")); %>" size="22" required>

</div>

Page -
Project Report of Medical Shop Management System

<div class="one_third">

<label for="url">Landline</label>

<input type="text" name="employee_landline" id="employee_landline" value="<%


out.print(Values.get("employee_landline")); %>" size="22" required>

</div>

<div class="one_third">

<label for="url">Mobile</label>

<input type="text" name="employee_mobile" id="employee_mobile" value="<%


out.print(Values.get("employee_mobile")); %>" size="22" required>

</div>

<div style="clear:both"></div>

<h4>Address Details</h4>

<div class="one_third first">

<label for="url">Address</label>

<input type="text" name="employee_address" id="employee_address" value="<%


out.print(Values.get("employee_address")); %>" size="22" required>

</div>

Page -
Project Report of Medical Shop Management System

<div class="one_third">

<label for="url">Village/City/Town</label>

<input type="text" name="employee_village" id="employee_village" value="<%


out.print(Values.get("employee_village")); %>" size="22" required>

</div>

<div class="one_third">

<label for="url">State</label>

<select style="height: 40px; width:200px" name="employee_state" required>

<% out.print(employeeDetails.getStateOption((Integer)
Values.get("employee_state"))); %>

</select>

</div>

<div class="one_third first">

<label for="url">Country</label>

<select style="height: 40px; width:200px" name="employee_country" required>

<% out.print(employeeDetails.getCountryOption((Integer)
Values.get("employee_country"))); %>

</select>

Page -
Project Report of Medical Shop Management System

</div>

<% if(session.getAttribute("login_level") != null && session.getAttribute("login_level").equals("1"))


{ %>

<div class="block clear"></div>

<h4>Role & Manager</h4>

<div class="one_third first">

<label for="email">Role<span>*</span></label>

<select style="height: 40px; width:200px" name= "employee_role" id = "employee_role"


required>

<% out.print(employeeDetails.getRoleOption((Integer)
Values.get("employee_role"))); %>

</select>

</div>

<div class="one_third">

<label for="email">Manager Code<span>*</span></label>

<select style="height: 40px; width:200px" name = "employee_manager_id" id =


"employee_manager_id" required>

<% out.print(employeeDetails.getEmployeeOption((Integer)
Values.get("employee_manager_id"))); %>

Page -
Project Report of Medical Shop Management System

</select>

</div>

<% } %>

<div class="block clear"></div>

<% if(employee_id == 0) { %>

<h4>Login Details</h4>

<div class="one_third first">

<label for="url">Username</label>

<input type="text" name="employee_user" id="employee_user" value="<%


out.print(Values.get("employee_user")); %>" size="22">

</div>

<div class="one_third">

<label for="url">Password</label>

<input type="password" name="employee_password" id="employee_password" value=""


size="22">

</div>

Page -
Project Report of Medical Shop Management System

<div class="one_third ">

<label for="url">Confirm Password</label>

<input type="password" name="employee_confirm_password"


id="employee_confirm_password" value="" size="22">

</div>

<% } %>

<div class="block clear"></div>

<div>

<input name="submit" type="submit" value="Save Form">

&nbsp;

<input name="reset" type="reset" value="Reset Form">

</div>

<input type="hidden" name="act" value="Save" />

<input type="hidden" name="employee_id" value="<%


out.print(Values.get("employee_id")); %>"/>

</form>

Page -
Project Report of Medical Shop Management System

</div>

<div style="float: left">

<div><img src="images/save_1.jpg" style="width: 250px"></div><br>

<div><img src="images/save_2.jpg" style="width: 250px"></div><br>

<div><img src="images/save_3.jpg" style="width: 250px"></div>

</div>

<div class="clear"></div>

</main>

</div>

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Coding for Medicine.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<%

Medicine medicineDetails = new Medicine();

String medicineLabel = "Save";

int medicine_id = Integer.parseInt(request.getParameter ("medicine_id"));

if(medicine_id != 0) {

medicineLabel = "Update";

HashMap Values = medicineDetails.getMedicineDetails(medicine_id);

%>

<div class="wrapper row3">

<div class="rounded">

Page -
Project Report of Medical Shop Management System

<main class="container clear">

<!-- main body -->

<div id="comments" style="width: 70%; float:left; margin-right:30px">

<h2>Medicine Entry Form</h2>

<form action="model/medicine.jsp" method="post">

<div id="empl_id">

<label for="email">Medicine Type<span>*</span></label>

<select style="height: 40px; width:300px" name = "medicine_type_id" id = "medicine_type_id"


required>

<% out.print(medicineDetails.getMedicineTypeOption((Integer)
Values.get("medicine_type_id"))); %>

</select>

</div>

<div>

<label for="email">Medicine Company<span>*</span></label>

<select style="height: 40px; width:300px" name = "medicine_company_id" id =


"medicine_company_id" required>

Page -
Project Report of Medical Shop Management System

<% out.print(medicineDetails.getCompanyOption((Integer)
Values.get("medicine_company_id"))); %>

</select>

</div>

<div id="medicine_status_row">

<label for="email">Medicine Name<span>*</span></label>

<input type="text" name="medicine_title" id="medicine_title" value="<%


out.print(Values.get("medicine_title")); %>" size="22" style="width:300px;" required>

</div>

<div>

<label for="email">Medicine Units (mg)<span>*</span></label>

<input type="text" name="medicine_unit" id="medicine_unit" value="<%


out.print(Values.get("medicine_unit")); %>" size="22" style="width:300px;" required>

</div>

<div>

<label for="email">Medicine Price Per Unit<span>*</span></label>

<input type="text" name="medicine_price_per_unit" id="medicine_price_per_unit" value="<%


out.print(Values.get("medicine_price_per_unit")); %>" size="22" style="width:300px;" required>

Page -
Project Report of Medical Shop Management System

</div>

<div>

<label for="email">Description<span>*</span></label>

<textarea style="width:300px; height:100px;" name="medicine_description"


required><% out.print(Values.get("medicine_description")); %></textarea>

</div>

<div class="block clear"></div>

<div>

<input name="submit" type="submit" value="<% out.print(medicineLabel); %> Medicine">

&nbsp;

<input name="reset" type="reset" value="Reset Form">

</div>

<input type="hidden" name="act" value="Save" />

<input type="hidden" name="medicine_id" value="<%


out.print(Values.get("medicine_id")); %>"/>

</form>

</div>

Page -
Project Report of Medical Shop Management System

<div style="float: left">

<div><img src="images/save_1.jpg" style="width: 250px"></div><br>

<div><img src="images/save_2.jpg" style="width: 250px"></div>

</div>

<div class="clear"></div>

</main>

</div>

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Coding for Report-Company.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<%

Company companyDetails = new Company();

ArrayList allCompany = companyDetails.getAllCompany();

%>

<div class="wrapper row3">

<div class="rounded">

<main class="container clear">

<!-- main body -->

<div class="scrollable">

<h2>Company Report</h2>

Page -
Project Report of Medical Shop Management System

<% if(request.getParameter("msg") != null) { %>

<div class="msg"><%=request.getParameter("msg") %></div>

<% } %>

<table>

<thead>

<tr>

<th>Company Name</th>

<th>Phone</th>

<th>Address</th>

<th>Action</th>

</tr>

</thead>

<tbody>

<% for(int i=0;i<allCompany.size();i++)

HashMap CompanyDetails = new HashMap();

Page -
Project Report of Medical Shop Management System

CompanyDetails = (HashMap)allCompany.get(i);

%>

<tr>

<td style="text-align:center;"><%
out.print(CompanyDetails.get("company_name")); %></td>

<td><% out.print(CompanyDetails.get("company_phone")); %></td>

<td><% out.print(CompanyDetails.get("company_address")); %></td>

<td>

<a href="company.jsp?company_id=<%
out.print(CompanyDetails.get("company_id")); %>">Edit</a>

</td>

</tr>

<%

if(allCompany.size() == 0)

%>

Page -
Project Report of Medical Shop Management System

<tr>

<td colspan="5">No Records Found !!!</td>

</tr>

<%

%>

</tbody>

</table>

</div>

</main>

</div>

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Coding for Report-Employee.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<script>

function gotform(obj) {

if(obj.value != "") {

window.location.href = obj.value;

</script>

<%

Employee employeeDetails = new Employee();

String employeeID = "0";

if(session.getAttribute("login_level") != null && session.getAttribute("login_level").equals("2")) {

Page -
Project Report of Medical Shop Management System

employeeID = (String) session.getAttribute("login_emp_id");

ArrayList allEmployees = employeeDetails.getAllEmployee(employeeID);

%>

<div class="wrapper row3">

<div class="rounded">

<main class="container clear">

<!-- main body -->

<div class="scrollable">

<h2>Empoloyee Report</h2>

<% if(request.getParameter("msg") != null) { %>

<div class="msg"><%=request.getParameter("msg") %></div>

<% } %>

<table>

<thead>

<tr>

Page -
Project Report of Medical Shop Management System

<th>Employee Code</th>

<th>Name</th>

<th>Mobile</th>

<th>Department</th>

<th>Status</th>

<th>Email</th>

<th>Action</th>

</tr>

</thead>

<tbody>

<% for(int i=0;i<allEmployees.size();i++)

HashMap EmployeeDetails = new HashMap();

EmployeeDetails = (HashMap)allEmployees.get(i);

String department = employeeDetails.getDepartment((Integer)


EmployeeDetails.get("employee_deparment"));

Page -
Project Report of Medical Shop Management System

String status = employeeDetails.getStatus((Integer)


EmployeeDetails.get("employee_status"));

%>

<tr>

<td><% out.print(EmployeeDetails.get("employee_id")); %></td>

<td><% out.print(EmployeeDetails.get("employee_first_name"));
%></td>

<td><% out.print(EmployeeDetails.get("employee_mobile")); %></td>

<td><% out.print(department); %></td>

<td><% out.print(status); %></td>

<td><% out.print(EmployeeDetails.get("employee_email")); %></td>

<td>

<select onchange="gotform(this)">

<option value="">Select Action</option>

<option value="employee.jsp?employee_id=<%
out.print(EmployeeDetails.get("employee_id")); %>">Edit Employee</option>

</select>

Page -
Project Report of Medical Shop Management System

</td>

</tr>

<%

%>

</tbody>

</table>

</div>

</main>

</div>

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Coding for Report-Medicine.jsp

<%@ include file="includes/header.jsp" %>

<%@ page import= "java.util.*" %>

<%@ page import= "Model.*" %>

<%

Medicine medicineDetails = new Medicine();

String employeeID = "0";

ArrayList allMedicine = medicineDetails.getAllMedicine();

%>

<div class="wrapper row3">

<div class="rounded">

<main class="container clear">

<!-- main body -->

<div class="scrollable">

Page -
Project Report of Medical Shop Management System

<h2>Medicine Report</h2>

<% if(request.getParameter("msg") != null) { %>

<div class="msg"><%=request.getParameter("msg") %></div>

<% } %>

<table>

<thead>

<tr>

<th>Medicine Name</th>

<th>Type</th>

<th>Company</th>

<th>Units (mg)</th>

<th>Price Per Unit</th>

<th>Action</th>

</tr>

</thead>

<tbody>

Page -
Project Report of Medical Shop Management System

<% for(int i=0;i<allMedicine.size();i++)

HashMap MedicineDetails = new HashMap();

MedicineDetails = (HashMap)allMedicine.get(i);

%>

<tr>

<td style="text-align:center;"><%
out.print(MedicineDetails.get("medicine_title")); %></td>

<td><% out.print(MedicineDetails.get("type_title")); %></td>

<td><% out.print(MedicineDetails.get("company_name")); %></td>

<td><% out.print(MedicineDetails.get("medicine_unit")); %></td>

<td><% out.print(MedicineDetails.get("medicine_price_per_unit"));
%></td>

<td>

<a href="medicine.jsp?medicine_id=<%
out.print(MedicineDetails.get("medicine_id")); %>">Edit</a>

</td>

</tr>

Page -
Project Report of Medical Shop Management System

<%

if(allMedicine.size() == 0)

%>

<tr>

<td colspan="5">No Records Found !!!</td>

</tr>

<%

%>

</tbody>

</table>

</div>

</main>

</div>

Page -
Project Report of Medical Shop Management System

</div>

<%@ include file="includes/footer.jsp" %>

Page -
Project Report of Medical Shop Management System

Conclusion of the Project Medical Shop Management System:

Our project is only a humble venture to satisfy the needs to manage their project
work. Several user friendly coding have also adopted. This package shall prove to be a
powerful package in satisfying all the requirements of the school. The objective of
software planning is to provide a frame work that enables the manger to make
reasonable estimates made within a limited time frame at the beginning of the software
project and should be updated regularly as the project progresses.

At the end it is concluded that we have made effort on following points…

 A description of the background and context of the project and its relation to work
already done in the area.
 Made statement of the aims and objectives of the project.
 The description of Purpose, Scope, and applicability.
 We define the problem on which we are working in the project.
 We describe the requirement Specifications of the system and the actions that
can be done on these things.
 We understand the problem domain and produce a model of the system, which
describes operations that can be performed on the system.
 We included features and operations in detail, including screen layouts.
 We designed user interface and security issues related to system.
 Finally the system is implemented and tested according to test cases.

Page -
Project Report of Medical Shop Management System

Future Scope of the Project:

In a nutshell, it can be summarized that the future scope of the project circles
around maintaining information regarding:

 We can add printer in future.


 We can give more advance software for Medical Shop Management System
including more facilities
 We will host the platform on online servers to make it accessible worldwide
 Integrate multiple load balancers to distribute the loads of the system
 Create the master and slave database structure to reduce the overload of the
database queries
 Implement the backup mechanism for taking backup of codebase and database
on regular basis on different servers

The above mentioned points are the enhancements which can be done to increase
the applicability and usage of this project. Here we can maintain the records of Medical
Shop and Stocks. Also, as it can be seen that now-a-days the players are versatile, i.e.
so there is a scope for introducing a method to maintain the Medical Shop Management
System. Enhancements can be done to maintain all the Medical Shop, Stocks,
Company, Sales, User.

We have left all the options open so that if there is any other future requirement
in the system by the user for the enhancement of the system then it is possible to
implement them.In the last we would like to thanks all the persons involved in the
development of the system directly or indirectly. We hope that the project will serve its
purpose for which it is develop there by underlining success of process.

Page -
Project Report of Medical Shop Management System

Limitation of Project on Medical Shop Management System

Although I have put my best efforts to make the software flexible, easy to operate
but limitations cannot be ruled out even by me. Though the software presents a broad
range of options to its users some intricate options could not be covered into it; partly
because of logistic and partly due to lack of sophistication. Paucity of time was also
major constraint, thus it was not possible to make the software foolproof and dynamic.
Lack of time also compelled me to ignore some part such as storing old result of the
candidate etc.

Considerable efforts have made the software easy to operate even for the people
not related to the field of computers but it is acknowledged that a layman may find it a
bit problematic at the first instance. The user is provided help at each step for his
convenience in working with the software.

List of limitations which is available in the Medical Shop Management System:

 Excel export has not been developed for Medical Shop, Stocks due to some
criticality.
 The transactions are executed in off-line mode, hence on-line data for Company,
Sales capture and modification is not possible.
 Off-line reports of Medical Shop, User, Company cannot be generated due to batch
mode execution.

Page -
Project Report of Medical Shop Management System

References and Bibliography:


 Google for problem solving
 http://www.javaworld.com/javaworld/jw-01-1998/jw-01-Credentialreview.html
 Database Programming with JDBC and Java by O'Reilly
 Head First Java 2nd Edition
 http://www.jdbc-tutorial.com/
 Java and Software Design Concepts by Apress
 https://www.tutorialspoint.com/java/
 http://www.javatpoint.com/java-tutorial
 https://docs.oracle.com/javase/tutorial/
 http://www.wampserver.com/en/
 http://www.JSP.net/
 http://www.tutorialspoint.com/mysql/
 httpd.apache.org/docs/2.0/misc/tutorials.html

Page -

You might also like