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

# Laboratory

> How lab test orders flow from the doctor's consultation to sample collection, result entry, approval, and delivery to the patient.

The laboratory module manages every step of a lab test at the clinic: the doctor orders it in the consultation, the lab team collects the sample, enters the results, and an approver reviews them before the report reaches the patient. Every step is tracked and linked to the same patient record.

***

## Before You Start

* **Lab Test Templates** must be set up for each test your lab performs.
* **Lab Test Samples** must be configured (Blood, Urine, Swab, Stool, etc.).
* The **Laboratory User** role is required to process tests and enter results.
* The **LabTest Approver** role is required to approve and release results.

***

## The Lab Test Lifecycle

```
Doctor orders a test in the consultation
         │
         ▼
Lab Test record created
(auto-created if "Submit Orders on Save" is on, or manual)
         │
         ▼
Sample collected from patient
(Sample Collection record created)
         │
         ▼
Lab technician processes the sample
Enters results in the Lab Test record
         │
         ▼
Lab Approver reviews results
Submits the Lab Test (approves and releases)
         │
         ▼
Results available in Patient History
Print or email the report to patient
Patient notified via SMS
```

***

## Step 1: Lab Test is Ordered

When a doctor adds a lab test to the consultation (Patient Encounter), the system creates a Lab Test record automatically (if "Submit Orders on Save" is enabled in Healthcare Settings).

If the test is ordered outside a consultation:

1. Go to Healthcare workspace → Laboratory card → **Lab Test** → New
2. Select the patient and test template
3. Save

***

## Step 2: Setting Up Lab Test Templates (Admin Task)

Before results can be entered, each test must have a template. This is a one-time admin setup.

1. Go to Healthcare workspace → Laboratory Setup card → **Lab Test Template** → New

| Field             | What to Configure                                          |
| ----------------- | ---------------------------------------------------------- |
| Template Name     | Name of the test (e.g., "Complete Blood Count")            |
| Lab Test Group    | A grouping (Haematology, Biochemistry, Microbiology, etc.) |
| Lab Test Sample   | What type of sample is needed                              |
| Result Format     | Normal (numeric), Descriptive (text), or Grouped           |
| Normal Test Items | The parameters and their normal ranges                     |
| Is Billable       | Whether this test generates a charge                       |
| Rate              | Standard fee                                               |
| Report Preference | Email or Print                                             |

The Normal Test Items table defines what results the technician will enter: parameter name, normal range, and unit of measurement.

***

## Step 3: Sample Collection

The sample must be collected from the patient and registered before processing.

1. Go to Healthcare workspace → Laboratory card → **Sample Collection** → New

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/bizaxloptimizationsllp/images/placeholder-clinic-sample-collection.png" alt="Sample Collection form showing patient, sample type, linked lab test, collected date, collected time, and practitioner fields" />
</Frame>

2. Fill in the details:

| Field          | What to Enter                             |
| -------------- | ----------------------------------------- |
| Patient        | The patient the sample is from            |
| Sample         | Blood, Urine, Swab, etc.                  |
| Lab Test       | The lab test record this sample is for    |
| Collected Date | Date the sample was taken                 |
| Collected Time | Time the sample was taken                 |
| Practitioner   | The staff member who collected the sample |

3. Save and Submit

***

## Step 4: Entering Results

Once the sample has been processed in the lab:

1. Go to Healthcare workspace → Laboratory card → **Lab Test** → open the pending test
2. Scroll to the **Normal Test Result** table

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/bizaxloptimizationsllp/images/placeholder-clinic-lab-test-results.png" alt="Lab Test form showing result date, lab technician field, and the normal test result table with parameter, result, normal range, and units columns" />
</Frame>

3. For each parameter, enter:

| Field        | What to Enter                                  |
| ------------ | ---------------------------------------------- |
| Test Name    | The parameter (auto-filled from template)      |
| Result       | The measured value                             |
| Normal Range | The expected range (auto-filled from template) |
| UOM          | Unit (g/dL, mmol/L, etc.)                      |

4. Fill in the **Lab Technician** (who processed the sample) and the **Result Date**

5. Save

***

## Step 5: Approving Results

If "Do not print or email Lab Tests without Approval" is on in Healthcare Settings, an approver must review results before they are released.

1. The Lab Approver opens the pending Lab Test record
2. Reviews all parameter values for accuracy
3. Checks any results that are outside the normal range - these may need to be flagged to the doctor
4. Clicks **Submit** to finalise and approve

The Approved Date is recorded automatically on submission.

***

## Step 6: Sharing Results with the Patient

Once approved (submitted), the lab test can be shared:

* **Print:** Open the Lab Test and click Print to produce a formatted lab report
* **Email:** Click Email to send the report to the patient's email address on their profile

The system sends an SMS to the patient's mobile number automatically:

* "Result Printed Message" fires when the Print action is used
* "Result Emailed Message" fires when the Email action is used

Both SMS messages are configured in Healthcare Settings.

Patients with portal access can also view their results online. See [Patient Portal](/health-wellness/general-clinic/patient-portal).

***

## Culture and Sensitivity Tests

For tests where bacteria are cultured and tested against antibiotics (such as urine culture or wound swab culture):

1. The results table has a **Sensitivity Test Result** section
2. Add each organism grown in culture
3. For each organism, record which antibiotics it is sensitive to, resistant to, or intermediate
4. This helps the doctor prescribe the right antibiotic

***

## Field Guide: Lab Test

| Field                   | What It Contains                                 |
| ----------------------- | ------------------------------------------------ |
| Patient                 | The patient the test is for                      |
| Test Template           | The test type (CBC, LFT, RFT, Blood Sugar, etc.) |
| Requesting Practitioner | The doctor who ordered it                        |
| Department              | Which department ordered it                      |
| Status                  | Pending, Completed, Approved                     |
| Sample ID               | Linked Sample Collection record                  |
| Expected Result Date    | When results should be ready                     |
| Result Date             | When results were actually entered               |
| Lab Technician          | Who processed the test                           |
| Normal Test Items       | Table of results with values and ranges          |
| Invoiced                | Whether the test has been billed                 |

***

## Field Guide: Sample Collection

| Field          | What It Contains                      |
| -------------- | ------------------------------------- |
| Patient        | The patient the sample is from        |
| Sample         | Sample type                           |
| Lab Test       | The test this sample is collected for |
| Collected Date | Date of collection                    |
| Collected Time | Time of collection                    |
| Practitioner   | Who collected the sample              |

***

## Troubleshooting

**A lab test record was not created after the consultation**
Check that "Submit Orders on Save" is enabled in Healthcare Settings. If not, create the lab test manually: go to Lab Test → New and fill in the patient and template.

**I cannot submit the lab test (approve it)**
You need the LabTest Approver role. Also check that all result rows have been filled in - empty required fields prevent submission.

**The patient's email address did not receive the result**
Check that the email on the patient record is correct and that email settings in BAS are configured. Also verify that the lab test is submitted (unapproved tests cannot be emailed).

**The normal range column is blank for a parameter**
The Lab Test Template does not have normal ranges configured for that parameter. Ask the admin to update the template.

***

## Best Practices

* Set up all Lab Test Templates before going live - result entry is not possible without them
* Always create a Sample Collection record before processing the test - this gives you traceability if a sample is lost or mislabelled
* Enter results the same day the test is processed - delayed entry delays patient care
* If a result is critically abnormal (very high or very low), contact the ordering doctor directly rather than waiting for the patient to view it via the portal
* Set up the Lab Test Approval setting if your clinic has a formal result review process - this prevents unapproved results from reaching patients

***

## Related Features

* [Consultations](/health-wellness/general-clinic/consultations): Lab tests are ordered from the Patient Encounter
* [Diagnostic Reports](/health-wellness/general-clinic/diagnostic-reports): For imaging and structured observation results (X-ray, ECG, ultrasound)
* [Billing and Finance](/health-wellness/general-clinic/billing-finance): Lab tests are billed as a separate service
* [Patient Portal](/health-wellness/general-clinic/patient-portal): Patients view lab results online
