Java Microproject
Java Microproject
A Report On
“MICRO PROJECT”
“Healthcare Management"
MSBTE, PUNE
Page 1 of 20
Computer Engineering
CERTIFICATE
This is to certify that:
Page 2 of 20
Computer Engineering
TABLE OF CONTENTS
2. Action plan 5
3. Introduction 6
4. Project Objective 7
5. Algorithm 8
6. Flowchart 9
7. Program 10,
11,
12,
13,
14,
15,
16
8. Output 17
9 Implementation of microproject 18
10. Conclusion 19
11. Reference 20
ABSTRACT
Page 3 of 20
Computer Engineering
differentbranches. In most of the cases the database is similar from one hospital to
another hospital. In those cases also we can’t easily adapt a new technology in the
single center. Then we can expect the complexity while integrating multi-specialty
share among the different Medicare Centers. Lack of generic and unique model we
have to implement the same set of data model for every newly established
Medicare Center.
Page 4 of 20
Computer Engineering
ACTION PLAN
Page 5 of 20
Computer Engineering
INTRODUCTION
This project deals with the Corporate Medicare Management. This project is very
helpful to both Medicare staff as well as to the public. It is having mainly
Administration and Client modules.The growing quality demand in the hospital
sector makes it necessary to exploit the wholepotential of stored data efficiently,
not only the clinical data, in order to improve diagnoses andtreatments, but also on
management, in order to minimize costs and improve the care given to the patients.
It is a process of implementing all the activities of the hospital in a computerized
automated way to fasten the performance. This project is to maintain the patient
details, lab reports and to calculate the bill of the patient. You can also manually
edit any patient details and issue bill receipt to patient within few seconds.
This project gives the procedural approach how a patient gets treatment, details
about date of treatment and finally depending on different criteria like room
allocated, lab reports, treatment and medicine take etc., how billing is calculated.
This project adds the details of every individual patient and the staff appointed to
them, it stores the schedule of doctors and their operation timings. It is a user
friendly system which can be used by any person. It can also store the duration of a
patient till the time of discharge. It helps in the satisfaction of the user and the
public itself.
Page 6 of 20
Computer Engineering
PROJECT OBJECTIVE
the knowledge of all the staff, patients, treatment provided, and prescription
The main purpose of this software is to cut back the time taken through the
This project is helpful to cut back the time and quality of maintaining the
records.
It also helps the incorrect maintenance of patient and patient details. This
project has GUI primarily based software system that can facilitate storing,
updating, and retrieving the information through varied user- friendly menu-
driven modules.
Page 7 of 20
Computer Engineering
ALGORITHM -
Step 1: Enter the correct password.
Step 2: Menu will be displayed choose the required option you want to perform.
Step 3: Enter Option 1 i.e. the administration module which enables us to perform
the following
operation illustrate below:
1. Insert the patient information
2. Update the patient information
3. View the patient information
4. Delete the patient information
Step 4: If number of patient>=max patients the display patient can’t be added and
return
If person is outpatient go to step 6 else step 5.
Step 5: option to enter the
following details:
1. Name :
2. Age :
3. Sex:
4. Address:
5. Weight:
Step 6: Now enter option 3 i.e outpatient module which take the information of the
outpatient i.e illustrated below:
1. Enter the ID :
2. Enter the dept depending on the disease :
3. Room number:
4. Date of admitted date of discharge :
Step 7: Now press 4 to create patient report which ask us to
1. Enter patient ID number:
2. Enter Weight
3. Enter Name of Doctor appointed to
4. Date
5. Enter Precipitation to be followed.
Step 8: now enter 5 to generate bill of the patient,to generate bill
Step 9: Stop
Page 8 of 20
Computer Engineering
FLOW CHART -
Page 9 of 20
Computer Engineering
PROGRAM -
import java.util.*;
import java.lang.String;
import java.io.*;
import java.time.format.DateTimeFormatter;
import java.time.LocalDateTime;
class Info
{
Info()
{
System.out.print("\t\t\t\t\t
__________________________________________________________________
_________________________\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| WELCOME TO E-HEALTH CARE MANAGEMENT
SYSTEM |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t| -Brought To You by |\n");
System.out.print("\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t|
__________________________________________________________________
_________________________|\n");
Page 10 of 20
Computer Engineering
try
{
System.in.read();
}
catch(Exception e)
{
System.out.println("Press 'Enter' key to continue!");
}
}
//Taking multiple words
String readString()
{
Scanner scanner = new Scanner(System.in);
return scanner.nextLine();
}
//Log in Module
void login()
{
Page 11 of 20
Computer Engineering
String pass;
int a;
System.out.print("\t\t\t\t\t
__________________________________________________________________
____________
_________ \n");
System.out.print("\n\t\t\t\t\t\t\t\tE-HEALTH CARE MANAGEMENT SYSTEM \
n");
System.out.print("\t\t\t\t\t
__________________________________________________________________
_____________________ \n");
System.out.println("\n\n\t\t\t\t\t\t\t\t------------------------------");
System.out.print("\n\t\t\t\t\t\t\t\t\t LOGIN \n");
System.out.print("\t\t\t\t\t\t\t\t------------------------------\n\n");
System.out.print("\t\t\t\t\t\t\t\tEnter the Password: ");
pass=scan.next();
if(pass.equals("deccan"))
{
System.out.print("\n\n\t\t\t\t\t\t\t\tAccess Granted!\n");
pressAnyKeyToContinue();
}
else
{
System.out.print( "\n\n\t\t\t\t\t\t\t\tAccess Aborted...\n\t\t\t\t\t\t\t\t1.Try
Again\n\n\t\t\t\t\t\t\t\t2.Exit");
System.out.print("\n\n\t\t\t\t\t\t\tEnter the option: ");
a=scan.nextInt();
if(a==1)
login();
else if(a==2)
System.exit(0);
else
{
System.out.print("\n\n\t\t\t\t\t\tInvalid Choice\n");
Page 12 of 20
Computer Engineering
login();
}
}
}
//To get Date
public void getCurrentTimeUsingDate()
{
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy/MM/dd
HH:mm:ss");
LocalDateTime now = LocalDateTime.now();
dadm=dtf.format(now);
}
void menu()
{
int k;
//giving option to the user for their choice
System.out.print("\t\t\t\t\t
__________________________________________________________________
____________
_________ \n");
System.out.print("\n\n\t\t\t\t\t\t\t\t E-HEALTH CARE MANAGEMENT
SYSTEM \n\n");
System.out.print("\t\t\t\t\t
__________________________________________________________________
____________
_________ \n");
System.out.print("\n\n\t\t\t\t\t\tPlease, Choose from the following Options: \n\n");
System.out.print("\t\t\t\t\t\t
_________________________________________________________________ \
n");
System.out.print("\t\t\t\t\t\t| |\n");
System.out.print("\t\t\t\t\t\t| 1 >> Add New Patient Record |\n");
Page 13 of 20
Computer Engineering
getCurrentTimeUsingDate();
try {
// Assume default encoding.
FileWriter fileWriter = new FileWriter(fileName+".txt");
// Always wrap FileWriter in BufferedWriter.
BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);
System.out.print("\
n*************************************************************
*******\n");
bufferedWriter.write("Date of admission: "+dadm);
bufferedWriter.newLine();
System.out.print("\nName : ");name=readString();bufferedWriter.write("Name :
"+name);
bufferedWriter.newLine();
System.out.print("\nAddress :
");address=readString();bufferedWriter.write("Address :
"+address);
bufferedWriter.newLine();
System.out.print("\nContact Number :
");contact=scan.nextLong();bufferedWriter.write("Contact Number : "+contact);
bufferedWriter.newLine();
System.out.print("\nAge : ");age=scan.nextInt();bufferedWriter.write("Age :
"+age);
bufferedWriter.newLine();
System.out.print("\nSex : ");sex=scan.next();bufferedWriter.write("Sex : "+sex);
bufferedWriter.newLine();
System.out.print("\nBlood Group : ");bg=scan.next();bufferedWriter.write("Blood
Group : "+bg);
bufferedWriter.newLine();
System.out.print("\nAny Major disease suffered earlier :
Page 15 of 20
Computer Engineering
System.out.print("\
n*************************************************************
*******\n");
bufferedWriter.write("\
n**********************************************************
**********\n\n");
bufferedWriter.newLine();System.out.print("\nInformation Saved Successfully\
n");
}
|\n");System.out.print("\t\t\t\t\t| |\
n");System.out.print("\t\t\t\t\t| |\
n");System.out.print("\t\t\t\t\t| |\
n");System.out.print("\t\t\t\t\t| |\
n")
}
}
Page 16 of 20
Computer Engineering
OUTPUT :
Page 17 of 20
Computer Engineering
IMPLEMENTATION OF
“E Healthcare Management System”
We first selected the proper topic and made a suitable schedule for working
Due to time management extra time was saved and all team members
Page 18 of 20
Computer Engineering
CONCLUSION
where the user can perform task like entering data and appending the information
• All the operations are carried automatically preventing a lot of manual work.
• Additional checks have also been incorporated into the system to avoid
Page 19 of 20
Computer Engineering
REFERENCE
Website Name:
www.google.com ,
www.javatpoint.com ,
www.tutorialspoint.com
Page 20 of 20