Skip to main content

core.findobservationreferencerange

Home > @medplum/core > findObservationReferenceRange

findObservationReferenceRange() function

Tries to find an observation reference range for the given patient and condition names.

Signature:

export declare function findObservationReferenceRange(definition: ObservationDefinition, patient: Patient, names: string[]): ObservationDefinitionQualifiedInterval | undefined;

Parameters

Parameter

Type

Description

definition

ObservationDefinition

The observation definition.

patient

Patient

The patient.

names

string[]

The condition names.

Returns:

ObservationDefinitionQualifiedInterval | undefined

The observation interval if found; otherwise undefined.