Beruflich Dokumente
Kultur Dokumente
Hospital Reception System PDF
Hospital Reception System PDF
project name :
ID names of students
نهى ناصر عمر الجبيري
-440802393
1
CONTENTS
SequenceDiagram...
… … … … … … … … … … … … … … … … …
13
Class Diagram … … … … … … … … … … … … … … … … … … 23
2
About the project
In this project, we designed a small hospital receptionist system that receives patients to
make an appointment. The receptionist takes the patient’s information and adds it to the
system and then sets an appointment for him by adding the patient to the appointment, the
doctor and the bed, provided that they are available on time for the appointment.
3
Use Case Diagram
Usecasediagramsdescribewhatasystemdoesfromthestandpointofanexternal
observer. The emphasis is on
what a system does rather than how. in this use case for hospital's receptionist system
it'shastwoactor'sreceptionistandpatient,andhasseveralscenariosforinteract
system:
●Type External Actors:
1.Patient
2.Receptionist
● Use Cases
1.Request Appointment use case:
Description:Thisusecasedescribeshowtorequestappointmentbetweenpatientand
receptionist.
2.Login or logout use case:
Description:Thisusecasedescribeshowtomanagepatientswhenapatientrequestsan
appointment.Therearespecialsub-usecasesofthemanagepatientmainusecasethat
we use generalization:
4
Description:Thisusecasedescribeshowtomakeanappointmentwhenapatient
requests an appointment
●Normal Flow:
4.1 Add Appointment:
4.1.3 The patient chooses what his ideal time and doctor would be.
4.1.4Acceptanceoftheappointmentisonlydeterminedwhenadoctorandabedare
available, so an inclusion has been made for the connection between cases.
4.1.5 Receptionist provides confirmation or not.
4.2.2 The patient chooses what his ideal new time and doctor would be.
4.2.3Acceptanceoftheappointmentisonlydeterminedwhenadoctorandabedare
available,
4.2.4 Receptionist provides confirmation or not.
4.3.3 the receptionist canceled the appointment and deleted from database.
4.4.1 The patient gives his appointment number to now his appointment date and time.
4.4.3 the receptionist gives the appointment date and time for patient.
5
Use Case Diagram
6
Context Diagram
This diagram depicts the main operations of the system (level 0):
1- Request appointment:
2-Login:
The receptionist external object logs in to the system through the login process, and
the dataflow is the receptionist name and password.
The login process sends the information to the database and returns the verification
of the information through the dataflow of the login process and responds to the
receptionist.
3- Manage patient:
The receptionist adds, edits, deletes and searches for a patient through the main
process of managing a patient and sends and receives information through the
dataflow of the database.
4- Manage Appointment:
The receptionist adds, edits, deletes and searches for a patient through the main
process of managing a patient and sends and receives information through the
dataflow of the database.
7
DFD LEVEL 0
8
DFD Level 1 for Manage Patient (3.0)
3.1 Adding a patient:
The process of adding a patient receives the patient’s information from the receptionist
via Dataflow and adds it to the database and returns the response to the receptionist
that the patient was registered through Dataflow.
The process of editing a patient receives the identifier of the patient to be edit from the
receptionist through the data flow and searches for it in the database and responds
about the presence of the patient or not to the process of editing the patient and the
external object to receptionist and then if the patient is present, the receptionist enters
the new information to be edit and added to the database Data and response to the
receptionist that it has been modified.
3.3 Delete a patient:
The process of deleting a patient receives the patient's ID from the external entity, the
employee of use, and deletes it from the database, and responds to the receptionist that
it has been deleted.
The process of searching for a patient receives the patient's ID, searches for it in the
database, and responds to the receptionist about the patient's information.
9
DLD Level 1 for Manage Appointment (4.0)
10
11
DFD Level 2 for Add Appointment (4.1)
●Add Appointment:
The process of adding an appointment receives the patient ID, doctor ID and room
number from the external entity, the receptionist, provided that the doctor and the bed
are available, and adding the appointment to the database and responding to the
receptionist that the appointment has been added.
●Add Patient:
The process of adding a patient receives the patient ID from the receptionist and adds it
to the appointment.
●4.1.2 Check Available Doctor:
Checking the availability of the doctor from the appointment table and doctor table in
the database, and if the doctor is available, he is added to the appointment, or a
message is returned that the doctor is not available to the receptionist.
12
SEQUENCE DIAGRAM
Login Sequence
This is the Login Sequence Diagram of hospital's reception System, where receptionist
will be able to login in their account using their credentials. After login user can manage
all the operations on, Appointment, schedule, Doctors, and patients.
13
Add Patient Sequence Diagram
This sequence diagram depicts The receptionist can add a new patient by taking the
patient's data such as the name,
Age, gender, blood type, etc. The patient will be entered into the system database.
14
Add Appointment Sequence Diagram
This sequence diagram example depicts the objects and messages for a scenario of the
Make Appointment use case, which describes the process by which a patient creates a
new appointment The receptionist is taking data from the patient and determining time
and ensuring that the presence of doctor. and provide a bed and confirmation of the
patient's reservation.
15
Edit Appointment Sequence Diagram
This sequence diagram example depicts the objects and messages for a scenario of the
Edit Appointment use case, which describes the process by which a patient creates a new
appointment The receptionist is taking data from the patient and determining time and
ensuring that the presence of doctor. and provide a bed and confirmation of the patient's
reservation.
16
Entity Relationship Modelling
This ER (Entity Relationship) Diagram represents the model of Hospital Reception System
Entity. The entity relationship diagram of hospital reception System shows all the visual
instrument of database tables and the relations between Receptionist, patient,
Appointment, bed, Doctors.
It used structure data and to define the relationships between structured data groups of
Hospital Reception System functionalities. The main entities of the Hospital Reception
System Are Receptionist, Login, Patient, Doctors, Appointment, Bed.
●Receptionist Entity:
Recep_name, Recep_id, Sex, phone number.
●Login Entity:
Username, Password.
●Patient Entity:
Patient_Name, Patient_id, Address, Sex, Age, Phone_Number, Date_entry,
Date_Disharged.
●Doctors Entity:
Attributes of Doctors are doctor_id, Doctor_name, Phone number, Sex, Status
Address, Qualification.
●Appointment Entity:
Attributes of Appointment are appointment_id, appointment_number,
appointment_time, appointment_date, appointment_description.
● Bed Entity:
Bed_id, Bed_status.
● Dependent Entity:
17
Relationships between entities:
2.
Receptionist and Appointment
● Cardinality Ratio (one-t-many)
The Receptionist book an one or more APPOINTMENT, and the appointment is book
ِ
by one receptionist.
● participation constraint:
3.
PATIENT and APPOINTMENT
● Cardinality Ratio (one-t-many)
The Patient assigned to one or more Appointment, and the Appointment appoints
one Patient.
● participation constraint:
18
the APPOINTMENT is total participate in the relationship Assigned, it is mandatory
that each appointment has an PATIENT.
participation constraint:
The Bed is total participates in the relationship Assigned, it is mandatory that each
bed has an Appointment.
the Appointment is total participate in the relationship Assigned, it is mandatory
that each Appointment has n bed.
19
the Dependent total participate in the relationship has, meaning that all entities
20
Class Diagram
●Relationship between classes
1.Receptionist and Patient (Association)
Receptionist register one or more Patient.
Doctor part of Appointment, The Doctor assigned to one or more Appointment, and
the Appointment appoints one Doctor.
Bed part of Appointment, The Doctor assigned to one or more Appointment, and the
Appointment appoints one Bed.
Receptionist has one or two Dependent; every Dependent has one Receptionist.
21
22