# Download a file

## Overview

[Video: Download a file](https://www.youtube.com/watch?v=vmOeN_Oumok)

This flow describes how to save a copy of a [file](https://docs.ohc.network/concepts/clinical/files.md) from Care on your device. You can download the file from the list in the **Files** tab, or from the **File Preview**.

## Pre-requisites

* The file is uploaded to the patient or to the encounter that you work with.
* The file is not archived. Care does not offer **Download** for an archived file.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can view clinical data about patients | Download the patient files. With Can Read encounter, also download the encounter files. Hold it through [a role on the patient](https://docs.ohc.network/concepts/clinical/files.md#permissions). By default, Staff, Doctor, Nurse and Facility Admin hold it. |
| Can Read encounter related clinical data | Download the encounter files, also after the encounter is closed. Hold it in a [department](https://docs.ohc.network/concepts/facility/department.md) of the encounter or of its current location. By default, Doctor, Nurse and Facility Admin hold it. |
| Can Read encounter | Lists the encounter files, together with Can view clinical data about patients. Hold it through a role on the encounter. By default, Doctor, Nurse and Facility Admin hold it. |

To download a file from the list, you must first see it in the list. For the rules of the list, see [Find a file](https://docs.ohc.network/flows/clinical/files/find-a-file.md).

Note: Download needs only read access. For an active file, Care shows **Download** to every user who can see the file in the list. This includes a user who cannot upload, rename or archive files.

## Steps

### 1. Find the file

Open the **Files** tab of the patient or of the encounter.

Find the file in the list. For the full steps, see [Find a file](https://docs.ohc.network/flows/clinical/files/find-a-file.md).

![The row of Blood test report.pdf in the Files list](/assets/images/download-a-file-1-b1efd0ac9b3fd98d6c4d76bce234f937.webp)

### 2. Open the actions menu

Select **More Actions** in the row of the file. The button shows three vertical dots.

![The More Actions menu of a file with Download, Rename and Archive](/assets/images/download-a-file-2-9ee364503554624b68ed231885f27a57.webp)

### 3. Select Download

Select **Download**.

Care shows **Downloading file...** when the download starts.

Care saves the file on your device, and shows **File download completed**.

Care names the download after the file, without its extension, and the browser can add the extension. For example, Chromium on macOS saved "Blood test report" as "Blood test report.pdf".

If the saved file has no extension, add the extension that the **Files** list shows after its name, such as .pdf.

If the download fails, Care shows **Failed to download file**.

![The messages Downloading file... and File download completed](/assets/images/download-a-file-3-2a01082dd399119e4dff6088090199cd.webp)

Note: Care cannot preview some types of file, such as .doc, .xls and .xlsx files. These files have no **View** button, so you download them from **More Actions**.

Note: You can also download a file that is open in the **File Preview**. Select **Download** in the preview. This download keeps the extension of the file. To open the preview, see [View or preview a file](https://docs.ohc.network/flows/clinical/files/view-or-preview-a-file.md).

## Expected Outcome

* Care saves a copy of the file on your device.
* After a download from the list, Care shows **File download completed**.
* A file that you download from the **File Preview** keeps its extension.

## Related

Concepts:

* [Files](https://docs.ohc.network/concepts/clinical/files.md)

Flows:

* [Find a file](https://docs.ohc.network/flows/clinical/files/find-a-file.md)
* [View or preview a file](https://docs.ohc.network/flows/clinical/files/view-or-preview-a-file.md)
* [Upload a file](https://docs.ohc.network/flows/clinical/files/upload-a-file.md)
* [Rename a file](https://docs.ohc.network/flows/clinical/files/rename-a-file.md)
* [Archive a file](https://docs.ohc.network/flows/clinical/files/archive-a-file.md)
