Professional Documents
Culture Documents
Administrator Part: 1-Authentication
Administrator Part: 1-Authentication
1-Authentication
First, we will go through the authentication page to know where to redirect the user (it
depends on the user role), we have 3 roles:
1-administrator
2-doctor
3-nurse
2-Admin Session
now we will be redirected to the administrator session where we have the choice to modify
the doctors, nurses, hotels or configure the dictionary.
Figure : Admin Session page
1-Doctor Management :
in this page you can add a doctor or remove him from the database. When we add a doctor
we add it with a role_id which equals 2 (which means a doctor).
Figure : Doctor Management page
2-Nurse Management :
in this page you can add a nurse or delete it from the database. When we add a nurse we
add it with a role_id which equals 3 (which means a nurse).
in this page you can add a hospital or delete it from the database.
3-Database :
Our database contains several tables, among them:
1-User Table :
The user table contains 6 columns:
3-Medical services:
this is the table of the different medical services that we will add in the next part