0% found this document useful (0 votes)
31 views48 pages

Clinic Management System

Management systems of clinic in an area

Uploaded by

Ceasar mk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views48 pages

Clinic Management System

Management systems of clinic in an area

Uploaded by

Ceasar mk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 48

CLINIC MANAGEMENT SYSTEM

Section

INTRODUCTION

Empandeni is situated slightly on the outskirts of the city of Plumtree .It is located in rural

Zimbabwe near the Botswana boarder, in Mangwe district, Mat South Province,

approximately 32 km south of Plumtree town. It was established by the Roman Catholic

Church in 1954. The clinic maintains full information of both indoor and outdoor patients

using the manual system. As the patients come, the registration of patients is done by just

writing the patient’s name, age and gender. The bills are generated by recording price for

each facility provided to patient on a separate sheet and at last they are assumed up. Also the

diagnosis information to patients is generally recorded on the document. Hence as a student

of Empandeni Mission I have decided to computerize it.

BACKGROUND ANALYSIS

Empandeni maintains full information of both indoor and outdoor patients using the manual

system. As the patients come, the registration of patients is done by just writing the patient’s

name, age and gender. The bills are generated by recording price for each facility provided to

patient on a separate sheet and at last they are assumed up. Also the diagnosis information to

patients is generally recorded on the document which contains patient information.Thus

introduction of computers was made.For over a period of time the clinic has been using a

manual system of records and it will be for patients over 50, hence it is facing some

challenges in the patients record when some of the information is lost. Clinics are a very

important thing in the society as it is important to society, there is no way by which the clinic
can achieve its purpose of establishing without an effective and we’ll operating stuff. The

stuff helps bring about achievement, manages the clinic’s operations and that is operates in a

right way. The stuff can do this through record keeping. Record keeping management is

important because it is effective in all activities that the clinic stuff do like planning &

budgeting. Record keeping management system is important and cannot be ignored and

hence it needs to be improved so that it keeps on effective rather than bring challenges in

clinics because it will affect the stuff.

INVESTIGATION OF THE CURRENT SYSTEM

Investigation is conducted in order to collect more information on how the current

system flows and operates, the problems the stuff faces when using the system and

therefore problems will be further identified and added to the problems

Data analysis of the current system

• Data analysis is the in-depth study of the system in order to determine how

data flows within the system.

• This is necessary because it is easier for the reader to understand how the

system works and operates.

• Under data analysis of the current system, DFDs flowcharts and ERDs will

be drawn in order to show how the current system flows.


ENTITY RELATIONSHIP DIAGRAM

• A clinic is organized into a number of wards

• Each ward has a ward number and name recorded, along with a number of beds in

that ward

• Nurses have their staff number, name recorded and is assigned to a ward

• Each patient in the clinic has a patient identification number, and their name, address

and date of birth are recorded

• Each patient is under the care of a nurse and is assigned to a single ward

• Each nurse is responsible for a number of patients

Entity Primary key Attributes

Ward Ward ID Ward name, beds

Nurse Staff ID Name

Age

Sex

Consultant Staff ID Name

specialism

Patient Patient ID Name, address, DOB


Name Patient ID

Name
Ward ID
Beds

Address
Ward Patient

DOB

Staff ID
Name Staff ID

Nurse Consultant

Sex Age Name

Specialis
m

REASEARCH INSTRUMENT

• This techniques are useful in investigating further about the current system.

• These are techniques used to collect data for analysis in order to obtain new

information or create better understanding of a topic

• Examples of research instruments include Questionnaires, Observations,

Record Inspection, interviews etc.


In this project I will use Interview, Questionnaire, Record Inspection and

Observation

RECORD INSPECTION

When I used this method after asking for their records, I discovered that the records

were not put up to date and everything was a mess. I also discovered that patients

records were misplaced and wrong information was written down I then decide to use

another method to investigate

INTERVIEWS

Since this method is best way to obtain information, I asked the nurses the challenges

and problems they are facing, that’s how I discovered that data is not safe as it is

stored in cabinets and may be damaged in case of fire, or natural disasters and it can

never be recovered. Some of these questions include:

advantages are that :

 effective when gathering data on system

 i can also probe to get more information

disadvantages are that :

 it is difficult to remain anonymous

 it is also time consuming


Identifying Information

Interview Number

Name:

Date:

Name of the respondent:

Method:

Preparations

Purpose

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

………………………………………………………………………………………………

……………………………
Relevant Research

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

……………………

Questions

• As a nurse what are the problems you are facing with the current system

ANSWER
…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………

2.What action is taken when there is an error pertaining to the patient’s records

currently

ANSWER

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………

…………………………………………………………………………………………
…………………………………………………………………………………………

…………………………...

3.Currently how do you backup your records and is it effective enough?

ANSWER

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

…………………………………………………………………………………………………

………………………………………………………………………

PROBLEMS OF CURRENT SYSTEM

• Lack of storage space

Medicine has always been dynamic and that means more and more diseases are discovered

each day that makes the current infections more than tenfold, when systems were designed
including structural design of records storage. Three decades ago, data for the whole year for

a certain health facility would fit in less than five files coupled with a handful number of

record books whereas nowadays data generated in three months cannot fit in the above

mentioned files. Unfortunately, no expansion of medical archive storerooms. In a bid to

mitigate the problem, storage of records has been revised from five to three years which also

poses a challenge of losing much needed information for example challenges in retrieving

maternity information when trying to generate a birth record for one to acquire a birth

certificate. As such, health facilities deal with the life and health of their patients. Good

medical care relies on well-trained personnel and on high-quality facilities and equipment.

Good medical care also relies on good record keeping. Without accurate, comprehensive up-

to-date and accessible patient casenotes, medical personnel may not offer the best treatment

or may in fact misdiagnose a condition, which can have serious consequences while records

also provide evidence of the clinic’s accountability for its actions and they form a key source

of data for medical research, statistical reports and health information systems.

• Costs of manual medical records

There are several types of costs associated with manual patient records. One type,

duplication of the record, requires paper and copying supplies, as well as the staff to

create and distribute the copies. Staff hired to assemble, file, retrieve, or distribute the

hard copy chart is a costly expense. Storage of the paper record necessitates the use of

valuable space that could be better utilized. The records also need to be protected

from water, fire, or mishandling of the paper to preserve their physical integrity.One

of the most expensive disadvantages of the paper record is duplicate patient testing
required to replace lost or missing test results. Repeating procedures may jeopardize

the patient’s health, creating a potential opportunity for an adverse medical event.

Duplicate testing wastes scarce medical resources (time, staff, supplies, and

equipment) that could be used for other patients. It is a contributing source to the

rising costs of health care by generating additional charges to be billed to the patient,

insurance company, or other third- party payor.A related issue pertains to ordering

procedures or tests that are either unnecessary or contraindicated. These types of

decisions, when based on inadequate information or delayed results, create a

potentially harmful situation for the patient and a needless expense for all concerned.

Claims submitted for medical errors that could have been prevented with accurate and

accessible patient information are issues that are seen with the use of a paper record.

• Lost productivity from manual medical records

Lost productivity results from various inadequacies of the paper record. This affects

multiple departments in a healthcare facility. Searches for misfiled charts waste time.

Staff members’ time is required to deliver paper records to a specific location. If the

paper record is not readily available, clerical staff responsible for filing

documentation may need to make several attempts before the task is completed.

Medical errors may be made if the staff makes decisions on inadequate information.

There is no ability to sort data fields in a paper record. Staff responsible for reporting

mandated data elements to the appropriate organizations must perform a manual

review. This is a very labor-intensive process, and inaccuracies can occur.


• Accessibility of medical records

Of great concern is the lack of access to the record. Only one person at a time may use the

chart and the chart has to be in a single location. Staff needing access to the record must wait

until it is .

available for their use. This also contributes to the difficulty of updating the paper record,

especially for an active patient’s chart since that chart travels with the patient to each location

of care. Delivering documentation by hand to the patient’s temporary location lends itself to

the potential for losing or misplacing the records. Delayed access to the chart negatively

affects coding, billing, and reimbursement processes.

• Quality of manual medical records

The issue of quality encompasses the physical record, the documentation, and patient

care. There are limitations to the physical quality of the paper record. The paper is

fragile and does not last permanently. Normal use of the record may result in torn or

stained documents. Also, over the years, the ink used to complete documentation can

fade. Actual damage resulting from water or fire is another threat to the physical

integrity of the paper record. The quality of the actual documentation varies based on

the health care provider’s documentation skills and knowledge level. While

standardization of the data documentation has improved over the years, not all

providers use the same abbreviations, terminology, format, or chart organization. This

can result in incomplete or inaccurate healthcare data collection. Handwritten

information may be illegible, creating the potential for errors in patient treatment or

medication orders.
• Fragmentation caused by manual medical records.

Fragmentation of the patient’s record occurs as the result of multiple encounters with

different healthcare providers. Due to disparate patient documentation and billing

systems, there is often minimal or no exchange of information that contributes to

compiling a longitudinal medical history for the patient. Each provider or facility has

a limited portion of the patient’s overall health information. Some minor

communication may be provided between referring and consulting physicians, but

only for a specific encounter. The level of fragmentation varies based on several

factors. These factors include:

• The patient’s ability to communicate pertinent health information to the provider;

• The ability of the provider to collect information that is accessible to other

providers;

• The provider’s ability to directly elicit health information from the patient and any

written documentation to create an appropriate treatment plan;

• The limitations of the patient record system(s) that are being utilized to collect and

disseminate information . A well planned and implemented electronic medical record

system should address and/or alleviate many of the general disadvantages of the paper

record. This is an immense undertaking that requires an in-depth review of current

processes, a detailed strategy for determining the organization’s future needs and

goals, an organization’s willingness and ability to make significant changes, and the

financial investment to achieve the desired results. It is also a very time-intensive

project that demands the utmost dedication and commitment by the entire health
system. Patients, providers, and other interested parties could all expect to derive

benefits from a properly planned and installed an automated system.

FEASIBILITY STUDY

This is an investigation conducted to determine whether Empandeni clinic needs a new

system or simple modification of the old one. Under feasibility study there are stages that will

help in deciding whether the new system is feasible or not Economic, Social and Technical

feasibility and operational feasibility. They help in determining whether a new system that I

plan to introduce is feasible or not and assesses magnitude and decide the scope of the

problem

Technical feasibility

• This is a study which seeks to provide whether the technology required for new

system is readily available. As for the project I plan to propose, the new system will

not work and not be effective and they will be problems also backups are not

available.

Economic feasibility

This aims at justifying the costs of implementing the new system will return funds

invested in a favourable period of time.

SOCIAL FEASIBILITY
• In this feasibility, evaluation on effects of introducing the new system on the

organization’s human resources. System users need to be well trained in using this

system. Training like how the system operates, how data will be recorded without

interruption. This new system will however be fast and user friendly and easy to use,

no use of books as well it will reduce use of papers

• The system i plan to propose will make sure that users will feel free and find it user-

friendly and effective than the old system. This is because the old system is giving a

yard time to the users and it is tiresome since information is recorded on paper

OPERATIONA FEASIBILITY

It seeks to establish changes in operational style of the organization. The new system does

not fully change the way the organization operates but helps the way the system was

operating thus providing easy way of recording information, massive security etc.

HARDWARE REQUIREMENTS SPECIFICATION

User requirements

• User must know how to type

• User must be familiar with Database

• User must know the system flows and works

• User must have In-depth knowledge of the computer


Hardware requirements

• CPU

• Monitor

• Computer

• Storage

• 16GB RAM

• Coi5 processor

Software requirements

• Browser: Chrome

• Microsoft word package

• Opening system: Windows 10 with better updates

AIMS

• The first and most important is reducing paper work. Since paper work

consumes a lot of space in a room, they is need to change the system to

avoid overcrowding.

• They is need for time management.


• They is need for data security.

• The clinic aims at retrieving accurate information from the patients.

• Reducing unnecessary expenses.

Objectives

• To provide accurate information about the patients served at the clinic, the

staff that is there and the resources needed.

• To have strong backups for patients records.

• To display only valid information.


Section B

CONSIDERATION OF ALTERNATIVE METHOD

There are three main alternative solutions that will help in this project. These alternative

solutions help in making a decision on what is it going to happen, which solution would be

the best and be brought forward but only one solution is taken into consideration. Three main

alternative solutions include Maintaining, off-the Shelf and Computerizing the system.

1. Maintaining

 This is the process of making improvements to a system that is being used, designed

and ready to be implemented.

 Maintaining will be focusing on improving and correcting of unknown bugs to a

program designed, additions of new changes to a program because of a change in

user requirements and changing of routines to make the system operate very fast

Advantages

 It is easy to maintain an existing system.

 This helps in improving the system.

 Reduces the cost of buying another system.

Disadvantages

 It is expensive to maintain.

 Sometimes it is required to implement a new system.

 The system may stop working.


2. Off-The-Shelf

 This is the buying of a pre-programmed software from a software vendor.

 This software is very much important for non-specialists and it suits the problems

denoted by the system designer.

 It carries strong and reliable features.

Advantages

 The system is already available.

 It contains strong features.

 The software can be bought and installed right away.

Disadvantages

 It may contain unwanted, unnecessary features.

 The system might not be user-friendly to the user.

 Training might take time in order for the user to be user-friendly.

 The system might be difficult to maintain or repair.

 Expensive to buy.

3. Computerizing

 This is developing the system from manual to a computer program.

 Computerizing is an advantage because it ensures security, storage space, reduce

labour etc.

Advantages
 The system will speed up recording processes by making use of check boxes and

combo boxes that will have pre-recorded details that will just need to be selected.

 The computerized system will be tidier as it will not have papers that are difficult to

organize.

 Finding records on the system will be easier because of the search options available.

This will also speed up the system.

 It will also enable easy creation of backups by simply copying existing data onto

removable media.

Disadvantages

 It is expensive to install and maintain because of the high technology.

 It may be a drawback as the workers will have to be taught on to use the system and

might take a long time.

 It needs expertise to install and maintain the computers and they are very expensive.

Justification of Proposed Solution

I prefer computerizing the system. This is because it is the best solution amongst all these

alternative methods. Computerization improves and reduces the problems I have identified in

this school and as an addition, it increases security, reduces loss of data, there is plenty of

storage, it helps or it makes it easy to collect data necessary and important information is

recorded and kept safely. Therefore, the best solution is Computerization

Input Design Input

Designing involves designing of data entry forms, input methods e.g. by filling forms etc. and

the user interface. This is where the system I plan to implement is designed and the designs

would be user-friend

Data Capture Forms


Data capture forms shows how the system will look like when the system is completed and

ready to be implemented. The data capture forms for Record Keeping Management System is

as follows:

Employees Register

 This is the register that shows the list of patients admitted into the clinic on yearly

basis and records those who transfers to The register includes the name of the

patients, age, address of each patient, the date of admission, gender, date of birth.

ID

Full Name

Surname

Date of Birth

ID Number

Phone Number

E-Mail

Patients Admission register

ID

Full Name
Surname

Date of Birth

Sex

ID Number

Phone Number

E-Mail

SCREEN LAYOUTS

Patients form

Full Name

Surname

Date of birth

Sex

ID Number

Phone Number

E-Mail
Employees form

Full Name

Surname

Date of birth

Sex

ID Number

Phone Number

E-Mail

Data Structure/File Design

Data structure/File design involves designing tables/files, records and validation rules. It also

determines how data is to be stored and accessed, the media to be used for storage and the

mode of file organisation. This is where data structure/file design of Record Keeping

Management System is designed and all the validation will be shown.

Login

Data type Length Example

Alphabetic 5 Buhle

String 5 Buhle
Patients Details

Field Name Data type Length

First Name Alphabetic 10

Surname Alphabetic 8

Date of birth Date and Time 6

Sex Alphabetic 6

ID Number Number 15

Phone Number Number 10

Employee Details

Field Name Data type Length

First Name Alphabetic 10

Surname Alphabetic 8

Date of birth Date and Time 6

Sex Alphabetic 6

ID Number Number 15

Phone Number Number 10

Overall Plan

Login form
The lock book

Drug stock
book

Staff Record
Book

Cancel Exit

Output Design

This is the design of reports, data output formats, screen displays and other printed

documents like receipts. Output design for Clinic Management System is thereby

designed and all the screen display will be shown. This is how the system looks like
Employees

ID Full Surname DOB Phone Email address Gend

Numb Name Number er

er

1 Thandiw Makhuya 26/9/199 7145122 thandiwemakhuya@gmail. Fema

e 9 74 com le

2 Fihliwe Mlilo 27/7/198 7737107 [email protected] Fema

8 55 le

3 Tumelo Mapako 25/9/200 7735678 [email protected] Fema

2 49 m le

4 Khaman Ncube 18/12/20 7145673 [email protected] Male

da 00 87 m

5 Eve Moyo 23/9/200 7553476 [email protected] Fema

2 23 le

6 Cheryl Haruzivius 20/5/199 7776543 cherylharuzivishe@gmail. Fema

he 8 27 com le

7 Nomvel Mpala 24/10/20 7134456 [email protected] Fema

o 03 75 m le

8 Tinashe Mthomben 24/5/200 7845678 tinashemthombeni@gmail. Male

i 3 93 com

9 Mandla Nkomo 17/8/199 7173665 [email protected] Male


7 44

10 Neithen Sibanda 23/9/199 7765235 [email protected] Male

9 44 m

Patients

ID Full Name Surname DOB Gende Phone Email address

numbe r Number

1 Theresa Mukumb 12/5/2005 Femal 77917675 [email protected]

a e 4 m

2 Sinothand Nkomo 23/9/2003 Femal 71534735 [email protected]

o e 7 m

3 Tania Nleya 12/3/2002 Femal 74546734 [email protected]

e 6

4 Phindile Mlilo 23/5/1999 Femal 78736454 [email protected]

e 7

5 Mark Moyo 17/9/1998 Male 71635677 [email protected]

6 Francis Makhuya 28/10/198 Male 77856346 [email protected]

8 5

7 Thapelo Ngwenya 20/4/2004 Male 78456342 [email protected]


6 m

8 Nomqhele Moyo 29/5/2003 Femal 71653875 [email protected]

e 3

9 Jonathan Dube 15/12/198 Male 78945621 [email protected]

0 5

10 Cristian Sibanda 15/9/2006 Male 71342536 [email protected]

TESTING STRATEGIES/ TEST PLAN

 This involves the testing of the system on how effective it is.

 A test plan is detailed documents which examines the test strategies taken, schedules

and resources used for performing the software testing.

 Test plan is usually written in the course of implementing a new system.

 It contains all the details needed for a system testing.

The following is a list of test plans used in this project:

1. Analysis of the record

2. Testing Strategies

3. Testing Objectives

4. Testing Criteria
5. Resource Planning

6. Plan Test Environment

7. Schedule & Estimation

8. Determination of Test Deliverables

1. ANALYSIS OF THE RECORDS

 The updated system must be user friendly so that the people in charge will not

face any difficulties.

 The responsible authorities who are taking care of the records must however

be qualified or must have a deeper understanding of upcoming system.

 The system will cover the whole school’s records.

2. Testing Strategies

 This is however the essential stage as it will look closely at the defining scope

of testing and the testing type needed.

I. Defining scope of testing

 Both hardware and software need to be tested so to check how suitable it is

and see if there is any need for updating the hardware or the software itself.

 Hardware is checked if it can handle the upcoming system and the software is

tested so as to check any harmful things like viruses that will stop the system

from functioning properly.


II. Testing type

 Commonly and used into testing this system are Unit Test, API Testing,

Integration Test, System Test, Install/uninstall Testing and Agile Testing

3. TEST LOGISTICS

 This is to ensure if the updated system works accordingly.

Section C: System Development

Technical documentation

Algorithms : Pseudo codes

Main Form:

Start

Select Option

If selected option is Search/Delete Then show Search/Delete Form

If selected option is Add Then show Add Form

If selected option is View Then show View Form


If selected option is Close Then Exit the Exit Form

If selected option is Back Then Back the Back Form

If selected option is Save Then Save last Operation

If selected option is Edit Then Edit current Form

End Select

End

Add Form:

Start

Select Option

If selected option is Add New Patient Then show Add New Patient Form

If selected option is Add Patient Then show Add Patient Form

If selected option is Add/Subtract Then show Add/Subtract Form

If selected option is X Then Exit the Add Form

End Select

End

Flowcharts
Start

Select
Form

Serch
Patient

Search
Patient

All
Patients

Search
record

Adding
form

All Patients

shown

Stop

Search:

Start
Mai
n

Select sub Select Input Search Searc Display


module search Index h record

Stop

Code Program listing

Login codes

Imports System.Data.OleDb

Public Class frmLogin

Dim con As New OleDbConnection

Private Sub OK_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles OK.Click

If ask() = True Then

txtUsername.Text = ""

txtPassword.Text = ""

If MessageBox.Show("Welcome to Empandeni Clinic ", "Login",

MessageBoxButtons.YesNo, MessageBoxIcon.Question) =

Windows.Forms.DialogResult.Yes Then

frmmain.Show()
Me.Hide()

Else

Return

End If

Else

MessageBox.Show("Invalid Username or Password!", "Access Denied",

MessageBoxButtons.OK, MessageBoxIcon.Error)

End If

Me.Hide()

End Sub

Private Sub Cancel_Click(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles Cancel.Click

Me.Close()

End Sub

Private Sub frmLogin_Load(ByVal sender As System.Object, ByVal e As

System.EventArgs) Handles MyBase.Load

con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data

Source=C:\Users\Empandeni ICT 21\Desktop\Clinic System\Clinic System\bin\

Debug\Clinic.mdb"

End Sub

Public Function ask()

Dim dt As New DataTable

Dim ds As New DataSet

ds.Tables.Add(dt)

Dim da As New OleDbDataAdapter("select * from Admin", con)

da.Fill(dt)
For Each datarow In dt.Rows

If txtUsername.Text = datarow.item(1) And txtPassword.Text =

datarow(2) Then

con.Close()

Return True

End If

Next

con.Close()

Return False

End Function

End Class

Patients form

Public Class frmeditpatients

Private Sub btnAdd_Click(sender As Object, e As EventArgs)

End Sub

Private Sub btnDelete_Click(sender As Object, e As EventArgs)

End Sub

Private Sub btnClose_Click(sender As Object, e As EventArgs)

End Sub
Private Sub PatientsBindingNavigatorSaveItem_Click_1(sender As Object, e

As EventArgs)

End Sub

Private Sub btnSave_Click(sender As Object, e As EventArgs)

End Sub

Private Sub PatientsBindingNavigatorSaveItem_Click(sender As Object, e As

EventArgs) Handles PatientsBindingNavigatorSaveItem.Click

Me.Validate()

Me.PatientsBindingSource.EndEdit()

Me.TableAdapterManager.UpdateAll(Me.ClinicDataSet)

End Sub

Private Sub frmeditpatients_Load(sender As Object, e As EventArgs) Handles

MyBase.Load

'TODO: This line of code loads data into the 'ClinicDataSet.Patients'

table. You can move, or remove it, as needed.

Me.PatientsTableAdapter.Fill(Me.ClinicDataSet.Patients)

End Sub

Private Sub btnSave_Click_1(sender As Object, e As EventArgs) Handles

btnSave.Click

Try

PatientsBindingSource.EndEdit()

TableAdapterManager.UpdateAll(ClinicDataSet)

MsgBox("Record Successfully saved")

Catch ex As Exception
MsgBox("Error occur, please recheck the fields and try again")

End Try

End Sub

Private Sub btnDelete_Click_1(sender As Object, e As EventArgs) Handles

btnDelete.Click

PatientsBindingSource.EndEdit()

TableAdapterManager.UpdateAll(ClinicDataSet)

MsgBox("Record deleted")

End Sub

Private Sub btnClose_Click_1(sender As Object, e As EventArgs) Handles

btnClose.Click

If MessageBox.Show("Are you sure you want to exit?", "Exit",

MessageBoxButtons.YesNo, MessageBoxIcon.Question) =

Windows.Forms.DialogResult.Yes Then

frmmain.Show()

Me.Hide()

Else

Return

End If

End Sub

Private Sub btnAdd_Click_1(sender As Object, e As EventArgs) Handles

btnAdd.Click

Me.Validate()

Me.PatientsBindingSource.EndEdit()

Me.TableAdapterManager.UpdateAll(Me.ClinicDataSet)

End Sub
End Class

Employees Form

Public Class frmeditemployees

Private Sub frmeditemployees_Load(sender As Object, e As EventArgs)

Handles MyBase.Load

'TODO: This line of code loads data into the 'ClinicDataSet.Employees'

table. You can move, or remove it, as needed.

Me.EmployeesTableAdapter.Fill(Me.ClinicDataSet.Employees)

End Sub

Private Sub btnAdd_Click(sender As Object, e As EventArgs) Handles

btnAdd.Click

Me.Validate()

Me.EmployeesBindingSource.EndEdit()

Me.TableAdapterManager.UpdateAll(Me.ClinicDataSet)

End Sub

Private Sub btnDelete_Click(sender As Object, e As EventArgs) Handles

btnDelete.Click

EmployeesBindingSource.EndEdit()

TableAdapterManager.UpdateAll(ClinicDataSet)

MsgBox("Record deleted")

End Sub

Private Sub EmployeesBindingNavigatorSaveItem_Click(sender As Object, e As

EventArgs) Handles EmployeesBindingNavigatorSaveItem.Click

Me.Validate()

Me.EmployeesBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.ClinicDataSet)

End Sub

Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles

btnSave.Click

Try

EmployeesBindingSource.EndEdit()

TableAdapterManager.UpdateAll(ClinicDataSet)

MsgBox("Record Successfully saved")

Catch ex As Exception

MsgBox("Error occur, please recheck the fields and try again")

End Try

End Sub

Private Sub btnClose_Click(sender As Object, e As EventArgs) Handles

btnClose.Click

If MessageBox.Show("Are you sure you want to exit?", "Exit",

MessageBoxButtons.YesNo, MessageBoxIcon.Question) =

Windows.Forms.DialogResult.Yes Then

frmmain.Show()

Me.Hide()

Else

Return

End If

End Sub

End Class

User Documentation
Installation

Open this folder

A window as shown below will appear, and then you should click next and the

program will install.

At the end of installation another similar window will appear with the finish button

which you should click

Double Click Set


up

Click Install
RUNNING THE SYSTEM

 Click on the windows button OR start button

 the applications as shown below appear and click on EMPANDENI CLINIC SYSTEM

 if the application did not appear in the start menu type EMPANDENI MANAGEMENT

SYSTEM in the search box and click on the icon.

 A splash from will run followed by a login form which will appear and then you

follow the steps below.

Splash Form
Login Form

Enter passcode

Passcode is “Buhle”

Main Form

 Click on the button you want to attend to e.g. Edit Employees


 every form on the system has some navigation buttons for example the following

form

 “ADD Patient” will open a form that allows the user to enter drug details and

save the record

 “search patint“will open a form that allows the user to search the record of a

drug using any of the field in the drugs table

 “delete patient” will open a datagridview that shows details of all drugs in

the hospital

 “Exit” unloads the drugs form and opens the MAINFORM

Patients Form
Employees Form
Exiting the System

1. Click the exit button which is available on every form will enable you to instantly exit

the whole system e.g. the exit button in the Employees form shown below

2. a message box will pop up with the message “Are you sure you want to exit” and

when you click yes the system will exit

Section D

User testing

Test for standard data.


Test for extreme data
Test for invalid/abnormal data

Error messages

Achievements

The system is now secured since there is use of username and passwords
There is reduced human labour.the employees can now use computers which requires less

labour than manual system

There is data integrity

Weakness/ limitation

The system needs electricity

The system can only add patients and drug records only

There is human error

Opportunities for future developments

As time goes on the system will be improved .There will be additions of other many forms

and coding so as to improve the system

You might also like