Blood Bank Management Final
Blood Bank Management Final
Blood Bank Management Final
INTRODUCTION
1.1 ABOUT THE PROJECT
The project entitled BLOOD BANK MANAGEMENT SYSTEM has been developed to computerize the manual work involved in the college admission. This project is aimed to provide all the required information and to reduce the work overhead in the college.
`
is the most complex of all the programs in the system and has concomitantly undergone
more revisions than any other. To accomodate all the events that can involve a blood product, a system was developed to code these events and store their transaction date, as an offset of the date of receipt of the blood product. Transaction types were divided into those which involved patients versus those which did not. They were also divided into those which were "final" transactions and non "final" transactions. All patient-related transactions have a presumed crossmatch or set-up associated with them. After that, three events are possible: 1) the product is issued to the patient, 2) the product is released for reuse, or 3) the product is wasted (no longer usable). If a unit is issued, however, it may be either used by the patient, wasted (at the nursing station), or returned to the Blood Bank for reuse. In the last instance the unit may be reissued and the same follow-up events are possible as above. If the unit is issued and used the issue time is saved in computer storage.
Visual Basic is a Windows programming language that has been developed at Microsoft Corporation in 1982. Visual Basic is a powerful programming language to develop sophisticated windows programs very quickly and event-driven programming. Visual Basic is one of this RAD (Rapid Application Development) tools as it enables the programmer to develop applications very easily and very quickly. The Visual part refers to the method used to create the Graphical User Interface (GUI). Rather than writing numerous line of code to describe the appearance and location of interface elements, simply add pre built object into place on screen. The Basic part refers to the BASIC language, a language used by more programmers than any other language in the history of computing. Visual Basic Edition Visual Basic software comes in three editions: Learning Editions: which includes the Visual Basic development environment and use of standard tools to develop applications Professional Edition: is used by computer professionals as it supports the tools to develop ActiveX and Internet controls Enterprise Edition: manager Visual Basic 6.0 Version 6.0 of Visual Basic is specially designed to utilize the internet. It comes with several controls that allow user to create web-based application called ActiveX executables. Additional features 1. OLE Automation is an industrial standard technology that application uses to expose their OLE objects to development tools, macro language, and other application that support OLE Automation. 2. To distinguish Visual Basic project files from source files used by other development tools, the file extension. VBP used. 3 which includes all the features of professional edition well as
Microsoft Visual Source safe for source code control and Automation and Component
3. Object Browser is used for hierarchal display of classes, properties, and methods available to the application. 4. The 32-bit version of Visual Basic supports long files names. 5. programmers can define classes, which are contained in Visual Basic class module. Class module is the one, which contains the definition of class; its properties and definition. 6. Enhanced Object Browser, Auto list numbers features and auto quick information feature is also provided. 7. ActiveX is a new buzzword that refers to technologies that previously may have been associated with the term OLE. ActiveX is Microsofts name for technologies that are based on the Component Object Model (COM). 8. Visual Basics internet capability allows one to create powerful applications hosted by standard browser. Visual Basic as a front-end tool Visual Basic is Windows application development platform with a strong combination of a front-end tool and programming language .The ease of the visual approach coupled with the power of programming and the straightforward BASIC language syntax makes programming easy. By using visual Basic, the programmer can create powerful, full feature application that exploit the key feature of MS Windows, including Multiple Document Interface (MDI) , Object Linking and Embedding (OLE), Dynamic Data Exchange (DDE), graphics and many more. Visual Basic can be extended by adding custom controls and by calling procedure in Dynamic Link Libraries (DLLs). Using MDI in Visual Basic: MDI stands for Multiple Document Interface. Visual Basic application can have only one MDI form. A child form is an ordinary form that has its MDI-Child property set to true. The application can include MDI-Child forms. At run time, child forms are displayed within the internal areas of MDI form. When a child form is minimized, its icon appears on the MDI form instead of appearing on the desktop. Element of Visual Basic Visual Basic interface consists of the following elements. 4
Toolbar Provides quick access to commonly used commands in the programming environment. An icon in the toolbar can be clicked to carry out the action represented by that icon. Toolbox Provides as set of tools that can be used at design time to place controls on a form. Menu bar Displays the commands that can be used to build an application. Form Serves as a window that can be used to customize the interface of an application. Controls, graphics and pictures can be added to a from to create the Visual effect required by the user. Project Window Lists the dow form, code, modules and custom control files that make up the current project. A project is the collection of files that a programmer uses to build up his application. Total number of controls The maximum number of controls allowed on a single form up to 254. The limit control array index is 0 to 32,767 on all versions. MS-ACCESS (Back-End Tool) Ms-access is a powerful multi user relational database managements system developed by Microsoft used to implement large amount of information with minimum memory allocation and auto make repetitive task, such as maintaining and generating invoice. Data in ms-access is organized in the form of tables within a table records are arranged to a common reference value known as primary key. FEATURE OF MS-ACCESS Access is window based application and therefore it has an interface similar to windows. Access maintains a single disk file for a database and all its associated objects. Access lets you import from or export to foxpro, oracle and other data form.
Access wizard is a vitality that helps to perform complex task by guiding through out the access. Access contains nearly hundred. Wizards to design database application, tables, forms, reports, graphs, mailing labels, control and properties.
ADVANTAGES OF MS ACCESS: Less time consumption and quick response. Access has a friendly environment. Microsoft access is not needed for keeping register for recording.
DISADVANTAGES OF MS ACCESS: The data security is very less. The database would not be opened. No availability of temporary tables.
2. SYSTEM STUDY
System study is for finding out what happens in existing system deciding on what changes and new features are required and defining exactly what the proposed system must be. The process of system analysis is largely concerned with determining, developing and agreeing to the users requirements. It provides prime opportunity to communicate well with the user and conceive a joint understanding of what a system should be doing together with a view of relative importance of the system facilities using interactive techniques.
2.1.1 DRAWBACKS
The present system has following limitations: Limitations in report generations Manual recording consumes excess time Chances of error Difficulty in allocating cabins The retrieval of information regarding a client is time consuming Lack of billing system and manual calculation of daily income Repeated recording of frequent user details
2.2.1 FEATURES
Generating reports on Stocks-Blood Group wise ,Area wise and Expiry date wise. Donor Database-Blood Group wise and Area wise Maintain and update Unique Donor Identifications. Complete Key Consumables Inventory Management. Track And maintain all the Donor Types-Voluntary,Exchange and Directed. Improve the Effectiveness and efficiency of Blood Bank-Faster Response Time and Better Control Accurate database/Record Management. Blood Cross Match and Result Storage Facility.
Digital Record archival backup and restoring facility-Better House keeping and Record Maintenance. Rejected Donor Database for Donor Control and Identification-Blood Transfusion related disease control and prevention Searched Facility for Destroyed and Expired Blood Comprehensive Donor database with Search Facility. Unique Donor Id and Patient record Id for managing future list. Improve Blood Bank processes by providing efficient and continuous software support.
10
11
12
INTEGRATION TESTING It tests for the errors resulting from integration of modules. One specification of integration testing is whether parameters match on both sides of type, permissible ranges and meaning. Integration testing is functional black box test method. It includes testing each module as an impenetrable mechanism for information. The only concern during integration testing is that the modules work together properly. WHITE BOX TESTING (CODE TESTING) The code-testing strategy examines the logic of the program. To follow this testing method, the analyst develops test cases that result in executing every instruction in the program or module so that every path through the program is tested. A path is a specific combination of
14
conditions that is handled by the program. Code testing does not check the range of data that the program will accept. Exercises all logical decisions on their true or false sides. Executes all loops at their boundaries and within these operational bounds.
BLACK BOX TESTING (SPECIFICATION TESTING) To perform specification testing, the analyst examines the specification, starting from what the program should do and how it should perform under various conditions. Then test cases are developed for each condition or combinations of conditions and submitted for processing. By examining the results, the analyst can determine whether the programs perform according to its specified requirements. This testing strategy sounds exhaustive. If every statement in the program is checked for its validity, there doesnt seem to be much scope for errors. FUNCTIONAL TEST In this type of testing, the software is tested for the functional requirements. The tests are written in order to check if the application behaves as expected. Although functional testing is often done toward the end of the development cycle, it canand should, be started much earlier. Individual components and processes can be tested early on, even before it's possible to do functional testing on the entire system. Functional testing covers how well the system executes the functions it is supposed to executeincluding user commands, data manipulation, searches and business processes, user screens, and integrations. Functional testing covers the obvious surface type of functions, as well as the back-end operations (such as security and how upgrades affect the system). PERFOMANCE TEST In software engineering, performance testing is testing that is performed, from one perspective, to determine how fast some aspect of a system performs under a particular workload. It can also serve to validate and verify other quality attributes of the system, such as scalability, reliability and resource usage. Performance testing is a subset of Performance
15
engineering, an emerging computer science practice which strives to build performance into the design and architecture of a system, prior to the onset of actual coding effort. Performance testing can serve different purposes. It can demonstrate that the system meets performance criteria. It can compare two systems to find which performs better. Or it can measure what parts of the system or workload cause the system to perform badly. In the diagnostic case, software engineers use tools such as profilers to measure what parts of a device or software contribute most to the poor performance or to establish throughput levels (and thresholds) for maintained acceptable response time. It is critical to the cost performance of a new system; the performance test efforts begin at the inception of the development project and extend through to deployment. The later a performance defect is detected, the higher the cost of remediation. This is true in the case of functional testing, but even more so with performance testing, due to the end-to-end nature of its scope. In performance testing, it is often crucial (and often difficult to arrange) for the test conditions to be similar to the expected actual use. This is, however, not entirely possible in actual practice. The reason is that production systems have a random nature of the workload and while the test workloads do their best to mimic what may happen in the production environment, it is impossible to exactly replicate this workload variability - except in the simplest system. STRESS TEST The application is tested against heavy load such as complex numerical values, large number of inputs, large number of queries etc. which checks for the stress/load the applications can withstand. Stress testing deals with the quality of the application in the environment. The idea is to create an environment more demanding of the application than the application would experience under normal work loads. A test environment is established with many testing stations. At each station, a script is exercising the system. These scripts are usually based on the regression suite. More and more stations are added, all simultaneous hammering on the system, until the system breaks. The system is repaired and the stress test is repeated until a level of stress is reached that is higher than expected to be present at a customer site. Race conditions and memory leaks are often found under stress testing. A race condition is a conflict between at least two tests. Each test works correctly when done in isolation. When the two tests 16
are run in parallel, one or both of the tests fail. This is usually due to an incorrectly managed lock. A memory leak happens when a test leaves allocated memory behind and does not correctly return the memory to the memory allocation scheme. The test seems to run correctly, but after being exercised several times, available memory is reduced until the system fails. STRUCTURE TEST White-box testing, on the other hand is concerned with testing the implementation of the program. The intent of this testing is not to exercise all the different input or output conditions but to exercise the different programming structures and data structures used in the program. White-box testing is also called structural testing and we will use the two terms interchangeably. VALIDATION TEST After the culmination of black box testing, software is completely assembled as a package, interfacing errors have been uncovered and corrected and final series of software validation tests begin. Validation testing can be defined as many, but a single definition is that validation succeeds when the software functions in a manner that can be reasonably expected by the customer. Validation refers to the process of using the software in a live environment to find errors. During the course of validation system may occur and the software will be changed. OUTPUT TEST In this output is tested by entering sample data and checking out for its efficiency. USER ACCEPTANCE TEST In this type of testing, the software is handed over to the user in order to find out if the software meets the user expectations and works as it is expected to. In software development, user acceptance testing (UAT) - also called beta testing, application testing, and end user testing - is a phase of software development in which the software is tested in the "real world" by the intended audience. UAT can be done by in-house testing in which volunteers or paid test subjects use the software or, more typically for widely-distributed software, by making the test version available for downloading and free trial over the Web. The experiences of the early users are 17
forwarded back to the developers who make final changes before releasing the software commercially CHANGE OVER PLAN Testing commences with a test plan and terminates with acceptance testing. A test plan is a general document for the entire project that defines the scope, approach to be taken, and the schedule of testing as well as identifies the test items for the entire testing process and the personnel responsible for the different activities of testing.
18
5. CONCLUSION
This project has given me an ample opportunity to design, code, test and implements an application. This has helped in putting into practice of various Software Engineering principles and Database Management concepts like maintaining integrity and consistency of data. To debug the existing system, remove procedures those cause data redundancy, make navigational sequence proper. To provide information about audits on different level and also to reflect the current work status depending on organization/auditor or date. To build strong password mechanism. It will support for further modification, which again can be implemented if required in the existing one. The blood bank management system is also tested in the organization for its desired functionalities and it was found that it is functioning well without any errors. Thus this development is found that it is functioning satisfactory to the organization in rendering its service efficiently and effectively or successfully.
19
BIBLIOGRAPHY
1. Alex Homer, ASP.NET Programming, Wrox Publications, Second Edition, 2001. 2. Elias M.Awad, System Analysis and Design, Galgotia Publications, Second Edition, 1997. 3. Robert Hottmalk SQL Server 2000 Administrating, Galgotia Publications, 2001 4. Roger S.Pressman, Software Engineering, Tata McGraw Hill Publications, Second Edition, 1997 5. Gray D.Knott, Adaptive Delta Modulation,, Dr.Dobbs Journal, April 1998. 6. Tenkins G.M. and Walts D.G., Spectral Analysis and its Application, Sanfrancisco, CA, Holder Day 1968 Web Site www.systemspymaster.com www.w3schools.com www.suntech.com/systemspy.html www.sun.com www.wikipedia.org
20
Blood Donors
Blood Bank
Blood Seekers
I Level DFD:
Registrat ion
Blood Seekers
21
Searc h
II Level DFD:
Registrati on
Blood Seekers
Searc h
22
Login Form
23
MDI Form
24
25
26
27
28
29
30
31
32