Click here to load reader
Post on 21-Feb-2017
Embed Size (px)
Medical Diagnosis PortalBy D.Saiesh Reddy (2210313723)Department of Computer Science and EngineeringGITAM Institute of TechnologyGITAM UNIVERSITYVisakhapatnamJune 2016GRAFX IT SOLUTION PVT . lTD.
IntroductionWeb Portals:A web portalis most often one specially designedwebsite that brings information together from diverse sources in a uniform way. Usually, each information source gets its dedicated area on the page for displaying information (a port let); often, the user can configures which ones to display.
Motivation for Web Portals:In this computer age, everything is simplified and computerized. Computerization of information provides flexibility, the transactions in a computer are atomic and the information stored in computers are more secure and reliable. So, Portals play an important role in fast-paced development. Now-a-days, all the organizations including schools, colleges, hospital and governments depend on Web portals as these have a better communication, file sharing, knowledge sharing, information sharing and analyzing the data. To be precise, they give us Inserting, Viewing, Updating and Deleting features to perform on them on the data.
Introduction to Medical diagnosis portalA medical Diagnosis Portal is a simple web portal used to address the common medical related work issues. The web portal
Helps us to maintain a database of hospitals and their information. (Address, Phone numbers, Doctors list and Available timings)Helps us to maintain a database of doctors and their information.Assist us in exploring drugs and their availability.Let us store Health records on the cloud.Let us view hospital timings and doctor availability.Help us in booking appointments.Stores Visit sheets for future purposes.Shows diseases and their symptoms for self analysis.
Introduction to Medical diagnosis portalFurther, Doctors add their profiles and their information to doctors database, that acts as marketing and helps them grow in their fields. The portal also helps them in examining patients past health records which gives them a clear picture about patients health. A patient need not go to the hospital for enquiry; he can access that information inside the web portal itself. He can further book an appointment directly in the portal. Panic can be avoided in emergency situations by searching nearest hospitals.
Hibernate ORM enables developers to more easily write applications whose data outlives the application process. As an Object/Relational Mapping (ORM) framework, Hibernate is concerned with data persistence as it applies to relational databases (via JDBC).In Simple terms, Hibernate is used to map the result of SQL queries to java objects, which means we may not use SQL queries.
In JAVA, we use DAO Pattern which consists of a data access object(DAO) interface, a simple plain old java object (POJO) and its implementation class. These are used to create a basic middle-ware for a module.In this program, ArrayLists are used instead of Arrays. An ArrayList is a dynamic data structure, meaning items can be added and removed from the list. ArrayLists are dynamic in sizewhich means they are resizable. It gives the program, the flexibility and saves space.
Middle-wareData Access Object (DAO) Interface:
The Data Access Object is basically an object or an interface that provides access to an underlying database or any other persistence storage. In this software an interface is used for each module with add, update, delete, list and get attributes.
Data Access Object concrete class (Implementation):
DAO interface is implemented using an implementation class. This class is responsible to get data from a data sourcewhich can be database / xml or any other storage mechanism.
Middle-warePlain Old Java Object (POJO):
POJO stands for Plain Old Java Object, is a Java object not bound by any restriction other than those forced by the Java Language Specification. It is a class with attributes and its getters and setters. Attributes used for Visit POJO module are:
Front-endHTML, Bootstrap CSS and Java Script are used for the front-end of the program. Further JSON and AJAX are used to create an auto fill dropdown box. For instance, in Visit module, when the hospital is selected the next drop down box called doctor gets filled up with list of doctors who work in that hospital.
AJAX:With AJAX a user can Update a web page without reloading the page.Request data from a server - after the page has loaded.Receive data from a server - after the page has loaded.Send data to a server - in the background.
Plan a visit:Adding a new Visit Sheet
Deleting a Visit sheet
Updating a Visit Sheet
ConclusionAll the results in this sample project are clear and we got what we needed. Ive learnt how to build an Enterprise web application in this project. Ive have tested all the major operations on databases and also learnt to deploy application into server. Ive also found some easy ways of developing web applications. Ive learnt all the basic skills needed for developing a web application.
The project can perform all the basic functions like maintaining a database of hospitals and their information and a database of doctors and their information, storing Visit sheets, letting us store Health records on the cloud, etc.
This project has a wide scope to make more and more changes to this project. Some of the future developments that can be possible on this project are:Providing a display photo upload feature to users.Providing different access privileges to different kind of users.Integrating a payment gateway.Extending our technology to REST.