You are on page 1of 27

RDSD

Wellmeadows Database System

29/11/2011

Table of Contents
Acknowledgement ............................................................................................................................................................................ 2
Introduction ...................................................................................................................................................................................... 2
Company Introduction ...................................................................................................................................................................... 3
ERD Assumption ............................................................................................................................................................................... 3
ERD Diagram ..................................................................................................................................................................................... 4
Relational Schema ............................................................................................................................................................................ 5
Forms ................................................................................................................................................................................................ 6
Ward Form ................................................................................................................................................................................... 6
Patients ........................................................................................................................................................................................ 7
In-Patients .................................................................................................................................................................................... 8
Out-Patients ................................................................................................................................................................................. 9
Doctor ........................................................................................................................................................................................ 10
Appointment .............................................................................................................................................................................. 11
Schedule..................................................................................................................................................................................... 12
Queries ........................................................................................................................................................................................... 13
All Patients Admitted ................................................................................................................................................................. 13
In-Patients in a particular Ward ................................................................................................................................................. 14
Scheduled Out-Patients Appointments..................................................................................................................................... 15
Search by Doctors Specialty ...................................................................................................................................................... 16
Search for an available bed in a Ward ....................................................................................................................................... 17
Reports ........................................................................................................................................................................................... 18
All Patients Admitted ................................................................................................................................................................. 18
In-Patients in a particular Ward ................................................................................................................................................. 19
Out-Patients Scheduled Appointments ...................................................................................................................................... 20
System Navigation .......................................................................................................................................................................... 21
Macros ....................................................................................................................................................................................... 21
Main Menu ................................................................................................................................................................................ 21
Table Menu ................................................................................................................................................................................ 22
Forms Menu ............................................................................................................................................................................... 23
Queries Menu ............................................................................................................................................................................ 24
Reports Menu ............................................................................................................................................................................ 25
Conclusion ...................................................................................................................................................................................... 26
References ...................................................................................................................................................................................... 27

RDSD

Wellmeadows Database System

29/11/2011

Acknowledgement
This project would not be approve and complete without the guidance and help of the people who
contribute and extend their valuable assistance in the preparation and completion of this project.
Especially my utmost gratitude goes to Mr. Abdallah S.M. AlNatsha and Hasbullah Bin Osman. Whose
excellent expression and sincerity helped us and guided us throughout the assignment. During the
preparation through issues and scenarios which discussed in the class really inspire us and we are deeply
attracted by the class.
Many people have helped us with this project. I am very grateful for all the people and of course authors
of books which I have read during the research section. I really appreciate their cooperating and time.
This is a wonderful and valuable subject which Designed by Asia Pacific University College of Technology
& Innovation and Staffordshire University. Through this subject I gain both knowledge and developing
experience database and implantation. My sincerity thanks to Asia Pacific University College of
Technology & Innovation and Staffordshire University providing such a good module for me.

Introduction
Since this assignment was issued to us to solve the problem which faced by Wellmeadows Hospital to
create a system that will help them manage their Information. Information such as Patients details,
Doctors details, Appointment Information, Ward Information and Doctors schedule.. Besides, we need
to form in a group to go through the assignment. Not only that, we need to design and implement a
prototype solution to the Wellmeadows Hospital. By using the specific tools which is Microsoft Access to
solve the problems face by the Hospital.
To get done with the problems, we need to handle what is the difficulty that they are having. Of course,
the problems must be clearly stated; otherwise we cannot help the Hospital to solve their problems.
After that we need to start up to create a system which easy for user such as it enable store the privacy
data in specific table, creating required report to fulfill Hospital needs and preparing an interface for
user to get into the system and so on.
Fulfilling Wellmeadows Hospital is our aims, therefore once we create the system we need to take their
needs as consider. A system which failed to meet user requirement even it is advance, it still out of user
needs.

RDSD

Wellmeadows Database System

29/11/2011

Company Introduction
The Wellmeadows Hospital has 240 beds, acute care, general medical and surgical hospital whose
mission is to provide high quality standard healthcare that will meet the needs and exceed the
expectations of the patients.
The Wellmeadows Hospital was therefore planned, designed, built and equipped to meet the Standards
of the healthcare system. Wellmeadows Hospital operates to these standards, every day, in everything
they do for the patients. All of their physicians who are credentialed at their hospital are North
American Board Certified or of equivalent Western training programs, such as those in United States,
Canada and the United Kingdom. They have the expertise to fulfill the patients medical requirements in
comfortable and reassuring surroundings.

ERD Assumption
In-Patients are treated into a single Ward by Doctors that are assigned to them. Usually each patient will
be assigned a single Doctor. Patients make Appointments and an Appointment is assigned to a particular
Patient. Doctors are assigned to a particular Ward. Patients can be Out-Patients or Out-Patients. Doctors
have Appointments in their schedules.

RDSD

Wellmeadows Database System

29/11/2011

ERD Diagram

An ERD Diagram is also called an entity-relationship model, a graphical representation of entities and
their relationships to each other, typically used in computing in regard to the organization of data within
databases or information systems. An entity is a piece of data-an object or concept about which data is
stored. A relationship is how the data is shared between entities. There are three types of relationships
between entities; One-to- One, One-to-Many and Many-to- Many.

RDSD

Wellmeadows Database System

Relational Schema

29/11/2011

RDSD

Wellmeadows Database System

29/11/2011

Forms
Ward Form

The Ward Form was created in order for the person in the front desk to check all the different types of
wards there and their related information. The Ward Form also shows all the patients inside the specific
ward. Users are able to go to the Main Menu, Back or Quit the Application.

RDSD

Wellmeadows Database System

29/11/2011

Patients

The Patients Form was created in order for the person in the front desk to check all the Patients and all
their related information. Users can add Patients in the system and update their information when
needed. The Patients Form also shows all the patients with their person of kin. Users are able to add,
save, and update patients. Also users can go to the Main Menu, Back, close form or quit the Application.

RDSD

Wellmeadows Database System

29/11/2011

In-Patients

The In-Patients Form was created in order for the person in the front desk to check all the In-Patients
and all their related information. Users can add In-Patients in the system and update their information
when needed. The In-Patients Form also shows all the In-Patients with their person of kin. Users are able
to add, save, and update In-Patients. Also users can go to the Main Menu, Back, close form or quit the
Application.

RDSD

Wellmeadows Database System

29/11/2011

Out-Patients

The Out-Patients Form was created in order for the person in the front desk to check all the Out-Patients
and all their related information. Users can add Out-Patients in the system and update their information
when needed. The Out-Patients Form also shows all the Out-Patients with their person of kin. Users are
able to add, save, and update Out-Patients. Also users can go to the Main Menu, Back, close form or quit
the Application.

RDSD

Wellmeadows Database System

29/11/2011

Doctor

The Doctor Form was created in order for the person in the front desk to check all the Doctors and all
their related information. Users can add Doctors in the system and update their information when
needed. The Doctor Form also shows all the Doctors with their scheduled Appointments. Users are able
to add, save, and update Doctors. Also users can go to the Main Menu, Back, close form or quit the
Application.

10

RDSD

Wellmeadows Database System

29/11/2011

Appointment

The Appointment Form was created in order for the person in the front desk to check all the
Appointments and all their related information. Users can add Appointments in the system and update
their information when needed. The Appointment Form also shows all the Appointments with the
related Patient. Users are able to add, save, and update Doctors. Also users can go to the Main Menu,
Back, close form or quit the Application.

11

RDSD

Wellmeadows Database System

29/11/2011

Schedule

The Schedule Form was created in order for the person in the front desk to check all the Schedules and
all their related information. Users can add Doctors Scheduled Appointments in the system and update
their information when needed. The Schedule Form also shows the entire Doctors Scheduled
Appointments with the related Patients name. Users are able to add, save, and update Doctors. Also
users can go to the Main Menu, Back, close form or quit the Application.

12

RDSD

Wellmeadows Database System

29/11/2011

Queries
All Patients Admitted

The All Patients Admitted Query was created in order to show all the Patients admitted into
Wellmeadows Hospital. Users can view all patients admitted and it is automatically updated into the
system. The All Patients Admitted Query also shows the entire Patients details with the related
information.

SQL Statement
SELECT Patient.Patient_ID, Patient.F_Name, Patient.L_Name, Patient.Address, Patient.[H/P_No],
Patient.DOB, Patient.Gender, Patient.Martial_Status, Patient.Date_Registered, Patient.[Kin_H/P_No]
FROM Patient;

13

RDSD

Wellmeadows Database System

29/11/2011

In-Patients in a particular Ward

The Following Query usually asks for the desired Ward which in this case is from W01-W16

The Patients in a particular Ward Query was created in order to show all the Patients admitted into a
specific Ward. Users can view In-Patients in a particular Ward and it is automatically updated into the
system. The In-Patients in a particular Ward Query also shows the entire In-Patients details with the
related information.

SQL Statement
SELECT Ward.Ward_No, [In-Patient].Patient_ID, Patient.F_Name, Patient.L_Name, Patient.[H/P_No],
Patient.DOB, Patient.Gender, Patient.Date_Registered
FROM Ward INNER JOIN (Patient INNER JOIN [In-Patient] ON Patient.Patient_ID = [InPatient].Patient_ID) ON Ward.Ward_No = [In-Patient].Ward_No
WHERE (((Ward.Ward_No)=[Please Key-in the Desired Ward Number]));

14

RDSD

Wellmeadows Database System

29/11/2011

Scheduled Out-Patients Appointments

The Scheduled Out-Patients Appointments Query was created in order to show all the Out-Patients
having Appointments. Users can view Out-Patients having Appointments and it is automatically updated
into the system. The Scheduled Out-Patients Appointments Ward Query also shows the entire OutPatients details with the related information.

SQL Statement
SELECT [Out-Patient].Patient_ID, Patient.F_Name, Patient.L_Name, Patient.[H/P_No], Patient.Address,
Appointment.Appointment_ID,

Appointment.Appointment_Time,

Appointment.Appointment_Date,

[Out-Patient].Location
FROM Patient INNER JOIN (Appointment INNER JOIN [Out-Patient] ON Appointment.Appointment_ID =
[Out-Patient].Appointment_ID)

ON

(Patient.Patient_ID

(Patient.Patient_ID = Appointment.Patient_ID);

15

[Out-Patient].Patient_ID)

AND

RDSD

Wellmeadows Database System

29/11/2011

Search by Doctors Specialty

The Following Query usually asks for the desired Doctors Specialty for example Genetics.

The Search by Doctors Specialty Query was created in order to show the entire Doctors Specialty
database. Users can view Doctors Specialty and it is automatically updated into the system. The Search
by Doctors Specialty Ward Query also shows the entire Doctors details with the related information.
SQL Statement
SELECT Doctor.Doctor_ID, Doctor.Doctor_F_Name, Doctor.Doctor_L_Name, Doctor.Doctor_Ext_No,
Doctor.Doctor_Staff_No, Doctor.Speciality
FROM Doctor
WHERE (((Doctor.Speciality)=[Please Key-in the desired Doctor's Speciality]));

16

RDSD

Wellmeadows Database System

29/11/2011

Search for an available bed in a Ward

The Following Query usually asks for the desired Ward which in this case is from W01-W16

The Search for an available bed in a Ward Query was created in order to show all the all the beds
available in a specific Ward. Users can view available beds in a particular Ward and it is automatically
updated into the system. The Search for an available bed in a Ward Query also shows the entire
available bed details with the related information.
SQL Statement
SELECT Ward.Ward_No, Count([In-Patient].Ward_No) AS Bed_Used, 15-[Bed_Used] AS Bed_Available,
Ward.No_of_Beds
FROM Ward INNER JOIN [In-Patient] ON Ward.Ward_No=[In-Patient].Ward_No
GROUP BY Ward.Ward_No, Ward.No_of_Beds
HAVING (((Ward.Ward_No)=[Please key-in a Ward Number in between "W01 - W16"]));

17

RDSD

Wellmeadows Database System

29/11/2011

Reports
All Patients Admitted

The All Patients Admitted Report was created in order to show all the Patients admitted into
Wellmeadows Hospital. Users can view all patients admitted and it is automatically updated into the
system. The All Patients Admitted Report also shows the entire Patients details with the related
information.

18

RDSD

Wellmeadows Database System

29/11/2011

In-Patients in a particular Ward

The Patients in a particular Ward Report was created in order to show all the Patients admitted into a
specific Ward. Users can view In-Patients in a particular Ward and it is automatically updated into the
system. The In-Patients in a particular Ward Report also shows the entire In-Patients details with the
related information.

19

RDSD

Wellmeadows Database System

29/11/2011

Out-Patients Scheduled Appointments

The Scheduled Out-Patients Appointments Report was created in order to show all the Out-Patients
having Appointments. Users can view Out-Patients having Appointments and it is automatically updated
into the system. The Scheduled Out-Patients Appointments Ward Report also shows the entire OutPatients details with the related information.

20

RDSD

Wellmeadows Database System

29/11/2011

System Navigation
The System has a Menu that helps the user to navigate from one page to another and it is organized
with different tabs and user can go to a specific page and then go back.

Macros

Main Menu

The Main Menu is there to help user navigate between Queries, Reports, Forms and Tables.

21

RDSD

Wellmeadows Database System

29/11/2011

Table Menu

The Table Menu is there to help users to navigate into the different tables for read-only purposes

22

RDSD

Wellmeadows Database System

Forms Menu

The Forms Menu helps users navigate into the different forms to input data.

23

29/11/2011

RDSD

Wellmeadows Database System

29/11/2011

Queries Menu

The Queries Table is there to show the user the different queries available within the system.

24

RDSD

Wellmeadows Database System

Reports Menu

The Reports Menu is there to help users navigate into different reports.

25

29/11/2011

RDSD

Wellmeadows Database System

29/11/2011

Conclusion
As a conclusion, this assignment is really challenging for us as it need more knowledge about Microsoft
Access to solve all the problems we faced while doing the assignment. After done this assignment, we
feel that we really improve our knowledge about Access and enable to fulfill the requirement of the
assignment.
Surely, we have much difficulty when running out the assignment, but with the cooperation and
teamwork within the members, eventually the assignment was done peaceful. Even though, gathering
together to do assignment is hard to us as we are living at the different location and far with each
others, but we tried to spend some time to meet up for discussion and brainstorming to strengthen the
quality of the assignment.

26

RDSD

Wellmeadows Database System

29/11/2011

References
1. SAUTER, V., (2000), Entity Relationship Diagram (ERD) [online], University of Missouri, Available
from: http://www.umsl.edu/~sauterv/analysis/er/er_intro.html, [Accessed 20th November
2011].
2. WEBOPEDIA, (2011), entity relationship diagram [online], Webopedia, Available from:
http://www.webopedia.com/TERM/E/entity_relationship_diagram.html,
November 2011].

27

[Accessed

27th

You might also like