8/7/2019 Eproject Review
1/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
8/7/2019 Eproject Review
2/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 2
Table of ContentsREVIEW 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
Nursess Forms ......................................................................................................................................... 17 Doctors Forms ......................................................................................................................................... 28 Adminss 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
8/7/2019 Eproject Review
3/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 3
8/7/2019 Eproject Review
4/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 4
Problem Definition
SANJEEVANIis 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.
8/7/2019 Eproject Review
5/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 5
Synopsis
The application will perform the following functions:
Store information for managing patients, doctorsdetails 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 bedfor patients; Create/Update/Search/View/Delete examination information.
8/7/2019 Eproject Review
6/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 6
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 patients2. 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 Patients7. Perform necessary validations.
8/7/2019 Eproject Review
7/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 7
Contact:
No Name Email
1 Ha Mai Tung (Team Leader) [email protected]
2 Ha Thi Minh Phuong [email protected]
3 Nguyen Thi Vinh Hang [email protected]
4 Cao Nguyen Khoi [email protected]
Architecture & design of the project
Two-Tier Architecture of the Project
Tier 1 :Presentation Tier
Tier 2 :Database Tier
User Interface GUIComponent
8/7/2019 Eproject Review
8/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 8
Data flow diagram (DFD)
DFD LEVEL 0 Context Diagram
Confirm
authentication
Management
PatientDoctors Administrator
Patients
History patient
Authentication
Details
Patients
Details
Sickness
information
ExamineDetails
8/7/2019 Eproject Review
9/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 9
DFD LEVEL 1
8/7/2019 Eproject Review
10/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 10
Entity relationship (ER) diagram
DoctorDoctorID
SubjectID
Password
Doctor_DetailsDoctorID
FullName
DayOfBirth
IDCardAddress
Phone
Sex
Patient_DetailsPatientID
FullName
DayOfBirth
IDCard
Sex
Address
Phone
RoomRoomID
SubjectID
SubjectSubjectID
SubjectName
AdminAdminName
Password
ExamInfoExamID
PatientID
Sickness
Note
Type
DoctorID
BedBedID
RoomID
Available
InpatientExamID
Submission_date
Discharge_date
BedID
RoomID
8/7/2019 Eproject Review
11/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 11
Database design/structure
1/Admin Table
Key Column Name Data Type Alow Nulls Description
PK AdminName char(10) NO StoreAdmins loginname
Password char(10) NO StoreAdmins loginpassword
2/Bed Table
Key Column Name Data Type Alow Nulls Description
PK BedID char(10) NO Store Beds ID
PK RoomID char(10) NO Store Rooms IDwhich is bed belong to
Available char(10) NO Store Yes/no in orderto know what bed is still
available
3/Doctor Table
Key Column Name Data Type Alow Nulls Description
PK DoctorID char(10) NO Store Doctors ID
SubjectID char(10) NO Store Subjects ID
Password char(10) NO Store Doctors loginpassword
8/7/2019 Eproject Review
12/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 12
4/Doctor Detail Table
Key Column Name Data Type Alow Nulls Description
PK DoctorID char(10) NO Store Doctors ID
FullName varchar(50) YES Store Doctors fullname
DayOfBirth datetime YES Store Doctorsbirthday
IDCard varchar(50) YES Store DoctorsIDCard
Address varchar(50) YES StoreDoctors
AddressPhone bigint YES Store Doctors
Phone
Sex char(10) YES Store Doctors sex
5/ExamInfo Table
Key Column Name Data Type Alow Nulls Description
PK ExamID char(10) NO Store Exams ID
PatientID char(10) NO Store Patients
IDSickness varchar(50) YES Store patients
sickness
Note varchar(MAX) YES Store Doctorsnote onpatientssickness
Type char(10) YES In/Out patient
DoctorID char(10) YES Store Doctorwho is assigned
to patient
8/7/2019 Eproject Review
13/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 13
6/ Inpatient Table
Key Column Name Data Type Alow Nulls Description
PK ExamID char(10) NO Store ExamID of patientstype 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 Patients 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 Rooms id
SubjectID char(10) NO Store Roomssubject
8/Subject Table
Key Column Name Data Type Alow Nulls DescriptionPK SubjectID char(10) NO Store Subjects
id
SubjectName varchar(50) NO Store Subjectsname
8/7/2019 Eproject Review
14/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 14
Project Planning
Week ObjectsResponsible
MemberWork Deadline
1 Finish projects plan Tung Schedule project 12/31/2009
2
Finish introduction to project TungWrite Problem Definition,
Scope of work1/2/2010
Finish synopsis Phuong Write synopsis 1/3/2010
Finish architecture & CRS Hang Design architecture & CRS 1/5/2010
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 applications GUI 1/15/2010
4 - 5
Finish coding Team Coding project 1/25/2010
Release Softwares beta &
testingTeam
Test software for bugs &
issues1/27/2010
Release final version TeamFinish coding project &
testing1/28/2010
Finish UserGuide, Snapshots TeamWriting review & taking
snapshots1/30/2010
6 Finish Project 1/31/2010
8/7/2019 Eproject Review
15/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 15
Task sheet 1
Project Ref. No.
ProjectTitle
Activity PlanPrepared by
Date of Preparation of Activity Plan
Sr.No
Task Actual StartDate
ActualDays
TeamMemberNames
Status
1 Analyse theeproject &understand theproblem
PatientInfo
System
Ha Mai Tung
12/31/2009 1 Tung, Hang,Phuong, Khoi
Completed
2 Write Problem
Definition
1/1/2010 1 Tung Completed
3 Write synopsis 1/1/2010 1 Phuong Completed
4 Write CRS 1/1/2010 1 Hang Completed
5 Design
Architecture
1/2/2010 1 Hang
6 Design DFD 1/2/2010 2 Phuong Completed
7 Design ERD 1/2/2010 2 Tung Completed
8 DesignDatabasestructure
1/3/2010 2 Khoi Completed
8/7/2019 Eproject Review
16/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 16
8/7/2019 Eproject Review
17/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 17
Nursess Forms
Manage medical examination
Purpose:
Insert the new medical examinations and search the medical examination existed.Descriptions:
TabbedPane: class JtabbedPaneTabbedPane Descriptions
jTabbedPane1 Main frame contain 2 panel: pnlManageExam, pnlManagePatient
Panel: class JPanel
8/7/2019 Eproject Review
18/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 18
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 JscrollPaneScrollPane Descriptions
spnlExam Can scroll the table medical examination
Textfield : class JtextFieldTextfield Descriptions
jtxtPatientID Input the id of patient
txtPatientID_S Input the id of patient need for searching
ComboBox : class JcomboBoxComboBox 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
8/7/2019 Eproject Review
19/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 19
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 JcheckBoxCheckBox 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 JlabelLabel Descriptions
jlblDoctor Label for the combobox jcbbDoctor
jlblPatientID Label for the textfield jtxtPatientID
Table: class JtableTable Descriptions
jtblExam Show all of medical examination
8/7/2019 Eproject Review
20/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 20
Manage Patient
Purpose:
Manage the information of the patients, add a new patient before do the medical examination ifthe patient goes to the hospital at the first time.
Descriptions:
Panel: class JPanelPanel Descriptions
pnlAddPatient Group the control to add a new patient
pnlSearch Group the control to search the patient
8/7/2019 Eproject Review
21/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 21
ScrollPane: JscrollPaneScrollPane Descriptions
spnlPatient Can scroll the table showing all of patient
ComboBox: class JcomboBoxComboBox 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 JcheckBoxCheckbox 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.
8/7/2019 Eproject Review
22/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 22
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 JtextFieldTextfield 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 searchtxtIDCard Input the new patient s idcard
txtIDCard_S Input the patient s idcard to search
Label: Jlabel
8/7/2019 Eproject Review
23/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 23
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 ButtonGroupButtonGroup Description
buttonGroup1 Group two radiobutton jrbFemale1_S, jrbMale1_S
GbtnSex Group two radiobutton jrbFemale, jrbMale
RadioButton: class JRadioButtonRadioButton Descriptions
jrbMale Choose the new patient s sex
jrbFemale
jrbMale1_S Choose the patient s sex for searching
jrbFemale_S
Table: JtableTable Descriptions
8/7/2019 Eproject Review
24/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 24
jtblPaptien Diplay the information about all of patients
Patient Detail
Purpose:
When managing the patient, view and update the information of patient.
8/7/2019 Eproject Review
25/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 25
(choose one row on the table and press button Detail).
Desriptions:
Panel: class JPanelPanel Descriptions
jpnDetailPatient Group the control to show and update the information of patient
Button: class JbuttonButton 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 JtextFieldTextfield 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 caninput the patient s phone to
8/7/2019 Eproject Review
26/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 26
update,
ComboBox: class JcomboBoxComboBox 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 JRadioButtonRadioButton Descriptions
jrbFemale Show the patient s sex and can change
the patient s sexjrbMale
Label: class JLabelLabel 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
8/7/2019 Eproject Review
27/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 27
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
8/7/2019 Eproject Review
28/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 28
Doctors Forms
Doctor Login
Purposes:
Login to Doctor Manager Form if username & password are correct.Description:
Label: Class JLabelLabel Descriptions
lblIcon1 Display login icon
lblUserName Display label fortxtUserName
lblPassword Display label fortxtPassword
Textfield: Class JTextfieldTextfield Descriptions
txtUsername Input doctors userID
txtPassword Input doctors password
Button: Class JButtonButton Descriptions
btnLogin Submit form
btnCancel Exit program
8/7/2019 Eproject Review
29/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 29
Doctor Manager
Purposes:
Main frame manager program
8/7/2019 Eproject Review
30/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 30
Descriptions:
Panel: Class JPanelPanel 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 JTabbedPaneTabbedPane Descriptions
tabPane Group the pnlPatient, pnlAccount together
Label: Class JlabelLabel Descriptions
lblClock Display clock
lblTheme Display label for cbTheme
Button: Class JbuttonButton Descriptions
btnExit Exit program
ComboBox: Class JComboBoxComboBox Descriptions
cbTheme Select themes for program
8/7/2019 Eproject Review
31/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 31
Manage Patients
Purposes:
Manage patients, ExamInfo Search & order the result
8/7/2019 Eproject Review
32/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 32
Descriptions:
Panel: Class JPanelPanel Descriptions
pnlPatient Group all elements
pnlSearch Group search actions
List: Class JlistList Descriptions
lstLog Display programs log
Table: Class JtableTable Descriptions
tblData Display ExamInfo & Patients info
Toolbar: Class JToolbarToolbar Descriptions
toolbar Group btnReloadData, btnEdit,btnPatientDetails
Button: Class JButtonButton Descriptions
btnSearch Filter the data
btnReloadData Reload all data
btnEdit Edit selected row in tableWhen click, form ExamInfo will display
btnPatientDetails View selected patients
When click, form PatientDetails will display
Textfield: Class JTextFieldTextfield Descriptions
txtExamID Input examID
txtPatientID Input patientID
8/7/2019 Eproject Review
33/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 33
CheckBox: Class JCheckBoxCheckBox 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 enabledckDate 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 JComboBoxComboBox Descriptions
cbType Type of patients: In or Out patientsIf select In patient, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission YearEach years selection will make cbSubDay change the value of days
cbSubMonth Submission MonthEach months selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge YearEach years selection will make cbDisDay change the value of days
cbDisMonth Discharge MonthEach months selection will make cbDisDay change the value of days
cbDisDay Discharge Day
txtSickness Input sickness
txtRoomNo Input roomIDtxtBedNo Input bedID
txtDocName Input doctors name
8/7/2019 Eproject Review
34/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 34
Edit ExamInfo
Purposes:
Edit ExamInfo of selected row in tblDataDescriptions:
Label: Class JlabelLabel 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
8/7/2019 Eproject Review
35/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 35
Textfield: Class JtextfieldTextfield Descriptions
txtSickness Input patients sickness
ComboBox: Class JcomboBoxComboBox Descriptions
cbType Type of patients: In or Out patientsIf select In patient, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission Year
Each years selection will make cbSubDay change the value of dayscbSubMonth Submission MonthEach months selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge YearEach years selection will make cbDisDay change the value of days
cbDisMonth Discharge MonthEach months selection will make cbDisDay change the value of days
cbDisDay Discharge Day
cbRoom Select room
cbBed Select Available bed
TextArea: JtextAreaTextArea Descriptions
txtNote Take note on patient
8/7/2019 Eproject Review
36/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 36
Patient Details
Purposes:
Display patients detailsDescriptions:
Label: Class JlabelLabel 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
8/7/2019 Eproject Review
37/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 37
Textfield: Class JtextfieldTextfield Descriptions
txtName Display patients name
txtBirthday Display patients birthday
txtIDCard Display patients IDcard
txtSex Display patients sex
txtAddress Display patients address
txtPhone Display patients phone number
Button: Class JButtonButton Descriptions
btnClose Close patient details windows
8/7/2019 Eproject Review
38/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 38
Edit Account
Purpose:
Edit account doctor.Descriptions:
Panel: Class JpanelPanel Descriptions
pnlInformation Group all Information details
pnlPassword Group all change password details
8/7/2019 Eproject Review
39/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 39
Textfield: Class JtextFieldTextfield Descriptions Validations
txtFullName Display doctors full nameInput doctors full name
none
txtIDCard Display doctors IDCardInput doctors IDCard
none
txtAddress Display doctors addressInput doctors address
none
txtPhone Display doctors phone
Input doctors phone
none
txtOldpass Input doctors old password Old password must be the correct
txtNewpass Input doctors new password Not blank
txtConfirmPass Input doctors confirm password Value must be the same as new password
Combobox: Class JcomboBoxComboBox Descriptions
cbYear Select birthdays year
cbMonth Select birthdays month
cbDate Select birthdays day
cbSex Select sex
Label: Class JlabelLabel 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 /
lblLetter2lblIDCard 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
8/7/2019 Eproject Review
40/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 40
txtConfirmpass
Button: Class JbuttonButton Description
btnAcceptInfo Update doctors information details
btnAcceptPass Update doctors password
8/7/2019 Eproject Review
41/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 41
Adminss Forms
Admin Login
Purposes:
Login to Admin CP if username & password are correctDescriptions:
Label: Class JLabelLabel Descriptions
lblIcon1 Display login icon
lblUserName Display label fortxtUserName
lblPassword Display label fortxtPassword
Textfield: Class JTextfieldTextfield Descriptions
txtUsername Input admins username
txtPassword Input admins password
Button: Class JButtonButton Descriptions
btnLogin Submit form
btnCancel Exit program
8/7/2019 Eproject Review
42/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 42
Admin CP
Purposes:
Main frame manager program
8/7/2019 Eproject Review
43/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 43
Descriptions:
Panel: Class JPanelPanel 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 toTabbedPane
TabbedPane: Class JTabbedPaneTabbedPane Descriptions
tabPane Group the pnlPatient, pnlAccount together
Label: Class JlabelLabel Descriptions
lblClock Display clock
lblTheme Display label for cbTheme
Button: Class JbuttonButton Descriptions
btnExit Exit program
ComboBox: Class JComboBoxComboBox Descriptions
cbTheme Select themes for program
8/7/2019 Eproject Review
44/105
8/7/2019 Eproject Review
45/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 45
Descriptions:
Panel: Class JPanelPanel Descriptions
pnlPatient Group all elements
pnlSearch Group search actions
List: Class JlistList Descriptions
lstLog Display programs log
Table: Class JtableTable Descriptions
tblData Display ExamInfo & Patients info
Toolbar: Class JToolbarToolbar Descriptions
toolbar Group btnReloadData, btnEdit,btnPatientDetails
Button: Class JButtonButton Descriptions
btnSearch Filter the data
btnReloadData Reload all data
btnEdit Edit selected row in tableWhen click, form ExamInfo will display
btnPatientDetails View selected patients
When click, form PatientDetails will display
btnDelete Delete selected row in table
8/7/2019 Eproject Review
46/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 46
Textfield: Class JTextField
CheckBox: Class JCheckBoxCheckBox 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 JComboBoxComboBox Descriptions
cbType Type of patients: In or Out patientsIf select In patient, ckDate, ckRoomNo, ckBedNo is enabled
cbSubYear Submission YearEach years selection will make cbSubDay change the value of days
cbSubMonth Submission MonthEach months selection will make cbSubDay change the value of days
cbSubDay Submission Day
cbDisYear Discharge YearEach years selection will make cbDisDay change the value of days
cbDisMonth Discharge MonthEach months selection will make cbDisDay change the value of days
cbDisDay Discharge Day
Manage Doctors
Textfield Descriptions
txtExamID Input examID
txtPatientID Input patientID
txtSickness Input sickness
txtRoomNo Input roomID
txtBedNo Input bedID
txtDocName Input doctors name
8/7/2019 Eproject Review
47/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 47
Purpose:
Manage account doctor.
8/7/2019 Eproject Review
48/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 48
Descriptions:
Textfield: Class JtextFieldTextfield Descriptions
txtID Display doctors IDInput doctors IDWhen focus lost, display all doctors details on txtPassword, txtName,txtIDCard, txtIDCard, txtAddress, txtPhone, cbYear, cbMonth, cbDate, cbSex,cbSubject
txtPassword Display doctors passwordInput doctors password
txtName Display doctors full nameInput doctors full name
txtIDCard Display doctors IDCardInput doctors IDCard
txtAddress Display doctors addressInput doctors address
txtPhone Display doctors phoneInput doctors phone
Combobox: Class JcomboBoxComboBox DescriptionscbYear Select birthdays year
cbMonth Select birthdays month
cbDate Select birthdays day
cbSex Select sex
cbSubject Select subject
Label: Class JlabelLabel Description
lblID Display the label for txtIDlblPassword 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
8/7/2019 Eproject Review
49/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 49
lblSex Display the label for the combobox cbSex
lblSubject Display the label for cbSubject
Button: Class JbuttonButton Description
btnAdd Add new doctor
btnUpdate Update selected doctor
btnDelete Delete selected doctor
btnRefresh Refresh subject
Table: Class JtableTable Descriptions
tblData Store resultset of doctorsWhen click on 1 row, display all details on txtPassword, txtName, txtIDCard,txtIDCard, txtAddress, txtPhone, cbYear, cbMonth, cbDate, cbSex, cbSubject
8/7/2019 Eproject Review
50/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 50
Manage others
Purposes:
Manage subject, room bedDescriptions:
TabbedPane: Class JtabbedPaneTabbedPane Descriptions
tabPaneOthers Group pnlSubject,pnlRoom,pnlBed
Panel: Class Jpanel
8/7/2019 Eproject Review
51/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 51
Panel Descriptions
pnlSubject Panel subjectpnlRoom Panel room
pnlBed Panel bed
8/7/2019 Eproject Review
52/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 52
Manage subject
Purposes:
Manage subjectDescriptions:
Table: Class JtableTable Descriptions
tblSubject Display resultset of subject & allow to edit each row
Button: Class Jbutton
8/7/2019 Eproject Review
53/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 53
Button Descriptions
btnUpdate Save all changes to databaseOnly enable when data in tblSubject change
btnAdd Add new row in table tblSubject
8/7/2019 Eproject Review
54/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 54
Manage room
Purposes:
Manage roomsDescriptions:
Table: Class JtableTable Descriptions
tblRoom Store resultset of room
Label: Class Jlabel
8/7/2019 Eproject Review
55/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 55
Label Descriptions
lblRoomID Display label for txtRoomIDlblSubject Display label for cbSubject
Textfield: Class JtextfieldTextfield Descriptions
txtRoomID Input for room ID
ComboBox: Class JcomboBoxComboBox Descriptions
cbSubject Store all subjects name
Button: Class JbuttonButton Descriptions
btnAddRoom Add new row in table tblRoom
btnUpdateRoom Save all changes to databaseOnly enable when data in tblRoom change
8/7/2019 Eproject Review
56/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 56
Manage Bed
Purposes:
Manage bedsDescriptions:
Table: Class JtableTable Descriptions
tblBed Store beds recordset
Panel: Class Jpanel
8/7/2019 Eproject Review
57/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 57
Panel Descriptions
pnlCheckBed Group btnCleanBed, lblNotice
Button: Class JbuttonButton Descriptions
btnCleanBed Set all beds availability has the submissiondate = today to YES
btnAddBed Add new bed in table tblBed
btnUpdateBed Save all changes to databaseOnly enable when data in tblBed change
Label: Class JlabelLabel Descriptions
lblNotice Display * Remember to check daily
8/7/2019 Eproject Review
58/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 58
Manage account
Purpose:
Edit account admin.Descriptions:
Textfield: Class JtextFieldTextfield Descriptions Validations
txtOldpass Input admins old password Old password must be the correct
txtNewpass Input admins new password Not blank
8/7/2019 Eproject Review
59/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 59
txtConfirmPass Input admins confirm password Value must be the same as new password
Label: Class JlabelLabel Description
lblOldpass Display the label for the textfield txtOldpass
lblNewpass Display the label for the textfield txtNewPass
lblConfirmpass Display the label for the textfieldtxtConfirmpass
Button: Class Jbutton
Button Description
btnAcceptPass Update admins password
8/7/2019 Eproject Review
60/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 60
Task sheet 2
Project Ref. No.
ProjectTitle
Activity PlanPrepared by
Date of Preparation of Activity Plan
Sr.No
Task Actual StartDate
ActualDays
TeamMemberNames
Status
Design GUI
1 -Nurses Forms
PatientInfo
SystemHa Mai Tung
1/7/2010 1 Phuong Completed
2 -Doctors Forms: Login, EditAccount-Admins Form: Login
1/7/2010 4 Khoi Completed
3 -Doctors Forms: PatientDetails
-Admins Form: Edit Account
1/7/2010 2 Hang Completed
4 - Main Frame-Doctors Forms: Managepatients (edit ExamInfo,Search)
1/7/2010 2 Tung Completed
5 -Admins Forms: Managepatients
1/9/2010 1 Tung Completed
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
8/7/2019 Eproject Review
61/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 61
8/7/2019 Eproject Review
62/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 62
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 configurethe ODBC connection:
8/7/2019 Eproject Review
63/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 63
- Win XP/Vista: Control Panel > Administrative tools >Data Sources (ODBC)
- Win 7: Start > Type ODBC > Enter
3. Click Add
8/7/2019 Eproject Review
64/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 64
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
8/7/2019 Eproject Review
65/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 65
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
8/7/2019 Eproject Review
66/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 66
8. Click Finish
9. If the following screen pop-up then you can continue, otherwise, check the ODBC and startover again
8/7/2019 Eproject Review
67/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 67
10.Click Test Data Source
This screen show that you have successfully created the ODBC for PatientInfoSystem.
8/7/2019 Eproject Review
68/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 68
11.Execute TestConnection.jar, if you receive an error message, example like this:
This means somethings 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:
8/7/2019 Eproject Review
69/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 69
User Guide
Nurses
Execute PatientInfo_Nurse.jar to run Doctor manager.
1. LaunchA 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:
8/7/2019 Eproject Review
70/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 70
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
8/7/2019 Eproject Review
71/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 71
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 .
8/7/2019 Eproject Review
72/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 72
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.
8/7/2019 Eproject Review
73/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 73
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
8/7/2019 Eproject Review
74/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 74
Field Phone must number
Otherwise, a new record is added into the table.
b. Search the patient:
8/7/2019 Eproject Review
75/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 75
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 .
8/7/2019 Eproject Review
76/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 76
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.
8/7/2019 Eproject Review
77/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 77
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.
8/7/2019 Eproject Review
78/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 78
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.
8/7/2019 Eproject Review
79/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 79
Doctors
Execute PatientInfo_Doctor.jar to run Doctor manager.
1. Login: (Try username DR0001 and password 123 for sampling)
If the login is failed, the program will display a message:
Otherwise, the program will take doctor to main doctors manager program.
Tips: Press Enter after fill all to login instead of using mouse to save times.
Enter doctors ID
Enter doctors password
8/7/2019 Eproject Review
80/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 80
2. Manage Patients:
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 patients
ExamInfo or let the patient discharge.
- Usage: there is 2 ways to do this- Double click row in table.- Select a row a click onEdit.
If the ExamID is not null, the screen will display a form:
Display ExamInfo &
Patients
Filter
the
data
Logging list
Edit
selected
ExamInfo
View selected
patients details
Reload
all data
8/7/2019 Eproject Review
81/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 81
Click OK to save when finishing editing. Click Cancel to discard.
Otherwise, if the ExamID is null, then a message display:
8/7/2019 Eproject Review
82/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 82
Note: If you try to edit a patient who is not treated by you, you can only
view this patients ExamInfo
c. View a patients details:- Function: View patients details- Usage:
- Select a row, click on View Patients details.- A form display patients details:
Click Close to close this form.
d. Filter the data:- Function: filter - sort the data and display on the table.- Usage:
- Check a filters option you want and enter details on it.
8/7/2019 Eproject Review
83/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 83
- Select a sorts option.- Click on Search Data.
The result has been filtered!
e. Logging reports:- Function: show logs of manage patients.
8/7/2019 Eproject Review
84/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 84
3. Edit Account:
a. Change personal information:- Function: change doctors personal information.- Usage: fills in needed field and click Apply Change.
If the data save successfully, a message will display:
b. Change password:
8/7/2019 Eproject Review
85/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 85
- Function: change doctors 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 newpassword, 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.
8/7/2019 Eproject Review
86/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 86
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:
Otherwise, the program will take admin to main admins manager (Admin CP) program.
Tips: Press Enter instead of using mouse to save times.
Enter admins username
Enter admins password
8/7/2019 Eproject Review
87/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 87
2. Manage Patients:
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 patients
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:
Display ExamInfo &
Patients
Filter
the
data
Logging list
Edit
selected
ExamInfo
Edit selected
patients details
Reload
all data
Delete
current
ExamInfo
8/7/2019 Eproject Review
88/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 88
Click OK to save when finishing editing. Click Cancel to discard.
Otherwise, if the ExamID is null, then a message display:
c. Edit a patients details:- Function: Edit patients details- Usage:
- Select a row, click on Edit Patients details.
8/7/2019 Eproject Review
89/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 89
- A form display patients details:
Click Update to save patients details in this form.
Click Delete to delete this patient.
8/7/2019 Eproject Review
90/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 90
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 filters option you want and enter details on it.- Select a sorts option.- Click on Search Data.
8/7/2019 Eproject Review
91/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 91
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 nullClick button to delete it.A confirmation message will display:
If successful, a message will display:
8/7/2019 Eproject Review
92/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 92
Otherwise, a failure message will display:
3. Manage doctors:
a. Add a new doctor:- Function: Create a new doctor- Usage:
8/7/2019 Eproject Review
93/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 93
- 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 doctors details.- Usage:
- First, select a row from tableTips: You can use keys to move up & down in table.
8/7/2019 Eproject Review
94/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 94
- With each row, the correlative details will be displayed:
c. Update a doctor:- Function: update doctors details- Usage:
- First, select a row in table- Now, you can edit this doctors details:
after finishing, click on Update button to update:
This message show that you have successfully update this doctor.
d. Delete a doctor:
8/7/2019 Eproject Review
95/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 95
- 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 yourdecision:
If you click Yes, the selected doctor will be deleted:
and the deleted row was disappeared:
4. Manage others:
8/7/2019 Eproject Review
96/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 96
a. Manage subjects:
Edit a subject:- Function: change subject name.- Usage:
Double click on the subject name you want to change, enter a newsubject name:
Press enter when finishing changing.Add a new subject:
- Function: add a new subject- Usage:
Click the button.
8/7/2019 Eproject Review
97/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 97
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.
8/7/2019 Eproject Review
98/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 98
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:
8/7/2019 Eproject Review
99/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 99
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.
8/7/2019 Eproject Review
100/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 100
c. Manage beds:
Edit a bed:- Function: edit room ID & availability in table.- Usage:
Select a row in table:
8/7/2019 Eproject Review
101/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 101
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:
8/7/2019 Eproject Review
102/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 102
Select a room ID on the 2nd cell:
Clean beds:- Function: set the beds 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.
8/7/2019 Eproject Review
103/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 103
5. Edit Account:
a. Function: change admins password.b. Usage:
Enter old password, if the old password is not correct, a message will display:
8/7/2019 Eproject Review
104/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Prepared by Ha Mai Tung Page 104
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, amessage will display:
If all information is correct, a message will display:
From now on, admin will have to login with a new password.
8/7/2019 Eproject Review
105/105
Project Group No: 3 Document Name: eProject Review
Effective Date: 12/31/2009 Project Name: PatientInfoSystem
Task sheet 3
Project Ref. No. ProjectTitle
Activity PlanPrepared by
Date of Preparation of Activity Plan
Task Actual StartDate
ActualDays
TeamMemberNames
Status
Coding project
-Nurses Forms
Patient
InfoSystem
Ha Mai Tung
1/12/2010 8 Phuong Completed
-Doctors Forms: Login, EditAccount-Admins Form: Login
1/13/2010 2 Khoi Completed
-Doctors Forms: Patient
Details-Admins Form: Edit Account
1/12/2010 7 Hang Completed
- Main Frame-Doctors Forms: Manage
patients (edit ExamInfo, Search)
1/12/2010 9 Tung Completed
-Admins Forms: Manage
patients (edit ExamInfo, Search)
1/21/2010 1 Tung Completed
-Manage Doctors 1/15/2010 2 Khoi Completed
-Manage Others: Subject 1/20/2010 3 Khoi Completed
-Manage Others: Room, Bed
-Admin forms: Patient Details
1/19/2010 3 Hang Completed
Insert data & Testing
Insert sample data Patient
InfoSystem
Ha Mai Tung
1/25/2010 1 Khoi +
Hang
Completed
Test programs 1/26/2010 2 Team Completed
Top Related