Sunteți pe pagina 1din 105

Faculty: Ton Long Phuoc

Batch: 2007-0903-Y1
Group: 03
Students: No. Full name Roll No.
1 Ha Mai Tung Student367151

2 Ha Thi Minh Phuong Student319554

3 Nguyen Thi Vinh Hang Student320189

4 Cao Nguyen Khoi Student258026


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Table of Contents
REVIEW 1 ...................................................................................................................................................................... 3
 Problem Definition ..................................................................................................................................... 4
 Synopsis...................................................................................................................................................... 5
 Customer requirement specification (CRS) ................................................................................................ 6
 Client ...................................................................................................................................................... 6
 Inputs provided by the Client ................................................................................................................ 6
 Hardware requirements ........................................................................................................................ 6
 Software requirements .......................................................................................................................... 6
 Scope of the Work (in brief) .................................................................................................................. 6
 Contact................................................................................................................................................... 7
 Architecture & design of the project ......................................................................................................... 7
 Data flow diagram (DFD) ............................................................................................................................ 8
 Entity relationship (ER) diagram .............................................................................................................. 10
 Database design/structure ....................................................................................................................... 11
 Project Planning ....................................................................................................................................... 14
 Task sheet 1.............................................................................................................................................. 15
REVIEW 2 .................................................................................................................................................................... 16
 Nurses’s Forms ......................................................................................................................................... 17
 Doctor’s Forms ......................................................................................................................................... 28
 Admins’s Forms ........................................................................................................................................ 41
 Task sheet 2.............................................................................................................................................. 60
REVIEW 3 .................................................................................................................................................................... 61
 Installation Guide ..................................................................................................................................... 62
 User Guide................................................................................................................................................ 69
 Nurses .................................................................................................................................................. 69
 Doctors................................................................................................................................................. 79
 Admins ................................................................................................................................................. 86

 Task sheet 3............................................................................................................................................ 105

Prepared by Ha Mai Tung Page 2


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Prepared by Ha Mai Tung Page 3


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Problem Definition

„SANJEEVANI‟ is a hospital providing the general health services. The information


about the patients admitted in the hospital is maintained properly yet such information
is not always easily accessible.

There is growing realization that the more widespread use of information


technology to increase efficiency and enable changes in health care delivery processes
could do much to improve the performance of the health care system, within the
bounds of appropriate measures to protect the confidentiality of private health
information. Hence the higher authorities of hospital have decided to for a computer
based patient record system includes all the elements that facilitate the capture,
storage, processing, communication, security, and presentation of computer-based
patient record information.

Prepared by Ha Mai Tung Page 4


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Synopsis

The application will perform the following functions:

 Store information for managing patients‟, doctors‟ details in the database.


 Store information for managing rooms, beds in the database.
 Doctors:
o Allow login for doctors.
o Store doctors‟ details: doctors‟ subject, personal informations.
o Manage patients: Create/Update/Search/View patients‟ information
(patients‟ details).
o Allow patients to be discharged.
 Nurses:
o Register new patients , create new ExamInfo (ExamID).
 Admins:
o Allow login for admins.
o Manage Doctors: Create/Update/Search/View/Delete doctors; subjects
that doctors belong to.
o Manage patients: Create/Update/Search/View/Delete patients.
o Manage rooms - manage beds in rooms (if the patients has been
discharged then admins will mark it available); subjects that rooms belong
to; Create/Update/Search rooms.
o Manage examination information: assign doctors to patients; register bed
for patients; Create/Update/Search/View/Delete examination information.

Prepared by Ha Mai Tung Page 5


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Customer requirement specification (CRS)

Client: User (Doctors, Nurses, Admins)

Inputs provided by the Client:


- Inputs for the application
- Outputs from the application
- Process Involved in the application
- List of Reports

Hardware requirements:
 A minimum computer system that will help you access all the tools in the courses
is a Pentium 166 or better
 128 Megabytes of RAM or better
 Windows XP (or higher if possible).
For best performance, please use Windows Vista or Windows 7.

Software requirements:
 NetBeans IDE 6.0+
 Java SE 6.0+
 SQL Server 2005

Scope of the Work (in brief):


1. The system will support registering patients
2. Users of this system can search for patients by name, admission date, discharge
date etc.
3. Users can view the previous visit histories of any patient.
4. System can maintain the list of doctors in the hospital.
5. System can maintain the list of beds/rooms available in the hospital.
6. Patients are categorized into “In Patients” and “Out Patients”
7. Perform necessary validations.

Prepared by Ha Mai Tung Page 6


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Contact:
No Name Email

1 Ha Mai Tung (Team Leader) Hamaitung@gmail.com

2 Ha Thi Minh Phuong Ocbu1989@yahoo.com

3 Nguyen Thi Vinh Hang vijazazeika@yahoo.com

4 Cao Nguyen Khoi nguyenkhoi_90@yahoo.com

Architecture & design of the project

Two-Tier Architecture of the Project

Tier 1 : User Interface – GUI


Presentation Tier Component

Tier 2 :
Database Tier

Prepared by Ha Mai Tung Page 7


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Data flow diagram (DFD)

Sickness Authentication
information Management Details
Doctors Administrator
Patient

History patient

Confirm
authentication
Examine
Patients
Details
Details

Patients

DFD LEVEL 0 – Context Diagram

Prepared by Ha Mai Tung Page 8


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

DFD LEVEL 1

Prepared by Ha Mai Tung Page 9


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Entity relationship (ER) diagram

Admin
AdminName
Password

Doctor
DoctorID
Subject Doctor_Details
SubjectID
SubjectID DoctorID
Password
SubjectName FullName
DayOfBirth
IDCard
Address
Phone
ExamInfo Sex
ExamID
Room PatientID
RoomID Sickness
SubjectID Note
Type Patient_Details
DoctorID PatientID
FullName
DayOfBirth
IDCard
Sex
Address
Phone

Bed Inpatient
BedID ExamID
RoomID Submission_date
Available Discharge_date
BedID
RoomID

Prepared by Ha Mai Tung Page 10


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Database design/structure

1/Admin Table

Key Column Name Data Type Alow Nulls Description


PK AdminName char(10) NO Store Admin‟s login
name
Password char(10) NO Store Admin‟s login
password

2/Bed Table

Key Column Name Data Type Alow Nulls Description


PK BedID char(10) NO Store Bed‟s ID
PK RoomID char(10) NO Store Room‟s ID –
which is bed belong to
Available char(10) NO Store Yes/no – in order
to know what bed is still
available

3/Doctor Table

Key Column Name Data Type Alow Nulls Description


PK DoctorID char(10) NO Store Doctor‟s ID
SubjectID char(10) NO Store Subject‟s ID
Password char(10) NO Store Doctor‟s login
password

Prepared by Ha Mai Tung Page 11


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

4/Doctor Detail Table

Key Column Name Data Type Alow Nulls Description


PK DoctorID char(10) NO Store Doctor‟s ID
FullName varchar(50) YES Store Doctor‟s full
name
DayOfBirth datetime YES Store Doctor‟s
birthday
IDCard varchar(50) YES Store Doctor‟s
IDCard
Address varchar(50) YES Store Doctor‟s
Address
Phone bigint YES Store Doctor‟s
Phone
Sex char(10) YES Store Doctor‟s sex

5/ExamInfo Table

Key Column Name Data Type Alow Nulls Description


PK ExamID char(10) NO Store Exam‟s ID
PatientID char(10) NO Store Patient‟s
ID
Sickness varchar(50) YES Store patient‟s
sickness
Note varchar(MAX) YES Store Doctor‟s
note on
patient‟s
sickness
Type char(10) YES In/Out patient
DoctorID char(10) YES Store Doctor
who is assigned
to patient

Prepared by Ha Mai Tung Page 12


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

6/ Inpatient Table

Key Column Name Data Type Alow Nulls Description


PK ExamID char(10) NO Store ExamID of patient‟s
type “In patient”
Submission_date datetime YES Store submission date
Discharge_date datetime YES Store discharge date
BedID char(10) YES Store BedID
RoomID char(10) YES Store RoomID

6/Patient Detail Table

Key Column Name Data Type Alow Nulls Description


PK PatientID char(10) NO Store Patient‟s ID
FullName varchar(50) YES Store Full name
DayOfBirth datetime YES Store Birthday
IDCard varchar(50) YES Store IDCard
Sex char(10) YES Store Sex
Address varchar(50) YES Store Address
Phone bigint YES Store Phone number

7/Room Table

Key Column Name Data Type Alow Nulls Description


PK RoomID char(10) NO Store Room‟s id
SubjectID char(10) NO Store Room‟s
subject

8/Subject Table

Key Column Name Data Type Alow Nulls Description


PK SubjectID char(10) NO Store Subject‟s
id
SubjectName varchar(50) NO Store Subject‟s
name

Prepared by Ha Mai Tung Page 13


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Project Planning

Responsible
Week Objects Work Deadline
Member

1 Finish project‟s plan Tung Schedule project 12/31/2009

Write Problem Definition,


Finish introduction to project Tung 1/2/2010
Scope of work

Finish synopsis Phuong Write synopsis 1/3/2010

Finish architecture & CRS Hang Design architecture & CRS 1/5/2010
2
Finish DFD Phuong Design DFD 1/5/2010

Finish ERD Tung Design ERD 1/5/2010

Finish database Khoi Design Database 1/6/2010

3 Finish GUI Team Design application‟s GUI 1/15/2010

Finish coding Team Coding project 1/25/2010

Release Software‟s beta & Test software for bugs &


Team 1/27/2010
testing issues
4-5
Finish coding project &
Release final version Team 1/28/2010
testing

Writing review & taking


Finish UserGuide, Snapshots Team 1/30/2010
snapshots

6 Finish Project 1/31/2010

Prepared by Ha Mai Tung Page 14


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Task sheet 1

Project Ref. No. Date of Preparation of Activity Plan


Sr. Task Project Activity Plan Actual Start Actual Team Status
No Title Prepared by Date Days Member
Names
1 Analyse the 12/31/2009 1 Tung, Hang, Completed
eproject & Phuong, Khoi
understand the
problem
2 Write Problem 1/1/2010 1 Tung Completed
Definition
3 Write synopsis Patient 1/1/2010 1 Phuong Completed
4 Write CRS Info Ha Mai Tung 1/1/2010 1 Hang Completed
5 Design System 1/2/2010 1 Hang
Architecture
6 Design DFD 1/2/2010 2 Phuong Completed
7 Design ERD 1/2/2010 2 Tung Completed
8 Design 1/3/2010 2 Khoi Completed
Database
structure

Prepared by Ha Mai Tung Page 15


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Prepared by Ha Mai Tung Page 16


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Nurses’s Forms
Manage medical examination

Purpose:
 Insert the new medical examinations and search the medical examination existed.
Descriptions:
 TabbedPane: class JtabbedPane
TabbedPane Descriptions
jTabbedPane1 Main frame contain 2 panel: pnlManageExam, pnlManagePatient

 Panel: class JPanel

Prepared by Ha Mai Tung Page 17


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Panel Descriptions
pnManageExam Panel for managing medical examination
pnlMangePatient Panle for managing information about patient
pnlInsertExam Group the control for insert new medical
examination
pnlSearch Group the control for search the existed medical
examination

 ScrollPane: class JscrollPane


ScrollPane Descriptions
spnlExam Can scroll the table medical examination

 Textfield : class JtextField

Textfield Descriptions
jtxtPatientID Input the id of patient
txtPatientID_S Input the id of patient – need for searching

 ComboBox : class JcomboBox

ComboBox Descriptions
jcbbDoctor Show the name and the id to choose the doctor who treats this
patient.
jcbbDoctor_S Show the name and the id to choose the doctor for searching
medical examination done by this doctor
jcbbType_S Show the type of patient to search.

 Button: class Jbutton

Prepared by Ha Mai Tung Page 18


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Button Descriptions
btnInsert Insert a new medical examination
btnSearch Search the examination due to the information provided.
jbtnReload Reload the medical examination table.

 Checkbox: class JcheckBox

CheckBox JcheckBox
jcbPatientID_S If this checkbox is selected, the textfield txtPatient_S is enable
and you can search due to the information inputed on the
textfield
jcbDoctorID_S If this checkbox is selected, the combobox jcbbDoctor_S is
enable and you can search due to the id of doctor chosen
jcbType_S If this checkbox is selected, the combobox jcbbType_S is enable
and you can search due to the type of patietn chosen

 Label: class Jlabel

Label Descriptions
jlblDoctor Label for the combobox jcbbDoctor
jlblPatientID Label for the textfield jtxtPatientID

 Table: class Jtable

Table Descriptions
jtblExam Show all of medical examination

Prepared by Ha Mai Tung Page 19


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage Patient

Purpose:

 Manage the information of the patients, add a new patient before do the medical examination if
the patient goes to the hospital at the first time.

Descriptions:

 Panel: class JPanel

Panel Descriptions
pnlAddPatient Group the control to add a new patient
pnlSearch Group the control to search the patient

Prepared by Ha Mai Tung Page 20


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 ScrollPane: JscrollPane

ScrollPane Descriptions
spnlPatient Can scroll the table showing all of patient

 ComboBox: class JcomboBox

ComboBox Descriptions
jcbbDay Choose the day of birthday
jcbbDay1_S
jcbbMonth Choose the month of birthday
jcbbMonth1_S
jcbbYear Choose the year of birthday
jcbbYear1_S

 Checkbox: class JcheckBox

Checkbox Descriptions
jcbName If this checkbox is selected, the textfield txtName_S is enable and
you can search due to the information inputted on the textfield.
jcbIDCard If this checkbox is selected, the textfield txtIDCard_S is enable and
you can search due to the information inputted on the textfield.
jcbAddress If this checkbox is selected, the textfield txtAddress_S is enable and
you can search due to the information inputted on the textfield.
jcbPhone If this checkbox is selected, the textfield txtPhone_S is enable and
you can search due to the information inputted on the textfield.

Prepared by Ha Mai Tung Page 21


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

jcbBirthday If this checkbox is selected, three combobox jcbbMonth1_S,


jcbbYear1_S, jcbbDay1_S is enable and you can search due to the
year, month, day chosen
jcbSex If this checkbox is selected, the combobox jcbbSex1_S is enable and
you can search due to the type of patient chosen

 Button: class Jbutton

Button Descriptions
jbtnAdd Add a new patient
jbtnSearch Search the patient due to the information provided
jbtnReset Make the textfield on the panel pnlAddPatient to become blank
jbtnReload Reload the patient table
jbtnDetail Show the details of the patient who is selected on the table

 Textfield: class JtextField

Textfield JtextField
txtFullName Input the new patient „s name
txtName_S Input the patient „s name to search
txtAddress Input the new patient „s address
txtAddress_S Input the patient „s address to search
txtPhone Input the new patient „s phone
txtPhone_S Input the patient „s phone to search
txtIDCard Input the new patient „s idcard
txtIDCard_S Input the patient „s idcard to search

 Label: Jlabel

Prepared by Ha Mai Tung Page 22


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Label Descriptions
jlblFullName Display label for the textfield txtFullName
jlblIDCard Display label for the textfield txtIDCard
jlblAddress Display label for the textfield
txtAddress
jlblPhone Display label for the textfield
txtPhone
jlblDayOfBirth Display label for three combobox jcbbYear, jcbbMonth, jcbbDay.
jlblFormat Display label for the format of date
jlblSex Diplay label for two radiobutton jrbFemale, jrbMale

 ButtonGroup: class ButtonGroup

ButtonGroup Description
buttonGroup1 Group two radiobutton jrbFemale1_S, jrbMale1_S
GbtnSex Group two radiobutton jrbFemale, jrbMale

 RadioButton: class JRadioButton

RadioButton Descriptions
jrbMale Choose the new patient „s sex
jrbFemale
jrbMale1_S Choose the patient „s sex for searching
jrbFemale_S

 Table: Jtable

Table Descriptions

Prepared by Ha Mai Tung Page 23


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

jtblPaptien Diplay the information about all of patients

Patient Detail

Purpose:

 When managing the patient, view and update the information of patient.

Prepared by Ha Mai Tung Page 24


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

(choose one row on the table and press button Detail).

Desriptions:

 Panel: class JPanel

Panel Descriptions
jpnDetailPatient Group the control to show and update the information of patient

 Button: class Jbutton

Button Descriptions
btnEnd Get information of the last patient saved on the database
btnFirst Get information of the first patient saved on the database
btnNext Get information of the next patient
btnPrevious Get information of the previous patient
btnUpdate Update the information changed
btnExit Exit from the detail patient form

 Textfield: class JtextField

Textfield Descriptions
txtFullName Show the patient „s name and can input the patient „s name to
update
txtAddress Show the patient „s address and can input the patient „s address to
update
txtIDCard Show the patient „s IDCard and can input the patient „s IDCardto
update
txtPatientID Show the patient „s hospital ID , not be editable
txtPhone Show the patient „s phone and can input the patient „s phone to

Prepared by Ha Mai Tung Page 25


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

update,

 ComboBox: class JcomboBox

ComboBox Descriptions
jcbbPatient Show all of patient „s id, choose the item to display the imformation
on the controls
jcbbYear Show the year of the patient „s birthday and can choose another year
to update
jcbbMonth Show the month of the patient „s birthday and can choose another
month to update
jcbDay Show the day of the patient „s birthday and can choose another day
to update

 RadioButton: class JRadioButton

RadioButton Descriptions
jrbFemale Show the patient „s sex and can change
jrbMale the patient „s sex

 Label: class JLabel

Label Descriptions
jlblFullName Display the label for the textfield txtFullName
jlblPatientID Display the label for the textfield txtPatientID
jlblIDCard Display the label for the textfield txtIDCard
jlblDayOfBirth Display the label for three combobox jcbbYear, jcbbMonth,
jcbbDay

Prepared by Ha Mai Tung Page 26


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

jlblSex Display the label for two radiobutton jrbFemale, frbMale


jlblFormat Display the label for the format of birthday
jlblAddress Display the label for the textfield txtAddress
jlblPhone Display the label for the textfield txtPhone

Prepared by Ha Mai Tung Page 27


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Doctor’s Forms
Doctor Login

Purposes:

 Login to Doctor Manager Form if username & password are correct.

Description:

 Label: Class JLabel

Label Descriptions
lblIcon1 Display login icon
lblUserName Display label for
txtUserName
lblPassword Display label for
txtPassword

 Textfield: Class JTextfield

Textfield Descriptions
txtUsername Input doctor‟s userID
txtPassword Input doctor‟s password

 Button: Class JButton

Button Descriptions
btnLogin Submit form
btnCancel Exit program

Prepared by Ha Mai Tung Page 28


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Doctor Manager

Purposes:

 Main frame manager program

Prepared by Ha Mai Tung Page 29


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Descriptions:

 Panel: Class JPanel

Panel Descriptions
pnlLogo Display the logo of program
pnlDock Group the dock
pnlPatient Panel for managing patient, a tab which is added to TabbedPane
pnlAccount Panel for managing account, a tab which is added to TabbedPane

 TabbedPane: Class JTabbedPane

TabbedPane Descriptions
tabPane Group the pnlPatient, pnlAccount together

 Label: Class Jlabel

Label Descriptions
lblClock Display clock
lblTheme Display label for cbTheme

 Button: Class Jbutton

Button Descriptions
btnExit Exit program

 ComboBox: Class JComboBox

ComboBox Descriptions
cbTheme Select themes for program

Prepared by Ha Mai Tung Page 30


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage Patients

Purposes:

 Manage patients, ExamInfo


 Search & order the result

Prepared by Ha Mai Tung Page 31


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Descriptions:

 Panel: Class JPanel

Panel Descriptions
pnlPatient Group all elements
pnlSearch Group search actions

 List: Class Jlist

List Descriptions
lstLog Display program‟s log

 Table: Class Jtable

Table Descriptions
tblData Display ExamInfo & Patient‟s info

 Toolbar: Class JToolbar

Toolbar Descriptions
toolbar Group btnReloadData, btnEdit,
btnPatientDetails

 Button: Class JButton

Button Descriptions
btnSearch Filter the data
btnReloadData Reload all data
btnEdit Edit selected row in table
When click, form ExamInfo will display
btnPatientDetails View selected patient‟s
When click, form PatientDetails will display

 Textfield: Class JTextField

Textfield Descriptions
txtExamID Input examID
txtPatientID Input patientID

Prepared by Ha Mai Tung Page 32


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

txtSickness Input sickness


txtRoomNo Input roomID
txtBedNo Input bedID
txtDocName Input doctor‟s name

 CheckBox: Class JCheckBox

CheckBox Descriptions
ckExamID If is selected, txtExamID is enabled
ckSickness If is selected, txtSickness is enabled
ckPatientID If is selected, txtPatientID is enabled
ckType If is selected, cbType is enabled
ckDate If is selected, cbSubYear, cbSubMonth, cbSubDay, cbDisYear, cbDisMonth,
cbDisDay are enabled
ckRoomNo If is selected, txtRoomNo is enabled
ckBedNo If is selected, txtBedNo is enabled
ckDocName If is selected, txtDocName is enabled

 ComboBox: Class JComboBox

ComboBox Descriptions
cbType Type of patients: In or Out patients
If select “In patient”, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission Year
Each year‟s selection will make cbSubDay change the value of days
cbSubMonth Submission Month
Each month‟s selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge Year
Each year‟s selection will make cbDisDay change the value of days
cbDisMonth Discharge Month
Each month‟s selection will make cbDisDay change the value of days
cbDisDay Discharge Day

Prepared by Ha Mai Tung Page 33


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Edit ExamInfo

Purposes:

 Edit ExamInfo of selected row in tblData

Descriptions:

 Label: Class Jlabel

Label Descriptions
lblSickness Display label for txtSickness
lblType Display label for cbType
lblSub Display label for cbSubYear, cbSubMonth, cbSubDay
lblDis Display label for cbDisYear, cbDisMonth, cbDisDay
lblRoom Display label for cbRoom
lblBed Display label for cbBed
lblNote Display label for txtNote

Prepared by Ha Mai Tung Page 34


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Textfield: Class Jtextfield

Textfield Descriptions
txtSickness Input patient‟s sickness

 ComboBox: Class JcomboBox

ComboBox Descriptions
cbType Type of patients: In or Out patients
If select “In patient”, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission Year
Each year‟s selection will make cbSubDay change the value of days
cbSubMonth Submission Month
Each month‟s selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge Year
Each year‟s selection will make cbDisDay change the value of days
cbDisMonth Discharge Month
Each month‟s selection will make cbDisDay change the value of days
cbDisDay Discharge Day
cbRoom Select room
cbBed Select Available bed

 TextArea: JtextArea

TextArea Descriptions
txtNote Take note on patient

Prepared by Ha Mai Tung Page 35


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Patient Details

Purposes:

 Display patients‟ details

Descriptions:

 Label: Class Jlabel

Label Descriptions
lblName Display label for txtName
lblBirthday Display label for txtBirthday
lblIDCard Display label for txtIDCard
lblSex Display label for txtSex
lblAddress Display label for txtAddress
lblPhone Display label for txtPhone

Prepared by Ha Mai Tung Page 36


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Textfield: Class Jtextfield

Textfield Descriptions
txtName Display patient‟s name
txtBirthday Display patient‟s birthday
txtIDCard Display patient‟s IDcard
txtSex Display patient‟s sex
txtAddress Display patient‟s address
txtPhone Display patient‟s phone number

 Button: Class JButton

Button Descriptions
btnClose Close patient details windows

Prepared by Ha Mai Tung Page 37


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Edit Account

Purpose:

 Edit account doctor.

Descriptions:

 Panel: Class Jpanel

Panel Descriptions
pnlInformation Group all Information details
pnlPassword Group all change password details

Prepared by Ha Mai Tung Page 38


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Textfield: Class JtextField

Textfield Descriptions Validations


txtFullName Display doctor‟s full name none
Input doctor‟s full name
txtIDCard Display doctor‟s IDCard none
Input doctor‟s IDCard
txtAddress Display doctor‟s address none
Input doctor‟s address
txtPhone Display doctor‟s phone none
Input doctor‟s phone
txtOldpass Input doctor‟s old password Old password must be the correct
txtNewpass Input doctor‟s new password Not blank
txtConfirmPass Input doctor‟s confirm password Value must be the same as new password

 Combobox: Class JcomboBox

ComboBox Descriptions
cbYear Select birthday‟s year
cbMonth Select birthday‟s month
cbDate Select birthday‟s day
cbSex Select sex

 Label: Class Jlabel

Label Description
lblFullName Display the label for the textfield FullName
lblBirthday Display the label for the 3 combobox cbYear,
cbMonth, cbDate.
lblFormat Display the fomat date.
lblLetter1 Display letter /
lblLetter2
lblIDCard Display the label for the textfield txtIDCard.
ldlAddress Display the label for the textfield txtAddress.
lblPhone Display the label for the textfield txtPhone
lblSex Display the label for the combobox cbSex
lblOldpass Display the label for the textfield txtOldpass
lblNewpass Display the label for the textfield txtNewPass
lblConfirmpass Display the label for the textfield

Prepared by Ha Mai Tung Page 39


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

txtConfirmpass

 Button: Class Jbutton

Button Description
btnAcceptInfo Update doctor‟s information details
btnAcceptPass Update doctor‟s password

Prepared by Ha Mai Tung Page 40


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Admins’s Forms
Admin Login

Purposes:

 Login to Admin CP if username & password are correct

Descriptions:

 Label: Class JLabel

Label Descriptions
lblIcon1 Display login icon
lblUserName Display label for
txtUserName
lblPassword Display label for
txtPassword

 Textfield: Class JTextfield

Textfield Descriptions
txtUsername Input admin‟s username
txtPassword Input admin‟s password

 Button: Class JButton

Button Descriptions
btnLogin Submit form
btnCancel Exit program

Prepared by Ha Mai Tung Page 41


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Admin CP

Purposes:

 Main frame manager program

Prepared by Ha Mai Tung Page 42


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Descriptions:

 Panel: Class JPanel

Panel Descriptions
pnlLogo Display the logo of program
pnlDock Group the dock
pnlPatient Panel for managing patient, a tab which is added to TabbedPane
pnlAccount Panel for managing account, a tab which is added to TabbedPane
pnlDoctor Panel for managing doctors, a tab which is added to TabbedPane
pnlOthers Panel for managing others (rooms, beds, subject), a tab which is added to
TabbedPane

 TabbedPane: Class JTabbedPane

TabbedPane Descriptions
tabPane Group the pnlPatient, pnlAccount together

 Label: Class Jlabel

Label Descriptions
lblClock Display clock
lblTheme Display label for cbTheme

 Button: Class Jbutton

Button Descriptions
btnExit Exit program

 ComboBox: Class JComboBox

ComboBox Descriptions
cbTheme Select themes for program

Prepared by Ha Mai Tung Page 43


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage Patients

Purposes:

 Manage patients, ExamInfo


 Search & order the result

Prepared by Ha Mai Tung Page 44


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Descriptions:

 Panel: Class JPanel

Panel Descriptions
pnlPatient Group all elements
pnlSearch Group search actions

 List: Class Jlist

List Descriptions
lstLog Display program‟s log

 Table: Class Jtable

Table Descriptions
tblData Display ExamInfo & Patient‟s info

 Toolbar: Class JToolbar

Toolbar Descriptions
toolbar Group btnReloadData, btnEdit,
btnPatientDetails

 Button: Class JButton

Button Descriptions
btnSearch Filter the data
btnReloadData Reload all data
btnEdit Edit selected row in table
When click, form ExamInfo will display
btnPatientDetails View selected patient‟s
When click, form PatientDetails will display
btnDelete Delete selected row in table

Prepared by Ha Mai Tung Page 45


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Textfield: Class JTextField

Textfield Descriptions
txtExamID Input examID
txtPatientID Input patientID
txtSickness Input sickness
txtRoomNo Input roomID
txtBedNo Input bedID
txtDocName Input doctor‟s name

 CheckBox: Class JCheckBox

CheckBox Descriptions
ckExamID If is selected, txtExamID is enabled
ckSickness If is selected, txtSickness is enabled
ckPatientID If is selected, txtPatientID is enabled
ckType If is selected, cbType is enabled
ckDate If is selected, cbSubYear, cbSubMonth, cbSubDay, cbDisYear, cbDisMonth,
cbDisDay are enabled
ckRoomNo If is selected, txtRoomNo is enabled
ckBedNo If is selected, txtBedNo is enabled
ckDocName If is selected, txtDocName is enabled

 ComboBox: Class JComboBox

ComboBox Descriptions
cbType Type of patients: In or Out patients
If select “In patient”, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission Year
Each year‟s selection will make cbSubDay change the value of days
cbSubMonth Submission Month
Each month‟s selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge Year
Each year‟s selection will make cbDisDay change the value of days
cbDisMonth Discharge Month
Each month‟s selection will make cbDisDay change the value of days
cbDisDay Discharge Day

Manage Doctors

Prepared by Ha Mai Tung Page 46


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Purpose:

 Manage account doctor.

Prepared by Ha Mai Tung Page 47


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Descriptions:

 Textfield: Class JtextField

Textfield Descriptions
txtID Display doctor‟s ID
Input doctor‟s ID
When focus lost, display all doctor‟s details on txtPassword, txtName,
txtIDCard, txtIDCard, txtAddress, txtPhone, cbYear, cbMonth, cbDate, cbSex,
cbSubject
txtPassword Display doctor‟s password
Input doctor‟s password
txtName Display doctor‟s full name
Input doctor‟s full name
txtIDCard Display doctor‟s IDCard
Input doctor‟s IDCard
txtAddress Display doctor‟s address
Input doctor‟s address
txtPhone Display doctor‟s phone
Input doctor‟s phone

 Combobox: Class JcomboBox

ComboBox Descriptions
cbYear Select birthday‟s year
cbMonth Select birthday‟s month
cbDate Select birthday‟s day
cbSex Select sex
cbSubject Select subject

 Label: Class Jlabel

Label Description
lblID Display the label for txtID
lblPassword Display the label for txtPassword
lblName Display the label for the textfield FullName
lblBirthday Display the label for the 3 combobox cbYear,
cbMonth, cbDate.
lblIDCard Display the label for the textfield txtIDCard.
ldlAddress Display the label for the textfield txtAddress.
lblPhone Display the label for the textfield txtPhone

Prepared by Ha Mai Tung Page 48


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

lblSex Display the label for the combobox cbSex


lblSubject Display the label for cbSubject

 Button: Class Jbutton

Button Description
btnAdd Add new doctor
btnUpdate Update selected doctor
btnDelete Delete selected doctor
btnRefresh Refresh subject

 Table: Class Jtable

Table Descriptions
tblData Store resultset of doctors
When click on 1 row, display all details on txtPassword, txtName, txtIDCard,
txtIDCard, txtAddress, txtPhone, cbYear, cbMonth, cbDate, cbSex, cbSubject

Prepared by Ha Mai Tung Page 49


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage others

Purposes:

 Manage subject, room bed

Descriptions:

 TabbedPane: Class JtabbedPane

TabbedPane Descriptions
tabPaneOthers Group pnlSubject, pnlRoom, pnlBed
 Panel: Class Jpanel

Prepared by Ha Mai Tung Page 50


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Panel Descriptions
pnlSubject Panel subject
pnlRoom Panel room
pnlBed Panel bed

Prepared by Ha Mai Tung Page 51


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage subject

Purposes:

 Manage subject

Descriptions:

 Table: Class Jtable

Table Descriptions
tblSubject Display resultset of subject & allow to edit each row
 Button: Class Jbutton

Prepared by Ha Mai Tung Page 52


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Button Descriptions
btnUpdate Save all changes to database
Only enable when data in tblSubject change
btnAdd Add new row in table tblSubject

Prepared by Ha Mai Tung Page 53


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage room

Purposes:

 Manage rooms

Descriptions:

 Table: Class Jtable

Table Descriptions
tblRoom Store resultset of room
 Label: Class Jlabel

Prepared by Ha Mai Tung Page 54


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Label Descriptions
lblRoomID Display label for txtRoomID
lblSubject Display label for cbSubject

 Textfield: Class Jtextfield

Textfield Descriptions
txtRoomID Input for room ID

 ComboBox: Class JcomboBox

ComboBox Descriptions
cbSubject Store all subject‟s name

 Button: Class Jbutton

Button Descriptions
btnAddRoom Add new row in table tblRoom
btnUpdateRoom Save all changes to database
Only enable when data in tblRoom change

Prepared by Ha Mai Tung Page 55


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage Bed

Purposes:

 Manage beds

Descriptions:

 Table: Class Jtable

Table Descriptions
tblBed Store bed‟s recordset
 Panel: Class Jpanel

Prepared by Ha Mai Tung Page 56


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Panel Descriptions
pnlCheckBed Group btnCleanBed, lblNotice

 Button: Class Jbutton

Button Descriptions
btnCleanBed Set all bed‟s availability has the submission
date = today to “YES”
btnAddBed Add new bed in table tblBed
btnUpdateBed Save all changes to database
Only enable when data in tblBed change

 Label: Class Jlabel

Label Descriptions
lblNotice Display “* Remember to check daily”

Prepared by Ha Mai Tung Page 57


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Manage account

Purpose:

 Edit account admin.

Descriptions:

 Textfield: Class JtextField

Textfield Descriptions Validations


txtOldpass Input admin‟s old password Old password must be the correct
txtNewpass Input admin‟s new password Not blank

Prepared by Ha Mai Tung Page 58


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

txtConfirmPass Input admin‟s confirm password Value must be the same as new password

 Label: Class Jlabel

Label Description
lblOldpass Display the label for the textfield txtOldpass
lblNewpass Display the label for the textfield txtNewPass
lblConfirmpass Display the label for the textfield
txtConfirmpass

 Button: Class Jbutton

Button Description
btnAcceptPass Update admin‟s password

Prepared by Ha Mai Tung Page 59


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Task sheet 2
Project Ref. No. Date of Preparation of Activity Plan
Sr. Task Project Activity Plan Actual Start Actual Team Status
No Title Prepared by Date Days Member
Names
Design GUI
1 - “Nurses Forms” 1/7/2010 1 Phuong Completed
2 - “Doctors Forms”: Login, Edit 1/7/2010 4 Khoi Completed
Account
- “Admins Form”: Login
3 - “Doctors Forms”: Patient 1/7/2010 2 Hang Completed
Details
- “Admins Form”: Edit Account
Patient
4 - Main Frame 1/7/2010 2 Tung Completed
Info Ha Mai Tung
- “Doctors Forms”: Manage
System
patients (edit ExamInfo,
Search)
5 - “Admins Forms”: Manage 1/9/2010 1 Tung Completed
patients
6 - “Manage Doctors” 1/11/2010 1 Khoi Completed
7 - “Manage Others”: Subject 1/12/2010 1 Khoi Completed
8 - “Manage Others”: Room, Bed 1/9/2010 2 Hang Completed

Prepared by Ha Mai Tung Page 60


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Prepared by Ha Mai Tung Page 61


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Installation Guide
1. Open SQL Server 2005 Management Studio on the server and attach the database:

2. The program using ODBC connection, so before using program, all computers must configure
the ODBC connection:

Prepared by Ha Mai Tung Page 62


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- Win XP/Vista: Control Panel > Administrative tools >Data Sources (ODBC)
- Win 7: Start > Type “ODBC” > Enter
3. Click Add

Prepared by Ha Mai Tung Page 63


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

4. Select SQL Server from the list, click Finish

5. Enter exactly the following information:


- Name: PatientInfo
- Server: Choose the server where the database is storing, in my case is HAMAITUNG-PC

Click next

Prepared by Ha Mai Tung Page 64


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

6. Choose “With Windows NT authentication using the network login ID.”. Click next

7. Check “Change the default database to:” and select PatientInfo, click next

Prepared by Ha Mai Tung Page 65


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

8. Click Finish

9. If the following screen pop-up then you can continue, otherwise, check the ODBC and start
over again

Prepared by Ha Mai Tung Page 66


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

10. Click “Test Data Source”

This screen show that you have successfully created the ODBC for PatientInfoSystem.

Prepared by Ha Mai Tung Page 67


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

11. Execute “TestConnection.jar”, if you receive an error message, example like this:

This means something‟s wrong with the ODBC connection or your SQL Server, you can search
for errors in the Internet or contact us.
Otherwise, you will see a message:

Prepared by Ha Mai Tung Page 68


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

User Guide

Nurses
Execute “PatientInfo_Nurse.jar” to run Doctor manager.

1. Launch
A window show with 2 tabs: Manage Exam, Manage Patient

2. Manage Exam
- Function: Contain all of medical examination, add the new medical examinations and
support to search the examination.
- Usage:

Prepared by Ha Mai Tung Page 69


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

a. Add a new medical examination:

Add the patient „s hospital id to the textfield and chose the doctor in the combobox then
press the button “Add” .

If the id not exists, the MessageBox will notify

Prepared by Ha Mai Tung Page 70


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Otherwise, the new medical examination is added into the table.

b. Search examination:

Choose the option to search by select the checkbox before it, ex: you want to search
due to PatientID and Doctor , select two checkbox: PatientID and Doctor.

Input the data or choose the item in the combobox, then click Search. If exists the
medical examination approriate to the option prvovided, the table will show .

Prepared by Ha Mai Tung Page 71


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Otherwise the table is empty

c. Reload (Bonus):
When you want to refresh the examination table, you only click the button “Reload” ,
the data on the table will be loaded.

Prepared by Ha Mai Tung Page 72


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

3. Manage Patient
- Function: Manage patient, contain all of patients – show on the table, add a new
patient, view and update the information of the patient, search the patient

- Usage:

a. Add a new patient:

Enter the patient „s information; then click button “Add” . If validating data is error.

 Field FullName and Address can not empty

Prepared by Ha Mai Tung Page 73


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Field Phone must number

Otherwise, a new record is added into the table.

b. Search the patient:

Prepared by Ha Mai Tung Page 74


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Choose the option to search by select the checkbox before it, ex: you want to search due to
Name and ID, select two checkbox: ID and Name, two textfields after them will be enable.
Enter the data or choose the item in the combobox or choose the radiobutton, then click
Search. If exists the patient approriate to the option prvovided, the table will show .

Prepared by Ha Mai Tung Page 75


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

c. View and update the detail of the patient:

Choose one row on the table and click the button “View Detail”, the details of the patient will be
showed. You also edit the information of the patient by enter the data into the textfield or
choose the day, month, year on the combobox or choose the radiobutton “Female” or “Male” ,
only the PatientID you can not edit, then click button “Update”, the comfirmation dialog is
showed.

Prepared by Ha Mai Tung Page 76


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Click “Yes” if you are sure to update, and “No” to cancel.

Then if the validating data is error (the field phone not numbet), the messagebox is showed and
the updating is canceled.

Otherwise, the details of the patient will be updated on the database.

Prepared by Ha Mai Tung Page 77


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

You can use the arrow buttons or the combobox PatientID to move to the another the details of
the patient. And click “Exit” to exit the Patient Detail dialog , back the main form.

d. Reload(Bonus):
When you want to refresh the patient table, only click button reload. The data on the patient
table will be loaded.

Prepared by Ha Mai Tung Page 78


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Doctors
Execute “PatientInfo_Doctor.jar” to run Doctor manager.

1. Login: (Try username DR0001 and password 123 for sampling)

Enter doctor‟s ID

Enter doctor‟s password

If the login is failed, the program will display a message:

Otherwise, the program will take doctor to main doctor‟s manager program.
Tips: Press Enter after fill all to login instead of using mouse to save times.

Prepared by Ha Mai Tung Page 79


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

2. Manage Patients:

Edit
View selected
selected
patient’s details
ExamInfo

Filter
the
data

Reload
all data Display ExamInfo &
Patients

Logging list

a. Reload all data:


- Function: Reload all ExamInfo & Patients to the table.
- Usage: Left click on “Reload Data”.
b. Edit an ExamInfo:
- Function: Edit a selected ExamInfo, often using for doctor to write patient‟s
ExamInfo or let the patient discharge.
- Usage: there is 2 ways to do this
- Double click row in table.
- Select a row a click on “Edit”.
If the ExamID is not null, the screen will display a form:

Prepared by Ha Mai Tung Page 80


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Click OK to save when finishing editing. Click Cancel to discard.

Otherwise, if the ExamID is null, then a message display:

Prepared by Ha Mai Tung Page 81


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Note: If you try to edit a patient who is not treated by you, you can only
view this patient‟s ExamInfo

c. View a patient‟s details:


- Function: View patient‟s details
- Usage:
- Select a row, click on “View Patient‟s details”.
- A form display patient‟s details:

Click Close to close this form.


d. Filter the data:
- Function: filter - sort the data and display on the table.
- Usage:
- Check a filter‟s option you want and enter details on it.

Prepared by Ha Mai Tung Page 82


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- Select a sort‟s option.


- Click on “Search Data”.

The result has been filtered!


e. Logging reports:
- Function: show logs of manage patients.

Prepared by Ha Mai Tung Page 83


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

3. Edit Account:

a. Change personal information:


- Function: change doctor‟s personal information.
- Usage: fills in needed field and click “Apply Change”.
If the data save successfully, a message will display:

b. Change password:

Prepared by Ha Mai Tung Page 84


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- Function: change doctor‟s login password.


- Usage:
- Enter old password, if the old password is not correct, a message will display:

- Enter new password, if new password is blank, a message will display:

- Enter confirm password, if confirm password is not the same as new


password, a message will display:

If all information is correct, a message will display:

From now on, doctor will have to login with a new password.

Prepared by Ha Mai Tung Page 85


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Admins
Execute “PatientInfo_Admin.jar” to run Admin manager.

1. Login: (Try username admin and password 111 for sampling)

If the login is failed, the program will display a message:

Enter admin‟s username

Enter admin‟s password

Otherwise, the program will take admin to main admin‟s manager (Admin CP) program.
Tips: Press Enter instead of using mouse to save times.

Prepared by Ha Mai Tung Page 86


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

2. Manage Patients:

Edit
Edit selected
selected
patient’s details
ExamInfo

Filter
the
data

Delete
Reload current

all data Display ExamInfo & ExamInfo


Patients

Logging list

a. Reload all data:


- Function: Reload all ExamInfo & Patients to the table.
- Usage: Left click on “Reload Data”.
b. Edit an ExamInfo:
- Function: Edit a selected ExamInfo, often using for doctor to write patient‟s
ExamInfo or let the patient discharge.
- Usage: there is 2 ways to do this
- Double click row in table.
- Select a row a click on “Edit”.
If the ExamID is not null, the screen will display a form:

Prepared by Ha Mai Tung Page 87


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Click OK to save when finishing editing. Click Cancel to discard.

Otherwise, if the ExamID is null, then a message display:

c. Edit a patient‟s details:


- Function: Edit patient‟s details
- Usage:
- Select a row, click on “Edit Patient‟s details”.

Prepared by Ha Mai Tung Page 88


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- A form display patient‟s details:

Click Update to save patient‟s details in this form.

Click Delete to delete this patient.

Prepared by Ha Mai Tung Page 89


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

After update or delete, the data will be automatically reloaded:

d. Filter the data:


- Function: filter - sort the data and display on the table.
- Usage:
- Check a filter‟s option you want and enter details on it.
- Select a sort‟s option.
- Click on “Search Data”.

Prepared by Ha Mai Tung Page 90


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

The result has been filtered!


e. Logging reports:
- Function: show logs of manage patients.
f. Delete an ExamInfo:
- Function: delete an examInfo
- Usage:
 Select a row which ExamID is not null

 Click button to delete it.


A confirmation message will display:

If successful, a message will display:

Prepared by Ha Mai Tung Page 91


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Otherwise, a failure message will display:

3. Manage doctors:

a. Add a new doctor:


- Function: Create a new doctor
- Usage:

Prepared by Ha Mai Tung Page 92


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- Fill all require field in this form:

- Click “Add” button. If succeed, the screen will display:

and a new row was added in the table:

b. Select a doctor from table:


- Function: view doctor‟s details.
- Usage:
- First, select a row from table
Tips: You can use  keys to move up & down in table.

Prepared by Ha Mai Tung Page 93


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- With each row, the correlative details will be displayed:

c. Update a doctor:
- Function: update doctor‟s details
- Usage:
- First, select a row in table
- Now, you can edit this doctor‟s details:

after finishing, click on “Update” button to update:

This message show that you have successfully update this doctor.
d. Delete a doctor:

Prepared by Ha Mai Tung Page 94


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

- Function: delete a doctor from database.


Warning: do this will also delete everything involves in this doctor, such as
ExamInfo…
- Usage:
- Select a row first:

- Click on “Delete” button, a confirmation message displays to confirm your


decision:

If you click Yes, the selected doctor will be deleted:

and the deleted row was disappeared:

4. Manage others:

Prepared by Ha Mai Tung Page 95


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

a. Manage subjects:

 Edit a subject:
- Function: change subject name.
- Usage:
 Double click on the subject name you want to change, enter a new
subject name:

 Press enter when finishing changing.


 Add a new subject:
- Function: add a new subject
- Usage:

 Click the button.

Prepared by Ha Mai Tung Page 96


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 A new row is now added in the table:

 Double click on each cell to enter subject ID & subject name

 Save changes to database:


- Function: save all changes to database.

- Usage: Click on button to save changes, if succeed, a message will


display:

Note: only enable when the data in table changes.

Prepared by Ha Mai Tung Page 97


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

b. Manage rooms:

 Edit a room:
- Function: change subject of a room
- Usage:
 Select a room on table.
 Select a new subject:

 The correlative subject will changes:

Prepared by Ha Mai Tung Page 98


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Tips: Enter room ID in the textbox also makes the table select the
room automatically

 Add a new room:


- Function: add a new room.
- Usage:
 Enter room ID in the textbox:

 Select a subject which room is belong to:

 Click on
 A new room has been added in the table:

 Save changes:
- Function: save all changes to database.

- Usage: Click on button to save changes, if succeed, a message will


display:

Note: only enable when the data in table changes.

Prepared by Ha Mai Tung Page 99


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

c. Manage beds:

 Edit a bed:
- Function: edit room ID & availability in table.
- Usage:
 Select a row in table:

Prepared by Ha Mai Tung Page 100


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 To change Room ID, click on the cell to select a room ID:

 To change availability, click on the cell to select:

 Add a bed:
- Function: add a new bed.
- Usage:

 Click the button.


 A new row is now added to the table:

 Double click on the first cell to enter bed ID:

Prepared by Ha Mai Tung Page 101


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Select a room ID on the 2nd cell:

 Clean beds:
- Function: set the bed‟s availability to “YES” which patients discharge
today.
- Usage: click “Clean bed”, if succeed, a message will display:

 Save changes:
- Function: save all changes to database.

- Usage: Click on button to save changes, if succeed, a message will


display:

Note: only enable when the data in table changes.

Prepared by Ha Mai Tung Page 102


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

5. Edit Account:

a. Function: change admin‟s password.


b. Usage:
 Enter old password, if the old password is not correct, a message will display:

Prepared by Ha Mai Tung Page 103


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

 Enter new password, if new password is blank, a message will display:

 Enter confirm password, if confirm password is not the same as new password, a
message will display:

If all information is correct, a message will display:

From now on, admin will have to login with a new password.

Prepared by Ha Mai Tung Page 104


Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem

Task sheet 3
Project Ref. No. Project Activity Plan Date of Preparation of Activity Plan
Title Prepared by
Task Actual Start Actual Team Status
Date Days Member
Names
Coding project
- “Nurses Forms” 1/12/2010 8 Phuong Completed
- “Doctors Forms”: Login, Edit 1/13/2010 2 Khoi Completed
Account
- “Admins Form”: Login
- “Doctors Forms”: Patient 1/12/2010 7 Hang Completed
Details
- “Admins Form”: Edit Account
Patient
- Main Frame 1/12/2010 9 Tung Completed
Info Ha Mai Tung
- “Doctors Forms”: Manage
System
patients (edit ExamInfo, Search)
- “Admins Forms”: Manage 1/21/2010 1 Tung Completed
patients (edit ExamInfo, Search)
- “Manage Doctors” 1/15/2010 2 Khoi Completed
- “Manage Others”: Subject 1/20/2010 3 Khoi Completed
- “Manage Others”: Room, Bed 1/19/2010 3 Hang Completed
- “Admin forms”: Patient Details
Insert data & Testing
Insert sample data Patient 1/25/2010 1 Khoi + Completed
Info Ha Mai Tung Hang
Test programs System 1/26/2010 2 Team Completed

Prepared by Ha Mai Tung Page 105

S-ar putea să vă placă și