Skip to main content
Version: 3.1

Update or retire a valueset

Overview​

This flow describes how to change a facility valueset in Care. It also describes how to retire a valueset that your facility no longer uses.

Pre-requisites​

  • The valueset is on the This facility tab of the ValueSets page.
  • The valueset is shared with your department, or with one of its sub-departments. See Share a valueset with departments.
  • You have the permissions listed below.

Note: You cannot change a valueset on the Shared catalogue tab from facility settings. To change one for your facility, see Customize a shared valueset.

Permissions​

PermissionAccess
Can Create/Update ValueSetsLets you see Edit, change the valueset, and save it. You must hold it in the facility's root organization (Administration). Without it there, Care shows View and opens the valueset read only. By default, the Facility Admin role holds it.
Can Read ValueSetsLets you find the valueset in the list and open it. You must hold it in a department that the valueset is shared with, or in a parent department of one. Holding it in the root organization alone is not enough, unless the valueset is shared with the root organization (Administration). By default, the Facility Admin, Administrator, Doctor, Nurse, Staff, Pharmacist and Volunteer roles hold it.
Can View Facility OrganizationsLets you see the departments in the Select Department list. If you hold it in the root organization, the list shows every department, including the root organization. If you hold it only in a department, the list leaves out the root organization. By default, the Facility Admin, Administrator, Doctor, Nurse, Staff and Volunteer roles hold it.

Steps​

1. Open the valueset list​

In the facility sidebar, select Settings.

In the settings sidebar, under Forms, select ValueSets.

Care opens the ValueSets page on the This facility tab.

Step 1, Open the valueset list (1 of 2): the screen at this step, with the control for the step outlined

Step 1, Open the valueset list (2 of 2): the screen at this step, with the control for the step outlined

2. Find the valueset​

To find the valueset by name, type in Search ValueSets.

The list shows Active valuesets. To find a valueset with another status, change Status.

Each row shows the name and slug, the status, and the description of a valueset.

Step 2, Find the valueset: the screen at this step, with the control for the step outlined

3. Open the valueset​

On the row of the valueset, select Edit.

Care opens the Edit ValueSet page.

If the row shows View in place of Edit, you do not hold Can Create/Update ValueSets in the root organization.

View opens the Preview ValueSet page with a Read only badge and the note You do not have permission to edit this value set.

Step 3, Open the valueset: the screen at this step, with the control for the step outlined

4. Change the details​

Change the fields that you want to change.

ComponentsWhat it captures
NameThe name of the valueset. This field is required.
SlugThe slug of the valueset. You cannot change it after the valueset is created.
StatusThe stage of the valueset: Active, Draft, Retired, or Unknown. This field is required.
DescriptionMore information about the valueset. This field is optional.
Departments with accessThe departments whose members can see and use the valueset. Care saves a change to this field at once. See Share a valueset with departments.
Use parent rulesWhether Care adds the rules of the parent valueset to the rules on this page.
Include rules and Exclude rulesThe rules that add codes to the valueset and remove codes from it. See Build include and exclude rules.

To check the codes before you save, see Preview a valueset.

Step 4, Change the details: the screen at this step, with the control for the step outlined

5. Save the changes​

Select Save.

The button stays inactive until you change a field.

If a field has an error, Care lists it under Review these fields before saving.

To leave without saving, select the back arrow next to the page title.

If you have unsaved changes, Care asks You have unsaved changes. Leave without saving?

Step 5, Save the changes (1 of 2): the screen at this step, with the control for the step outlined

Step 5, Save the changes (2 of 2): the screen at this step, with the control for the step outlined

6. Retire the valueset​

Do this step only when your facility no longer uses the valueset.

If you saved changes in step 5, Care is back on the ValueSets page. Open the valueset again: on its row, select Edit.

  1. In Status, select Retired.
  2. Select Save.

Note: The pages have no delete action for a valueset. Retire the valueset instead.

To use a retired valueset again, set its Status back to Active and save it.

Step 6, Retire the valueset (1 of 2): the screen at this step, with the control for the step outlined

Step 6, Retire the valueset (2 of 2): the screen at this step, with the control for the step outlined

Expected Outcome​

  • Care shows ValueSet updated successfully and returns to the ValueSets page.
  • If you retired the valueset, the list shows it only when Status is set to Retired.
  • If you retired a Facility customization, fields that find their valueset by this slug stop using it. They go back to the shared valueset, or to another Active facility valueset with that slug.
  • A questionnaire question with this valueset in Select a value set still searches its codes after you retire it.

Concepts:

Flows: