---
title: How to generate patient report based on ICD/CPT codes, modifiers and/or office location
description: "# Generate patient report based on ICD/CPT codes, modifiers and/or office location - Go to **Admin** - Click on **Reports** ![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-163201.png) - Go to **Service Analysis** tab ![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-163451.png) - Click on **Search** - You can search patients by **DOS**, **ICD**,…"
url: "https://legendehr.com/docs/how-to-generate-patient-report-based-on-icd-cpt-codes-modifiers-and-or-office-location/"
updated: "2024-08-12"
category: LegendEHR / Reporting
---

# How to generate patient report based on ICD/CPT codes, modifiers and/or office location

# Generate patient report based on ICD/CPT codes, modifiers and/or office location

- Go to **Admin**
- Click on **Reports**

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-163201.png)

- Go to **Service Analysis** tab

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-163451.png)

- Click on **Search**
- You can search patients by **DOS**, **ICD**, **CPT**, Location etc.
- Apply suitable filters
- Click on **Generate Report** button

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-164035-1024x441.png)

## Generating patient report based on multiple ICDs

- Separate multiple **ICD**s using a comma

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-164724-1024x403.png)

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-164859-1024x468.png)

## Generating patient report based on multiple locations

- You will have to generate report separately for each location
- Set **Location** filter to '**Fresno**'
- Click on **Generate report** button

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-165306-1024x561.png)

- Select **Location** filter to '**Hanford**'
- Click on **Generate Report** button

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-165729-1024x577.png)

## Finding number of DOS for selected filters

If you want to know how many cases of a particular diagnosis or procedure were dealt in a given time period and location:

- Select the appropriate filters
- Click on **Generate Report** button
- There is a **Collection Statistics** table in the report
- The **Total Claims** field shows the number of DOS for the applied filters

![](https://legendehr.com/wp-content/uploads/2024/07/Screenshot-2024-07-25-165729-1-1024x577.png)
