A Reliable tool for Hospital Administration System

Similar documents
SOFTWARE REQUIREMENT SPECIFICATION

Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity

JDBC, Transactions. Niklas Fors JDBC 1 / 38

Accessing databases in Java using JDBC

Architecture Diagram. Figure 1 : Architecture Diagram

Murach s Beginning Java with Eclipse

Visit for more.

CSC System Development with Java. Database Connection. Department of Statistics and Computer Science. Budditha Hettige

Java Database Connectivity (JDBC) 25.1 What is JDBC?

Electricity Bill Management System

Maharaja Agrasen Model School Sample Paper Subject: Informatics Practices

Hygieia The Health Management System User Guide and Test Plan

Database Applications. SQL/PSM Embedded SQL JDBC

DATABASE DESIGN. Fields in database table have a data type. Some of the data types used in database table are explained below.

Tiers (or layers) Separation of concerns

CSE 212 : JAVA PROGRAMMING LAB. IV Sem BE (CS&E) (2013) DEPT OF COMPUTER SCIENCE & ENGG. M. I. T., MANIPAL. Prepared By : Approved by :

JDBC [Java DataBase Connectivity]

Summer Holiday Home Work Informatics Practices Class 12 th

ERwin and JDBC. Mar. 6, 2007 Myoung Ho Kim

Implementation of Databox

Tutorial: Using Java/JSP to Write a Web API

How To Get Database Schema In Java Using >>>CLICK HERE<<<

Accessing a database from Java. Using JDBC

Introduction to Programming Using Java (98-388)

Oracle Application Express: Administration 1-2

e-pg Pathshala Subject: Computer Science Paper: Web Technology Module: JDBC INTRODUCTION Module No: CS/WT/26 Quadrant 2 e-text

Databases 2012 Embedded SQL

Corrective Action User Walkthrough: New Portal Login

AGRICULTURE BASED ANDROID APPLICATION

BASIC ELEMENTS OF A COMPUTER PROGRAM

Université Antonine - Baabda

reaches back to the user over port 80. See figure 1.1 for a visual representation of the state approach.

Syslog Technologies Innovative Thoughts

CreateServlet.java

JDBC Drivers Type. JDBC drivers implement the defined interfaces in the JDBC API for interacting with your database server.

Mapping of Organization using Google Map

KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION MODEL QUESTION PAPER INFORMATICS PRACTICES (065) ANSWER KEY- SET-2

Flask Web Development Course Catalog

WEB SERVICES EXAMPLE 2

13 th Windsor Regional Secondary School Computer Programming Competition

SQL DML and DB Applications, JDBC

CS420: Operating Systems. OS Services & System Calls

MEDILAB ADMINISTRATION: AN IMPLEMENTATION OF SECURE SYSTEM

Detailed Design. Java Problem Repository & Education Platform JPREP

Lecture 2. Introduction to JDBC

Web Application Performance Testing with MERCURY LOADRUNNER

SESSION ENDING EXAMINATION Set-3 INFORMATICS PRACTICES CLASS XI BLUE PRINT Long Short Very Short

Databases and SQL Lab EECS 448

Sample Paper SET1. 1 (a) Ans. Ans.

SQL in a Server Environment

13 Creation and Manipulation of Tables and Databases

IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 02, 2015 ISSN (online):

Chapter 4 Defining Classes I

PFS. Parking for Smarties. Rolando Yanez Quoc-Khanh Vuong Robert Collins Khine Htun

User manual for OPD Module NIMS

COP4540 TUTORIAL PROFESSOR: DR SHU-CHING CHEN TA: H S IN-YU HA

Advanced Object-Oriented Programming Introduction to OOP and Java

Why use a database? You can query the data (run searches) You can integrate with other business systems that use the same database You can store huge

Table of Contents. Revision History. 1. Introduction Purpose Document Conventions Intended Audience and Reading Suggestions4

Java: The Complete Reference PDF

ITEC1620 Object-Based Programming. Lecture 13

Active Monitoring System for Android Devices using Cloud 1 Sagar Bhalodia, 2 K. Navin 1 Student, 2 Assistant Professor

Cyrus Shahabi Computer Science Department University of Southern California C. Shahabi

Application Programming for Relational Databases

CMPUT 391 Database Management Systems. JDBC in Review. - Lab 2 -

Sentences Installation Guide. Sentences Version 4.0

HT Remote Management System User Manual

INTRODUCTION TO JDBC - Revised spring

CS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1

CONTENTS. Chapter 1 Getting Started with Java SE 6 1. Chapter 2 Exploring Variables, Data Types, Operators and Arrays 13

The Design of JDBC The Structured Query Language Basic JDBC Programming Concepts Query Execution Scrollable and Updatable Result Sets

Database Application Development

3. Course Outlines: Specific Objectives Contents Teaching Hours understand the basic concept of java programing. 1. Introduction to Java Language

JAVA GUI PROGRAMMING REVISION TOUR III

Principles and Techniques of DBMS 6 JSP & Servlet

Contents Introduction 1

Oracle Exam 1z0-809 Java SE 8 Programmer II Version: 6.0 [ Total Questions: 128 ]

Java Database Connectivity

JRadioButton account_type_radio_button2 = new JRadioButton("Current"); ButtonGroup account_type_button_group = new ButtonGroup();

Test Results. Generation Java. ID-10t Consultations. Assistant Professor Department of Computer Science Siena College

You write standard JDBC API application and plug in the appropriate JDBC driver for the database the you want to use. Java applet, app or servlets

Hospital Management System User Manual

Data Types, Variables and Arrays. OOC 4 th Sem, B Div Prof. Mouna M. Naravani

1) PHP & mysql, Mini project: This will taught by trainer. 2) PHP & mysql, Live project, This will taught by trainer.

Database Access with JDBC. Dr. Jens Bennedsen, Aarhus University, School of Engineering Aarhus, Denmark

One Touch Alarm System for Women s Safety using GSM

1. Introduction 1.1 Purpose Page No 1.2 Scope Page No 1.3 Terms, Definitions, Acronyms and Abbreviations..Page No 1.4 Overview of Document...

Themis An Automated Online Programming Contest System

Half Yearly Examination SESSION: CLASS: Scholars 2 Subject :- Informatics Practices (ANSWER KEY) SECTION-A

Java language. Part 1. Java fundamentals. Yevhen Berkunskyi, NUoS

Chart Review. Installation Guide

Notes of the course - Advanced Programming. Barbara Russo

INDIAN SCHOOL MUSCAT THIRD PRELIMINARY EXAMINATION INFORMATICS PRACTICES

Enterprise Java Unit 1- Chapter 6 Prof. Sujata Rizal

SUJIT MAHARJAN RESTAURANT BILLING SYSTEM

Outline. Lecture 10: Database Connectivity -JDBC. Java Persistence. Persistence via Database

Compaq Interview Questions And Answers

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

Text Editor with Database Interface

XXXXXXXXXXXXXXXXXXX First Pre-Board Examination, Informatics Practices

Transcription:

A Reliable tool for Hospital Administration System Govardhana.G 1, Dr. R. Chinnaiyan 2 1. PG Scholar, Department of MCA, New Horizon College of Engineering ( Autonomous), VTU, Bangalore 2. Professor, Department of MCA, New Horizon College of Engineering ( Autonomous), VTU, Bangalore Abstract: A reliable tool for hospital administration system application will give information to access for the users in an efficient manner without time consuming. It contains individual information regarding inpatients, outpatients, doctors, and rooms and billing information. As soon as information registered, they can modify and search as well. Rooms and doctors will be allocate for the patient within the field without referring to the other context to add. Billing will be generating automatically when the patient details will be filled by the administrator. Keywords: Hospital, Information, Doctors, Patients, Admin, Billing I. INTRODUCTION A reliable tool for hospital administration system application will give information to access for the users in an efficient manner without time consuming. It contains individual information regarding inpatients, outpatients, doctors, rooms and billing information. As soon as information registered, they can modify and search as well. Rooms and doctors will be allocate for the patient within the field without referring to the other context to add. Billing will be generating automatically when the patient details will be filled by the administrator. This Application is a tool, which is used to stored and access the hospital related information whenever and wherever the information needed. II. PROBLEM DESCRIPTION The application works by the administrator the procedure is, He/she need to Register to get permission to login as He/She login to the index page which leads o access room, doctors, inpatients and out patients forms. An each form will have similar objectives like register and retrieve purpose so the user need to registers doctors and rooms details before allotting for the particular patients. III. PROPOSED METHODOLOGY In the Existing system hospital Administration System maintains the critical information manually. Retrieval of patient is very difficult. To find the details of particular patient information is very inconvenient and time taking process. Patient information is maintained in records which takes lot of time for doctor to analyse.a Reliable Tool For Hospital Administration System control over the information of the patient. All the details of the patient, disease, allotted doctors and rooms medicines are stored in the database which doesn t lead to data damage or data duplication. IV. FRONT-END - NET BEANS It is a software development platform written in Java. The Net Beans Platform allows applications to be developed from a set of modular software components called modules. Applications based on the Net Beans Platform, including the Net Beans integrated development environment (IDE), can be extended by third party developers. The Net Beans IDE is primarily intended for development in Java, but also supports other languages, in particular PHP, C/C++ and HTML5. Net Beans is cross-platform and runs on Microsoft Windows, Mac OS X, Linux, Solaris and other platforms supporting a compatible JVM. The Net Beans Team actively supports the product and seeks feature suggestions from the wider community. Every release is preceded by a time for Community testing and feedback. The Net Beans Platform is a framework for simplifying the development of Java Swing desktop applications. The Net Beans IDE bundle for Java SE contains what is needed to start developing Net Beans plug-in and Net Beans Platform based applications; no additional SDK is required. Applications can install modules dynamically. Any application can include the Update Centre module to allow users of the application to download digitally signed upgrades and new features directly into the running application. Reinstalling an upgrade or a new release does not force users to download the entire application again. The platform offers reusable services common to desktop applications, allowing developers to focus on the logic specific to their application. 1410

V. BACK-END- MYSQL MySQL is one of the most exciting programs first created and marketed for large main frame computers and mini computers over more than 10 years. MySQL relational database management system has improved full featured SQL based database system. VI. PL/SQL (PROCEDURE LANGUAGE/SQL): PL/SQL is an extension of SQL. The SQL statements seen so far are primitive and could be used to provide outputs for simple operations. When the operations become complex, it becomes inevitable to combine these statements in producing the result. So, MySQL introduces the procedural language PL/SQL, which helps in building a program that could be compiled and executed. PL/SQL block can contain any number of SQL statements integrated with flow of control statements. Thus PL/SQL combines the data manipulating power of SQL with flow of control statements integrated with of control statements. Thus PL/SQL combines the data manipulating power of SQL with date processing power of procedural language. VII. IMPLEMENTATION OS : Windows 7/8 Language : Java Front end : Net Beans Back end : MySQL Web Server : Xampp Apache Tomcat server VIII. 1. LOGIN MODULE Login will helps the user to access the application approprints. Figure1: LOGIN MODULE A. Patient Details The patient details will be registered and retrieved whenever need to access. Validation will be done in order to store accurate information. Figure2: IN PATIENT DETAILS 1411

B. Doctors Details The Doctor details will be registered and retrieved whenever need to access and allocate for the patients. Validation will be done in order to store accurate information. Figure 3: Doctor Details: C. Billing Details Billing details can be stored and retrieved by the user when patient registration is done. It will show particular charges, consultation fee and total amount for that patient. Figure 4: Reports for Patient Billing IX. SAMPLE CODING:1. LOGIN FORM: private void jbutton1actionperformed(java.awt.event. Action Event evt) { String user=jtextfield1.gettext(); String pwd= new String (jpasswordfield1.getpassword()); Prepared Statement ps; try { Class. for Name("com. mysql. jdbc. Driver"); Connection con=drivermanager.getconnection("jdbc:mysql://localhost:3306/hospital","root",""); Statement stmt=con. Create Statement(); ps = con. prepare Statement("SELECT `username`, `password` FROM `login` WHERE `username` =? AND `password` =?"); ps.setstring(1, jtextfield1.gettext()); ps.setstring(2, String.valueOf(jPasswordField1.getPassword())); ResultSet result = ps.executequery(); if(result.next()){ 1412

System.out.println("login successful"); JOptionPane.showMessageDialog(null,"login successfull"); this.dispose(); Index_Hospital I=new Index_Hospital(); I.setVisible(true); } else{ JOptionPane.showMessageDialog(null, "wrong!username or password"); }} catch (Exception e){ JOptionPane.showMessageDialog(this, e.getmessage());}} A. Doctor Form public void email_vlidation(){ if(!(pattern.matches("^[a-za-z0-9]+[@]{1}+[a-za-z0-9]+[.]{1}+[a-za-z0-9]+$",d_mail_id.gettext()))){ JOptionPane.showMessageDialog(null,"please enter the valid email_id");}} public void genid(){ String sql="select max(right(doctor_id,3)) as no from doctor"; con=drivermanager.getconnection("jdbc:mysql://localhost:3306/hospital","root",""); pst=con.preparestatement(sql); rs=pst.executequery(); while(rs.next()){ if(rs.first()==false){ d_id.settext("1");} else{ rs.last(); int auto_no=rs.getint(1)+1; String no=string.valueof(auto_no); int nolong=no.length(); for(int a=0;a<3-nolong;a++){ no=no;} d_id.settext(no);}}} catch(exception e){ JOptionPane.showMessageDialog(null, e);}} boolean tableclick=false; Connection con; PreparedStatement pst; Statement st; ResultSet rs; JTextField ppp; JTable Jtable; private void update_table(){ String sql="select * from doctor"; con=drivermanager.getconnection("jdbc:mysql://localhost:3306/hospital","root",""); pst=con.preparestatement(sql); rs=pst.executequery(); table_display.setmodel(dbutils.resultsettotablemodel(rs));} catch(exception e){ JOptionPane.showMessageDialog(null,e);}} 1413

public void msg(int ch){ if(ch==1) JOptionPane.showMessageDialog(this, "Please select data from the table before Updating!"); else JOptionPane.showMessageDialog(this, "Please select data from the table before Deleting!"); } public void loadtabledata(defaulttablemodel model,jtable tbl,int sa){ int rows = model.getrowcount(); if (rows > 0) { for (int i = 0; i < rows; i++) { model.removerow(0);}} Class.forName("com.mysql.jdbc.Driver"); Connection con=drivermanager.getconnection("jdbc:mysql://localhost:3306/hospital","root",""); Statement sst=con.createstatement(); ResultSet rrs=null; switch(sa){ case 1:rrs=sst.executeQuery("select * from doctor");} ResultSetMetaData metadata = rrs.getmetadata(); int columncount = metadata.getcolumncount(); while (rrs.next()) { String[] a=new String[columnCount]; String[]content=a; for (int i = 0; i < columncount; i++) { a[i]=metadata.getcolumnname(i+1); content[i]=rrs.getstring(a[i]);} model.addrow(content);} }catch(sqlexception e){ e.printstacktrace(); }catch (ClassNotFoundException ex) { Logger.getLogger(doctor.class.getName()).log(Level.SEVERE, null, ex); }} X. CONCLUSION The computer provides a great accuracy, speed and increasing volume of data which accelerate the work of that department.computer is a central element in an organization, despite the fact that the computer is nothing more than a tool for processing data, but its real role is to provide information for decision and for planning and controlling operation In present world, life is going very fast and everybody want a good and correct information in very short time for this we had developed this software program for easily handling. So our aim to develop a proposed system which solved this problem and save the time and gives good facility. We tried our best to develop this software package which solves the problems or difficulties of the current system. From the above study it can be concluded that the A RELIABLE TOOL FOR HOSPITAL ADMINISTRATION SYSTEM is more efficient. Thus, we can say that this system fulfills most of the necessary requirement that is to Record information of an organization. Due to time constraints and other certain limitation we have built our project at a very elementary level but we assure you that the next version of the project will be satisfying all the requirements. REFERENCES [1] Java the Complete Reference 9 th Edition By-Herbert Schildt, Tata McGraw hill edition-2014 [2] Elmasri and Navathe, Fundamentals of Database system 7 th edition.,2015 [3] www.javapoint.com [4] www.stackoverflow.com [5] www.youtube.com 1414