Set up observation interpretation
Overview
This flow describes how to add interpretation rules to an observation definition in the Observation Interpretation section of its form. Care uses these rules to interpret each result, for example as Normal or High. A rule can depend on the age or gender of the patient, or on the class or tags of the encounter.
Pre-requisites
- You belong to a department of the facility.
- You have the create form or the edit form of an observation definition open. See Create an observation definition or Update or retire an observation definition.
- You have the permissions listed below.
Permissions
| Permission | Access |
|---|---|
| Can Create Observation Definition on Facility | Lets you save the form, which stores the rules. You must hold it in the facility's root organization (Administration). A role in a department is not enough: Care shows "Access Denied to Observation Definition". By default, the Facility Admin role holds this permission. |
| Can Read Observation Definition | Lets you open the Observation Definitions list and the edit form. Hold it in the root organization or in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist roles hold it. |
| Can Read Tag Config | Needed only for an Encounter Tags condition. Lets you pick the tags. Hold it in the root organization or in any department of the facility. By default, the Facility Admin, Administrator, Staff, Doctor, Nurse, Volunteer and Pharmacist roles hold it. |
Steps
1. Find the Observation Interpretation section
On the observation definition form, find the Observation Interpretation section, below Basic Information.
To add rules to a component, use the Observation Interpretation section inside that component.
The section heading shows the number of rules.
You can add rules to the observation definition or to its components, but not to both.
If the section shows a message and Clear conflicting interpretations, the other level already has rules. To remove those rules, select Clear conflicting interpretations, then select Remove.
Caution: Remove deletes every rule of the other level.

2. Add a rule
Select Add Interpretation.
Care opens the Add/Edit Interpretation panel. The new rule has one empty range.

3. Name the rule
The title is optional. Until you type a title, the box shows Untitled interpretation rule.
Type a short title in the box at the top of the panel, for example Adult range.

4. Add conditions
If the rule applies to every result, go to step 5.
In the Conditions section, select Add.
Select a metric, an operation and a value.
| Components | What it captures |
|---|---|
| Patient Age | Select In range or Equals to. Enter a minimum and a maximum age, or one age. Select Years, Months or Days. The range includes both ages that you enter. |
| Patient Gender | Select Equals to. Select Male, Female, Transgender or Non-binary. |
| Encounter Class | Select Equals to. Select an encounter class. |
| Encounter Tags | Select Has tag. Select one or more encounter tags. The condition matches when the encounter has one of these tags. |
To add another condition, select Add again.
The rule applies only when all its conditions match.


5. Add the ranges
In the Ranges section, fill in the empty range.
| Components | What it captures |
|---|---|
| Display | The interpretation text, for example Normal or High. This field is required. |
| Highlight switch | Turn it on to mark the values in this range for highlighting. |
| Min | The lowest value of the range. |
| Max | The highest value of the range. |
Enter a Min, a Max or both. Min must not be more than Max.
A range includes its Min and its Max.
If a range has only a Min or only a Max, its summary says "greater than" or "less than". Care still includes that end value.
To add another range, select Add in the Ranges section. To remove a range, select its x button.
Ranges must not overlap. Two ranges can share an end value, for example 0 to 10 and 10 to 20. A value of 10 then gets the range that is first in the list.
Care checks for overlap only when you save the form.

6. Turn on the fallback
The fallback is optional.
Turn on Fallback.
The fallback has no text box. It has only a highlight switch, which is on.
Care uses the fallback when the rule applies but no range holds the value.

7. Save the rule
Select Save.
Save is not available until the rule has at least one range.
Care adds the rule after the existing rules in the section.
To close the panel without the rule, select Cancel.

8. Review the order of the rules
Care checks the rules in the order of the list. It uses only the first rule whose conditions all match.
If no range of that rule holds the value and the rule has no fallback, the result gets no interpretation. Care does not try a later rule.
Put the rules with conditions first. Put a rule without conditions last, because it matches every result.
To change a rule, select its Edit interpretation icon. The rule keeps its place in the list.
To delete a rule, select its Delete interpretation icon. Care removes the rule at once, without a question.
To move a rule to the end of the list, delete it and add it again.

9. Save the observation definition
On the create form, select Create. On the edit form, select Save.
Care stores the rules only when you save the form.


Expected Outcome
- The rules show in the Observation Interpretation section, and the heading shows the number of rules.
- On the page of the observation definition, Technical Details lists the rules.
- When staff save results on a diagnostic report, Care interprets each result of this definition with the first rule that matches.
- Results that are already saved keep their interpretation until staff save them again.
Related
Concepts:
Flows: