copy of black
TRANSCRIPT
-
8/7/2019 Copy of Black
1/71
A
PROJECT REPORT
ON
HOSPITAL MANAGEMENT SYSTEM
SUBMITTED BY,
XXXXXXXXXX
XXXXXXXXXX
UNDER THE GUIDENCE OF
XXXXXXXXXXX
(Affiliatedto Mumbai University)
-
8/7/2019 Copy of Black
2/71
2 | P a g e
CERTIFICATE
This is certify that,
XXXXXXXX.
Have successfully completed the project:
In partial fulfillment of requirement for the award of B.Sc.IT atS.B.College of Arts, Comm. and B.Sc.IT, Shahapur of MumbaiUniversity.
XXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX
[Project Guide] [H.O.D] [PRINCIPAL]
Examiners:
ACKNOWLEDGEMENT
-
8/7/2019 Copy of Black
3/71
3 | P a g e
I would especially thank XXXXX and all teaching and non-teaching
staff of Information Technology faculty for inspiring me in completion of
project. I am thankfulto myproject guideforhistimelyhelpand guidancein
completing thisprojectsuccessfully.
I wouldalsoextend my thanks toour HOD XXXXXX forhersupport
andfacilitiesprovidesto usforthesame.
Lastly I would like to thankall those whodirectlyand indirectly
helpedin completion ofthisproject.
Date Completed by,
XXXXXXXXXXXXXXXXXX
XXXXXXXXXX
Place:
PREFA
CE
This project deals with the atomization in HOSPITAL MANAGEMENT
SYSTEM. Using we willgive idea of designs & patterns, Furniture, changingthe
appearance ofthe housethecustomer.
-
8/7/2019 Copy of Black
4/71
4 | P a g e
Here we have the facility to access the reports from the database, Entry
module, Designs & patterns, furniture, renovation. The system also maintains the
records of staff members details.
There willbean option foradministratorto makethe required changes and
alteration validation cheeks are provided where ever necessary, which in turn
makes the system more users friendly.
Security in terms of password is provided. Software will be simple to use
even fora person having no Knowledgeaboutcomputers.
INDEX
CONTENT PAGE NO.
Abstract 6
Introduction 13
Proposed System
Goals of proposed system
Advantages
-
8/7/2019 Copy of Black
5/71
5 | P a g e
Literature Review & Data Collection 18
System Analysis & Design 30
Gantt ChartEvent Table
E-R Diagram
Context Level Diagram
Data Flow Diagram
Implementation 46
Forms 53
Testing 64
Future Scope 66
Conclusion 68
References 70
Bibliography 72
-
8/7/2019 Copy of Black
6/71
6 | P a g e
ABSTRACT
WHAT IS SOFTWARE PROJECT?
A project, by definition, is atemporaryactivity with a starting date, specific
goals and conditions, defined responsibilities, a budget, a planning, a fixed end
dateand multiple parties involved. You know whatyou haveto do, do it, once, and
that's theend of it. That's a project.
Software projects are notoriously difficult to define. Unlikeabuilding, you
can't see software ortouch it or feel it or visualize it or how long it mighttaketo
build.
Clearly, akey part of project definition is establishingthe project scope, but
a project can only be considered properly defined when several other things are
established:
Who will filleach project role (project manager, project sponsor, etc)
-
8/7/2019 Copy of Black
7/71
7 | P a g e
Who will supply what resources and when
Whatthe project willcost (estimates)
How long it willtake, what willbe done when (plan/schedule)
How workwillbetracked, controlled and reported
Whatthe risks areand how they willbe managed
How thequality ofthe project's products willbeassured.
SOFTWARE DEVELOPMENT PROCESS:
A software development process is concerned primarily with the
production aspect of software development, as opposed to thetechnicalaspect.
These processes exist primarily for supporting the management of software
development, and aregenerally skewed toward addressingbusiness concerns.
Requirements analysis is a term used to describe all the tasks that go into the
instigation, scopingand definition ofa new oraltered computer system.
Requirements analysis is an important part of the software engineering
process; whereby business analysts or software developers identify the needs orrequirements of a client; having identified these requirements they are then in a
position to design a solution.
Risk management is the process of measuring or assessing risk and then
developing strategies to managethe risk.
-
8/7/2019 Copy of Black
8/71
8 | P a g e
In general, the strategies employed includetransferringthe riskto another
party, avoiding the risk, reducing the negative effect of the risk, and accepting
some orall oftheconsequences ofa particular risk.
PROJECT PLANNING, MONITORING AND CONTROL:
The purpose of project planning is to identify the scope of the project,
estimatethe workinvolved, and createa project schedule.
Project planning begins with requirements that define the software to be
developed.
The project plan is then developed to describe the tasks that will lead to
completion.
The purpose of project monitoring and control is to keep the team and
management up to date on the project's progress.
-
8/7/2019 Copy of Black
9/71
9 | P a g e
ABSTRACT:
1. To overcome drawbacks of present manual system, this computerized system
has been proposed
2. Lack of immediate retrievals: - The information is very difficult to
retrieve and to find particular information like- E.g. - To find out about the
patients history, the user has to go through various registers. This results in
inconvenienceand wastage oftime.
3. Lackofimmediateinformation storage: - The information generated by
various transactions takes timeand efforts to be stored at right place.
4. Lackofprompt updating: - Various changes to information like patient
details or immunization details ofchild are difficult to makeas paper work is
involved.
5. Errorprone manual calculation: - Manual calculations are error proneand take a lot of time this may result in incorrect information. For example,
calculation of patients billbased on various treatments.
6. Preparation ofaccurateandpromptreports: - This becomes a difficult
taskas information is difficultto collect from various registers.
-
8/7/2019 Copy of Black
10/71
10 | P a g e
7. As the system is automated there willbeless chance oferror occurrenceand
workcan be done with maximum speed.
8. To make record finding simpleas compared to the manual system whereyou
have to search each and every record.
EXISTING SYSTEM:
A Hospital is a place wherePatients come up forgeneral diseases. Hospitals
providefacilitieslike:-
_ Consultation by Doctors on Diseases.
_ Diagnosis for diseases.
_Providing treatment facility.
_ Facility foradmittingPatients (providingbeds, nursing, medicines etc.)
_ Immunization forPatients/Children.
Variousoperational worksthataredonein a Hospitalare:-
_ Recording information aboutthePatients thatcome.
_ Generatingbills.
_ Recording information related to diagnosis given to Patients.
_ Keeping record ofthe Immunization provided to children/patients.
_ Keeping information about various diseases and medicines availableto cure
them.
Thesearethe various jobs that need to be done in a Hospitalbythe operational
staffand Doctors. Allthese works are done on papers.
The workisdoneasfollows:-
-
8/7/2019 Copy of Black
11/71
11 | P a g e
_ Information aboutPatients is doneby just writingthePatients name, ageand
gender. WheneverthePatientcomes up his information is stored freshly.
_ Bills aregenerated by recording price foreach facility provided to Patient on a
separate sheetand atlasttheyallare summed up.
_ Diagnosis information to patients is generally recorded on the document, which
contains Patient information. It is destroyed after sometime period to decreasethe
paperload in the office.
_ Immunization records ofchildren are maintained in pre-formatted sheets, which
arekept in a file.
_ Information about various diseases is notkeptas any document. Doctors
themselves do this jobby remembering various medicines.
Allthis workis done manuallybythe receptionistand other operational staffand
lot of papers are needed to be handled and taken care of. Doctors haveto
remember various medicines available for diagnosis and sometimes miss better
alternatives as theycant rememberthem atthattime.
-
8/7/2019 Copy of Black
12/71
12 | P a g e
LIMITATIONS OF THE EXISTING SYSTEM:
1. Lackofimmediateretrievals: -The information is very difficultto retrieveand to find particular information like- E.g. - To find outaboutthe patients
history, the user has to go through various registers. This results ininconvenienceand wastage oftime.
2. Lackofimmediateinformation storage: - The information generated byvarious transactions takes timeand efforts to be stored at right place.
3. Lackofprompt updating: - Various changes to information like patientdetails or immunization details ofchild are difficultto makeas paper workis
involved.
4. Errorprone manualcalculation: - Manualcalculations areerror proneandtakealot oftimethis may result in incorrect information. Forexample
calculation of patients billbased on various treatments.
5. Preparation ofaccurateandpromptreports: - This becomes a difficult
taskas information is difficultto collect from various registers.
-
8/7/2019 Copy of Black
13/71
13 | P a g e
INTRODUCTION
-
8/7/2019 Copy of Black
14/71
14 | P a g e
THE PROPOSED SYSTEM:
The main aim ofthe proposed system is to overcomethe drawbacks of
existing manual system. In orderto concerttheexisting system to proposed systemsome modifications haveto be made. Repetitions, difficulty in storinglarge
amount of data, difficulty in extraction of needed informations werethe main
drawbacks ofthe manual system. Proposed system is capable of providingquick
up-to-date informations.
The Software is fortheautomation of Hospital Management.
The Softwareincludes:-
_ MaintainingPatient details.
_ProvidingPrescription, Precautions and Dietadvice.
_Providingand maintainingallkinds oftests fora patient.
_ Billingand Reportgeneration.
-
8/7/2019 Copy of Black
15/71
15 | P a g e
GOALS OF PROPOSED SYSTEM:
1. Plannedapproachtowards working: - The working in the organization willbe well planned and organized. The data willbe stored properly in data stores,
which will help in retrieval of information as wellas its storage.
2. Accuracy: - Thelevel ofaccuracy in the proposed system willbe higher. All
operation would be donecorrectlyand itensures that whatever information is
coming from thecenter is accurate.
3. Reliability:- The reliability ofthe proposed system willbe high dueto the
above stated reasons. The reason forthe increased reliability ofthe system is thatnow there would be proper storage of information.
4. No Redundancy: - In the proposed system utmostcare would bethat no
information is repeated anywhere, in storage or otherwise. This would assure
economic use of storage spaceand consistency in the data stored.
5. Immediateretrievalofinformation: - The main objective of proposed
system is to provide foraquickand efficient retrieval of information. Anytype of
information would beavailable wheneverthe user requires.
6. Immediatestorageofinformation: - In manual system thereare many
problems to storethelargestamount of information.
-
8/7/2019 Copy of Black
16/71
16 | P a g e
7. Easyto Operate: - The system should beeasyto operateand should be such
that itcan be developed within a short period oftimeand fit in thelimited budget
ofthe user.
PROPOSED SYSTEM ADVANTAGES:
1)TheProposed system maintains Heavy Data with ease.2)A single person can efficiently handlethe proposed system.3)Information ofany patientand hospitalemployeecan be retrieved at
anytime.4)The information ofany patientcan be maintained in thecomputerand
the user will not haveto maintain the registers.5)Proposed system provides a facilityto modifythe records.6)Proposed system willkeep the information ofabout patientand his
payment ofbill.7)Proposed system will providequickand correct information.
-
8/7/2019 Copy of Black
17/71
17 | P a g e
L
ITERATURE REVIEW&
DATA COLLECTION
-
8/7/2019 Copy of Black
18/71
18 | P a g e
SYSTEM REQUIREMENT
SPECIFICATION:
The software requirements specification is produced at the culmination ofthe analysis task. The function and performance allocated to software as part of
system engineeringare refined byestablishingacomplete information description.
The introduction states thegoals and objective ofthe software, describing it
in thecontest ofthecomputer based system Information content and
relationships, Flow and structureare documented. Hardware, software, and human
interfaces are described for external system elements and internal software
functions.
A description ofeach function required to solvethe problem is presented in the
functional description .Probablythe most important, and ironically, the most often
neglected section of a software requirement specification is validation criteria.
Specification of validation criteria acts as an implicit review of all other
requirements. It is essential that time and attention be given to this section. The
bibliographycontains references to all documents related thatto the software.
y Hardware Requirement :
1. Hard Disk: Minimum 10 GB2. CPU Type: Processor TypeP-II and onwards3. RAM: Minimum 512 MB RAM4.Printer : Required for printing document.
-
8/7/2019 Copy of Black
19/71
19 | P a g e
y Software Requirement :
1. Operating Systems:Windows 98 and onwards2. Front End: Visual Basic 6.03. BackEnd: Microsoft Access.
LANGUAGE DESCRIPTION:
Thelanguages I have used to accomplish my projectareVISUAL
BASIC 6.0as frontend and MS-Access as backend.
OverviewofVB 6.0:
Visual Basic (VB) provides the tools you need to create windows with familiar
elements like menus, text boxes, command buttons, option buttons, check boxes, list
boxes, scroll bars, and many more.
Windows uses a graphical user interface, or GUI. The windows GUI defines how
the various elements look and functions.
For programmers, it provides a toolbox of these elements. They can create new
windows, called forms. Then they will use the toolbox to add the various elements,
called controls.
The project will follow a new type of programming called Event Driven
programming. In Visual Basic, you will work with objects, which have properties and
methods.
Visual programming tools, such as Visual Basic, are much more initiative to use. It
seems that it is becoming easier and easier develop application. However, the issue of
programmatic architecture continues to be an issue. VB programmatic environments
-
8/7/2019 Copy of Black
20/71
20 | P a g e
encourage as much reuse of modules as humanly possible. This cuts the development
time.
File structure of the VB contains main directory; within main directory there are
sub-directories containing various pieces of the application as well as the main project
file.
Features of VB:-
Conceptofclass :-
In coop with VB objectare members ofclasses. A class is acollection of
similar objects.
Inheritance :-
In this wecan usethe part ofbaseclass in the derived class.
Reusability :-
Onceaclass has been written, creates and debugged, itcan be distributed
to other programmers for use in their own program. This is called Reusability.
Creating new datatype :-
VB is intended to facilitatethecreation of new datatype in different
apparitional way.
Polymorphism :-
-
8/7/2019 Copy of Black
21/71
21 | P a g e
Using operators or functions in different ways depending on what weare
operating on arecalled polymorphism.
Overview of Microsoft Access:
Microsoft Office Access, previously known as Microsoft Access, is
a relational database management system from Microsoftthat combines the
relational Microsoft with agraphical user interfaceand software-development
tools. It is a member ofthe Microsoft Office suite ofapplications, included in the
Professionaland highereditions or sold separately. In mid-May 2010, thecurrent
version of Microsoft Access 2010 was released by Microsoft in Office 2010;
Microsoft Office Access 2007 was the prior version.
Access stores data in its own format based on the Access Jet Database
Engine. Itcan also import or link directly to data stored in otherapplications and
databases.
Software developers and dataarchitects can use Microsoft Access to develop
application, and "power users" can use it to build simple applications. Like
other Office applications, Access is supported byVisual Basic for Applications,
an object-oriented programming language that can reference a variety of objects
including DAO (Data Access Objects), ActiveX Data Objects, and many other
ActiveX components. Visual objects used in forms and reports expose their
methods and properties in theVBA programming environment, and VBA code
modules may declareand callWindows operating-system functions.
Uses:-
Microsoft Access is used to make databases.When reviewing Microsoft
Access in the real world, it should be understood how it is used with other
products. An all-Access solution may have Microsoft Access Forms and Reports
managing Microsoft Access tables. However, Microsoft Access maybe used only
-
8/7/2019 Copy of Black
22/71
22 | P a g e
as the'front-end', usinganother product forthe'back-end'tables, such as Microsoft
SQL Server and non-Microsoft products such as Oracle and Sybase. Similarly,
some applications will only use the Microsoft Access tables and use another
productas a front-end, such as Visual Basic or ASP.NET.
Microsoft Access may be only part of the solution in more complex
applications, where it maybe integrated with othertechnologies such as Microsoft
Excel, Microsoft Outlookor ActiveX Data Objects.
Access tables support a variety of standard field types, indices, and
referential integrity. Access also includes a query interface, forms to display and
enter data, and reports for printing. The underlying Jet database, which contains
these objects, is multiuser-aware and handles record-locking and referential
integrity includingcascading, updates and deletes.
Microsoft Access is popular among non-programmers and professional
developers alike. Non-programmers can create visually pleasing and relatively
advanced solutions with verylittle or no code.
It is also easyto placea database on a networkand have multiple users share
and update data without overwriting each other's work. Microsoft offers a wide
range of template databases within the program and for download from their
website. These options are available upon starting Access and allow users to
enhance a database with pre-defined tables, queries, forms, reports, and macros.
Popular templates include tracking contacts, assets, issues, events, projects, and
tasks. Templates do not includeVBA code.
Microsoft Access also offers theability for programmers to create solutions
using the programming languageVisual Basic for Applications (VBA), which is
similar to Visual Basic 6.0 (VB6) and used throughout the Microsoft Office
programs such as Excel, Word, Outlook and PowerPoint. Most VB6 code
includingthe use ofWindows API calls, can be used in VBA. Database solutions
-
8/7/2019 Copy of Black
23/71
23 | P a g e
created entirely in Microsoft Access are well suited for individualand workgroup
useacross a network.
This capability is often agood fit for department solution. If usingan Access
database solution in a multi-user scenario, the application should be "split". This
means that the tables are in one file called the back-end (typically stored on a
shared network folder) and the application components (forms, reports, queries,
code, macros, linked tables)are in another filecalled the frontend[disambiguation
needed]. Thelinked tables in the frontend pointto thebackend file. Each user of
the Access application would then receivetheir own copy ofthe frontend file.
Applications that run complex queries or analysis across large datasets
would naturally require greater bandwidth and memory. Microsoft Access is
designed to scale to support more data and users by linking to multiple Access
databases or usingaback-end databaselike Microsoft SQL Server. With thelatter
design, theamount of dataand users can scaleto enterprise-level solutions.
Microsoft offers a runtime version of Microsoft Access 2007 for download.
This allows people to create Access solutions and distribute it for use by non-
Microsoft Access owners (similar to the way DLLs or EXEs are distributed).
Unlike the regular version of Access, the runtime version allows users to use the
Access application buttheycannot use its design surfaces.
Microsoft also offers developer extensions for download to help distribute
Access applications, create database templates, and integrate source code control
with MicrosoftVisual SourceSafe.
-
8/7/2019 Copy of Black
24/71
24 | P a g e
Features:
Users can create tables, queries, forms and reports, and connect them
together with macros. Advanced users can useVBA to write rich solutions withadvanced data manipulation and usercontrol.
The originalconcept of Access was forend users to beableto "access" data
from any source. Other uses include: the importand export of datato many formats
including Excel, Outlook, ASCII, dBase, Paradox, FoxPro, SQL Server, Oracle,
ODBC, etc. Italso has theabilityto linkto data in its existing location and use it
for viewing, querying, editing, and reporting.
This allows the existing data to change and the Access platform to always
use the latest data. It can perform heterogeneous joins between data sets stored
across different platforms. Access is often used by people downloading data from
enterpriselevel databases for manipulation, analysis, and reportinglocally.
There is also the Jet Database format (MDB or ACCDB in Access 2007)
which can contain the application and data in one file. This makes it very
convenient to distribute the entire application to another user, who can run it in
disconnected environments.
One ofthebenefits of Access from a programmer's perspective is its relative
compatibility with SQL (structured query language) queries can be viewed
graphically oredited as SQL statements, and SQL statements can be used directly
in Macros and VBA Modules to manipulate Access tables.
-
8/7/2019 Copy of Black
25/71
25 | P a g e
SYSTEM ANALYSIS
&
DESIGN
-
8/7/2019 Copy of Black
26/71
26 | P a g e
SYSTEM ANALYSIS AND DESIGN:
In System Analysis and Design phase, the whole software development
process, the overall software structure and its outlay are defined. Analysis and
Design are very important in the whole development cycle process. Any fault in
the design phase could be very expensive to solve in the software development
process. In this phase, thelogical system ofthe product is developed.
The software development process, the software's overall structure and its
nuances are defined. This step refers to thegathering of system requirements, withthe goal of determining how these requirements will be accommodated in the
system. Extensive communication between the customer and the developer is
essential. Theemphasis is on requirementanalysis i.e. identifying what is need for
the system, not how the system willachieve its goals. This task is complicated by
the fact that there are often at least two parties involved in the software
development clientand a developer.
The developer has to develop the system to meet the clients needs. The
usually does not understand theclients problem domain, and theclient often does
not understand the issues involved in the software systems. This causes
communication gap, which can bebridged bygathering information from theclient
and also making him understand what the system will do. In case of our system
database design, the data structure design etc are all defined in this phase. After
designing parta software development model is created.
SYSTEM ANALYSIS:
-
8/7/2019 Copy of Black
27/71
27 | P a g e
The phase is detailed appraisal of existing system. This appraisal includes
how the system works and what it does.
Italso include finding out in more detail whatarethe problems with system
and what user requires from a new system or any new changes in system. The
output ofthis phase results in model of system.
The model describes the system function and data and system information
flow. The phase also contains the detail set of user requirement and these
requirements are used to set objectives fora new system.
A system analysis should bethe first undertaking ofa feasibility studyas it
clearly defines the project outlineand theclients' requirements.
Once these questions have been answered the person/s undertaking thefeasibility study will have outlined the project needs definition.
GANTT CHART:
A Ganttchart is a horizontalbarchart used in project managementas atool
forgraphically representingthe schedule ofa set of specificactivities ortasks. The
horizontalbars indicatethelength oftimeallocated to each activity, so the x-axis
ofa Ganttchart is subdivided into equal units oftime, e.g., days, weeks, months.
-
8/7/2019 Copy of Black
28/71
28 | P a g e
They-axis ofa Ganttchart, on the other hand, simplylists alltheactivities ortasks
being monitored bythe Ganttchart.
A simplelookata Ganttchart should enable its userto determine which
tasks takethelongesttimeto complete, which tasks are overlapping with each
other, etc.
A Ganttchartindicatesthefollowing:
1) Durations and timelines ofthelisted activities;
2) Thetargetand actualcompletion dates oftheactivities;
3) Thecost ofeach activity;
4) The person orgroup of persons responsible foreach activity;
5) Milestones in the progress ofthe project.
GNATT CHART:
We planned our projectaccordingto the Ganttchartas follows,
1. Project Search 1
2. Finalization 2
3. Allocation 3
4.
Investigation of
System Requirements 4
-
8/7/2019 Copy of Black
29/71
29 | P a g e
5.
Data & Process
Modeling 5
6. System Design 6
7. Program Design 7
8. Program Coding8
9. Unit Testing 9
10. System Integration 10
11.
System
Implementation 11
12. Acceptance Testing 12
W1 W2 W3 W4 W5 W6 W7 W8 W9 W10W11W12 W13 W14 W15 W16W17 W18 W19 W20 W21
EVENT TABLE:
Event Trigger Source Activity Response Destination
Patient Take
Appointmentof Doctor
Doctors
Availability
Receptionist Create new
AppointmentEntry
Assign
AdmissionID
Patient
DoctorcheckPatient
PatientDetails Doctor Attend thePatient Checkhis/herHealth
Problems
Patient
Doctor
GivesPrescription
Prescription
Details
Doctor Doctor
GivesMedicines or
Tests
Assign a
PrescriptionID
Patient
-
8/7/2019 Copy of Black
30/71
30 | P a g e
suggestto
Patient
Patientgate
Admittedinto Hospital
Patient
Details
Receptionist Store new
PatientsDetails
Assign
AdmissionAnd Patient
ID
Patient
Patientget
Discharge
Discharge
Details
Receptionist Generate
DischargeCard
Assign
DischargeID
Patient
Timetogenerate Bill
Receptionist GenerateBill
Bill Patient
Add newDoctor
Doctordetails
Receptionist Store newdoctor
details
Assigndoctor ID
doctordetails
Add new
Nurse
Nurse details Receptionist Store Nurse
details
Assign
Nurse ID
Nurse
details
Add newWard boy
Ward boydetails
Receptionist StoreWardboy details
AssignWard boy ID
Ward boydetails
Add new
Ward
Ward details Receptionist StoreWard
details
Assign
Ward ID
Ward
details
Add new
Room
Room
details
Receptionist Store Room
details
Assign
Room ID
Room
details
Add newBed
Bed details Receptionist Store Beddetails
Assign Bed ID
Bed details
Cancel ofAppointment
AppointmentDetails
Receptionist Cancels thePatients
Appointment
Patient
Generate
Employeepayment
Patient
details
Receptionist Store
Patientspayment
details
Patient
-
8/7/2019 Copy of Black
31/71
31 | P a g e
Data Dictionary:-
Patient Details Table:
Field Name Data Type Description
Patient_ID Text Patient ID
Date Date/Time Date of Data Entry
Patient_Name Text Patient Name
Gender Text Patients Gender
Age Number Patients Age
Address Text Patients Address
Contact_Number Text Patients Contact Number
Blood_Group Text Patients Blood Group
Room_ID Text Patients Admitted Room ID
Admission Details Table:
Field Name Data Type Description
Admission_ID Text Patients Admission ID
Admission_Date Date/Time Patients Admission Date of
-
8/7/2019 Copy of Black
32/71
32 | P a g e
Hospital
Patient_ID Text Patients ID
Patient_Name Text Patients Name
Admission_Time Date/Time Patients Admission Time in
Hospital
Room_Type Text Patients Admitted Room
Type
Room_ID Text Patients Admitted Room ID
BedDetails:-
Field Name Data Type Description
Bed_ID Text Patients Admitted Bed ID
Date Date/Time Data Entry Date
Room_ID Text Patients Admitted Room ID
Bed_Status Text Patients Admitted Bed Status
Bill Details:-
Field Name Data Type Description
Patient_ID Text Patients ID
Date Date/Time Bill Entry Date
Bill_ID Text Patients Bill ID
Patient_Name Text Patients Name
Consultation_Charges Currency Doctors Consultation Charges
Visiting_Charges Currency Doctors Visiting Charges
Nursing_chsrges Currency Doctors Nursing_chsrges
Admission_Charges Currency Patientss Admission_Charges
OT_Charges Currency Doctors OT_Charges
Surgen/Physician_Charges Currency Doctors
-
8/7/2019 Copy of Black
33/71
33 | P a g e
Surgen/Physician_Charges
Anasthesia_Charges Currency Doctors Anasthesia_Charges
Other Currency Doctors Othercharges
Total_Amount Currency Total_Bill Amount
Total_Amount_Paid Currency Total_Bill Amount_Paid
Balance Currency BalancePainding
Payment_Type Text Payment Type
Cheque_Cre_DD_No Text Cheque,etc Numbers
Bank_Name Text BankName
Payment_Date Date/Time BillPayment Date
Discharge Details:
Field Name Data Type Description
Discharge_ID Text Patients Discharge ID
Discharge_Date Date/Time Discharge Date
Patient_ID Text Patients ID
Admission_ID Text Patients Admission ID
Patient_Name Text Patients Name
Doctor_Incharge Text Doctoer Incharge When
Discharge is taken
Discharge_Time Date/Time Discharge Time
Doctor Details:
Field Name Data Type Description
Doctor_ID Text Doctors ID
Date Date/Time Date of Data Entry
-
8/7/2019 Copy of Black
34/71
34 | P a g e
Doctor_Name Text Doctors Name
Gender Text Doctors Gender
Age Number Doctors Age
Address Text Doctors Address
Contact_Number Text Doctors Contact Number
Blood_Group Text Doctors Blood Group
Education Text Doctors Education
Specialist_In Text Doctor in which he/she is
Specialist in
Prescription Details:-
Field Name Data Type Description
Patient_ID Text Patients ID
Diagnosies_Date Date/Time Diagnosies Date
Patient_Name Text Patients Name
Patient's_Test's Text Patients Recomonded Tests
Other Text Other recomonded Tests
Injection_Date Date/Time Patients Next Injection Date
Medicines_Prescribed Text Patients Medicines Prescribed
Remark Text Remark given to the Patient by
Doctor
Reconsultation_Date Date/Time Patients Reconsultation Date
-
8/7/2019 Copy of Black
35/71
35 | P a g e
ENTITY-RELATIONSHIP DIAGRAM:
An entity is a thing oran object in the real world that is distinguishable
from all set of objects. An entity set is a set ofentities ofthe sametypethat share
same properties, orattributes. An entity is represented bya set ofattributes.
A relationship is an association among severalentities. A relationship set is a
set of relationships ofthe sametype. Theassociation between entity sets is referred
to as participation.
E-R diagram is a relationship between two entity sets. E-R diagram can
express the overall structure ofa databasegraphically. E-R diagrams are simple
and clear.
-
8/7/2019 Copy of Black
36/71
36 | P a g e
E-R DIAGRAM
HospitalPatient visit
User
hav
information
Doctor
check
Give
Prescription
to
Discharge
to
do Patientre istration
Roomgives
to
givesBill
to
Give
-
8/7/2019 Copy of Black
37/71
37 | P a g e
CONTEXT DIAGRAM:
User Details
Patient Details
Doctor Details
Nurse Details
Ward Boy Details
Patient
Doctor
User 0.0
Hospital
Management
System
Nurse
Ward Boy
-
8/7/2019 Copy of Black
38/71
38 | P a g e
DATA FLOW DIAGRAM (DFD):
A data flow diagram is graphical tool used to describe and analyze
movement of datathrough a system. Thesearethecentraltooland thebasis
from which the othercomponents are developed.
The transformation of data from input to output, through processed,
may be described logically and independently of physical components
associated with the system. These are known as the logical data flow
diagrams.
The physical data flow diagrams show the actual implements and
movement of data between people, departments and workstations. A full
description of a system actually consists of a set of data flow diagrams.
Each component in a DFD is labeled with a descriptive name.
Process is further identified with a number that will be used for
identification purpose. The development of DFDs is done in severallevels.
Each process in lower level diagrams can be broken down into a more
detailed DFD in the nextlevel.
The lop-level diagram is often called context diagram. It consists a
single process bit, which plays vital role in studyingthecurrent system. The
process in the context level diagram is exploded into other process at the
firstlevel DFD.
-
8/7/2019 Copy of Black
39/71
39 | P a g e
Level 1
User Details
Patient Details
Doctor Details
Nurse Details
User1.0
Login
2.0
Patient
Regestr-
ation
3.0
Doctor
Informa
-tion
4.0
Nurse
Informa
tion
-
8/7/2019 Copy of Black
40/71
40 | P a g e
Ward Boy Details
Level 2
User Details
5.0
Ward
Boy
Info.
User1.1
Change
Password
1.2
Add new
user
-
8/7/2019 Copy of Black
41/71
41 | P a g e
Level 3
Admission Details
Room Details
Bill Details
User2.1
Add
new
Patiens
2.3
give
Billto
Patients
2.2
giveRoom to
Patients
Report
-
8/7/2019 Copy of Black
42/71
42 | P a g e
Level 4
Doctor Details
Doctor Schedule
DoctorAppointment
User
3.1
Add new
doctor
3.2
Add
Doctor
Schedule
3.3
Add
Doctor
Appointme
ent
3.4
Cancel
Doctor
Appointme
nt
-
8/7/2019 Copy of Black
43/71
43 | P a g e
Level5
Prescription Details
Discharge Details
Doctor
4.1
GivePrescriptio
-n To
Patient
4.2
GiveDischarge
to
Patient
Report
Report
-
8/7/2019 Copy of Black
44/71
44 | P a g e
IMPLEMENTATION
-
8/7/2019 Copy of Black
45/71
45 | P a g e
IMPLEMENTATION:
TimerControlforVisual Basic 6.0 Users:
TheTimercontrol in Visual Basic 6.0 is replaced bytheTimercomponent
in Visual Basic 2005. The names of some properties and events are different, and
in somecases thereare differences in behavior.
Conceptual Differences
TheVisual Basic 6.0Timercontrol is an actualcontrolthat is sited on a
form at design time; however it is not visibleat run time.
TheVisual Basic 2005 Timer is acomponentthat is added to thetrayat
design time; as acomponent it has no Parent property.
Interval Property
In Visual Basic 6.0, you can disableaTimercontrolby setting
theInterval propertyto 0.
In Visual Basic 2005, thelower range forthe Interval property is 1. Ifyou
setthe intervalto 0, itthrows a run-timeexception. TheVisual Basic
2005 Timercomponent uses the Enabled propertyto allow you to disable or
enable it.
Code ChangesfortheTimerControl
The followingexamples illustrate differences in codingtechniques between
Visual Basic 6.0and Visual Basic 2005.
-
8/7/2019 Copy of Black
46/71
46 | P a g e
Code ChangesforStartingandStoppingaTimerControl
The following code demonstrates how toenable and disable a Timercontrol at run time.
' Visual Basic 6.0
Public Function TimerOn(Interval As Integer)
If Interval > 0 Then' Start the timer.
Timer1.Interval = Interval
Else' Stop the timer.
Timer1.Interval = 0
End IfEnd Function
TimerC
ontr
olPr
opertyand E
vent Equi
valencies
The followingtablelists Visual Basic 6.0 properties and events, along with
theirVisual Basic 2005 equivalents. Those properties and events that havethe
same nameand behaviorare notlisted.
This table provides links to topics explainingbehavior differences. Where
there is no directequivalent in Visual Basic 2005, links are provided to topics that
presentalternatives.
Propertiesand E
vents
Visual Basic
6.0
Visual Basic 2005 Equivalent
Indexproperty New implementation. For more information, see Control Arrays for Visual
Basic 6.0 Users
Intervalproperty Interval :-The behavior of the Interval property has changed. For more
information, see Timer Interval property behavior has changed
Parentproperty New implementation. The Timer is a component and cannot have a parent.
Timer event Tick
ontrolIn Visual Basic 6 (VB6)THE ADO DATA CONTROLIN VB6.0:
-
8/7/2019 Copy of Black
47/71
47 | P a g e
To createan ADO Data Controlthatexposes a Recordset in your
application, atthe minimum you need to do the following:
y Specifya Connection by filling in the ConnectionString property.
y Specify how to derivea Recordsetby settingthe RecordSource
property (which is acomplex property requiring its own dialogbox to set
up).
Usingthe DateTimePickerControl:
The DateTimePickercontrol displays dateand/ortime information and acts
as the interfacethrough which users can modify dateand time information. The
control's displayconsists of fields thatare defined bythecontrol's format string.
When the DateTimePicker is dropped down, a MonthView calendar is displayed.
Thecontrol has two different modes:
y Dropdown Calendar mode (default) enables the userto displaya dropdown
calendarthatcan be used to selecta date.
y Time Format mode enables the userto selecta field in the date display (i.e.
the month, day, year, etc.)and press the up/down arrow to the right ofthe
controlto set its value.
You can usethecontrolto displaythe date in various preset formats including
Short Date (11/14/97), LongDate (Friday, November14, 1997)and Time (7:00:00
PM). You can also specifycustom formats using formatting strings.
Data Gridcontrol:
-
8/7/2019 Copy of Black
48/71
48 | P a g e
The Data Grid control in Visual Basic 6.0 is replaced by the Windows
Forms DataGridView control in Visual Basic 2005. The names of some properties,
methods, events, and constants are different, and in some cases there are
differences in behavior.
Conceptual Differences:
Data Binding
TheVisual Basic 2005 DataGridView control does not need data-specific
methods orevents becauseallactions are performed through the data source.
Because ofthis separation of presentation and data functionality, the data source
can bechanged with or without user interface input. Also, multiplecontrols bound
to the same data source willalways stay in sync.
Navigation
Properties for viewing and navigation in the DataGrid control (such as
TabAction, EnterAction, AllowArrows, WrapCellPointer, and Scrollable) are no
longer needed. Forexample, thegrid functions as though the Scrollable property is
setto True:
If more dataexists than can be displayed, a scrollbarappears automatically.
Excel-style navigation through the grid is the default, allowing the user to move
forward with the TAB keyand backward with the SHIFT+TAB keycombination.
For more information, see Default Keyboard and Mouse Handling in theWindows
Forms DataGridView Control.
Caption Property
In Visual Basic 6.0, the Caption property is used to displayatitlebarabove
thegrid; ifthe Caption property is leftempty, no titlebar is displayed.
-
8/7/2019 Copy of Black
49/71
49 | P a g e
TheVisual Basic 2005 DataGridView control does not supportatitlebar.
Data Formatting
In Visual Basic 6.0, formatting data in the DataGrid control is handled using
the DataFormat propertyand a StdDataFormat object. Formatting is applied on a
column-by-column basis.
In theVisual Basic 2005 DataGridView control, formatting is accomplished
usingthe Format property ofa DataGridViewCellStyle object. Formattingcan be
applied to individualcells, columns, or rows.
SelLength, SelStart, SelText Properties
In theVisual Basic 6.0 DataGrid control, when acellenters edit mode, the
SelLength, SelStart, and SelText properties can be used to setthe initial position of
thecaret orto highlighta portion ofthetext in thecell.
In theVisual Basic 2005 DataGridView control, these properties no longer
exist. Thecells in the DataGridView controlarebased on the TextBox control; by
adding code to the EditingControlShowing event handler you can access the
SelectionLength, SelectionStart, and SelectedText properties of the underlying
control.
The Data Environment Designer:
The Data Environment designer provides an interactive, environment for
creating programmatic data access. At design time, you set property values for
Connection and Command objects, writecodeto respond to ActiveX Data Object
(ADO)events, executecommands, and createaggregates and hierarchies. You can
-
8/7/2019 Copy of Black
50/71
50 | P a g e
also drag Data Environment objects onto forms or reports to create data-bound
controls.
With the Data Environment designer, you can accomplish the following
tasks:
Add a Data Environment designerto aVisual Basic project.
Create Connection objects. Create Command objects based on stored procedures,
tables, views, synonyms, and SQL statements.
Drag fields within a Command object from the Data Environment designer
onto aVisual Basic form or the Data Report designer. The Data Environment
designer provides a means to easilyaccess data in yourVisual Basic project.
Connection and Command objects that you can organize by either
connection or object. Drag-and-drop functionality that allows you to drag fields
and tables from your Data Environment designer onto a form or the Data Report
ActiveX designer. Data-bound controls areautomaticallycreated on the form. The
Data Environmentextensibility object model, which allows you to createadd-ins.
These add-ins can programmatically manipulate any Data Environment object
within aVisual Basic project.
-
8/7/2019 Copy of Black
51/71
51 | P a g e
FORMS
-
8/7/2019 Copy of Black
52/71
52 | P a g e
-
8/7/2019 Copy of Black
53/71
53 | P a g e
-
8/7/2019 Copy of Black
54/71
54 | P a g e
-
8/7/2019 Copy of Black
55/71
55 | P a g e
-
8/7/2019 Copy of Black
56/71
56 | P a g e
-
8/7/2019 Copy of Black
57/71
57 | P a g e
-
8/7/2019 Copy of Black
58/71
58 | P a g e
-
8/7/2019 Copy of Black
59/71
59 | P a g e
-
8/7/2019 Copy of Black
60/71
60 | P a g e
-
8/7/2019 Copy of Black
61/71
61 | P a g e
-
8/7/2019 Copy of Black
62/71
62 | P a g e
TESTING
PROJECT TESTING:
-
8/7/2019 Copy of Black
63/71
63 | P a g e
1) COMPILATIONTEST:
y It was agood ideato do our stress testingearly on, because itgave us
time to fix some of the unexpected deadlocks and stability problems that
only occurred when components were exposed to very high transaction
volumes.
2) EXECUTIONTEST:
y This program was successfully loaded and executed. Because ofgood
programmingthere were no execution errors.
3) OUTPUTTEST:
y The successful output screens are placed in the output screens section.
-
8/7/2019 Copy of Black
64/71
64 | P a g e
FUTURE SCOPE
FUTURE SCOPE:
User friendly screens are provided.
The project has been appreciated byallthe users in the organization.
The usage of software increases theefficiency, decreases theeffort.
It has been efficientlyemployed as a Site management mechanism.
-
8/7/2019 Copy of Black
65/71
65 | P a g e
It has been thoroughlytested and implemented.
-
8/7/2019 Copy of Black
66/71
66 | P a g e
CONCLUSION
CONCLUSION
-
8/7/2019 Copy of Black
67/71
67 | P a g e
The development ofthe proposed software is aimed at facilitating systematic
recording of various events as they happen and generating various outputs to help
not only in day-to-day operations but also for management information and
analysis purposes. This software is about managing a Building Construction
System. This system takes care ofall data required forthis system.
This system allows entryto authenticated person only with the help of
password login system. This keeps thetrespassers away from the system. Oncethe
system is provided with correct password. Itallows the userto workefficiently on
buildingconstruction management system.
-
8/7/2019 Copy of Black
68/71
68 | P a g e
REFERENCES
REFERENCES
WWW.GOOGLE.COM
WWW.YAHOO.COM
SOFTWARE ENGINEERING
BY ROGER.S. PRESSMAN
-
8/7/2019 Copy of Black
69/71
69 | P a g e
VISUAL
BASIC 6.0BY JAMES BRADELY
-
8/7/2019 Copy of Black
70/71
70 | P a g e
BIBLIOGRAPHY
BIBLIOGRAPHY
* DFD: - DATA FLOW DIAGRAM.
* ERD: - ENTITY RELATIONSHIP DIAGRAM.
* ADODB: - ACTIVEX DATA OBJECT DATABASE.
-
8/7/2019 Copy of Black
71/71