Delete a location
Overview
This flow describes how to delete a location, such as a building, a ward or a bed, from the facility.
Care offers Delete only for a location that holds no other locations and has no patient on it.
Pre-requisites
- You can open the facility in Care. You hold a role in the facility, or you belong to a government organization that covers the facility.
- If the location holds sub-locations or beds, delete them first. Care does not delete a location while it holds other locations.
- If a patient is on the location, change or end the patient's location from the encounter first. See Assign an encounter location.
- You have the permissions listed below.
Permissions
| Permission | Access |
|---|---|
| Can Create/Update Facility Locations | Lets you delete the location. You need it on the location. By default, the Facility Admin and Staff roles hold it. |
| Can List Facility Locations | Lets you find and open the location. You need it on the location. Without it, Care cannot find the location, even if you hold the other permission. By default, the Doctor, Nurse, Staff, Pharmacist, Administrator and Facility Admin roles hold it. |
You hold a permission on a location when a role in one of these places gives it to you:
- A department linked to the location, or to a location that holds the location.
- A parent department of such a department.
- The facility's root department, Administration. A role there reaches every location of the facility.
By default, if you hold the Facility Admin or Staff role in one of these places, you have both permissions.
Steps
1. Find the location
Open the facility.
In the facility sidebar, select Settings.
In the settings sidebar, under Facility, select Locations.
Find the location in the location tree or in the list. See View locations.
With no location open, the list shows the top-level locations as rows.
Inside an opened location, the list shows its sub-locations as rows under Sub-locations, and its beds as tiles under Beds.

2. Select Delete
Select Delete in one of these ways:
- On the row of the location, or on the tile of the bed, select the "⋮" menu. Then select Delete.
- Open the Edit Location sheet. See Edit a location. In the Delete this location row, select Delete.

The Delete this location row warns This action cannot be undone.
If you cannot find Delete, the location holds other locations or has a patient on it.
3. Confirm the deletion
Care opens a confirmation dialog. Its title is "Remove", followed by the location name.
The dialog asks if you are sure that you want to delete the location.
To delete the location, select Remove. To keep it, select Cancel.

Care deletes the location and shows Location removed successfully.

Expected Outcome
- The location no longer shows in Settings > Locations.
- If you deleted the location that was open, Care opens the location that held it.
- If that location was a top-level location, Care opens the Locations list.
Related
Concepts:
Flows: