import { Observation } from "@medplum/fhirtypes"; declare const fields: readonly ["valueQuantity", "valueString", "valueBoolean", "valueInteger", "valueDateTime", "valueTime"]; type Field = (typeof fields)[number]; type Value = Observation[Field]; /** * Retrieves the value from a FHIR Observation resource. * Checks for valueQuantity, valueString, and other value fields. * @param observation The FHIR Observation resource. * @returns An object containing the field name and its value or null if none exist. */ export declare function getObservationValueDisplay(observation: Observation): { field: Field; value: Value; } | null; export {};