core.formatreferencestring | Medplum

formatReferenceString() function

Formats a FHIR Reference as a string.

Signature:

export declare function formatReferenceString(value: Reference | undefined): string;

Parameters

Parameter Type Description
value Reference | undefined The reference to format.

Returns:

string

The formatted reference string.