# Encode Patient Service results

## Encoding Results

To encode results, navigate to the patient service & enter the results on the page.

### Reference Ranges

Please see [Laboratory Services: Setup](/settings/laboratory-settings/laboratory-services/laboratory-services-setup.md) to configure reference ranges.

#### Auto selection of reference range

The reference ranges are automatically selected based on the patient information (Age / Sex)

You can choose to override the default selection on the patient result page.

#### Flagging out-of-bound results

If reference ranges are configured, dashlabs.ai will automatically flag any field/test parameter with values outside (below & above) the pre-defined range.

<div align="center"><figure><img src="/files/3z4JIwbqgXwUFFUDkAKT" alt="" width="563"><figcaption></figcaption></figure></div>

### File upload

The results page allows you to upload files (e.g. XRay images, diagrams, videos etc).

The most common usecase we have seen is the uploading of XRay images, which are printed with the results.

The file upload supports DICOM files. See [#dicom-support](#dicom-support "mention")

## DICOM support & PACS viewer

The dashlabs platform has a built in PACS viewer for DICOM files. We support the following PACS functionalities:

### PACS viewer

<figure><img src="/files/HNE4edSdQRgd6DjvojQ9" alt=""><figcaption></figcaption></figure>

| Function   | Command                     |
| ---------- | --------------------------- |
| Zoom       | Right Click & Drag          |
| Pan        | Right Click + Shift & Drag  |
| Contrast   | Left Click & Drag           |
| Measure    | Left Click + Shift & Drag   |
| Cobb-Angle | Left Click & Concrol & Drag |
| Invert     | Invert button               |

### Opening Dicom Files

1. Click the **Application/Dicom** file from the results input page
2. A new tab will open with the PACS viewer

<figure><img src="/files/iMQLY0faJSmwmb4MDaxl" alt="" width="563"><figcaption></figcaption></figure>

*Note: The viewer may load slowly if the file has been uploaded > 7 days ago.*

## Result actions

there are three result actions that are possible.

<table><thead><tr><th width="119">Button</th><th width="199">Description</th><th width="148">Display cond.</th><th>Required Permissions</th></tr></thead><tbody><tr><td>Submit</td><td>Save draft of results</td><td>Result <strong>IS NOT</strong> completed / finalized</td><td>Patient Service Results (Read, Write)</td></tr><tr><td>Submit &#x26; Complete</td><td>Save &#x26; finalize results<br>(results will no longer be editable undoing)</td><td>Result <strong>IS NOT</strong> completed / finalized</td><td>Patient Service Results (Read, Write);<br>Patient Service Results Release (Read, Write)</td></tr><tr><td>Undo Complete</td><td><p>Undo a finalized result</p><p>(i.e. in case a mistake has been made)</p></td><td>Result <strong>IS</strong> completed / finalized</td><td>Patient Service Results (Read, Write);<br>Patient Service Results Release (Read, Write)</td></tr></tbody></table>

#### Submit, Submit & Complete

Results can be edited as long as the patient service is not yet `completed/ finalized`.

Both actions will be recorded in the patient service audit logs

<figure><img src="/files/p4LVB3Nct23xdDx0u5eI" alt="" width="351"><figcaption></figcaption></figure>

#### Undo Complete

Results can no longer be edited once the patient service has been `completed / finalized`. You need to `Undo Complete` the result first.

The `Undo Complete` action will be recorded in the patient service audit logs.

<div align="center"><figure><img src="/files/LBmujThZ7mtiftmiovPZ" alt="" width="185"><figcaption></figcaption></figure></div>

## Machine Integration: Automatically upload results from your machine

Dashlabs.ai offers an addon service for Machine Integration. We will automatically extract the results from your lab machines (e.g. hematology, urinalysis, xray, ultrasound, etc.) & upload the results to the patient service.

Please reach out to your relationship manager to avail of this service


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.dashlabs.ai/modules/emr-module/patient-service-management/encode-patient-service-results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
