[O3 Framework](../API.md) / formatPatientName

# Function: formatPatientName()

> **formatPatientName**(`name`): `string`

Defined in: [packages/framework/esm-utils/src/patient-helpers.ts:29](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-utils/src/patient-helpers.ts#L29)

Get a formatted display string for an FHIR name.

## Parameters

### name

The name to be formatted.

`undefined` | `HumanName`

## Returns

`string`

The formatted display name or an empty string if name is undefined.
