# BI Render Controls

The **org.santedb.bicore** package, when used together with the **org.santedb.uicore** package provide several controls for easily rendering BI reports.

## \<report> Directive

The report directive renders a complete report execution control. This control is a tabbed view where users can set parameters, switch views, and control the rendering of the report.

```markup
<report id="'org.myreport'" view="'chart'" 
    parameters="{ 'from-date': '2019-01-01', 'to-date': '2020-01-01' }" />
```

## \<report-view> Directive

The report view directive is used when you want to control the rendering of a specific view and either want to specify your own hard-coded parameters, or feed the report values off of your own controls.

```markup
<report-view id="'org.myreport'" view="'myview'"
     parameters="{ 'from-date': '2019-01-01', 'to-date': '2020-01-01' }" />
```


---

# 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://help.santesuite.org/developers/applets/business-intelligence-bi-assets/bi-render-controls.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.
