> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phbhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test templates and reference ranges

> How a lab's test catalogue, analyte templates and reference ranges work.

This page explains the lab catalogue. To enter results, see [Enter and release results](/guides/lab/enter-and-release-results).

<Note>
  **Status: live. All clinical content is awaiting clinical sign-off.** The tests, analytes and default reference ranges are draft. PHB's seed notes that they stay draft until the clinical advisor approves them. Check the ranges against your own analyzer and procedures.
</Note>

## What the catalogue is

* **Test master.** PHB's list of tests a lab can offer. Each test is identified by its **LOINC** code, an international code for lab tests. A lab can only enable tests from this list. It cannot add its own.
* **Analytes.** A test is a single result, a panel of several analytes, or a document. Each analyte has a unit and a reference range.
* **Your lab's copy.** When you enable a test, PHB copies the default analytes into your lab. You then adjust the copy to match your analyzer. Turning a test off and on again does not erase your edits.

When you open an order, the result sheet pre-fills the analytes and ranges from your copy, or from PHB's default if you have none.

## Reference ranges

* A range is one of: between, up to, at least, less than, or greater than. It can also be plain text.
* **Ranges can depend on sex.** An analyte can have a male row and a female row. The result sheet picks the row for the patient's sex, and falls back to the general row when none matches.
* Qualitative analytes, such as positive or negative, show their allowed values. You cannot edit those values yet.

## Who can change what

| Role | What they can do |
| - | - |
| `owner`, `admin` | Turn tests on and off, set price and turnaround, and edit ranges and units. |
| `lab_tech` | See the catalogue and run orders. The page is read-only: **Ask an owner or admin to change which tests this lab offers or their reference ranges.** |

Open **Test catalogue** in the lab menu (`/lab/catalogue`). A hospital that runs its own lab manages the same list in its facility settings.

## Change the catalogue

<Steps>
  <Step title="Choose tests">
    Under **Lab tests offered**, tick the tests your lab runs. Set the price and the turnaround in hours.
  </Step>

  <Step title="Save">
    Click **Save**. The number in brackets is how many rows you changed.
  </Step>

  <Step title="Edit ranges">
    Click **Edit ranges** on an enabled test. A test must be saved as enabled first. Edit the **Unit**, **Range**, **Low** and **High** for each analyte, then click **Save ranges**.
  </Step>
</Steps>

While the content is unsigned you see: **These are PHB default ranges — draft, pending clinical sign-off. Edit any to match your analyzer.** Clearing all of a test's analytes resets it to PHB's default.

Changes are saved to your lab only and are audited.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.