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

ParameterTypeDescription
obsObservation | ObservationComponent | undefinedA FHIR Observation resource.

Returns:

string

A human-readable string representation of the Observation.