core.formathumanname | Medplum

formatHumanName() function

Formats a FHIR HumanName as a string.

Signature:

export declare function formatHumanName(name: HumanName | undefined, options?: HumanNameFormatOptions): string;

Parameters

Parameter Type Description
name HumanName | undefined The name to format.
options HumanNameFormatOptions (Optional) Optional name format options.

Returns:

string

The formatted name string.