# How to set the logged-in provider as default in New Encounter?

**URL:** <https://community.open-emr.org/t/how-to-set-the-logged-in-provider-as-default-in-new-encounter/26367>\
**Category:** OpenEMR Development\
**Tags:** question, feature\
**Created:** [November 25, 2025, 8:13am UTC](https://community.open-emr.org/t/how-to-set-the-logged-in-provider-as-default-in-new-encounter/26367 "2025-11-25T08:13:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riya](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@Riya](https://community.open-emr.org/u/Riya)\
**Post date:** [November 25, 2025, 8:13am UTC](https://community.open-emr.org/t/how-to-set-the-logged-in-provider-as-default-in-new-encounter/26367/1 "2025-11-25T08:13:05Z")

</div>

Hello everyone,

I am using **OpenEMR v7.0.3** , and I need help with the encounter form’s **default provider selection**.

### **Problem**

When I log in as a provider (example: **Dr. D** ) and create a new encounter, the **Provider** dropdown does _not_ default to the logged-in provider.

Instead, it defaults to **another provider (Dr. V)** every time.

### **What I Expect**

When a provider is logged in and creates a new encounter, the **Provider** field should automatically default to that logged-in provider.

### **What I Already Checked**

Under **Administration → Config → Encounter Form** , I see options like:

- Show Referring Provider option

- Show Ordering Provider option

- Show Encounter Type

- Show Facility option

- etc.

But I **do not** see any setting that controls _default provider behavior_ for the encounter form.

### **My Question**

**Where in OpenEMR do we configure the “default provider” for new encounters so that it automatically selects the logged-in provider?**  
Is there a global, ACL, or user-specific setting that determines this?

If not configurable, which file or function handles this provider pre-selection logic?

Any guidance would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [November 25, 2025, 1:16pm UTC](https://community.open-emr.org/t/how-to-set-the-logged-in-provider-as-default-in-new-encounter/26367/2 "2025-11-25T13:16:53Z")

</div>

Hi @Riya, this was recently fixed in [this PR](https://github.com/openemr/openemr/pull/9172).

---

<div class="post-metadata">

**Author:** ![Riya](https://community.open-emr.org/letter_avatar_proxy/v4/letter/r/a183cd/32.png) [@Riya](https://community.open-emr.org/u/Riya)\
**Post date:** [November 26, 2025, 5:28am UTC](https://community.open-emr.org/t/how-to-set-the-logged-in-provider-as-default-in-new-encounter/26367/3 "2025-11-26T05:28:25Z")

</div>

Hi Stephen, thanks for your response.
