Final Hospital
-
Upload
natheem-safin -
Category
Documents
-
view
216 -
download
0
Transcript of Final Hospital
-
8/18/2019 Final Hospital
1/45
ABSTRACT
Our project Hospital Management system includes registration of patients, storing their
details into the system, and also computerized billing in the pharmacy, and labs. Our software
has the facility to give a unique id for every patient and stores the details of every patient and the
staff automatically. It includes a search facility to now the current status of each room. !ser can
search availability of a doctor and the details of a patient using the id.
"he Hospital Management #ystem can be entered using a username and
password. It is accessible either by an administrator or receptionist. Only they can add data into
the database. "he data can be retrieved easily. "he interface is very user$friendly. "he data are
well protected for personal use and ma es the data processing very fast.
-
8/18/2019 Final Hospital
2/45
1. INTRODUCTION
In a Hospital, the staff on duty in the front$office has a lot to do in terms of Incoming
patients, %egistration, &llotting %ooms and beds, coordinating with 'octors, ma ing (ills etc.Manually it is very difficult to maintain information with regard to all these aspects. "here is a
grave chance of error and hence a monetary loss to the hospital or inconvenience to )atients.
In order to overcome the condition of chaos at the front office in a Hospital, it is proposed
to develop software to maintain the information of (ed*s, information of the departments,
doctor*s information, maintain the )atients database, services provided to the patients,
%egistration and 'ischarge details along with (illing of patients.
+omputerization has become a must for efficient Hospital management. +omputers can
reduce the manual wor load and give information simply at the press of a button.
+omputers have become a part of our daily life. "hey are used in all wal s of life be it for
reservation for railways aeroplanes or +&' +&M applications or normal accounting. -ith the
introduction of Internet, +omputers have penetrated into our homes also.
"hese days all the information of a +ompany is stored on the +omputer in the form of 'ata, 'ocuments or )ictures. "his information is mostly required to be shared amongst the
various personnel*s of the +ompany or between different +ompanies. "he transfer of this
information is most conveniently done through the +omputer to another computer.
-
8/18/2019 Final Hospital
3/45
3.1 HARDWARE SPECIFICATION
# #"/M 0 )/1"I!M II
+)! #)//' 0 233 MH4
(/ M/MO% 0 56 Mb
H&%''I#7 0 2 8(
&!9I:&% #"O%&8/ 0 5 ; 6
-
8/18/2019 Final Hospital
4/45
3.3 LANGUAGE SPECIFICATIONS
THE VISUAL BASIC 6.0 ENVIRONMENT
=isual (asic is quic est and easiest way to create powerful application for Microsoft
operating systems. "he =isual (asic programming system allows to create robust and useful
applications that fully ma e use of the GRAPHICAL USER INTERFACE (GUI) . "he
VISUAL BASIC programming language is a descendent of (I+ language. &s its name
suggests, is big portion of the programming with VISUAL BASIC is accomplished visually this
means that during design time, we are able to see how a program will loo during design. "his is
a great advantage over other programming languages because we are also able to change and
eCperiment with our design until we are satisfied with colors, sizes, images that are indicated inour program.
"he VISUAL BASIC is quite powerful, if we are able to remember a programming, tas
it can be probably accomplished using VISUAL BASIC .
In VISUAL BASIC the “VISUAL” part to the methods used to create graphical user
interface A8!IB. %ather than writing numerous lines of code to describe the appearance and
location of interface elements, we simply drag and drop pre built objects and place on the screen.
If we have ever used drawing program such as paint, we already have most of the s ills
necessary to create an effective user interface.
In VISUAL BASIC the “BASIC” part refers to the (I+ language used by more
programmers than any other languages in the history of computing. =I#!&: (I+ has evolved
from the original (I+ languages and now contains several hundreds of statements, functions
and eywords, many of which relate directly to the windows 8!I. (eginners can create useful
application by learning just a sew of the eywords, yet the power of this language allows all the
professionals t accomplish anything that can also be accomplished using any others window
programming language.
-
8/18/2019 Final Hospital
5/45
"he VISUAL BASIC programming language is not unique to VISUAL BASIC
programming system. &pplications /dition included in Microsoft /Ccel, Microsoft &ccess, and
many other windows application used the language. "he VISUAL BASIC programming system
scripts /dition for Internet )rogramming is a subset of the visual basic language. "he investment
we ma e in learning VISUAL BASIC will carry to these other areas.
-hether our goal is to create a small utility for ourselves or our wor group, a large
/nterprise$-ide system, or even to distributed application spanning in the glob via Internet,
although it retains much of the user$friendly, easy$to use feeling of the earlier (asic, by it has
added an immensely rich and powerful feature set with an incredible capability for eCtension. Its
now certainly possible to design compile =I#!&: (I+ applications in a high structured and
rigorous fashion. "he characters have helped to ma e VISUAL BASIC the world*s best selling programming language.
COMM VISUAL BASIC CODE LINES AND ENTS
1ormally, we enter VISUAL BASIC on one line. Meaning that end of the physical line
indicated the end of the statement. "hus we can thin of the line as an usual implicit end$of$
statement mar er. "his stand in contrast with usage in more highly structured languages.
"here is essentially no limit to theoretical length of a VISUAL BASIC statement entered
this way on a singly ling. However, it is a poor coding practice to create statements that don*t fit
on one line is either a print our or the code window.
USES OF VISUAL BASIC
& data access object allows us to create databases and front$end tools applications for
most popular database formats, including Microsoft #D: server and other /nterprise$:evel
databases.
&ctiveC technologies allow us the functionality provided by other applications, such as
Microsoft word processor, Microsoft eCcel spread sheet, and other windows application. -e can
even automate and objects created using professional or enterprise editions of visual basic.
-
8/18/2019 Final Hospital
6/45
&n Internet capability ma es it easy to provide access to documents and applications
across the Internet from within our applications.
Our finished applications are a true eCe file that uses a run time D NAMIC LIN!
LIBRAR (DLL) that we can freely distribute.
VISUAL BASIC EDITION
VISUAL BASIC is available in three versions, each geared to meet specific set
development requirements. &ll are 56 bit applications.
LEARNING EDITIONS"
"he =I#!&: (I+ learning edition allows the programmers to easily create powerfulapplications for Microsoft -indows >E and -indows 1". It includes all intrinsic controls, plus
grid, tab and data bound controls.
PROFESSONAL EDITION"
"he =I#!&: (I+ professional edition provides the computer professional with full
featured set of tools for developing solutions for others it includes all the features of learning
editions, plus edition &+"I=/9 controls, including all internet controls, and the +rystal %eport
-riter.
ENTERPRISE EDITION"
"he VISUAL BASIC enterprise edition allows professional to create robust distributed
applications in a term setting. It includes all the features of the professional edition, plus the
AUTOMATION MANAGER# COMPONENT MANAGER# DATABASE MANAGEMENT
TOOLS# MICROSOFT VISUAL SOURCE safe project$oriented version control system and
moreF
-
8/18/2019 Final Hospital
7/45
E$ISTING S STEM
& through study of the eCisting system is required before planning for the new system.
"he eCisting system deals with the maintained of information about transactions carried out in
which are presently accomplished in a manual way using the eCisting system it is tedious to
maintain the details of above mentioned activities. Hence,it needs a lot of search, clerical wor s
and time.
DRAWBAC!S OF THE E$ISTING S STEM
#ome of the drawbac s of the eCisting system,
• More clerical wor s.
• "ime delay.
-
8/18/2019 Final Hospital
8/45
2.3.2 PROPOSED S STEM
"his project has been developed in such a way to computerize the hospital activities.
"his system is user friendly with provisions of data input and to generate reports. "he
information regarding all the operations carried out in a hospital and various inquiries are easily
accessed. "he details are obtained by simple inputs with corresponding updating of data in the
table with the help of user friendly schemes designed and developed for this. "hese stored dataGs
in the data base are used of prepare reports.
ADVANTAGES OF THE PROPOSED S STEM
"he new system is developed with the following advantages,
• /asy to maintain and Mani out.
• :ess consumption of time in the operation.
• 8enerating the reports easily.
• %educe the manual effort.
-
8/18/2019 Final Hospital
9/45
%. S STEM DESIGN
F&' *&+,
"he design of an information system produces the details that state how a system willmeet the requirements identified analysis. "he emphasis is on translating the performance,
requirements into design specifications. "his phase is nown as logical system design phase
which includes the details of output, the data to be input, file structures, data structures, controls
and calculation producers. "he neCt phase, the )hysical design produces a wor ing system. "he
various steps in designing the +o)#"0 +ost (ased )redictive #patio$ "emporal oinJ are given
below.
"he following steps are involved in design0
-
8/18/2019 Final Hospital
10/45
understand by the user using meaningful words. "he forms are designed in such a way that the
cursor is place in the position where data must be entered.
E /& , **
"he input #creen forms have been designed such that they are very effective i.e., serve a
specific purpose. "he &dvertiser*s :ogin form used gets the details of the member and stores it,
thus doing the registration.
A 4 5
"he forms have been designed such that they assure proper completion. =alidation has
been included and thus all the required fields are chec ed.
E4* U*
-
8/18/2019 Final Hospital
11/45
In the developed system a suitable coding is adopted, which can be identify the each user
eCactly. "he user can identify by a unique I' which is automatically generated and it is unique.
"he need to communicate with and by means of computers has made increasing demands on
user to user to wor with and understand computer codes instead of natural language. It must
always be remembered that human beings, including people who do not have much familiarity
with data processing codes should be designed with the following features, will use a code.
D4/484* D *&+,
'atabases are designed using the latest software available and the development process
follows the specific requirements of the +lient. -e provide total fleCibility in terms of database
design$the development process is essentially +lient drivenJ.
It is important to remember that a well$designed database should provide an end product
AdatabaseB that has been tailored to meet both professional and practical business needs andtherefore serve its intended purpose.
+omprehensive and detailed analysis of the business needs, preparation of design
specifications. Initial design concept, 'atabase programming, 'atabase "esting validation,
+lient support, +lient site installation and of course eCtensive database 'eveloper K +lient
communication.
-
8/18/2019 Final Hospital
12/45
1.2.2 M ' *
"his master database maintains all the information that has been validated through the
software.
• /ntry form
• %egular patient
• )atient details
• 'iseases details
• 'octor description
ENTR FORM
In this form we have to as the patient who is in patient AorB out patient.
REGULAR PATIENT
In the patient is in patient then as the patient to submit the old reports about the
patient.
PATIENT DETAILS
If the patient is new one, then collect the information name seC address about the
patient.
DISEASES DETAILS
In this form we have to collect the details about decides li e,
• How many days he she suffered.
• -hat all the problems he she had.
• If he she visit any other hospital before visiting here.
-
8/18/2019 Final Hospital
13/45
@. # #"/M "/#"I18
In a software development project, errors can be injected at any stage during the
development. "esting performs a very critical role for quality and for ensuring the reliability of software. 'uring testing ,the program to be tested is eCecuted with set of test cases ,and the
output of the program for the test cases is evaluated to determine if the program is performing as
it is eCpected to. 'ue to its approach, dynamic testing can only ascertain the presence of error in
the programL the eCact nature of the error is not usually decided by testing. "esting forms the first
step in determining the errors in the program. +learly the success of testing in revealing errors in
programs depends critically on the test cases.
"esting is usually relied upon to detect the faults that occur during any phase of the
software development cycle, in addition to the faults that introduced during the coding phase
itself.
-
8/18/2019 Final Hospital
14/45
"/#" ):&1
A T */ -'4, &* 4 + , 4' 7 ,/ /: ,/& - ; /#
-
8/18/2019 Final Hospital
15/45
TEST UNIT
It is a set of one or more modules together with associated data which are the forms a
single computer program and which are the object of testing. It can occur at any level and can
contain from a single module to the entire system. "his is carried out at every stage of the project
i.e., after completion of every module
-
8/18/2019 Final Hospital
16/45
"he goal of unit testing is to test modules orJunitsJ and not the entire software system.
"he programmer himself most often does unit testing, the programmer, after finishing the coding
of a module, tests it with some data. "he tested module is then delivered for system integration
and further testing there are 2 categories of tests that a programmer will typically perform on a
program unit
FUNCTIONAL TESTS"
#pecify operating conditions, input values and eCpected results.
PERFORMANCE TESTS
It should be designed to verify response time, eCecution time, throughput )rimary andsecondary memory utilization.
STRESS TESTS
#tress tests are designed to overload a system in various ways. #tructural tests are
concerned with eCamining internal process logic of software system.
INTEGRATION TESTS
&fter the unit testing the modules is gradually integrated into subsystem, which are then
integrated them to eventually form the entire system. 'uring integration of modules Integration
testing is performed ."he goal of this testing is to detect design errors, while focusing on testing
the interconnection between modules.
S STEM TESTING
-
8/18/2019 Final Hospital
17/45
&fter the system is put together, system testing is performed. here the system is tested
against the system requirements to see if all the requirements are met and the system performs as
specified by requirements. "he entire software is tested and the goal is to see if the software
meets the requirements
ALPHA>BETA TESTING
& customer does the alpha test at the developer site .the software is used in a natural
setting with the developer and usage problems.
"he beta testing is conducted at one or more customer areas of the end of software. "he
problems are recorded and updated .
WHITE BO$ TESTING
& white boC testing technique $ id described as follows0
CONTROL STRUCTURE TESTING
+onditional testing is a test case design method that eCercises the logical condition in a
program module. "he possible types of components in a condition include a (oolean operator,
(oolean variable, pair of (oolean parenthesis relational operator or an arithmetic operator.
DATA FLOW TESTING"
'ata flow testing method selects test path of program according to the location of definition and uses of variables in the program .they are useful for selecting test. "hey are useful
for selecting test paths of a program containing nested if and loop statements.
-
8/18/2019 Final Hospital
18/45
LOOP TESTING"
:oops are the cornerstone for the vast majority of all algorithm implemented in software
loop testing is a white boC technique that focuses eCclusively on validity of loop construct.
BLAC! BO$ TESTING
(lac boC testing method focuses on the functional requirements of the software. (lac boC
testing method attempts to find in the following categories.
Incorrect or missing functions
Interface errors.
/rror in data structure or eCternal databases access
)erformance errors
Initialization and termination error
-
8/18/2019 Final Hospital
19/45
6.2 S STEM IMPLEMENTATION
Implementation is the stage where the theoretical design is turned into a wor ing
system. "he most crucial stage in achieving a new successful system giving is confidence on the
new system for the users that it will wor efficiently and effectively.
"he system can be implemented only after thorough testing is done and if it is
found to wor according to the specification.
It involves careful planning, investigation of the current system and its constraints
on implementation, design of methods to achieve the change over and an evaluation of change
over methods a part from planning. "wo major tas s of preparing the implementation are
education and training of the users and testing of the system.
"he more compleC of the system being implemented, the more involved will be the
systems analysis and design effort required just for implementation.
"he implementation phase comprises of several activities. "he required hardware and
software acquisition is carried out. "he system may require some software to be developed.
-
8/18/2019 Final Hospital
20/45
-
8/18/2019 Final Hospital
21/45
8. CONCLUSION
"he software Hospital Management #ystemJ has been developed in windows >E
environment using visual basic as front end and ms access as bac end. "ime consumptions
reduced to a great eCtent and user as less compleCity in handling this database.
"he project is fully fledged and user friendly, /nd users will be lightened in using this software
because it is easy to have bills and reports and mostly all contents to be entered are to selected
from combo boC. "his reduces the calculating efforts to be carried out by the users.
-
8/18/2019 Final Hospital
22/45
Login File
'ata
-
8/18/2019 Final Hospital
23/45
Stock File
File
DFD B&''&,+ - **
Item +ode
(ill
Item
+ustomer
!pdating process
(illing process
!ser #ales process
Item
'etails
Duotation 'etails
-
8/18/2019 Final Hospital
24/45
-
8/18/2019 Final Hospital
25/45
F&' N47 "> L +&,
F& ' N47 D * &-/& , D4/4 T5- W& /:!ser 1ame !ser 1ame "eCt ?3)assword !ser 1ame "eCt ?3
-
8/18/2019 Final Hospital
26/45
F&' N47 "> D / R +&*/ 4/& ,
F& ' N47 D * &-/& , D4/4 T5- W& /:'r name 'octor 1ame "eCt ?3#eC #eC "eCt ?3'ept 'epartment "eCt ?3+onsultation time +onsultation "ime "eCt ?3&ddress &ddress "eCt ?3+ontact no +ontact 1umber :ong ?3/mergency no /mergency 1umber :ong ?3+onsult fee +onsultation fees :ong ?3'ate 'ate 'ate "ime ?3+onsultation day +onsultation 'ay "eCt ?3
"ot pat "otal )atient 'ouble ?3
-
8/18/2019 Final Hospital
27/45
F&' N47 ">P4/& ,/ D /4&'*
F& ' N47 D * &-/& , D4/4 T5- W& /: 1ame 1ame "eCt ?3&ge &ge Integer ?3#eC #eC "eCt ?3&ddress &ddress "eCt ?3'octor 'octor "eCt ?3)atient id )atient id "eCt ?3%eg fee %egistration fees 'ouble ?3&dmin 'ate &dmitted 'ate 'ate "ime ?3%oom no %oom 1umber Integer ?3
F&' N47 ">M & &,
F& ' N47 D * &-/& , D4/4 T5- W& /:Medname Medicine 1ame "eCtMedtype Medicine "ype "eCt&mt &mount 'ouble/Cpdate /Cpiry 'ate 'ate "ime
#toc #toc 'ouble
F&' N47 ">D&* :4 + S: /
F& ' N47 D * &-/& , D4/4 T5- W& /:)atient id )atient id 'ouble ?3
1ame 1ame "eCt ?3'octor 'octor "eCt ?3%emar %emar "eCt ?3"otbill "otal (ill 'ouble ?3
-
8/18/2019 Final Hospital
28/45
'ate 'ate 'ate "ime ?3
-
8/18/2019 Final Hospital
29/45
SAMPLE CODING
LOGIN
)rivate #ub +ommand6 +lic AB
!nload Me
/nd #ub
)rivate #ub +ommand5 +lic AB
'b. Open
#et rs N db. /Cecute A #/:/+" P
-
8/18/2019 Final Hospital
30/45
frmM'I.mnu:ogin./nabled N
-
8/18/2019 Final Hospital
31/45
frmM'I.mnu:ogin./nabled N
-
8/18/2019 Final Hospital
32/45
db./Cecute A I1#/%" I1"O :O8I1 =&:!/# AG K tCt username."eCt K G,G K
tCt password."eCt K GB B
Msg(oC %ecord added successfully
db.+lose
/nd #ub
)rivate #ub
-
8/18/2019 Final Hospital
33/45
/lse
rsQseC N
-
8/18/2019 Final Hospital
34/45
m Missing
-
8/18/2019 Final Hospital
35/45
m Missing
-
8/18/2019 Final Hospital
36/45
-
8/18/2019 Final Hospital
37/45
OUTPUTS
L +&,
-
8/18/2019 Final Hospital
38/45
A 7&, R +&*/ 4/& ,
C:4,+ P4**
-
8/18/2019 Final Hospital
39/45
D / R +&*/ 4/& ,
-
8/18/2019 Final Hospital
40/45
P4/& ,/ R +&*/ 4/& ,
-
8/18/2019 Final Hospital
41/45
I, P4/& ,/ S 4 :
-
8/18/2019 Final Hospital
42/45
M & &, U- 4/
IP B&''
-
8/18/2019 Final Hospital
43/45
D&* :4 + S: /
-
8/18/2019 Final Hospital
44/45
D / S 4 :
-
8/18/2019 Final Hospital
45/45
BIBLIOGRAPH
B =*
• & +omplete 8uide to )rogramming in =isual (asic .1et
$Michael McMillian
• & +omplete =isual (asic @ "raining +ourse0 How to )rogramme0 )ac age
$Harvey M deitel,)aul j deitel,"em % 1eito
• &dvanced )rogramming !sing =isual (asic0 =ersion @.3
$ ulia +ase (radley
• &ccess 6335 )ower )rogramming with =(&
$&llen 8 "aylor
• &dvanced M# =isual (asic
$)eter Morris
S&/ A **
• www.associatedcontent.com
• www.members.tripod.com
• www.vbcodesource.com
http://www.associatedcontent.com/http://www.members.tripod.com/http://www.vbcodesource.com/http://www.members.tripod.com/http://www.vbcodesource.com/http://www.associatedcontent.com/