---
title: How to find the total number of patients registered with a doctor (Find Objects / Stored Queries)
slug: portal-sub/how-to-find-the-total-number-of-patients-registered-with-a-doctor-find-objects-stored-queries
docTags: 
createdAt: 2026-03-04T12:03:22.542Z
---

**TABLE OF CONTENTS**

- [USE CASE](docId\:rVBteabnhrEvYIQos1EyU)
- [SOLUTION](docId\:rVBteabnhrEvYIQos1EyU)
  - [METHOD 1 Find Patient](docId\:rVBteabnhrEvYIQos1EyU)
  - [METHOD 2 Find Objects / Stored Queries](docId\:rVBteabnhrEvYIQos1EyU)
    - [Create a new Query](docId\:rVBteabnhrEvYIQos1EyU)
    - [Run an Existing Query](docId\:rVBteabnhrEvYIQos1EyU) (Provider Patient Listing)

# USE CASE

How to find out the total number of patients registered with a doctor in the clinic. **Note**: This article describes the 2 most used methods.

# SOLUTION

## METHOD 1 Find Patient

Use any of these following methods to open the **FindPatient** window:

1\. From the Main Menu select **Patient** -> **FindPatients** or

2\. Select **NewPatient** from the Toolbar or

3\. Press ‘**CtrlF**’

![Graphical user interface, application
&#x20;     Description automatically generated](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/GR-es5ghl0kBl1novLCrC_urflh6okdv5p5sw5dpozuvfmfl3oz5-oq.png)

The **FindPatient** Window will appear.

- Enter the doctor’s code in the **Provider** field. ***Tip****: click the ellipsis to search for the code*
- Select **Registered** from the **Status** drop-down list and/or select **Yes** from the **Registered** drop-down list. A value of **Yes&#xA0;**&#x77;ill ignore "Test" patient records.
- Click the **Find** button

![Graphical user interface
&#x20;     Description automatically generated](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/7A3w9H69SasfY5IAx7_0c_4uaosrlx-ggzedebsthtein5maqj0uvifa.png)

- The **Find Patient Results** Window will appear with count of matching patients found:

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/HTLg1svQR2NkgzLPH8RdI_muf3kjt8payfdv6nfpgl9gsokpq0um6pkg.png" size="64" alt="Table&#xA;      Description automatically generated" isUploading="false" initialPath="assets/muF3KjT8paYfDV6nFPgl9gSOKpQ0UM6pKg.png" githubPath="en/Reporting and Analytics/Analytics/assets/muF3KjT8paYfDV6nFPgl9gSOKpQ0UM6pKg.png" position="flex-start" showCaption="false"}

If needed you may select one of the following options:

1. **Add** - to add a patient that does not appear on the list
2. **Remove** - to remove a patient(s) from the list (highlight and click remove)
3. **Letter** - to print a letter for the selected patient(s) -> set the appropriate parameters, click OK, select the relevant letter, if required and select OK
4. **Again** - to display the original list of search results
5. **Alter** - to access the Patient window in edit ode for highlighted patients
6. **Display** - to access the Patient window in display mode for the highlighted patients
7. to **Save** the found list, go to **File** -> **Save** on the Main N=Menu -> type an appropriate Description for the list and click the **OK** button

## METHOD 2 Find Objects / Stored Queries

You can create a new query or a predefined query may already exist for your clinic. To check for a predefined Query select **Reports** from main menu and **Stored Queries** for a list of saved queries.

### Create a new Query

- Select **Report** from Main Menu then **Find Objects**

![Graphical user interface, application, Word
&#x20;     Description automatically generated](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/7rVb_amrOzr_f6tFmlOj4_wk0wjpm1gtrydfgshok9fyeb7tozcybva.png)

- In the Object field, select **Patient**. All the properties relating to patients will be displayed in a list of sub-folders in alphabetic order.
- Add the properties you wish to include in your query by selecting the required properties from the list. You can either double click on the property or drag and drop.

**Select the criteria:**

- Select the search criteria, in this case drag and drop the following properties -> **Patient-Usual Doctor-Code** and **Patient-Status** under the **Where** heading:

![Graphical user interface, text, application
&#x20;     Description automatically generated](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/37VPqnK9Jay2ljcvHQB-g_qtcfwovz6hhsp8kwjhvg5zxwezuws0ela.png)

- Under the **Value Column** enter the **doctor code** and **status** = **Registered**
- Click the **Run** button

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/wme_gXG5w98CZhwzy_Jog_vduzdautdrnqj7bkz8d5xh-jbl8k0suu4w.png" size="10" isUploading="false" initialPath="assets/VdUZDAuTdrnQj7BKZ8d5XH-jBL8K0suU4w.png" githubPath="en/Reporting and Analytics/Analytics/assets/VdUZDAuTdrnQj7BKZ8d5XH-jBL8K0suU4w.png" position="flex-start" showCaption="false" indent="2"}

- Query results will display under the **Output** tab

![Graphical user interface, application, table
&#x20;     Description automatically generated](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/fvUVHVbuPesuamn8n3vcr_09jy3gyiqnwsvjhfzrkskxdyhdtgo-vjq.png)

- If you wish to save your query go back to the query tab and select the **Save** button

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/rPVHx0zb4zM9EhVxRc582_jjhdya6xbwz3gspldokbzxl3yggrfhz1g.png" size="10" isUploading="false" initialPath="assets/jjHDyA6xBWz3GsPLDo_kbZXl3yggRfHz1g.png" githubPath="en/Reporting and Analytics/Analytics/assets/jjHDyA6xBWz3GsPLDo_kbZXl3yggRfHz1g.png" position="flex-start" showCaption="false" indent="2"}

- Give your query a descriptive **Name** and click the **OK** button

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/t9y_hMhpVcD8GJBNGJazH_goewozyuc7ojvcaw8jlhgwufzjyrnfd-jg.png" size="86" alt="Graphical user interface, text, application, email&#xA;    Description automatically generated" isUploading="false" initialPath="assets/GoEWoZYUC7OJVcAw8jlHgwuFZJYRNfd-jg.png" githubPath="en/Reporting and Analytics/Analytics/assets/GoEWoZYUC7OJVcAw8jlHgwuFZJYRNfd-jg.png" position="flex-start" showCaption="false"}

### Run an Existing Query![](https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/dXVgH018nDY8eL8dds60q_9zlqevpmsm5piss6byrkrdn-jcsqu5qya.gif)&#xA;

- Select **Report** from Main Menu then **Stored Queries**

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/r2DWNNDGT5QBsgQzMsw27_avkhm1rbc6rl1gthkwef4-n-4co6-6ulew.png" size="100" isUploading="false" initialPath="assets/AVKHm1RBC6rl1GThkwef4-n-4cO6-6ULew.png" githubPath="en/Reporting and Analytics/Analytics/assets/AVKHm1RBC6rl1GThkwef4-n-4cO6-6ULew.png" position="flex-start" showCaption="false" indent="2"}

- **Select an existing query and click Execute to run the query&#xA0;**
- **or click Edit to change the query**

- **For example to change the provider, edit the query and insert the providers code (Username) into the field under column Value for the Usual Provider Code.&#xA0;**
- **Execute the query.**

::Image[]{src="https://api.qa.archbee.co/api/optimize/zICxj0dnLereb6UUrBA3-/AJREMCAXgmrCTRjg5QQxA_9d9pz6f7tuo4zf67jbgjv6iythhwisrneq.png" size="100" isUploading="false" initialPath="assets/9d9Pz6f7tuO4Zf67JBgjv6iYtHhWIsRNEQ.png" githubPath="en/Reporting and Analytics/Analytics/assets/9d9Pz6f7tuO4Zf67JBgjv6iYtHhWIsRNEQ.png" position="flex-start" showCaption="false" indent="2"}
