Skip to main content

core.formataddress

Home > @medplum/core > formatAddress

formatAddress() function

Formats a FHIR Address as a string.

Signature:

export declare function formatAddress(address: Address, options?: AddressFormatOptions): string;

Parameters

Parameter

Type

Description

address

Address

The address to format.

options

AddressFormatOptions

(Optional) Optional address format options.

Returns:

string

The formatted address string.