# Create an observation definition

## Overview

[Video: Create an observation definition](https://www.youtube.com/watch?v=IpJUTsmNfEo)

This flow describes how to create an [observation definition](https://docs.ohc.network/concepts/definitions/observation-definition.md) for your facility in Care. An observation definition is the template that staff use to record the results of one test.

## Pre-requisites

* You sign in to Care with a staff account.
* You belong to a department of the facility.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Observation Definition on Facility | Lets you save the new observation definition. 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. 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 if you add an **Encounter Tags** condition to an interpretation rule. 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. Open the observation definitions list

In the facility sidebar, select **Settings**.

In the settings sidebar, under **Clinical**, select **Observation Definitions**.

Care shows the Active observation definitions of your facility.

![Step 1, Open the observation definitions list (1 of 2): the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-1-5225f5dba8069ad72e007709ae6dc20b.webp)

![Step 1, Open the observation definitions list (2 of 2): the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-2-047f5c366b87bd79549f57b231209100.webp)

### 2. Start a new observation definition

Select **Add Definition**.

Care opens the **Create Observation Definition** form.

![Step 2, Start a new observation definition: the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-3-737b9936d93382f4a11357b2ab286c4b.webp)

### 3. Fill in the basic information

In the **Basic Information** section, complete these fields.

| Components | What it captures |
| - | - |
| **Title** | The name of the test, for example Fasting Blood Glucose. This field is required. |
| **Slug** | A short name for the test, unique in your facility. Care fills it from the title as you type, and you can change it. Use 5 to 50 lowercase letters, numbers, hyphens or underscores. Start and end with a letter or a number. This field is required. |
| **Description** | What the test measures. This field is required. |
| **Status** | Draft, Active, Retired or Unknown. Care selects Active. This field is required. |
| **Category** | The kind of service that the test belongs to, such as Laboratory or Vital Signs. This field is required. |
| **Data Type** | The kind of value that a result holds: Boolean, Decimal, Integer, DateTime, Time, String or Quantity. This field is required. |
| **LOINC Code** | The LOINC code of the test. Type in the search box, then select the code. This field is required. |

![Step 3, Fill in the basic information: the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-4-a963f763622724b637e9678aa06511e9.webp)

### 4. Add interpretation rules

This step is optional. If you do not add rules, the section shows **No interpretations configured**.

In the **Observation Interpretation** section, add the rules that Care uses to interpret each result. For the steps, see [Set up observation interpretation](https://docs.ohc.network/flows/definitions/observation-definition/set-up-qualified-ranges.md).

If you add components in step 6, you can add rules to each component instead. You cannot add rules to both the definition and its components.

![Step 4, Add interpretation rules: the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-5-630ab147b840eefde0b23c5b22103d61.webp)

### 5. Fill in the additional details

The **Additional Details** section is optional.

| Components | What it captures |
| - | - |
| **Body Site** | The part of the body that the test examines. |
| **Method** | The technique that staff use for the test. |
| **Unit** | The unit of measure for the result. |

![Step 5, Fill in the additional details: the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-6-4e01e5b3534c2d77d7d450a2df7d330d.webp)

### 6. Add components for a test with more than one value

If the test gives only one value, go to step 7.

In the **Components** section, select **Add your first component**.

To add each further component, select **Add component**.

For each component, complete these fields.

| Components | What it captures |
| - | - |
| **Code** | The LOINC code of this value. Type in the search box, then select the code. This field is required. |
| **Data Type** | The kind of value. Care selects Quantity. |
| **Unit** | The unit of measure for this value. This field is optional. |

Each component also has its own **Observation Interpretation** section.

![Step 6, Add components for a test with more than one value: the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-7-28837456be640bc19f687051a30f7d85.webp)

### 7. Save the observation definition

Select **Create**.

To leave the form without a new observation definition, select **Cancel**.

If another observation definition of your facility has the same slug, Care does not save the definition. Change the slug, then select **Create** again.

If two ranges of a rule overlap, Care does not save the definition. Change the ranges, then select **Create** again.

![Step 7, Save the observation definition (1 of 2): the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-8-338c03c388d730c38197a513832ac888.webp)

![Step 7, Save the observation definition (2 of 2): the screen at this step, with the control for the step outlined](/assets/images/create-observation-definition-9-0bcf01b23bc4b6b49b23e5f45af3e4a6.webp)

## Expected Outcome

* Care shows **Observation definition created successfully** and opens the observation definitions list.
* The list shows only Active definitions at first. If you gave the definition another status, select that status in the **Status** filter to see it.
* If the status is Active, activity definitions and diagnostic reports of your facility offer the new definition.

## Related

Concepts:

* [Observation Definition](https://docs.ohc.network/concepts/definitions/observation-definition.md)

Flows:

* [Set up observation interpretation](https://docs.ohc.network/flows/definitions/observation-definition/set-up-qualified-ranges.md)
* [Update or retire an observation definition](https://docs.ohc.network/flows/definitions/observation-definition/update-or-retire-observation-definition.md)
* [Link requirements to an activity definition](https://docs.ohc.network/flows/definitions/activity-definition/link-requirements-to-activity-definition.md)
