Michael Woods
Computer Science Hospital Information Management System Project
In the present and future, hospitals will be looking for better and more efficient healthcare information management systems to reduce their efforts in maintaining all the vital information related to the hospital’s management. Before the business leaders of hospitals go out purchase a program or hire a programmer to design a program, they always are aware of the advantages and disadvantages of the proposed system. In this project I am going to discuss the reasons why these programs are needed and propose the program I designed for the betterment of hospital information management.
A healthcare service spends a major amount of time and energy in dealing with various technicalities and formalities when it comes to running the business. These activities, though, important to maintaining uniformity and separation of daily tasks and functions, nevertheless, are time consuming. The time spent in their planning and execution can be spent in better ways, such as dealing with patients and their needs. The more the medical staff is able to spend their time and energy on the patients, the better the quality of treatment will be received by the patients. To save this valuable time, it is not unusual in today’s world of the healthcare industry to employ programming and information services to share the workload. This also helps in simplifying multiple processes of maintaining and accessing records, administrative work and more. The major concern of any hospital would be to provide a high quality of healthcare services to its patients, while at the same time ensuring that the errors are minimal. A slight mistake in the handling of the patient’s or doctor’s information can endanger the lives of many individuals and also can destroy the reputation of that healthcare organization.
In my project I designed a healthcare management system that will allow the hospital’s administration to store, access, and modify information and reports on the patients and doctors. The source code I used was the start/runner of the program. From there I had to design the rest. The program is basically a layout/template for doctors and nurses to organize information their patients and staff. The only bump I ran into was when I tried to design a login/register part of the program. I was unsuccessful in making that part work. The hardest part of the project was figuring out how to design the program the frames and make the buttons work, but overtime most of the issues were resolved.

Source Code:

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;

class start extends JFrame implements ActionListener
{
JButton bpat,bdoc,bbill,breport,bback,bexit;
JLabel linfo,linfo1,linfo2,linfo3,linfo4;
start()
{
super("Hospital Management System");
setSize(1024,768);
setVisible(true);
setLayout(null);

linfo=new JLabel("SELECT THE APPROPRIATE OPTION");
linfo.setBounds(30,137,210,20);
add(linfo);

linfo1=new JLabel("1. For Inserting, Modifying, Retrieving Patients related Data");
linfo1.setBounds(50,205,335,20);
add(linfo1);

linfo2=new JLabel("2. For Inserting, Modifying, Retrieving Doctors related Data");
linfo2.setBounds(50,275,335,20);
add(linfo2);

linfo3=new JLabel("3. Billing Details");
linfo3.setBounds(50,345,150,20);
add(linfo3);

linfo4=new JLabel("4. Patient and Doctor related Data");
linfo4.setBounds(50,413,250,20);
add(linfo4);

bpat=new JButton("Patient", new ImageIcon("images/Advances.png"));
bpat.setBounds(430,200,180,30);
add(bpat);

bdoc=new JButton("Doctor",new ImageIcon("images/Advances.png"));
bdoc.setBounds(430,270,180,30);
add(bdoc);

bbill=new JButton("Billing",new ImageIcon("images/Attendance.png"));
bbill.setBounds(430,340,180,30);
add(bbill);

breport=new JButton("Reports",new ImageIcon("images/edit.png"));
breport.setBounds(430,408,180,30);
add(breport);

bback=new JButton("BACK" ,new ImageIcon("images/preview_Hover.png"));
bback.setBounds(230,515,100,30);
add(bback);

bexit=new JButton("EXIT" ,new ImageIcon("images/exits.png"));
bexit.setBounds(730,515,100,30);
add(bexit);

bpat.addActionListener(new patient());
bdoc.addActionListener(new doctor());
bbill.addActionListener(new billing());
bexit.addActionListener(new exit());
bback.addActionListener(new back());
breport.addActionListener(new report());

}

public void actionPerformed(ActionEvent ae)
{}


class report implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
new Report();
setVisible(false);
}
};

class back implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
new Login();
setVisible(false);
}
}



class patient implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
new patStart();
setVisible(false);
}
}

class doctor implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
new docStart();
setVisible(false);
}
}

class billing implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
new Billing();
setVisible(false);
}
}


class exit implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
System.exit(0);
}
}
}