# Share a questionnaire with departments

## Overview

[Video: Share a questionnaire with departments](https://www.youtube.com/watch?v=tGB3NhsRmr4)

This flow describes how to share a [questionnaire](https://docs.ohc.network/concepts/definitions/questionnaire.md) of your facility with [departments](https://docs.ohc.network/concepts/facility/department.md), so that their members can see it in the questionnaire list and select it when they fill in a questionnaire. It also describes how to stop sharing it with a department.

## Pre-requisites

* The questionnaire is saved in your facility. See [Create a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/create-questionnaire.md).
* The departments that you want to share with belong to your facility.
* You are a member of a department of the facility, so the facility sidebar shows **Settings**.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create/Update Questionnaires | Lets you load the departments of the questionnaire, change them, and save them. You must hold it in the facility's root organization (**Administration**). By default, the Facility Admin role holds it. |
| Can View Facility Organizations | Lets the department picker list the departments of the facility. If you hold it in the root organization, the picker lists every department. By default, the Facility Admin, Administrator, Doctor, Nurse, Staff and Volunteer roles hold 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. Select the questionnaire in the list. Care opens the questionnaire page.

![Step 1, Open the questionnaire: the screen at this step, with the control for the step outlined](/assets/images/manage-questionnaire-organizations-1-a8485f6c5836407c6d65858f8e61f943.webp)

### 2. Open the department picker

In the **Questionnaire Properties** panel, find the **Organizations** field.

Select **Select Department**. Care opens the list of departments of the facility.

Note: If the field shows "Organization settings are not available for this questionnaire in this view.", Care could not load the departments of the questionnaire. Loading them needs "Can Create/Update Questionnaires" in the root organization.

![Step 2, Open the department picker: the screen at this step, with the control for the step outlined](/assets/images/manage-questionnaire-organizations-2-4ea4572b18ed738a259d36367af9177b.webp)

### 3. Select the departments

To find a department, type its name in the search box.

To see the sub-departments of a department, expand it.

Select the check box of each department that you want to share the questionnaire with.

Select **Done**. Care lists the selected departments below **Select Department**.

![Step 3, Select the departments: the screen at this step, with the control for the step outlined](/assets/images/manage-questionnaire-organizations-3-9d018fd6cb52f3719238a9dfad813964.webp)

### 4. Remove a department

Follow this step only when a department must stop seeing the questionnaire.

In the list of selected departments, select the X button next to the department.

![Step 4, Remove a department: the screen at this step, with the control for the step outlined](/assets/images/manage-questionnaire-organizations-4-1ffbf1e1098af88bd362644a99e7866f.webp)

### 5. Save your changes

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

Note: Care saves the department changes only when you select **Save Questionnaire**. If you leave the page before you save, Care asks you to confirm.

Note: The question editor, which opens from **Edit Questions**, also shows the **Organizations** field under **Form Settings**. If you change the departments there, save with **Save Changes**.

![Step 5, Save your changes: the screen at this step, with the control for the step outlined](/assets/images/manage-questionnaire-organizations-5-00b62dccba95d76fe01433793dbd9a5b.webp)

## Expected Outcome

* Care shows the message "Questionnaire updated successfully".
* Members of each selected department who hold Can Read Questionnaires can see the questionnaire. Members of the departments above a selected department can see it too.
* Members of the root organization keep access, even when you remove every department.
* Members of a removed department no longer see the questionnaire, unless they also belong to the root organization or to another department that has access.
* The version number stays the same, because the questions did not change.

## Related

Concepts:

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

Flows:

* [Create a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/create-questionnaire.md)
* [Update or retire a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/update-or-retire-questionnaire.md)
* [Clone a questionnaire](https://docs.ohc.network/flows/definitions/questionnaire/clone-questionnaire.md)
