Hospice Dossier Control: 1.1.purpose of The Project
Hospice Dossier Control: 1.1.purpose of The Project
Hospice Dossier Control: 1.1.purpose of The Project
CHAPTER 1
1. INTRODUCTION
1. INTRODUCTION :
Hospice Dossier Control is a program to facilitate medical advice and diagnosis when
the participants are geographically isolated. It is the use of medical information exchanged
from one site to another via electronic communications for the health and education of the
patient or health-care provider and for the purpose of improving patient care. However, the
definition of Hospice Dossier Control is changing fast to incorporate greater functionality,
which is made possible by greater bandwidths and facilities like Audio and Web
conferencing.
The program aims at creating facilities for consultation, diagnosis, test recommendation
and drug prescription. A heavy emphasis is laid on making the doctor aware of the patient’s
past clinical history by updating all the patient details after every visit. The patient is also
given the flexibility to choose form a pool of experts and seek second opinion from
knowledgeable resources. The program accomplishes the task of providing a suitable
platform for patients to address their consulting needs by the dint of a single click
The current application is being designed to fulfill the day to day activities to be
done in a typical hospital environment. Right from patient enquiry till discharge of the
patient all the activities need to be automated in the web enabled application.
Java Architecture:
Java architecture provides a portable, robust, high performing environment for
development. Java provides portability by compiling the byte codes for the Java Virtual Machine,
which is then interpreted on each platform by the run-time environment. Java is a dynamic
system, able to load code when needed from a machine in the same room or across the planet.
Compilation of code:
When you compile the code, the Java compiler creates machine code (called byte
code)for a hypothetical machine called Java Virtual Machine(JVM). The JVM is supposed to
execute the byte code. The code is written and compiled for one machine and interpreted on all
machines .This machine is called Java Virtual Machine.
Compiling and interpreting java source code:
Java interpreter
Pc compiler Java Byte
code
Java
Source code Macintosh Platform
interpretermaci
compiler independen
ntosh
t
SPARC Java
Compiler interpreter(SPA
RC)
)))
Java code is compiled into Byte codes. With other languages, the program code is compiled into
a language that the computer can understand.
Java is object-oriented
The Java programming language is OBJECT-ORIENTED, which makes program design
focus on what you are dealing with, rather than on how you are going to do something. This
makes it more useful for programming in sophisticated projects, because one can break the
things into understandable components. A big benefit is that these components can then be
reused.
The class paradigm allows one to encapsulate data so that specific data values are those
using the data cannot see the function implementation. Encapsulation makes it possible to make
the changes in code without breaking other programs that use that code.
If for example, the implementation of a function is changed, the change is invisible to any
programmer who invokes that function, and does not affect his/her program, except hopefully to
improve it.
Servlets/JSP
INTRODUCTION
A servlet is similar to proprietary server extension, except that it runs inside a Java Virtual
Machine (JVM) on the server, so it is safe and portable
Unlike CGI and Fast CGI, which use multiple processes to handle separate program or
separate requests, separate threads within web server process handle all servlets. This means
that servlets are all efficient and scalable.
Servlets are portable; both across operating systems and also across web servers. Java
Servlets offer the best possible platform for web application development.
Servlets are used as replacement for CGI scripts on a web server, they can extend any sort of
server such as a mail server that allows servelts t extend its functionality perhaps by
performing a virus scan on all attached documents or handling mail filtering tasks.
Servlets provide a Java-based solution used to address the problems currently associated with
doing server-side programming including inextensible scripting solutions platform-specific
API’s and incomplete interface.
Servlets are objects that conform to a specific interface that can be plugged into a Java-based
server.Servlets are to the server-side what applets are to the server-side what applets are to
the client-side-object byte codes that can be dynamically loaded off the net. They differ form
applets in than they are faceless objects(with out graphics or a GUI component).They serve
as platform independent, dynamically loadable,plugable helper byte code objects on the
server side that can be used to dynamically extend server-side functionality.
For example an HTTP servlet can be used to generate dynamic HTML content when you
use servlets to do dynamic content you get the following advantages:
A t t r a c t i v e n e s s o f S e r v l e t s:
They are many features of servlets that make them easy and attractive to tuse these
include:
Are secure-even when downloading across the network, the servlet security model
and servlet and box protect your system from unfriendly behavior.,
One of the great advantages of the servlet API is protocol independent. It assumes
nothing about:
Features of Servlets:
Servlets are persistent.Servlet are loaded only by the web server and can maintain
services between requests.
Servlets are fast. Since servlets only need to be l\loaded once, they offer much
better performance over their CGI counterparts.
Servlets are platform independent.
Servlets are classes and interfaces from tow packages,javax .servlet and
javax.servlet.http.The java.servlet package contains classes t support generic, protocol-
independent servlets.The classes in the javax.servelt.http package To and HTTP specific
functionality extend these classes
Unlike a java program, a servlet does not have a main() method,Instead the server in the
process of handling requests invoke certain methods of a servlet.Each time the server
dispatches a request to a servlet, it invokes the servelts Service() method,
A generic servlet should override its service() method to handle requests as appropriate for
the servlet.The service() accepts two parameters a request object and a response object .The
request object tells the servlet about the request, while the response object is used to return a
response
InContrast.anHttp servlet usually does not override the service() method.Instead it overrides
doGet() to handle GET requests and doPost() to handle Post requests. An Http servlet can
override either or both of these modules the service() method of HttpServlet handles the
setup and dispatching to all the doXXX() methods.which iswhy it usually should not be
overridden
Loading Servlets:
Servlets can be loaded from their places. From a directory that is on the CLASSPATH. The
CLASSPATH of the JavaWebServer includes service root/classes/, which is where the system
classes reside
Invoking Servlets
A servlet invoker is a servlet that invokes the “server” method on a named servlet.If the
servlet is not loaded in the server,then the invoker first loades the servlet(either form local
disk or from the network) and the then invokes the “service” method.Also like applets,local
servlets in the server can be identified by just the class name.In other words, if a servlet name
is not absolute.it is treated as local.
The client can ask for a document that is served by the servlet.
The client(browser) can invoke the servlet directly using a URL, once it has been
mapped using the SERVLET ALIASES Section of the admin GUI
The servlet can be invoked through server side include tags.
The servlet can be invoked by placing it in the servlets/directory
The servlet can be invoked by using it in a filter chain
The Servlet life cycle is one of the most exciting features of Servlets.This life cycle is a
powerful hybrid of the life cycles used in CGI programming and lower-level NSAPI and
ISAPI programming.
The servlet life cycle allows servlet engines to address both the performance and resource
problems of CGI and the security concents of low level server API programming.
Servlet life cycle is highly flexible Servers hava significant leeway in how they choose to
support servlets.The only hard and fast rule is that a servlet engine must confor to the
following life cycle contact:
It’s perfectly legal for a servlet t be loaded, created an initialzed in its own JVM,only to be
destroyed an dgarbage collected without hancdling any clientrequest or after handling just
one request
The most common and most sensible life cycle implemntations for HTTP servelts are:
Just like Applets servlets can define init() and destroy() methods, A servlets
init(ServiceConfig) method is called by the server immediately after the server constructs the
servlet’s instance.Depanding on the server and its configuration, this can be at any of these
times
In any case, nit() is guaranteed to be called before the servlet handles its first request
The init() method is typically used to perform servlet initialization creating or loading objects
that are used by the servlet in handling of its request. In order to providing a new servlet any
information about itself and its environment, a server has to call a servelts init() method and
pass an object that implement the ServletConfig interface.
This ServletConfig object supplies a servlet with information about its initialization
parameters.These parameters are given to the servlets and are not associated with any single
request.They can specify initial values, such as where a counter should begin counting, or
default values, perhaps a template to use when not specified by the request,
The server calls a servlet’s destroy() method when the servlet is about to be unloaded. In the
destroy() method, a servlet should free any resources it has acquired that will not be garbage
collected. The destroy() method also gives a servlet a chance to write out its unsaved. cached
information or any persistent information that should be read during the next call to init().
1.4.PROPOSED SYSTEM:
CHAPTER 2
2.REQUIREMENT ANALYSIS
Requirement analysis is done in order to understand the problem of the software system
is to solve. The problem could be automating an existing manual process, developing an new
automated system, or a combination of two. For large systems that have many features, and that
need to perform many different tasks, understanding the requirements of the system is a major
task.
2.1.FUNCTIONAL REQUIREMENTS:
Number of modules:
After careful analysis the system has been identified to have the following modules:
1.Administrator Module
2.Doctors Module
3.Patient Module
4.Kiosk Module
Modules:
The system is proposed to have the following modules along with the functional
requirements.
1. Administrator module:
Administrator regularly takes backup of all kinds of data. Administrator can view the log
information. Administrator also generates system reports. Administrator also provides online
help manual for patients.
2. Doctors module:
A doctor must register with the system. Doctor’s can manage their profiles. Doctor’s give
appointments to patients, e-prescriptions, and view patient’s history. Doctor can interact with
patient using web-cam.
3. Patient module:
A patient must register with the system. Patients can make online appointment, view their
previous health records, doctor’s prescriptions, lab reports and medical expenses. Patients can
manage their profiles. Patient can interact with doctor using web-cam. In case of any medical
error (wrong medication or lab report) patient can register a complaint. Patient’s grievance and
feedback goes to Admin he can forward it to any doctor to answer.
4. Kiosk module:
Kiosk Manager views and adjusts appointments, performs day open and close activities
and calculates his commission.
Hardware : Pentium
RAM : 1GB
2.4.Quality Requirement:
Reliability:
The system is more reliable because of the qualities that are inherited from the chosen platform
java.The code built by using java is more reliable.
Supportability:
The system is designed to be the cross platform supportable.
Test Cases:
All the test cases that are applied on the application should be passed thus ensuring the
efficiency of the applications.
2.5 DEPLOYMENT REQUIREMENTS:
Operating System : Windows or Linux
Software : Java 2 standard edition,
Design UML Diagrams : IBM Rational Rose
CHAPTER 3
3.ARCHITECTURE
Application
JDK XML Get Data
SQLITE
Administrator
Maintaining
Patient and Doctor
details Send &
Receive
reports
Receive res
Gives res to from
patients 0 Doctor
Maintain
Transaction
Manager
CHAPTER 4
4. DESIGN
Software design sits at the technical kernel of the software engineering process and is
applied regardless of the development paradigm and area of application. Design is the first step
in the development phase for any eng
ineered product or system. The designer’s goal is to produce a model or representation of
an entity that will later be built. Beginning, once system requirement have been specified and
analyzed, system design is the first of the three technical activities -design, code and test that is
required to build and verify software.
The importance can be stated with a single word “Quality”. Design is the place where
quality is fostered in software development. Design provides us with representations of software
that can assess for quality. Design is the only way that we can accurately translate a customer’s
view into a finished software product or system. Software design serves as a foundation for all
the software engineering steps that follow. Without a strong design we risk building an unstable
system – one that will be difficult to test, one whose quality cannot be assessed until the last
stage.During design, progressive refinement of data structure, program structure, and procedural
details are developed reviewed and documented. System design can be viewed from either
technical or project management perspective. From the technical point of view, design is
comprised of four activities – architectural design, data structure design, interface design and
procedural design.
System design is transition from a user oriented document to programmers or data base
personnel. The design is a solution, how to approach to the creation of a new system. This is
composed of several steps. It provides the understanding and procedural details necessary for
Bhoj Reddy Engineering College for Women
19
Hospice Dossier Control
implementing the system recommended in the feasibility study. Designing goes through logical
and physical stages of development, logical design reviews the present physical system, prepare
input and output specification, details of implementation plan and prepare a logical design
walkthrough.
The database tables are designed by analyzing functions involved in the system and
format of the fields is also designed. The fields in the database tables should define their role in
the system. The unnecessary fields should be avoided because it affects the storage areas of the
system. Then in the input and output screen design, the design should be made user friendly. The
menu should be precise and compact.
UML DIAGRAMS
Unified Modeling Language(UML) is a standardized general-purpose modeling language
in the field of software engineering. It is used to specify,visualize,modify,construct and document
the artifacts of an object oriented software Intensive system under development.
GOALS OF UML
The primary goals in the design of UML are:
1. Provide users with a ready to use expensive visual modeling language so they can develop and
exchange meaningful models.
2. Provide extensibility and specialization mechanisms to extend the core concepts.
3. Be independent of particular programming languages and development processes
4. Provide formal basis for understanding the modeling language.
Class diagram:
Database table is the process of producing a detailed data model of a database. The term database
design can be used to describe many different parts of design of an overall database system.
It gives the clear picture about all the entities and their attributes and also the relation that exists
between these entities.
USER REGISTRATION:
After carefully understanding the requirements of the client the the entire data storage
requirements are divided into tables. The below tables are normalized to avoid any anomalies
during the course of data entry
Data Dictionary:
Complicants
Doctor
Loginaudit
Logindetails
Loginprofile
Patient
CHAPTER 5
5. MODULES
In the flexibility of the uses the interface has been developed a graphics concept in mind,
associated through a browses interface. The GUI’S at the top level have been categorized as
1. Administrative user interface
2. The operational or generic user interface
NUMBER OF MODULES
Administration:
The administration module will keep track of all expenses incurred during patient diagnosis. It
should also maintain information related to bed occupancy in hospital. Billing is the key activity
in this module
Patients
Doctors
Kiosk Manager
Administration
Patients:
The diagnosis results and the cost incurred for each test will be maintained
Doctors
The Doctors module keeps track of doctors personal information and their
available timings in hospital.
Kiosk Manager:
CHAPTER 6
IMPLEMENTATION
Implementation is the stage where the theoretical design is turned into a working
system. The most crucial stage in achieving a new successful system and in giving
confidence on the new system for the users that it will work efficiently and effectively.
The system can be implemented only after thorough testing is done and if it is found
to work 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. Two major tasks of preparing the
implementation are education and training of the users and testing of the system.
The more complex the system being implemented, the more involved will be the
systems analysis and design effort required just for implementation.
PSEUDOCODE:
<!DOCTYPE html>
<html>
<li class="active"><a href="index.html">Home</a></li>
</ul>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="banner-info">
<div class="banner-logo text-center">
<h1 class="white">Welcome to
Administrator <i class="fa fa-medkit"></i></h1>
</div>
<div class="banner-text text-center">
<h3 class="white">Admin Login</h3>
<form action="adminlogin.jsp"
method="post">
<table align="center" height=200px width=200px cellspacing=10px>
CHAPTER 7
7. SCREENSHOTS
SCREEN OF HOME PAGE:
LEVELS OF TESTING
In order to uncover the errors present in different phases we have the concept of levels of
testing. The basic levels of testing are
SYSTEM TESTING
Here the entire software system is tested. The reference document for this process is the
requirements document, and the goal is to see if software meets its requirements.
Here entire ‘Communication Media’ has been tested against requirements of project and
it is checked whether all requirements of project have been satisfied or not.
ACCEPTANCE TESTING
Acceptance Test is performed with realistic data of the client to demonstrate that the
software is working satisfactorily. Testing here is focused on external behavior of the system; the
internal logic of program is not emphasized. In this project 'Hospic Dossier control’ I have
collected some data and tested whether project is working correctly or not.
Test cases should be selected so that the largest number of attributes of an equivalence
class is exercised at once. The testing phase is an important part of software development. It is
the process of finding errors and missing operations and also a complete verification to
determine whether the objectives are met and the user requirements are satisfied.
For unit testing structural testing based on the branch coverage criteria will be used. The
goal is to achieve branch coverage of more than 95%.System testing will be largely functional in
nature.
Test Deliverables:
The following documents are required.
Unit Test Report for each Unit
Test case specification for system testing
Test report for system testing
The test case specification for system testing has to be submitted for review before
system testing commences
Schedule and Personnel Allocation
The entire testing is performed for a period of 10 days. Test case specifications for the
system testing are produced while unit testing is going on. The number of persons allocated for
my project is one.
TEST CASE REPORT
Here we specify all the test cases that are used for system testing. The different
conditions that need to be tested along with the test cases used for testing those conditions and
the expected outputs are given. The goal is to test the different functional requirements, as
specified in the requirements document. Test cases have been selected for both valid and invalid
inputs.
8.5. IMPLEMENTATION
Implementation is the stage where the theoretical design is turned into a working
system. The most crucial stage in achieving a new successful system and in giving
confidence on the new system for the users that it will work efficiently and effectively.
Bhoj Reddy Engineering College for Women
65
Hospice Dossier Control
The system can be implemented only after thorough testing is done and if it is found
to work 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. Two major tasks of preparing the
implementation are education and training of the users and testing of the system.
The more complex the system being implemented, the more involved will be the
systems analysis and design effort required just for implementation.
The implementation phase comprises of several activities. The required hardware and
software acquisition is carried out. The system may require some software to be developed. For
this, programs are written and tested. The user then changes over to his new fully tested system
and the old system is discontinued.
CHAPTER 9
Bhoj Reddy Engineering College for Women
66
Hospice Dossier Control
9. CONCLUSION
It has been a great pleasure for me to work on this project. This project proved good for
me as it provided practical knowledge of not only programming in web based application and no
some extent Windows Application and SQL Server, but also about all handling procedure related
with – “The e-Hospital”. It also provides knowledge about the latest technology used in
developing web enabled application and client server technology that will be great demand in
future. This will provide better opportunities and guidance in future in developing projects
independently.
BENEFITS:
The project is identified by the merits of the system offered to the user. The merits of this project
are as follows: -
It’s a web-enabled project.
This project offers user to enter the data through simple and interactive forms. This is very
helpful for the client to enter the desired information through so much simplicity.
The user is mainly more concerned about the validity of the data, whatever he is entering.
There are checks on every stages of any new creation, data entry or updation so that the user
cannot enter the invalid data, which can create problems at later date.
Sometimes the user finds in the later stages of using project that he needs to update some of
the information that he entered earlier. There are options for him by which he can update the
records. Moreover there is restriction for his that he cannot change the primary data field.
This keeps the validity of the data to longer extent.
User is provided the option of monitoring the records he entered earlier. He can see the
desired records with the variety of options provided by him.
From every part of the project the user is provided with the links through framing so that he
can go from one option of the project to other as per the requirement. This is bound to be
simple and very friendly as per the user is concerned. That is, we can sat that the project is
user friendly which is one of the primary concerns of any good project.
Data storage and retrieval will become faster and easier to maintain because data is stored in
a systematic manner and in a single database.
Decision making process would be greatly enhanced because of faster processing of
information since data collection from information available on computer takes much less
time then manual system.
Allocating of sample results becomes much faster because at a time the user can see the
records of last years.
Easier and faster data transfer through latest technology associated with the computer and
communication.
Through these features it will increase the efficiency, accuracy and transparency,
LIMITATIONS:
The size of the database increases day-by-day, increasing the load on the database back up
and data maintenance activity.
Training for simple computer operations is necessary for the users working on the system.
CHAPTER 10
11. BIBLIOGRAPHY
R e f e r e n c e s f o r t h e P r o j e c t D e v e l o p m e n t We r e Ta k e n F r o m t h e f o l l o w i n g
B o o k s a n d We b S i t e s .
JAVA Technologies
HTML
JDBC