Task #40
Updated by Varsha N about 2 months ago
Task Description:
Implement Doctors and Reception management in the Admin module, allowing the admin to add, view, edit, and activate/deactivate doctors and reception users for a hospital.
Navigation:
Admin Login → Users → Doctors / Reception
Fields to Capture (Add / Edit):
Common Fields:
-Full Full Name
-Email Email
-Mobile Mobile Number
-Role Role (Doctor / Reception)
-Status Status (Active / Inactive)
Doctor-only Field
-Specialization Specialization
System Fields
-Hospital Hospital ID (auto)
-Created Created At (system-generated)
Features to Implement:
-Add Add new doctor or reception user
-List List all doctors and reception users
-Edit Edit user details
-Activate Activate / Deactivate users
-Show Show role and status clearly in list
-Filter Filter list by role (Doctor / Reception)
-Login Login details should be sent to the entered email id where
--Hospital Hospital name,
--Msg: Msg: "Your login credentials are:"
--username("doctor"/"reception"+"User_id" username("doctor"/"reception"+"User_id" from user table
--password password will be a random number in between 1000 &10000
--Login Login url
Basic Validations:
Basic fields are required(name, email, mobile number, specialization)
Prevent duplicate submission
Show success and error messages(minimal)
Specialization required only for doctor