Skip to content

View Doctor's Dashboard #18

Description

@maikelsalazar

View Doctor's Dashboard:
As an authenticated doctor, I want to view my doctor's dashboard, so that I can manage my appointments, view patient details, and add prescriptions to my patients.

Feature (Gherkin)

Feature: View Doctor Dashboard

Background:
  Given I am an authenticated doctor
  And I am on my doctor's dashboard

Scenario: Display doctor dashboard
  Then I should see the "Home" button
  And I should see the "Profile" button
  And I should see the "Log Out" button
  And I should see the "Filter Appointments" form
  And I should see a list of appointments with:
    - Appointment ID
    - Patient Name
    - Patient Phone
    - Patient Email
    - "Add Prescription" button

Scenario: Load today's appointments automatically
  Given There are appointments for today
  Then today's appointments should be displayed by default

Scenario: No appointments for today
  Given There are no appointments for today
  Then I should see an empty state message indicating no appointments are available

Acceptance Criteria:

  1. The dashboard should display the "Home" button
  2. The dashboard should display the "Profile" button
  3. The dashboard should display the "Log Out" button
  4. The dashboard should display the "Filter Appointments" form
  5. The dashboard should display the list of appointments
  6. The list of appointments should be filled with today's appointments automatically if any

Priority: Low
Story Points: 3

Notes:

  • The list of appointments must only display appointments of the authenticated doctor.
  • This is the view of the doctor's dashboard; inherited functionalities are implemented separately.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions