# Apply a response template

## Overview

[Video: Apply a response template](https://www.youtube.com/watch?v=gXTTmxmnUx4)

This flow describes how to fill in a questionnaire with a saved [questionnaire response template](https://docs.ohc.network/concepts/definitions/questionnaire-response-template.md). Care adds the medications or the service requests of the template to the question, and you can change them before you submit.

## Pre-requisites

* You fill in a questionnaire for a patient's encounter in the facility.
* The questionnaire has a Medication Request question or a Service Request question.
* You can see at least one template with items for this questionnaire. See [Create a response template](https://docs.ohc.network/flows/definitions/questionnaire-response-template/create-response-template.md).

## Permissions

| Permission | Access |
| - | - |
| No template permission | You need no template permission to see the templates or to apply them. Care checks none. |

## Steps

### 1. Open the template panel

In the Medication Request question or the Service Request question, select **Templates**. Care opens the **Response Templates** panel.

![Step 1, Open the template panel: the screen at this step, with the control for the step outlined](/assets/images/apply-response-template-1-443fbf8c871224b212eb7c54baecff49.webp)

### 2. Find the template

Enter a name in **Search templates**. The list shows the templates of this questionnaire, in this facility, that you can see.

A Medication Request question lists the templates that hold medications. A Service Request question lists the templates that hold service requests.

![Step 2, Find the template: the screen at this step, with the control for the step outlined](/assets/images/apply-response-template-2-68f7ce0baca3837e5c1792dacc515bdc.webp)

### 3. Look at the items in the template

Select the template to expand it. Care lists its medications or its service requests. A template with no items does not expand.

![Step 3, Look at the items in the template: the screen at this step, with the control for the step outlined](/assets/images/apply-response-template-3-4d589f04fc3a783748af70bbc5463eae.webp)

### 4. Apply the template

Select **Apply**. Care adds all the items of the template to the end of the list in the question. Care then closes the panel.

When you apply a template, Care loads the details of each medication and each service request in it. If Care cannot load a service request, Care leaves that item out and shows a warning. If Care can load no service request, Care shows **Failed to apply template**.

**Apply** is not available for a template with no items.

To add one item only, select that item in the expanded template. Care adds only that item.

![Step 4, Apply the template: the screen at this step, with the control for the step outlined](/assets/images/apply-response-template-4-8d6e5e2b39db0905b1e17d01b0c84943.webp)

### 5. Review the added items

Check each added item for this patient. Change or remove the items as necessary before you submit the questionnaire.

For a medication template, Care opens the first added medication for you.

![Step 5, Review the added items: the screen at this step, with the control for the step outlined](/assets/images/apply-response-template-5-5a9243c771e86c8d1461b899fa3c9db0.webp)

## Expected Outcome

* Care adds the items of the template to the question and shows how many items it applied.
* Applying a template saves nothing by itself. You can still change every added item before you submit the questionnaire.

## Related

Concepts:

* [Questionnaire Response Template](https://docs.ohc.network/concepts/definitions/questionnaire-response-template.md)
* [Questionnaire](https://docs.ohc.network/concepts/definitions/questionnaire.md)

Flows:

* [Create a response template](https://docs.ohc.network/flows/definitions/questionnaire-response-template/create-response-template.md)
* [Update or delete a response template](https://docs.ohc.network/flows/definitions/questionnaire-response-template/update-or-delete-response-template.md)
