Skip to main content

core.formatobservationvalue

Home > @medplum/core > formatObservationValue

formatObservationValue() function

Formats a FHIR Observation resource value as a string.

Signature:

export declare function formatObservationValue(obs: Observation | ObservationComponent | undefined): string;

Parameters

Parameter

Type

Description

obs

Observation | ObservationComponent | undefined

A FHIR Observation resource.

Returns:

string

A human-readable string representation of the Observation.