> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prvaha.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding Doctors and Managing Their Availability Slots

> Add doctors to your Prvaha clinic, view their profile details, and configure their weekly availability so patients can be booked into the right slots.

Prvaha gives you full control over which doctors are active in your clinic and when they are available to see patients. Once a doctor is added and their availability is configured, their open slots are immediately usable when booking appointments — keeping scheduling accurate and preventing conflicts.

## Adding a doctor

Doctors are created as users with the **Doctor** role. To add a new doctor:

<Steps>
  <Step title="Open the Doctors page">
    Go to **Dashboard → Doctors** from the left sidebar.
  </Step>

  <Step title="Click New Doctor">
    Click the **New Doctor** button in the top-right corner of the page. This opens the new user form with the Doctor role pre-selected.
  </Step>

  <Step title="Fill in the doctor's details">
    Enter the doctor's name, email address, and any other required fields in the user form.
  </Step>

  <Step title="Save the new doctor">
    Submit the form. The doctor's profile appears immediately in **Dashboard → Doctors**.
  </Step>
</Steps>

## Viewing a doctor's profile

Click any row in the doctors table to view that doctor's profile. The detail panel shows:

| Field               | Description                                                 |
| ------------------- | ----------------------------------------------------------- |
| **Specializations** | The doctor's area(s) of medical practice                    |
| **Designation**     | The doctor's title or role (e.g., *Consultant*, *Resident*) |
| **Seating**         | The room or seat assigned to this doctor in the clinic      |
| **Experience**      | Years of clinical experience                                |
| **Education**       | Qualifications and degrees                                  |
| **Biography**       | A short description of the doctor's background              |
| **Departments**     | Departments the doctor belongs to                           |

From the **Actions** menu on any row you can also **Edit** the doctor's profile, **Reset Password**, or **Delete** the doctor.

## Configuring availability slots

Availability slots define the days and hours during which a doctor can receive appointments. Slots must be configured before the doctor can be scheduled.

<Steps>
  <Step title="Open the slot scheduler">
    In **Dashboard → Doctors**, open the **Actions** menu (⋯) for the doctor and select **Slot Config**. This opens the full slot scheduler for that doctor.
  </Step>

  <Step title="Set the slot duration">
    Choose how long each appointment should last — from 5 minutes up to 1.5 hours.
  </Step>

  <Step title="Configure weekly availability">
    For each day of the week, set one or more time windows during which the doctor is available. Click the **+** icon next to a day to add a time window, or click the block icon to mark a day as unavailable. You can add multiple non-overlapping windows per day (for example, a morning session and an afternoon session).
  </Step>

  <Step title="Add date-specific overrides (optional)">
    Under **Adjusted availability**, you can add custom slots or mark specific dates as unavailable — useful for public holidays or one-off schedule changes — without changing the doctor's regular weekly pattern.
  </Step>

  <Step title="Configure booking limits (optional)">
    Expand **Booked appointment settings** to set:

    * **Buffer time** — minutes of gap between back-to-back appointment slots (0–120 minutes)
    * **Maximum bookings per slot** — the maximum number of patients who can book the same time slot (1–120)
    * **Timezone** — the timezone in which all slot times are interpreted
  </Step>

  <Step title="Save">
    Click **Save** to apply the schedule. The slots are immediately available for appointment booking across the clinic.
  </Step>
</Steps>

<Tip>
  If the clinic has standard schedule templates set up, you can apply one from the **Start from a template** picker at the top of the slot scheduler to pre-fill a common schedule, then adjust it as needed. You'll be prompted to confirm before overwriting any unsaved changes.
</Tip>

<Warning>
  Set up availability slots as accurately as possible before the clinic goes live. Incomplete or overly broad slot configurations are the most common cause of double-bookings and scheduling gaps. If a doctor is unavailable on a specific date, use a date override rather than deleting their entire weekly schedule.
</Warning>
