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

ParameterTypeDescription
addressAddressThe address to format.
optionsAddressFormatOptions(Optional) Optional address format options.

Returns:

string

The formatted address string.