Admin Dashboard Overview
The Admin Dashboard provides administrators with tools to manage users, patients, wellness records, and treatments.
User Management
As an admin, you can create, edit, and delete users (but not patients).
Creating a New User
- Click on the "User Management" tab
- Fill in the "Create New User" form with the required information
- Select the appropriate role (Admin, Doctor, or Student)
- Click "Create User"
Editing User Information
Click the "Edit" button next to any user to modify their details.
Deleting a User
Click the "Delete" button next to any user. Note that when a user is deleted, their wellness records are reassigned to the system user (ID 0).
Patient Information Management
Admin users can edit patient information (excluding patient ID).
Editing Patient Information
- Click on the "Patient Information" tab
- Find the patient you want to edit
- Click the "Edit" button next to the patient
- Make the necessary changes in the modal form
- Click "Save Changes"
Wellness Records Management
Admin users can view and edit wellness records (excluding Record ID, User ID, and Patient ID).
Viewing Wellness Records
On the "Wellness Records" tab, you can see all wellness records in the system. Use the search functionality to find specific records.
Editing Wellness Records
- Click on the "Wellness Records" tab
- Find the record you want to edit
- Click the "Edit" button next to the record
- Make the necessary changes in the modal form
- Click "Save Changes"
Treatment Management
Admin users can edit and delete treatment information (excluding treatment ID and details from record-treatment).
Editing Treatments
- Click on the "Treatments" tab
- Find the treatment you want to edit
- Click the "Edit" button next to the treatment
- Make the necessary changes in the modal form
- Click "Save Changes"
Deleting Treatments
Treatments can only be deleted if they are not referenced in other tables. Click the "Delete" button next to a treatment to remove it.