# Update or retire a questionnaire

## Overview

[Video: Update or retire a questionnaire](https://www.youtube.com/watch?v=WB3Eq3A6GFE)

This flow describes how to change the title, slug, description, or status of a [questionnaire](https://docs.ohc.network/concepts/definitions/questionnaire.md) in your facility. It also describes how to retire a questionnaire, so that staff can no longer fill it in.

## Pre-requisites

* The questionnaire is saved in your facility. See [Create a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/create-questionnaire.md).
* You are a member of a department of the facility, so the facility sidebar shows **Settings**.
* If the questionnaire has actions, you are allowed to use each of its actions.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create/Update Questionnaires | Lets you change the fields on the questionnaire page, and shows **Save Questionnaire**. You must hold it in the facility's root organization (**Administration**). By default, the Facility Admin role holds it. |
| Can Read Questionnaires | Lets you see the questionnaire list and open the questionnaire. You must hold it in the root organization, in a department that the questionnaire is shared with, or in a department above one. By default, the Facility Admin, Administrator, Doctor, Nurse, Staff, Pharmacist and Volunteer roles hold it. |

## Steps

### 1. Open the questionnaire

In the facility sidebar, select **Settings**. In the settings sidebar, under **Forms**, select **Questionnaires**.

The list shows **Active** questionnaires. If the questionnaire has another status, select the **Draft** or **Retired** tab. To find a questionnaire by its title, type in **Search questionnaires**.

Select the questionnaire, or select **See Details**. Care opens the questionnaire page.

![Step 1, Open the questionnaire: the screen at this step, with the control for the step outlined](/assets/images/update-or-retire-questionnaire-1-a4f750f39612f395634b5bcc1ceb5628.webp)

### 2. Change the details

Under **Basic Information**, change the **Title**, the **Slug**, or the **Description**.

The slug must have 5 to 50 characters. Use only letters, numbers, hyphens and underscores, and start and end with a letter or a number.

The slug must not match the slug of another questionnaire in your facility. Care ignores capital letters in this check.

Note: You cannot change the **Subject Type**. Care shows it as a fixed value.

![Step 2, Change the details: the screen at this step, with the control for the step outlined](/assets/images/update-or-retire-questionnaire-2-5d2f093a7b6e3a34f193870b3e04ce0e.webp)

### 3. Retire the questionnaire

Follow this step only when staff must stop using the questionnaire.

In the **Questionnaire Properties** panel, under **Status**, select Retired.

Note: The questionnaire screens have no action to delete a questionnaire. To use a retired questionnaire again, select Active under **Status**, and save.

![Step 3, Retire the questionnaire: the screen at this step, with the control for the step outlined](/assets/images/update-or-retire-questionnaire-3-ea985f2ac44ac20fd6b0548b6315f87e.webp)

### 4. Save your changes

Select **Save Questionnaire** at the top of the page.

Note: **Save Questionnaire** stays inactive until you change a field.

Note: To leave without saving, select **Cancel**. If you have unsaved changes, Care asks you to confirm.

Note: The question editor, which opens from **Edit Questions**, shows the same fields under **Form Settings**. If you change them there, save with **Save Changes**.

![Step 4, Save your changes: the screen at this step, with the control for the step outlined](/assets/images/update-or-retire-questionnaire-4-8b61184c23d77d68849af393d943e5ab.webp)

## Expected Outcome

* Care shows the message "Questionnaire updated successfully".
* The version number stays the same, because the questions did not change.
* A retired questionnaire shows under the **Retired** tab of the list.
* Staff cannot select a retired questionnaire when they fill in a questionnaire, and Care does not accept new answers to it.

## Related

Concepts:

* [Questionnaire](https://docs.ohc.network/concepts/definitions/questionnaire.md)

Flows:

* [Create a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/create-questionnaire.md)
* [Add and edit questions](https://docs.ohc.network/flows/definitions/questionnaire/add-and-edit-questions.md)
* [Share a questionnaire with departments](https://docs.ohc.network/flows/definitions/questionnaire/manage-questionnaire-organizations.md)
* [View earlier versions of a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/view-questionnaire-versions.md)
