Skip to main content
Version: 3.1

Manage a location's tags

Overview​

This flow describes how to add tags to a location and how to remove them. You change the tags in the Edit Location sheet of the location, and each change saves as soon as you make it. The same steps apply to a building, a ward, a bed or any other location.

Care shows the tags of a location in Settings, on the bed board, on the location's Overview page, and in the bed picker of an encounter.

Tags on a location are for display. No location list in Care filters locations by tag.

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.
  • The location is set up in the facility. To set it up, see Create a location.
  • Tags for locations are set up and active. Tags are set up in Settings > Tag config, with Resource set to Location. See Create a tag.
  • You have the permissions listed below.

Permissions​

PermissionAccess
Can Create/Update Facility LocationsLets you add and remove tags on this location. You need it on the location, in one of the places listed below the table. By default, the Facility Admin and Staff roles hold it.
Can Apply Tag Config to ResourcesNeeded for each tag that you add or remove. Where you need it depends on the tag, as described below the table. By default, the Facility Admin, Staff, Doctor, Nurse and Pharmacist roles hold it. The Administrator and Volunteer roles do not.
Can Read Tag ConfigLets the tag picker list the tags. You need it in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Pharmacist and Volunteer roles hold it.
Can List Facility LocationsLets you find and open the location. You need it on the location, in the same places as Can Create/Update Facility Locations. Without it, Care cannot find the location. 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.

Where you need Can Apply Tag Config to Resources for a tag:

  • If a department manages the tag, you need it in that department or in a parent department of it.
  • If a government organization manages the tag, you need it in that organization or in an organization above it.
  • If no organization manages the tag and the tag belongs to this facility, you need it in any department of the facility.
  • If no organization manages the tag and the tag is instance-wide, you need it in any department of any facility.

A role in the root department does not count for a tag that another department manages. The root department is not a parent of any department.

By default, the Facility Admin and Staff roles hold all four permissions. If you hold one of these roles in the root department, you can change the tags of every location in the facility. This does not cover a tag that another department or a government organization manages.

By default, the Doctor, Nurse and Pharmacist roles hold Can Apply Tag Config to Resources but not Can Create/Update Facility Locations. These roles alone cannot change the tags of a location.

Steps​

1. Open the Edit Location sheet​

Open the Edit Location sheet of the location. For the ways to open it, see Edit a location.

Find the Tags row below the fields. The row shows the tags of the location, or No tags assigned.

The Edit Location sheet of Ward 3, with the Tags row showing No tags assigned and the Add Tags button.

2. Open the tag picker​

Select Add Tags. If the location already has tags, the button is Manage Tags.

On a wide screen, Care opens the tag picker as a menu. On a phone, Care opens it in a panel titled Manage Tags.

The picker shows only active tags that are set up for locations. It shows the tags of this facility and instance-wide tags.

On a wide screen, the picker has these parts. Care shows the section names in capital letters.

ComponentsWhat it captures
Search tags...Type part of a tag name to find the tags whose name contains it.
Selected TagsThe tags that are on the location, with a tick.
Tag GroupsThe groups of tags. Each group has the label Group. Select a group to see its tags, each with a tick box.
Other TagsMore tags, each with a tick box.

The tag picker opened from Add Tags, with Oxygen typed in the search box and the tag Oxygen Supply under Other Tags.

If no tag matches your search, the picker shows No tags or groups found. A group that has no tags shows No tags.

3. Add a tag​

Tick the tag.

For a tag in a group, select the group first. Then tick the tag.

Care applies the tag at once. There is no save button and no confirmation.

Care shows the message Tags updated successfully.

The message Tags updated successfully, with Oxygen Supply ticked under Selected Tags and shown in the Tags row, and the button now named Manage Tags.

The picker stays open. To add more tags, tick them in the same way.

A location can have only one tag from each group. If you tick a second tag of the same group, Care removes the first tag and adds the new tag.

4. Set the expiry, if Care asks for it​

Some tags have an expiry that you can change. For such a tag, Care asks for the expiry before it applies the tag. Care shows "Set expiry for" and the name of the tag.

If the tag has a default expiry, Care shows it. Otherwise, Care shows Leave empty to apply without an expiry.

  1. Enter the time in Days, Hours and Minutes.
  2. Select Apply tag.

If you enter a time, the tag expires that long after Care applies it. If you leave the boxes empty, Care uses the expiry set for the tag, if there is one.

The expiry cannot be longer than 3650 days. If you enter more, Care shows "Expiry can't be longer than 3650 days" and disables Apply tag.

Care also shows a Cancel button.

Some tags have an expiry that you cannot change. Care applies such a tag without asking, and the tag expires after the time set for it.

5. Remove a tag​

Untick the tag. You find it under Selected Tags.

Care removes the tag at once and shows the message Tags updated successfully.

The message Tags updated successfully after Oxygen Supply is unticked, with the Tags row showing No tags assigned again.

6. Check for errors​

If Care cannot save a change, it shows an error. Care puts the ticks back as they were before the change.

These are some of the reasons why Care refuses a change:

  • You do not have Can Apply Tag Config to Resources in the place that the tag needs. See the Permissions section.
  • You add a tag that is already on the location.
  • You add a tag while another tag of the same group is on the location.
  • You remove a tag that is not on the location.

Expected Outcome​

  • The Tags row of the Edit Location sheet shows the tags of the location.
  • In Settings > Locations, the details of the location list the tags under Tags.
  • The tags show on the location's Overview page. See Open a location's overview.
  • On the bed board, the tags of the location show in the header. The tags of each bed show on its bed tile. See View the bed board.
  • In the Update Location sheet of an encounter, the tags of each bed show under the bed in the bed picker. See Assign an encounter location.
  • A tag with an expiry shows a clock and the time left on its badge. Put the pointer on the badge to see the expiry date.
  • After the expiry, the badge shows Expired until Care removes the tag. Care removes expired tags every hour, on the hour.

Concepts:

Flows: