# Reporting

The reporting functionality helps users to extract information in pre-built and custom reports to meet reporting needs for managing facility operations, meeting MoH and support other programatic work.

The reports are generated in the following ways:

1. [Inbuilt reports](/ugandaemr-documentation/reporting/ugandaemr_reports.md) for facility level, MoH HMIS and PEPFAR MER Indicator reports
2. [Cohort Builder](/ugandaemr-documentation/reporting/reporting_cohort_builder.md) for custom data extraction in Excel for more detailed analysis

## Using The Cohort Builder

1.Log into UgandaEMR and select Legacy Systems Administration

![Cohort Builder Login](/files/SQWa3a1piVgXVgcjrnC5)

2.Click on the "Cohort builder" tab in the green navigation ribbon

![Click Cohort Builder](/files/-Mi0fjRJBR22uyiBYUep)

3.Click on the "Encounter" tab and select "ART\_card summary" and specify the dates.

![Click Encounter Tab](/files/-Mi0fjRKUuL0fbv96pj5)

4.Click on search and view your results.

[*UgandaEMR Reports*](/ugandaemr-documentation/reporting/ugandaemr_reports.md) *being developed to replace BIRT and provide a starting point for commonly used cohort builder report exports*

## Using The Data Export Function

1.Click on the "Administration" tab on the green navigation bar.

![Click Addministration Bar](/files/-M4y-O37-a-Ly1DZHQNr)

2.Click on "Manage Data Exports" under the Reports section

![Manage Data Exports](/files/-M4y-O39fRQtJ9EYfHbP)

3.Click on the"Add New Data Export" link under Manage Data Exports

![Add New DataExport](/files/-Mi0fjRNbgXlyiONWna4)

4.Click on "Define Columns" and ensure that you have "simple column" selected

![Click Define Columns](/files/-Mi0fjROaA4B5d0iVJBe)

5.Pick the "Encounter Date" value in the "first encounter info section of the drop down list as shown above and rename the Column Name to reflect the "Enrollment Date"

6.Save the Data Export and run it.

## Running Data Export

```
TBD
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mets-programme.gitbook.io/ugandaemr-documentation/reporting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
