## findObservationInterval() function

Tries to find an observation interval for the given patient and value.

**Signature:**

```typescript
export declare function findObservationInterval(definition: ObservationDefinition, patient: Patient, value: number, category?: 'reference' | 'critical' | 'absolute'): ObservationDefinitionQualifiedInterval | undefined;
```

## Parameters

| Parameter    | Type                         | Description                                   |
|--------------|------------------------------|-----------------------------------------------|
| definition   | ObservationDefinition         | The observation definition.                    |
| patient      | Patient                      | The patient.                                  |
| value        | number                       | The observation value.                        |
| category     | 'reference' \\| 'critical' \\| 'absolute' | _(Optional)_ Optional interval category restriction. |

**Returns:**

ObservationDefinitionQualifiedInterval \\| undefined

The observation interval if found; otherwise undefined.
