# Edit Templates for CDS, Notes, and Codes

{% hint style="info" %}
In every template, you will see the three sections: CDS, Notes, and Codes.

Below each section, you will see 3 things:

1. **Sub-section header:** Eg: “Suggested questions”, “Chief Complaints”, “ICD-10”, etc. These will be the names of the sections that appear inside CDS, Notes, and Codes sections.

2. **Note key:** Feel free to ignore this field, it’s only for highly-technical use cases.

3. **Note instruction:** Describe what you want MarianaAI to produce as an output in that particular section. Keep in mind that MarianaAI already has all the contextual information it needs about the ongoing encounter, the patient’s longitudinal history (specially in case of sessions/conversations), and US Healthcare.
   {% endhint %}

4. Navigate to <https://app.marianaai.com/> and click on Encounter.

5. Click on the profile icon on the top-right corner of the window, and select settings.

6. Click on the drop-down icon in the Note Template menu.

### Choosing from an existing template

Select your preferred existing note template from the drop-down menu.

### Create your own template

1. To Create a new template, on the dropdown, click on “custom”.
2. Let's have CARE suggest "inconsistencies" (such as the ambiguities that crop up due to patient's incorrect recall) instead of "questions" every 20 seconds.
3. Change the section name to Suggested inconsistencies, and edit the instruction to CARE and ask it to suggest inconsistencies instead of questions for this particular encounter.
4. As you can see, the CDS section is now updated with a Suggested Inconsistencies sub-section, which shall now highlight notable ambiguities and inconsistencies every 20 seconds.


---

# 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://resources.marianaai.com/home/how-to/encounters/edit-templates-for-cds-notes-and-codes.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.
