Thursday, November 26, 2020

 

document

HOSPITAL MANAGEMENT

 

 

In the partial fulfillment for the award for the degree

Of

BACHELOR OF COMPUTER APPLICATION

 

 

Submitted by

·     Name1                    10CUSB0000

·     Name2                    10CUSB0000

 

 

 

ABC Degree College.

BANGALORE UNIVERSITY:

BANGALORE - 560001


 

 

 

BONAFIDE CERTIFICATE

Certified that this project report  “HOSPITAL MANAGEMENT” is the bonafide work of “NITA PRADHAN & MITA who carried out the project work under my supervision. 
 

 

 

SIGNATURE 
 
 

PRINCIPAL SIGNATURE   
 

ABC Degree College.

BANGALORE UNIVERSITY: BANGALOR-560001


CERTIFICATE 
 

This is to certify that Mr. Name1 and  Mr. Name2 has satisfactorily completed the project entitled  “Hospital Management” under the guidance of  Ms. Aruna for the academic year 2012 -2013. 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _                  _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

Signature of the H.O.D                  Faculty in Charge

(Dept. of Comp. Sc.)

      

_ _ _ _ _ _ _ _ _ _ _ _        

Principal Signature    

 

Examiners:

1) _ _ _ _ _ _ _ _

                                                                                             

2)_ _ _ _ _ _ _ _

 

 

Date: _ _ _ _ __ _ _ _ _                     
 

 


ACKNOWLEDGEMENT 

    We are really indebted to Vivekananda College of Science, Commerce & Arts College, Bangalore, for such an opportunity to undertake this project work as a partial fulfillment to the BCA course curriculum. We express our sincere thanks to our project guide Ms. Aruna for her constant supervision.

       On the completion of this project, we would like to render our heartfelt gratitude to certain individuals who guided us all through the project. 

   We thank our teachers, who guided to success in our voyage through this competitive world. 

   We feel honored to avail the opportunity to express my sincere gratitude to the principal for his consent in the preparation of the manuscript.

  Finally my sincere thanks to our project members, undersigned, without whom the project could never have been completed on time.   
 

Name                              Reg. Number          Signature 

Name1                    10CUSB0000        …………………………. 

Name2                    10CUSB0000        …………………………. 

                                 

                                

                               


 

                     

                               


CONTENTS

·     About the Project

·     Hardware & Software specification

·     DFD(Data flow diagram)

·     ER Diagram

·     Data Dictionary (Table Structure)

·     Functional Description

Ø  Hospital Details

Ø  Department Details

Ø  Patient Profession

Ø  Room Details

Ø  Doctor Details

Ø  Out Patient Details

Ø  Out Patient Consultation

Ø  In Patient Details

Ø  Patient Admission

Ø  Patient Billing

Ø  Reports

o   Out Patient Details

o   In Patient Details

o   Out Patient Consultation Details

o   In Patient Billing Details

·     Software Environment

·     Testing

·     About us

·     Conclusion

·     Bibliography


 

INTRODUCTION:

         

         The project entitled Insurance Management is a pilot project for small insurance company to manage their administration .

 

 

PROJECT:

   

        Insurance Management is a software application maintains the records related to Insurance Products.  

 

 

OBJECTIVE:

 

       The main objective of the application is to automate the existing system of manually maintain the records agents, policies, premium, maturity, etc.,  

 

SCOPE:

 

       This application can be used by any Insurance company to maintain the Hospital Management, daily transactions, policy registration etc.,.

 

 

 


PROBLEM DEFINITION:

 

         The transactions related to Insurance policies, premiums, policy maturity, agents management, agent commission calculation etc,

 

          All these are to be automated and an application is required to relate all of them relatively and logically so that the current system can be replaced and accepted without major changes and problems.

 

          The application should provide quick access to the records maintained and must reveal the important reviews about the business so that the growth can be easily compared and should provide with the various reports showing the related details so that the important decisions could be taken easily.

 

 


SOFTWARE REQUIREMENT SPECIFICATION:

 

An SRS is basically an organization's understanding (in writing) of a customer or potential client's system requirements and dependencies at a particular point in time (usually) prior to any actual design or development work. It's a two-way insurance policy that assures that both the client and the organization understand the other's requirements from that perspective at a given point in time.

The SRS document itself states in precise and explicit language those functions and capabilities a software system must provide, as well as states any required constraints by which the system must abide. The SRS also functions as a blueprint for completing a project with as little cost growth as possible. The SRS is often referred to as the "parent" document because all subsequent project management documents, such as design specifications, statements of work, software architecture specifications, testing and validation plans, and documentation plans, are related to it.

It's important to note that an SRS contains functional and nonfunctional requirements only; it doesn't offer design suggestions, possible solutions to technology or business issues, or any other information other than what the development team understands the customer's system requirements to be.

A well-designed, well-written SRS accomplishes four major goals:

  • It provides feedback to the customer. An SRS is the customer's assurance that the development organization understands the issues or problems to be solved and the software behavior necessary to address those problems. Therefore, the SRS should be written in natural language, in an unambiguous manner that may also include charts, tables, data flow diagrams, decision tables, and so on.
  • It decomposes the problem into component parts. The simple act of writing down software requirements in a well-designed format organizes information, places borders around the problem, solidifies ideas, and helps break down the problem into its component parts in an orderly fashion.
  • It serves as an input to the design specification. As mentioned previously, the SRS serves as the parent document to subsequent documents, such as the software design specification and statement of work. Therefore, the SRS must contain sufficient detail in the functional system requirements so that a design solution can be devised.
  • It serves as a product validation check. The SRS also serves as the parent document for testing and validation strategies that will be applied to the requirements for verification.

SRS are typically developed during the first stages of "Requirements Development," which is the initial product development phase in which information is gathered about what requirements are needed--and not. This information-gathering stage can include onsite visits, questionnaires, surveys, interviews, and perhaps a return-on-investment (ROI) analysis or needs analysis of the customer or client's current business environment. The actual specification, then, is written after the requirements have been gathered and analyzed.

The National Bureau of Standards, IEEE (Standard No: 830-1984), and the U.S Department of Defense have all proposed candidate formats for software requirements specifications. The general structure is implemented with the related software application               

 

 


INTRODUCTION:   

 

         The project entitled Hospital Management is developed as pilot project to manage Insurance Company transactions. It is a software application marinating the records related to all the transactions occurring at the company.

 

 

OBJECTIVE:

 

       The main objective is to maintain the inventory records of a generic shop which deals in musical tapes.

 

  • To keep accounts Agents, Policies, Premiums
  • To generate the monthly, Quarterly, Half Yearly and Yearly premiums
  • Agents Commission Management
  • Branch transaction details

 

 

SCOPE:

 

      As this is generic software it can be used insurance company basically it is a pilot project to manage insurance company transaction. On approval it can build as full fledged software, later it can be customizable to any other insurance companies.

 

GOAL:

 

         The main goal of the application is to maintain the records of  policies, policy holders, premiums, premium calculations, agents, agents commission management. Brach details management etc.,

 

 

 

INFORMATION DESCRIPTION:

 

 

DETAIL DESCRIPTION OF THE PROBLEM:

 

          In the present situation the records of the counter transactions are maintained manually (i.e. Premium, Commission), therefore the tasks like reviewing previous records or editing them are very difficult and time consuming and even the chances of making mistakes are higher.

     

 

INFORMATION CONTENT

 

 

      The complete details about each of the module described above are stored and related logically together to provide related and organized information.

 

 

INFORMATION FLOW

 

      The flow of the information can be better examined through the Flow diagram model described below with the following entities:

 

1.   Departments

2.   Doctors

3.   Staff Details

4.   Room Details

5.   Out Patient Details

6.   Inpatient Details

7.   Admission Details

8.   Reports

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

HARDWARE AND SOFTWARE

 

REQUIREMENTS
Hardware And Software Requirement

 

 

 

Hardware Requirement

 

Processor                   :       Intel I5 2.8 GHz or more

RAM                          :       2 GB or More

Hard disk                   :       5 GB free hard disk space

Monitor                      :       18” LED or LCD monitor

Keyboard                   :       Normal or Multimedia

Mouse                       :       Compatible mouse

 

Software Requirement

 

Front End                   :       Visual Basic 2010

 

Back End                   :       MS SQL Server

 

Operation System        :       Windows 7

                                        Or

                                        Windows 8


 

 

 

 

 

 

 

 

 

 

 

DATA FLOW DIAGRAM
DATA FLOW DIAGRAM

 

A Dataflow Diagram also known as “Bubble Chart” is used to clarify System requirements and identifying major transformations that all become programs in System Design

 

Data Flow Diagrams (DFDs) model events andprocesses(i.e. activities which transform data) within a system. DFDs examine how data flows into, out of, and within the system.

 

Another way of looking at it is that,  DFDs are used to answer the following data-oriented questions about a target system:

 

What processing is done?  When? How? Where? By whom?

What data is needed?  By whom? for what? When?

 

DFD Principles

•   The general principle in Data Flow Diagramming is that a system can be decomposed into subsystems, and subsystems can be decomposed into lower level subsystems, and so on.

•   Each subsystem represents a process or activity in which data is processed. At the lowest level, processes can no longer be decomposed.

•   Each 'process' (and from now on, by 'process' we mean subsystem and activity) in a DFD has the characteristics of a system.

•   Just as a system must have input and output (if it is not dead), so a process must have input and output.

•   Data enters the system from the environment; data flows between processes within the system; and data is produced as output from the system

 

 


SYMBOLS

 

 

                             

          Data Source/Destination

 

 

 

 


                                      Process

 

 

 

 

 

 

                                      Data Storage

 

 

 


                                       Flow of data


Dataflow Diagram 
 
 DFD Context Level
 

Your browser may not support display of this image.

 

  


Data Flow Diagram

DFD Diagram

 

 

 

 

 

 

 

 

 

 

ER DIAGRAM
Entity Relationship Diagram

 

In software engineering, an entity-relationship model (ERM) is an abstract and conceptual representation of data. Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created by this process are called entity-relationship diagrams, ER diagrams, or ERDs.

 

Data flow diagrams can be used to provide a clear representation of any business function. The technique starts with an overall picture of the business and continues by analyzing each of the functional areas of interest. This analysis can be carried out to precisely the level of detail required. The technique exploits a method called top-down expansion to conduct the analysis in a targeted way.

 

The result is a series of diagrams that represent the business activities in a way that is clear and easy to communicate. A business model comprises one or more data flow diagrams (also known as business process diagrams). Initially a context diagram is drawn, which is a simple representation of the entire system under investigation. This is followed by a level 1 diagram; which provides an overview of the major functional areas of the business.


Entity relationship diagram symbols

 

 

 

 

 

 
 


                                   ENTITY

 

 

 

 


                                                     RELATIONSHIP

 

 

 

 

                            

 

                                                    KET ATTRIBUTE

 

 

 

                                 ATTRIBUTE

 

 


ER Diagram

 

 

ER Diagram

 


 

 

 

 

 

 

 

 

DATA DICTIONARY
Data Dictionary

 

Table Name  ---             LoginTab

uName                      varchar(50)

pword                        varchar(50)

 

Table Name  ---             HospitalTab

RegNo                       varchar(50)

HospName                 varchar(50)

hAddress                    varchar(250)

PhoneNo                    varchar(50)

eMail                         varchar(50)

Website                     varchar(50)

 

Table Name  ---             DeptTab

DeptName                  varchar(50)

Details                       varchar(50)

 

Table Name  ---             ProfessionTab

ProfessionName          varchar(50)

Details                       varchar(50)

 

Table Name  ---             RoomTab

RoomNo                     varchar(50)

Details                       varchar(50)

price                         number

 


Table Name  ---             DoctorTab

DrCode                      varchar(50)

DrName                     varchar(50)

add1                         varchar(50)

add2                         varchar(50)

add3                         varchar(50)

pincode                      varchar(50)

phoneNo                    varchar(50)

eMail                         varchar(50)

DeptName                  varchar(50)

 

Table Name  ---             OutPatientTab

opCode                      varchar(50)

opName                     varchar(50)

add1                         varchar(50)

add2                         varchar(50)

add3                         varchar(50)

pincode                      varchar(50)

phoneNo                    varchar(50)

ProfessionName          varchar(50)

 

Table Name  ---             ConsultationTab

RegNo                       Number,

regDate                     date,

opCode                      varchar(50)

opName                     varchar(50)

deptName                  varchar(50)

DoctorName               varchar(50)

ConsulationFee            number

 

 


Table Name  ---             InPatientTab

IpCode                      varchar(50)

IpName                     varchar(50)

add1                         varchar(50)

add2                         varchar(50)

add3                         varchar(50)

pincode                      varchar(50)

phoneNo                    varchar(50)

ProfessionName          varchar(50)

 

Table Name  ---             AdmissionTab

RegNo                       Number,

regDate                     date,

IpCode                      varchar(50)

ipName                      varchar(50)

deptName                  varchar(50)

roomNo                     varchar(50)

Problem                     varchar(250)

doctorName               varchar(50)

 

Table Name  ---             BillingTab

BillNo                         Number,

BillDate                      date,

ipCode                       varchar(50)

ipName                      varchar(50)

p1                             varchar(50)

a1                             number,

p2                             varchar(50)

a2                             number,

p3                             varchar(50)

totamt                       number

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FUNCTIONAL DESCRIPTION
Functional Description

 

 

The problem under study is being divided into several modules/functions discussed below to understand the approach to the solution in the broader way:

 

 

Ø  Login Form

Ø  Main Form

Ø  Hospital Details

Ø  Department Details

Ø  Patient Profession

Ø  Room Details

Ø  Doctor Details

Ø  Out Patient Details

Ø  Out Patient Consultation

Ø  In Patient Details

Ø  Patient Admission

Ø  Patient Billing

Ø  Reports

o   Out Patient Details

o   In Patient Details

o   Out Patient Consultation Details

o   In Patient Billing Details


Ø    System Architecture Description

A system architecture or systems architecture is the conceptual model that defines the structure, behavior, and more views of a system.

An architecture description is a formal description and representation of a system, organized in a way that supports reasoning about the structure of the system which comprises system components, the externally visible properties of those components, the relationships (e.g. the behavior) between them, and provides a plan from which products can be procured, and systems developed, that will work together to implement the overall system. The language for architecture description is called the architecture description language.

This project consists many forms, each form is used to do particular task, below each form is explained in detail.

 

Login Form

Login form contains the login options, that is username and password, user as to enter the username and password to login to the site, username and password are validated by validating with database. Without entering this information one can’t get into the program. If the user information is not stored in the database then system will give message stating username or password is not correct. So only valid users can able to login to the program, otherwise they can cancel the program by using the cancel button.

MDI Form

MDI form stands for Multiple Document Interface Form. This form is used as main form in the project. This form has a menu, so we can navigate between pages easily. We can also put an image in the MDI form. When we are calling other forms we will make them as child form to the MDI form, so they always fit inside the MDI form. That way MDI form is very useful in the project. Unit test is conducted to check all the links are working. Once the project work is get over we can exit from the project using the exit option.

 

Hospital Details form

This form contains option to enter the Hospital Details. In this form we can store only one data, only the hospital for which this project is used will be entered here. The options are provided to over write the data. The movement the form opens it will display the data which is all ready saved.

 

Department Details form

This form contains option to enter the Department details. This form has 2 fields to enter the Department details and its details. The Department name is primary key so validations are done to check for the Department name exists or not. If exists it will not accept the same name. The entered data will be shown in data grid view, so the user knows how many data is entered. We can do modification or deletion by double click on the data in the data grid view. On clicking on the data grid view will display data in text boxes again and update and delete button will be enabled. In case modification make changes to the data first then click on the modify button. To delete the data click on the delete button.


Room Details form

This form contains option to enter the Room Details. This form has 3 fields to enter the Policy name and its details. The room no is primary key so validations are done to check for the room no exists or not. If exists it will not accept the same name. The entered data will be shown in data grid view, so the user knows how many data is entered. We can do modification or deletion by double click on the data in the data grid view. On clicking on the data grid view will display data in text boxes again and update and delete button will be enabled. In case modification make changes to the data first then click on the modify button. To delete the data click on the delete button.

Doctor Details form

This form contains option to enter the Doctor Details. This form has many fields to enter the Doctor name and their details. The Doctor Code is primary key so validations are done to check for the Doctor Code exists or not. If exists it will not accept the same name. The entered data will be shown in data grid view, so the user knows how many data is entered. We can do modification or deletion by double click on the data in the data grid view. On clicking on the data grid view will display data in text boxes again and update and delete button will be enabled. In case modification make changes to the data first then click on the modify button. To delete the data click on the delete button.

Out Patient Details form

This form contains option to enter the Out Patient Details. This form has many fields to enter the Out Patient name and their details. The Out Patient Code is primary key so validations are done to check for the Out Patient exists or not. If exists it will not accept the same name. The entered data will be shown in data grid view, so the user knows how many data is entered. We can do modification or deletion by double click on the data in the data grid view. On clicking on the data grid view will display data in text boxes again and update and delete button will be enabled. In case modification make changes to the data first then click on the modify button. To delete the data click on the delete button.

 

Out Patient Consultation

This form is used to register out patient consultation details. When out patient want consultation with the doctor we can enter all the details in this form. We can select the out patient code, dept code, doctor code from the combo boxes which are loaded with the existing patient code and doctor code. The saved can be modified or deleted in this form.

 

In Patient Details form

This form contains option to enter the In Patient Details. This form has many fields to enter the In Patient name and their details. The In Patient Code is primary key so validations are done to check for the In Patient exists or not. If exists it will not accept the same name. The entered data will be shown in data grid view, so the user knows how many data is entered. We can do modification or deletion by double click on the data in the data grid view. On clicking on the data grid view will display data in text boxes again and update and delete button will be enabled. In case modification make changes to the data first then click on the modify button. To delete the data click on the delete button.

 

In Patient Billing Form

This is an important form in this project; in this form we can accept the payment from the Patient. This form has all the options to generate the outpatient bill. This form also provided the button to modify and delete the records. The entered data is shown in the data grid view, in order to modify or delete user can double click on the grid to enable modify and delete button. The data entered here will be used in the receipt report form to display the same.

 

 


Reports

Reports are used to view the information which is already present in the database. In this project we are using three reports. They are.

Reports

      • Out Patient Details List
      • In Patient Details List
      • Out Patient Consultation Details
      • In Patient Billing Details

 

Out Patient List Reports

This report is used to display all the out patient details. This form consists of data grid view where all the data related to the out patient will be displayed. All the out patient details such as code, name, address, mobile no and the address will displayed in this form.

 

In Patient List Reports

This report is used to display all the in patient details. This form consists of data grid view where all the data related to the in patient will be displayed. All the in patient details such as code, name, address, mobile no and the address will displayed in this form.

 

 


Out patient consultation Report

This report is to show the details of the out patient consultation. This report will helpful for the doctors to know which patient they need to check. This report will display all the data related to the consultation.

 

In patient billing Report

This report is used to display all the billing details. From this report administration can know how much they collected each day. This report also gives complete list of bills generated. So this very useful report for the administration to know how much money collected and how many bills are raised. This report will display all the data related to the in patient billing.

 

 


 

 

 

 

 

 

 

 

 

 

 

Software Environment

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


SOFTWARE ENVIRONMENT

 

 

The proposed system is developed using Visual Basic as the front end and Sql Server as the back end.

 

Visual Basic 2010 Overview

 

Microsoft Visual Studio 2010 delivers on the Microsoft vision of smart client applications by enabling developers to rapidly create connected applications that deliver the highest quality, rich user experiences. With Visual Basic 2010, organizations will find it easier than ever before to capture and analyze information to help them make effective business decisions. Visual Basic 2010 enables organizations of every size to rapidly create more secure, manageable, and reliable applications that take advantage of Windows Vista™ and the 2007 Office system.

 

Visual Basic 2010 delivers key advances for developers in three primary pillars:

 

Rapid application development

Effective team collaboration

Break through user experiences

Visual Basic 2010 provides advanced development tools, debugging features, database functionality, and innovative features for quickly creating tomorrow's cutting-edge applications across a variety of platforms.

 

Visual Basic 2010 includes enhancements such as visual designers for faster development with the .NET Framework 4.0, substantial improvements to Web development tools and language enhancements that speed development with all types of data. Visual Basic 2010 provides developers with all the tools and framework support required to create compelling, expressive, AJAX-enabled Web applications.

 

Developers will be able to take advantage of these rich client-side and server-side, frameworks to easily build client-centric Web applications that integrate with any back-end data provider, run within any modern browser, and have complete access to ASP.NET application services and the Microsoft platform.

 

Rapid Application Development

To help developers rapidly create modern software, Visual Basic 2010 delivers improved language and data features, such as Language Integrated Query (LINQ), that make it easier for individual programmers to build solutions that analyze and act on information.

 

Visual Basic 2010 also provides developers with the ability to target multiple versions of the .NET Framework from within the same development environment. Developers will be able to build applications that target the .NET Framework 2.0, 3.0 or 3.5, meaning that they can support a wide variety of projects in the same environment.

 

Break Through User Experience

Visual Basic 2010 offers developers new tools that speed creation of connected applications on the latest platforms including the Web, Windows Vista, Office 2007, SQL Server 2010, and Windows Server 2010. For the Web, ASP.NET AJAX and other new technologies will enable developers to quickly create a new generation of more efficient, interactive, and personalized Web experiences.

 

Effective Team Collaboration

Visual Basic 2010 delivers expanded and improved offerings that help improve collaboration in development teams, including tools that help integrate database professionals and graphic designers into the development process.

 

Use the Microsoft .NET Framework 4.0

The .NET Framework enables the rapid construction of connected applications that provide outstanding end-user experiences by providing the building blocks (pre-fabricated software) for solving common programming tasks. Connected applications built on the .NET Framework model business processes effectively and facilitate the integration of systems in heterogeneous environments.

 

Together Visual Studio and the .NET Framework reduce the need for common plumbing code, reducing development time and enabling developers to concentrate on solving business problems.

 

The .NET Framework 4.0 builds incrementally on the .NET Framework 3.0. Enhancements have been made to feature areas including the base class library, Windows Workflow Foundation, Windows Communication Foundation, Windows Presentation Foundation, and Windows CardSpace.

 

 

Operators

Programming languages have a set of operators that perform arithmetical operations, and others such as Boolean operations on truth values, and string operators manipulating strings of text. Computers are mathematical devices, but compilers and interpreters require a full syntactic theory of all operations in order to parse formulae involving any combinations correctly. In particular they depend on operator precedence rules, on order of operations, that are tacitly assumed in mathematical writing.

 

Conventionally, the computing usage of operator also goes beyond the mathematical usage (for functions). In Visual Basic.NET, New, AddressOf and CType are operators. You can also define your own uses for operators. When an operator is alphanumeric rather than a punctuation character, it is sometimes called a named operator.

 

So operators are special symbols that are used to represent for example simple computations like addition and multiplication. Most of the operators in VB.NET do exactly what you would expect them to do, because they are common mathematical symbols. For example, the operator for adding two integers is +.

 

Visual Basic Controls

 

Like its predecessor, Visual Basic  excels in creating graphical user interfaces. Although the programmer still has the option of creating controls and setting their properties programatically (i.e., by hand writing the code), he usually will create many, if not all of the controls in the interface by selecting items from the toolbox and adding to a particular form. While working with forms, you can use the toolbox to drag different controls to the form you are designing, resize them and relocate them using the mouse, and set the control's properties in a corresponding properties window to quickly develop the user interface. Events handlers for each control's most common event can be quickly created by double-clicking on the control to create a new event handler and be send to that event handler in the code window.

 

Visual Basic  Inheritance

 

Inheritance is mainly used to reduce duplication of code. By using the inherits keyword, you can extend and modify an existing class to have additional properties and methods.

 

For example, imagine we have an existing class called "Person":

 

   Public Class Person

       Public FirstName As String

       Public LastName As String

       Public DateOfBirth As Date

       Public Gender As String

       Public ReadOnly Property FullName() As String

           Get

               Return FirstName & " " & LastName

           End Get

       End Property

   End Class

Now imagine we wanted to create a special class called "Customer", which had all the properties of "Person", but also additional properties called "CustomerID" and "CustomerType". We could just make a different class with similar properties as follows:

 

   Public Class Customer

       Public FirstName As String

       Public LastName As String

       Public DateOfBirth As Date

       Public Gender As String

       Public ReadOnly Property FullName() As String

           Get

               Return FirstName & " " & LastName

           End Get

       End Property

       Public CustomerID As String

       Public CustomerType As String

   End Class

An alternative approach, however is to use the "inherits" keyword as follows:

 

   Public Class Customer

       Inherits Person

       Public CustomerID As String

       Public CustomerType As String

   End Class

"Inherits Person" automatically gives the new "Customer" class all the properties and methods of the "Person" class, as well as the two new properties. This approach also has several advantages:

 

We don't have to re-type the FirstName, LastName, DateOfBirth etc properties

The .FullName property only needs to be debugged in one place

Any code that uses a "Person" object can also use a "Customer" object.

 

 


Visual Basic Classes

 

The Class concept is the main foundation of Object Oriented Programming. In a world of Graphical User Interfaces and more complex programs, classes have become a very important part of progamming.

 

 

Terminology

object: A unit that has its own properties and methods for a user to use at his or her discression.

 

encapsulation: Lets the user of the class control the data and operations of a class that can be seen from other classes.

 

property: Represents a data value associated with an instance.

 

method: An operation that can be performed by the class.

 

constructor: The method that is called when an object of the class has been instantiated.

 

field: A variable at the class level.


SQL Server Compact Edition

 

Introduction

A new generation of applications is on the horizon for businesses and consumers. This is driven by market changes such as a growing mobile workforce and its need for productivity even when not “connected” and an explosive growth of new devices such as personal digital assistants (PDAs), portable music players, and gaming consoles, creating exciting possibilities for new applications. These new applications place new demands on the data platform on which they are developed.

To meet the needs of this changing application landscape, Microsoft introduces its newest edition of the SQL Server database product line, SQL Server 2005 Compact Edition — a maintenance-free, compact embedded database for single-user client applications for all Windows Platforms, including Tablet PCs, Pocket PCs, Smart Phones and Desktops. Compact Edition is available to deploy and redistribute free of charge.

This white paper outlines the current business and consumer environment and the key factors that influence the need for this new generation of applications. It describes how SQL Server Compact Edition can be used to satisfy the data platform demands of these applications.

Business Environment and Customer Challenges

Evolving business and consumer needs are placing new demands on the next generation of applications. In the business sphere, more and more employees or information workers are mobile and are seeing the need to run their traditional desktop applications on mobile devices like PDAs and Tablet PCs. For example, sales personnel require Customer Relationship Management (CRM) applications on their mobile devices; field service employees need to check product specifications and perform online ordering from mobile devices, and so on. In addition, these mobile information workers cannot rely on being connected to the corporate network at all times, but need to have the same rich and complete application experience in the “disconnected” or “occasionally connected” state, as they would have in the “connected” state. A classic example of this is the offline e-mail experience presented by Microsoft Office Outlook, where users can work on their locally stored e-mails in a disconnected state and synchronize with the server when connectivity is available. Information workers also expect a seamless integrated experience between multiple devices. For example, one may start entering data into an expense reporting application on a PDA and continue working on the same application from a desktop at a later point, starting from where he or she left off on the PDA.

Another growing trend in businesses today is to gain competitive advantage by gaining insights from a plethora of data that is collected every day. This data is being gathered at the “edges” of the enterprise – for example: inventory information gathered through scanning radio frequency identification (RFID) tags at a warehouse – and needs to be aggregated with data from other edge locations at a central site for analysis. Similarly, the mobile workforce that works at the edges of the enterprise needs relevant and current business information from the central data repository.

Meanwhile, information technology (IT) departments that develop and deploy these line-of-business (LOB) applications in their businesses continue to grapple with the challenge of providing robust IT services that are secure and reliable in spite of constantly falling budgets. IT departments continue to look for ways to develop new applications rapidly by leveraging existing skills and tools and to find ways to easily deploy and manage end-user applications, which helps to keep costs down.

For consumers, rich personal applications continue to proliferate and evolve on desktops and home devices, such as gaming consoles and digital video recorders (DVRs). These applications are becoming more and more connected as vendors sell additional personalized services through the Internet. For example, a vendor that sells a tax application can offer services to consumers to securely store their year-end data online for any future need. Similarly, vendors can offer enhanced end-user experiences with their client applications using this service model. For example, an online streaming audio/video service that automatically downloads images of the album or video cover can enhance the end-user experience. Staying in touch with the customer through an Internet service can also help vendors track user preferences and better target their software offerings.

Rich consumer applications also continue to grow rapidly in mobile phones and in the convergent devices arena. Applications such as calendaring that were in the business realm are now also increasingly being required in personal devices.

As application paradigms change, application developers have new requirements for the database platform on which these applications are built. In particular, there is a growing need for local-store databases that are:

·         Embeddable to provide better application security, performance, and ease of distribution and deployment.

·         Lightweight and compact to preserve system resources, especially in devices where processor and memory is premium.

·         Componentizable to allow application vendors to choose essential functionality only, which keeps application size to a minimum.

·         Supported on multiple devices so the same application code can be used to build applications on multiple devices and platforms.

·         Capable of providing automatic synchronization to allow end-users to work with most recent data in an offline application experience and to push updates to a central location.

·         Built with advanced security to protect against threats such as stolen mobile devices.

The Solution

In light of the changing needs of the new class of applications, Microsoft introduces its newest edition of the SQL Server database product line, SQL Server 2005 Compact Edition. It is an evolution of the SQL Server Mobile Edition technology. While the latter was used exclusively for mobile devices, its capabilities are now being leveraged to create maintenance-free, compact (less than 2 MB disk footprint) embedded databases for single-user client applications for all Microsoft Windows platforms, including Tablet PCs, Pocket PCs, smart phones, and desktops, to enable the scenarios discussed earlier in the paper.

SQL Server Compact Edition also enables an application to scale up, either via a robust synchronization with other SQL Server Editions, or by moving to a higher edition of SQL Server.

How SQL Server Compact Edition Can Help

SQL Server Compact Edition addresses the new application development challenges by providing for faster results and increased productivity, better decision making support and a trusted platform.

Faster Results and Increased Productivity

Developers and administrators can achieve faster results with SQL Server Compact Edition.

Developers

SQL Server Compact Edition is tightly integrated with Microsoft Visual Studio 2005 as well as the .NET Framework. Developers can readily use their existing knowledge of developing database applications with Visual Studio 2005 to build SQL Server Compact Edition based applications, which enables them to be instantly productive. SQL Server Compact Edition supports a familiar structured query language (SQL) syntax and common programming model, such as ADO.NET. A significant productivity advantage for developers is that they can use the same application code to build the application for multiple devices and platforms. SQL Server Compact Edition applications can also be seamlessly migrated from mobile and desktop scenarios to work with other editions of SQL Server 2005 in multi-user or server scenarios.

Administrators

As the database is embedded in the application, little or no management is required. SQL Server Compact Edition can be included in the application package and deployed using the Click Once deployment feature of Visual Studio 2005. Alternatively, this lightweight data store can be downloaded quickly. SQL Server Compact Edition can be configured to keep up-to-date with the Microsoft Update services, so administrators will not need to bother with complicated maintenance plans. However, the user needs to have administrative privileges to install SQL Server Compact Edition on a tablet PC or desktop. An administrator can use SQL Server Management Studio (including Express Edition) to administer the database.

Better Decisions

With SQL Server Compact Edition, together with SQL Server 2005 business intelligence capabilities, you can extend your business insights further across the organization to data sources in distributed and mobile applications. By enabling synchronization to a central database, data in such applications can be captured, analyzed by SQL Server Analysis Services, and reported by SQL Server Reporting Services. The ReportViewer Controls available in Visual Studio 2005 can be used in applications to provide rich reports based on data from SQL Server Compact Edition. With SQL Server Compact Edition, you can deliver the right data, at the right place and time, in the right form factor.

Trusted Platform

As a leading database platform, SQL Server 2005 provides an unsurpassed level of trust. The SQL Server product line has been in existence for more than 10 years and has millions of customers.

Reliability

Being a member of the SQL Server 2005 family, SQL Server Compact Edition takes advantage of proven technologies. Originally built on SQL Server Mobile technology, SQL Server Compact Edition has additional capabilities to ensure that applications perform well and are secure. SQL Server Compact Edition includes “self-healing” and management technologies that are designed to handle “instant off” and dead battery scenarios in mobile devices.

SQL Server Compact Edition supports two synchronization technologies to ensure that data is reliably delivered, supporting updates on both the server and client end. Remote Data Access (RDA) is a synchronization technology that can be used when a lightweight synchronization solution is adequate (e.g. no conflict resolution). SQL Server Compact Edition also supports merge replication, which is ideal when a more sophisticated solution is required.

Security was a critical part of the design of SQL Server Compact Edition. Because it was designed into the product, organizations can trust the high security level for data protection in these ways:

·         Synchronization uses 128-bit SSL for secure and reliable functionality, even through firewalls.

·         SQL Server Compact Edition uses 128-bit RSA file-based encryption on devices for database file security.

·         SQL Server Compact Edition provides an encrypted data format with password protection.

·         SQL Server Compact Edition uses a single file format, enabling document-safe format.

Better Over Time

SQL Server scales up from a device to the data center, so as business requirements grow, SQL Server Compact Edition can easily scale up to other editions of SQL Server. Applications of all sizes are supported on the trusted SQL Server platform, including:

·         ISV applications that run on mobile devices or a local desktop.

·         Occasionally connected applications that need automatic synchronization.

·         Small company, departmental, and workgroup scenarios.

·         Web-based applications.

·         Large enterprise applications, including MRP, financial, and ERP scenarios.

 

Conclusion

SQL Server 2005 Compact Edition rises to the challenge of enabling application vendors and IT organizations to create the next wave of applications. Whether it is providing a rich and complete desktop-like application experience to the mobile information workers who are occasionally connected or consumers who are demanding more from their desktop and device applications, SQL Server Compact Edition has a host of features and capabilities that enable it to effectively serve as a local data store for these new applications. Such features include high security, high performance, simple development and deployment, and automatic synchronization.


SYSTEM DESIGN

 

A computer procedure is a series of operations designed to manipulate data to produce outputs from a computer system. The procedure may be a single program or a series of programs. The detail design of the computer procedure follows acceptance by management of an outline design proposal. The aim now is to design procedures at lower levels of detail, which will define the detailed steps to be taken to produce the specified computer output. When complete, these procedure definitions together with data specifications are organized for programmers from which the required programs can be written.

 

Design Tools:

 

        Various tools are being used by system analysis to specify computer procedures. Not all of them are used here to design this project. Some of the important tools that have been made use of are:

 

  1. Entity relationship Diagram.
  2. Input design.
  3. Output Design.
  4. Database Design.

 

Input design:

 

         Input design is a part of overall system design, which requires very careful attention. Often the collection of input data is the most expensive process of the system. In terms of both the equipment used and the number of people involved, it is the point of most contact for the users with the computer system; and it is prone to error. If data going into the system is incorrect, then the processing and output will magnify their errors.

One of the early activities of input design is to determine the nature of the input data. This is done partially in logical system design but it now needs to be made more explicit.

 

 

Error avoidance and Detection:

 

Every effort must be made to ensure that input data remains accurate from the stage at which it is recorded and documented to the stage at which the customer accepts it. While every effort is made to avoid errors during the preparation of input data, a proportion of errors are likely to be present.

 

The user is free from the anxiety of keeping the uniqueness of the primary key since the system itself generates the primary key for the user.

 

As soon as the user keys erroneous data in, the system just will not accept the data and provides appropriate messages.

 

 

Data validation:

 

Computer input procedures must also be designed to detect errors in the data at a lower level of detail which is beyond the capability of the control procedures. These are combined with the design of the input process itself.

 

The validation procedure must be designed to check each record, data item, field against certain criteria specified by the system analyst or the programmer.

 

Output design:

 

The specification of user requirements is the starting point for the appraisal and the detailed physical design must be done in the light of this and with continuing user involvement. The normal procedure is to design the outputs in detail first and then to work back to the inputs. The outputs can be in the form of operational documents, lengthy reports, and replies to queries or summarizing graphs.

Outputs from computer systems are required primarily to provide a permanent copy of the results for later consultation. Any data item not yet defined must be identified and recorded before output design can proceed. There is often a need at output to provide totals at various levels. It is not always desirable to print or display data as it is held on a computer. The system analyst must ensure whether the form in which it is stored in the system is suitable for the output.

 

In proposed system the users have been provided with many outputs in the form of messages and alerts so as to help the user enter the correct data.

 

Reports:

 

Reports enhance the application programmer’s effort to output the formatted data in a manner practical for the user. This also helps to create hard copy of the valid information.

 

                  

 

 

 

 

 

 

 

 

 

 

 

ARCHITECTURAL DESIGN

 

Architectural design represents the structure of data and program components that are required to build a computer based system. It considers the architectural style that a system will take, the structure and properties of the component that constitute the system, and the inter relationships that occur among all architectural components of a system.

 

          Although a software engineer can design both data and architecture, the job is often allocated to specialists when large, complex systems are to be built. A database or a data warehouse designer creates the data architecture of a system. The system architect selects an appropriate architectural style for the requirements derived during system engineering and software requirements analysis.

 

          Architectural design begins with data design and then proceeds to the derivation of one or more representations of the architectural structural of the system. Alternative architectural style or patterns are analyzed to derive the structure that is best suited to customer requirements and quality attributes. Once an alternative has been selected, the architecture is elaborated using an architectural design method.

 

          An architectural model encompassing data architecture and program structure is created during architectural design.  In addition, component properties and relationships are described. 

 
 
 
 
 
 
 
 
 
 
 

 

 

 

 

 

 

 

 

TESTING
TESTING

 

       This section deals with the details of the classes of tests which must be conducted to validate the functions, performance, and the constraints. This is achieved basically by the means of testing which plays a vital role in the development of the software. The various low level testing which can be grouped on a broader sense are discussed as below:

 

·         Unit Testing:  Testing of each and every module individually is called unit testing. Each module is designed and executed so that it works independently and generates some relative output. Unit testing of a module results in a set of individually executing modules that generates its independent output. The modules in this project i.e. purchases, sales, returns, cash and bank transactions, stock status and others are individually tested.

 

·         Integration Testing: Integration testing is one in which the modules are combined with one another to synchronize the outputs and co-ordinate the flow of control. Each module is coalesced with other module to establish proper connectivity between the two modules. All the individual modules have been integrated and tested.

 

·         Validation Testing: Validation testing deals with testing that whether the validations are justified and all the requirements are fulfilled logically as per the requirements as the validations are designed according to the requirements of the application – an approach to the problem in a logical and relational manner. All the validation testing have been done (like only the numbers should be accepted in the phone number , amount , bill no fields ,quantity and other related  fields, similarly for the text to accepted only in related fields like the names and other related fields). The stock validation is the major validation that keeps track of the products dealt and the reorder levels.

 

·         System Testing: Testing the whole system i.e. verifying and validating the whole source code to check if the system as a whole is executing is called system testing. The proposed system undergoes it under all conditions to be called a successful system.

 

Notes

All testing has been carried out using some sample data.

Each section in the remainder of this document has lists of test criteria that must be satisfied for the system to have passed that section of testing. In front of the each criteria test Passed or Failed is written.

 

Unit Testing

The purpose of unit testing is to uncover errors in the smallest software unit -- the routine. Each routine will be tested individually using black box-oriented tests. The programmer of each module will design a set of test cases for that module and ensure that the module is fully tested. Important or complex routines will also be tested by at least one other person.


Integration Testing

This section describes the integration strategy and procedures for the system. It gives the order in which modules will be developed and how they will be integrated. It also describes the specific tests that will be performed on integrated sets of modules. Note: It is important that each module be thoroughly tested as a unit before being integrated with other modules.

Integration testing of unit tested modules is necessary to ensure that:

  • modules interface correctly with each other;
  • one module does not have inadvertent, undesirable effects on another module;
  • sub modules (routines) combine to produce the desired functions of the major module;
  • Interfaces to, and use of global data structures are consistent.

System Testing

Functional Requirements Testing

The functionality tests should be performed by the application representatives and treat the whole system as a black box using the actual applications or middleware. The aim of these tests is to verify the overall functionality of the system.

This will be performed by a section by section walkthrough of the SRS functional requirements section. All functional requirements in the SRS must be fulfilled.

Performance and Stress Testing

A set of tests have been developed for performance and stress testing. Performance tests will ensure that the system responds in a reasonable time to user input (as defined in the SRS). The aim of stress testing is to try to break the program by giving it abnormal or extreme input quantity, frequency or volume.

Performance testing will be performed at the client's site after installation. According to the SRS:

The system must respond to all reports within 10 seconds on an Pentium IV computer with a load average less than 1.

 

·         Performance criteria satisfied.

 

 

 


Data Validation

 

Data validation, is a very important part in any application involving a database. We have to be aware of the specifications of the database organization and also about the kind of data that goes into the database. We have to provide for stringent error checking, in order to discard invalid data and prevent it from getting it into the database.

 

Data validation can be done in two places. While creating the database schema, we can specify certain integrity constraints that have to be maintained b/w various relations in the schema. This ensures that no insertion, deletion and update anomalies creep in during operation. Data validation can also be done at the interface itself, to provide more robust level of data validation.  For example, in the login form whose loginid has been established by the administrator will be given login permission. This can be trapped at the interface level itself. And in the form, to modify the user profile, the administrator  is allowed to modify only if that loginid has need permission.

 

Some Examples of Data Validation done in this project are:

 

  • Invalid loginid cannot be entered.
  • Invalid Address, such as door no, etc (advance > balance or negative) cannot be entered.

 

 


About Us: 

   We Umashankar Kumar and Govindaraj H. R. the final year computer science students (BCA)  of Vivekananda COLLEGE of Science, commerce & arts college are simulating the project Hospital Management which is based on Visual Basic Program.      

Hospital Management project defines the various information  of student details, test dates, test marks, exam dates and exam marks of student.        

 We are  completed this project Hospital Management  successfully.                                                                                               

 Your browser may not support display of this image.

Thanking You….. 
 
 
 
 
 
 
 
 
 


CONCLUSION

 

Computer is the magic word of today’s world. The object of “Hospital Management” project is to harness the power of the computer for our practical and potential need. This report expected to extensively cover this concept and plant a seed of inquisitiveness in the minds of the users.

 

 

We are thankful to all the people who have given us their hearty support in this endeavor, we again thank out college for providing us all the facilities and thanks to our beloved Coordinator Ms Aruna and to our guide

 

Sri. Nagaraj M. L

 


 
 
 
 
 
 
 
 
 
 
 
 


REFERENCE

 

 

 

  1. “Master in Visual Basic, Concepts and Code”, Dan Appleman  
  2. “Visual Basic.Net Programming” , Den Clark
  3. “Learning Visual Basic Step by Step” ,  Jesse Liberty
  4. Website : en.wikipedia.org/wiki/Visual_Basic
  5. Website : www.vbtutor.net
  6. Website : msdn.microsoft.com › Visual Studio Developer Center › Languages

 


 

 

 

 

 

 

 

 

 

 

 

 

 

PROJECT SCREEN SHOTS



Login Form

 

 

 


 

 

 

 

 

 

 

 

 

 

 

CODING

 

 


Welcome Form

 

Private Sub Form_Load()

I = 1

End Sub

Private Sub Timer1_Timer()

I = I + 1

If I > 5 Then

Timer1.Enabled = False

Unload Me

LoginForm.Show

End If

End Sub

 

 

 

 



PHP 8 new features and advantages? PHP interview question and answer ser...

PHP Interview Questions You Must Prepare in 2021 PHP Question and Answers In this series we will bring you question and answers. Which defin...