Skip to main content

core.formathumanname

Home > @medplum/core > formatHumanName

formatHumanName() function

Formats a FHIR HumanName as a string.

Signature:

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

Parameters

Parameter

Type

Description

name

HumanName

The name to format.

options

HumanNameFormatOptions

(Optional) Optional name format options.

Returns:

string

The formatted name string.