# Create a specimen definition

## Overview

[Video: Create a specimen definition](https://www.youtube.com/watch?v=nYT2QuqGPMY)

This flow describes how to create a [specimen definition](https://docs.ohc.network/concepts/definitions/specimen-definition.md) for your facility. The definition records what staff collect, how they collect it, and how the laboratory keeps the specimen.

## Pre-requisites

* You belong to a department of the facility.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Specimen Definition on Facility | Lets you save the new specimen definition. You must hold it in the facility's root organization (**Administration**); the same permission in another department is not enough. By default, the **Facility Admin** role holds this permission. |
| Can Read Specimen Definition | Lets you open the specimen definitions list, where you start the form. You can hold it in any department of the facility. By default, the **Facility Admin**, **Administrator**, **Staff**, **Doctor**, **Nurse**, **Volunteer** and **Pharmacist** roles hold this permission. |

## Steps

### 1. Open the specimen definitions list

1. In the facility sidebar, select **Settings**.
2. In the settings sidebar, under **Clinical**, select **Specimen Definitions**.

Care shows the Active specimen definitions of the facility.

![Step 1, Open the specimen definitions list: the screen at this step, with the control for the step outlined](/assets/images/create-specimen-definition-1-0841dd0dd8d2591ff23dc09e21b1169e.webp)

### 2. Start a new definition

Select **Add Definition**. Care opens the **Create Specimen Definition** form.

Note: You can also open this form from the activity definition form. Select **Select Specimen Requirements**. Then select **Create New**. After you save, Care adds the new definition to the list but does not select it. Select it yourself.

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

### 3. Fill in the basic information

Complete the fields under **Basic Information**.

| Components | What it captures |
| - | - |
| Title | The name of the specimen definition, for example "Fasting Blood Sample". Required. |
| Slug | A short identifier that is unique in the facility. Care fills it in from the title, and you can change it. Use 5 to 50 letters, numbers, hyphens or underscores. Start and end with a letter or a number. Required. |
| Status | Draft, Active or Retired. Care selects Active. The activity definition form offers only Active definitions. Required. |
| Derived From URI | The web address of a definition that this one is based on. Enter a complete web address. Optional. |
| Description | An explanation of the specimen definition. Required. |

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

### 4. Add the specimen details

Complete the fields under **Specimen Details**.

| Components | What it captures |
| - | - |
| Type Collected | The kind of specimen to collect. Search for it in the list. Required. |
| Collection | The collection procedure, for example finger-prick sampling. Search for it in the list. Optional. |
| Expected Quantity | The amount to collect. Enter a whole number of 1 or more. Select a unit: milligram, gram, milliliter, drop or microgram. Optional. |
| Collection Method | The method of collection. Search for it in the list. Optional. |
| Body Site | The part of the body where staff collect the specimen. Search for it in the list. Optional. |
| Patient Preparation | What the patient does before collection. Select **Add** for each item. Search for the item in the new row. Optional. |

Care uses these fields when staff collect a specimen for a service request. It fills in the Expected Quantity, Collection Method and Body Site.

* To clear Collection, Collection Method or Body Site, select the x next to the value.
* If the Expected Quantity is not a whole number of 1 or more, Care shows **Please enter a valid quantity**.
* If you enter an Expected Quantity without a unit, Care shows **This field is required**.
* If you add the same patient preparation two times, Care shows **This patient preparation has already been added**.

![Step 4, Add the specimen details: the screen at this step, with the control for the step outlined](/assets/images/create-specimen-definition-4-7e16067e9f6f1b4731605dd83b8bce9e.webp)

### 5. Add the type tested information

Complete the fields under **Type Tested Information**. Care fills in Is Derived, Single Use and Preference. The other fields are optional.

| Components | What it captures |
| - | - |
| Is Derived | A switch that records if the tested specimen is derived from another specimen. Care sets it to off. |
| Single Use | A switch that records if the specimen is for single use only. Care sets it to off. |
| Preference | **Preferred** or **Alternate**. Care selects Preferred. |
| Retention time | How long the laboratory keeps the specimen. Enter a whole number. Select hours or days. |
| Requirement | Any requirements for the specimen, as text. |

Complete the fields under **Container Information** to describe the container. All these fields are optional.

| Components | What it captures |
| - | - |
| Description | A description of the container. |
| Cap | The cap of the container. Search for it in the list. |
| Capacity | The volume of the container. Enter a whole number. Select a unit. |
| Minimum Volume | The minimum volume of the specimen. Use the **Quantity** tab for a whole number and a unit. Use the **Text** tab for a description. A value on one tab clears the other tab. |
| Preparation | How to prepare the container, as text. |

![Step 5, Add the type tested information: the screen at this step, with the control for the step outlined](/assets/images/create-specimen-definition-5-3bc4d9282b54441887c94d97d3d05897.webp)

### 6. Save the definition

Select **Save**. To leave the form without saving, select **Cancel**.

* If another specimen definition in the facility uses the same slug, Care does not save. Change the slug and select **Save** again.
* If you do not hold the create permission in the root organization, Care shows "Access Denied to Specimen Definition".

![Step 6, Save the definition (1 of 2): the screen at this step, with the control for the step outlined](/assets/images/create-specimen-definition-6-19276a9ebd46e7e0e9723058c4201532.webp)

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

## Expected Outcome

* Care shows **Specimen definition created**.
* Care opens the specimen definitions list. The list shows Active definitions by default.
* If you saved the definition as Draft or Retired, select that status in the **Status** filter to see it.

## Related

Concepts:

* [Specimen Definition](https://docs.ohc.network/concepts/definitions/specimen-definition.md)
* [Activity Definition](https://docs.ohc.network/concepts/definitions/activity-definition.md)

Flows:

* [Update or retire a specimen definition](https://docs.ohc.network/flows/definitions/specimen-definition/update-or-retire-specimen-definition.md)
* [Link requirements to an activity definition](https://docs.ohc.network/flows/definitions/activity-definition/link-requirements-to-activity-definition.md)
* [Collect a specimen](https://docs.ohc.network/flows/clinical/specimen/collect-a-specimen.md)
