Skip to main content
Version: 3.1

Create a discount code

Overview​

This flow describes how to create a discount code for a facility in Care. Discount codes are part of the billing settings of the facility.

A discount code is a name and a code. Discount components that share a discount code show as one group when you pick a discount for a charge item definition.

Pre-requisites​

  • You are a member of the facility in any role, or of its geographic organization or an organization above it.
  • The facility has saved a discount configuration. If it has not, set the discount configuration first.
  • You have the permissions listed below.

Permissions​

PermissionAccess
Can Update on FacilityLets you save the billing settings of the facility. It counts when you hold it through a role in the facility's root organization, which Care names Administration. A role in the facility's geographic organization, or in an organization above it, also counts. A role that you hold only in a department or team of the facility does not count. By default, the Facility Admin, Administrator and Staff roles hold it. Every member of the facility can open the page and use its buttons. Without this permission, Care refuses the save with a message that contains "You do not have permission to create Facilities".

Steps​

1. Open the discount codes​

In the facility sidebar, under Administration, select Settings.

Care shows the settings sidebar of the facility.

In the Billing group, select Billing.

Under Discount, select Discount Codes.

The list shows the discount codes of the deployment first, with the badge Instance.

The discount codes of the facility follow, with the badge Facility.

The facility sidebar, with Settings outlined under Administration

2. Open the form​

Select Create Discount Code.

Care opens a form titled Create Discount Code.

The Discount Codes page, with the Create Discount Code button outlined

3. Enter the name and the code​

Complete the two fields.

ComponentsWhat it captures
NameThe name of the discount code. Care shows the name with the code when you pick a discount code for a discount component. This field is required.
CodeThe code that identifies the discount code. It must differ from the other codes of the facility and from the codes of the deployment. This field is required.

Care removes spaces at the start and at the end of each entry.

If a field is empty, Care shows "This field is required".

The Create Discount Code sheet, with the name Staff Discount and the code staff entered

4. Save the discount code​

Select Save.

Note: Save stays disabled until you type in a field.

Care closes the form at once, before it saves the code.

If Care refuses the save, the values that you typed are lost. Open the form again. Type the values again.

If Care shows an error message, use this table.

If the message containsWhat to do
Duplicate codes are not allowed.The facility already has a discount code with this code. Use a different code.
Redefining system codes are not allowed.The deployment already has a discount code with this code. Use a different code. Or, select the code of the deployment when you create the discount component.
Discount codes cannot be more than 100.The facility already has 99 discount codes, which is the most that Care accepts. Delete a discount code that no discount component uses. Then try again.
Field requiredThe facility has not saved a discount configuration. Set the discount configuration first. Then create the code again.
You do not have permission to create FacilitiesYou do not hold the permission listed above in the right organization. Ask for a role that has it in the facility's root organization, Administration.

The Discount Codes list, with the new Staff Discount code marked Facility

Expected Outcome​

  • Care shows the message "Discount code created successfully".
  • The new code shows in the list with the badge Facility.
  • When you create or edit a discount component, you can select the new code in Discount Code.

Concepts:

Flows: