Set Up Documentation Rules for Alerts

Decision Rule Setup in System Setup (Supplemental)

About Documentation Rules

A Documentation Rule watches one field on a form or note. When a user seals a form or finalizes a note and the field meets the condition you set, NextStep sends an alert to the people you choose. Use rules to flag clinical thresholds right away, such as a PHQ-9 total score greater than 15.

With Documentation Rules you can answer these questions:

  • Which staff should know right away when a client's score crosses a threshold?
  • What message and color should the alert show?
  • Which forms and notes should trigger alerts?

Turn On Rules and Rule Sets

  1. Go to Main Menu > Admin Tools > System Setup (Supplemental).
  2. Expand Decision Rule Setup.
  3. Turn on Enable Rules and Rule Sets.

Decision Rule Setup with the Enable Rules and Rule Sets switch

Note: When this setting is off, NextStep does not check any rules, the ALERTS tab is hidden for all users, and the Alerts group is hidden on Maintain Users. Your rules stay saved. A document sealed while the setting is off never creates an alert, even after you turn the setting back on.

Add a Documentation Rule

  1. In Decision Rule Setup, expand Rules, and then expand Documentation Rule.

Documentation Rule grid with New button and row buttons

  1. Select New. The Documentation Rule window opens.
  2. Complete the fields described in the table below.
  3. Select Save.

Documentation Rule window

FieldWhat to enter
NameA unique name for the rule. Required.
TypeForm or Note. Required.
Doc NameThe form or note to watch. The list changes with the Type you choose. Required.
FieldThe field to check. The list shows only the fields of the form or note you chose. Required.
ConditionHow to compare the field to the Value. The choices depend on the field type (see below). Required.
ValueThe number or text to compare. For a field with set choices, you pick a choice. For a Yes/No field, you pick Yes or No.
ResultCreate an Individual Client Alert.
ColorThe color of the alert header. Choose Yellow (#F9E750), Red (#EB3324), Blue (#67C0F4), Green (#63D14A) or Orange (#FFA13B), or enter a custom color.
MessageThe text users see in the alert.
RolesEveryone who holds the role you choose receives the alert.
Face Sheet RolesOnly users who hold the role and are assigned to that role on the client's Face Sheet receive the alert.
Add UsersIndividual users who receive the alert whether or not they hold the roles above.

Note: You must choose at least one Role, Face Sheet Role or user. If you do not, NextStep shows "At least one Role, Face Sheet Role or User recipient must be selected."

Choose a Condition

The conditions you can pick depend on the type of field.

Field typeConditions
Number fields and the form Total scoreis equal to, is greater than, is less than, is between the range of, is empty
Text box, text area and memo fieldscontains, is equal to, is empty. contains does not match capital letters.
Dropdown, Select One Only and Yes/No fieldsis equal to, contains, is empty
Select All That Apply fieldscontains (the choice is selected), is empty

Condition list for a number field

For is between the range of, enter two numbers separated by a comma, such as 20,80. The rule is met when the value equals either number or falls between them. If you enter anything else, NextStep shows "Requires two numeric values separated by comma (e.g. 20,80)."

Note: The Field list does not offer Signature, Topaz, Image, Barcode or Vitals fields. Forms also offer only the Total score field, not Average, Count or Min/Max fields. Notes offer no score fields.

When NextStep Creates an Alert

  • A user seals a form or finalizes a note in NextStep, or NextStep seals it for them, such as a Pre-Admit form sealed at admission. Documents added by scripts or imports never create alerts. Saving a form without sealing it does not either.
  • The client has an active admission when the document is sealed. A client who is not admitted gets no alert, and none is created later.
  • The alert appears within about 15 seconds. The first alert after you turn on Enable Rules and Rule Sets can take up to a minute.
  • A rule creates one alert per document. If a user unseals, corrects and reseals the document, the same rule does not create a second alert. If the correction means the rule is no longer met, NextStep withdraws the alert for everyone who received it. A different document that meets the rule creates its own alert.
  • Alerts reach only users who are allowed to see the client. A user whose Restrict client access based on user's case assignments setting is checked receives no alert for a client who is not assigned to them. A Face Sheet Role assignment lets a restricted user receive the alert without a case assignment, but client location and sequestration limits still apply.

Edit, Duplicate or Delete a Rule

  • Select View/Edit to open the rule, change it and select Save.
  • Select Duplicate to start a new rule with the same settings. The name ends with "- Copy".
  • Select Delete and confirm to remove the rule. Alerts the rule already created stay in place.

Note: You cannot delete a rule that belongs to a Rule Set. NextStep shows "This rule is used in Rule Set(s): <names>. Remove it from them before deleting." Remove the rule from each Rule Set first.

Note: A rule that belongs to a Rule Set no longer creates its own alert. It counts only toward the Rule Set, which sends an alert when every rule in the set is met.

Note: If the form, note type or field a rule uses is later discontinued, the rule shows "Bound field/form is discontinued." and stops creating alerts.

Related Articles