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 Name
Email
Mobile Number
Role (Doctor / Reception)
Status (Active / Inactive)
Doctor-only Field
Specialization
System Fields
Hospital ID (auto)
Created At (system-generated)
Features to Implement:
Add new doctor or reception user
List all doctors and reception users
Edit user details
Activate / Deactivate users
Show role and status clearly in list
Filter list by role (Doctor / Reception)
Login details should be sent to the entered email id where
Hospital name,
Msg: "Your login credentials are:"
username("doctor"/"reception"+"User_id" from user table
password will be a random number in between 1000 &10000
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