# Type Alias: NablaConnectEventMap

> **NablaConnectEventMap** = `object`

The events of a [NablaConnectClient](/connect/sdk/reference/type-aliases/NablaConnectClient.md), by name. The payload is `event.detail`.

## Remarks[​](#remarks "Direct link to Remarks")

Events are not replayed. Exceptions in listeners do not stop the SDK.

## Properties[​](#properties "Direct link to Properties")

### error[​](#error "Direct link to error")

> **error**: [`NablaConnectError`](/connect/sdk/reference/classes/NablaConnectError.md)

An error after `ready` that no command owns, like `CONTEXT_CHANGED`, or an unexpected failure inside the SDK.

***

### noteExported[​](#noteexported "Direct link to noteExported")

> **noteExported**: [`NoteExportData`](/connect/sdk/reference/type-aliases/NoteExportData.md)

The note, each time it is exported: by the provider in the iframe, or by NablaConnectClient.exportNote.

#### Remarks[​](#remarks-1 "Direct link to Remarks")

Only received once the client is `ready`. It is not replayed. The same note goes to the `NOTE_EXPORT` callback of your backend.

***

### patientInstructionsExported[​](#patientinstructionsexported "Direct link to patientInstructionsExported")

> **patientInstructionsExported**: [`PatientInstructionsExportData`](/connect/sdk/reference/type-aliases/PatientInstructionsExportData.md)

The patient instructions, each time the provider exports them.

#### Remarks[​](#remarks-2 "Direct link to Remarks")

Only received once the client is `ready`. It is not replayed.

***

### stateChanged[​](#statechanged "Direct link to stateChanged")

> **stateChanged**: [`NablaConnectState`](/connect/sdk/reference/type-aliases/NablaConnectState.md)

Each new state, the first one included.

#### Remarks[​](#remarks-3 "Direct link to Remarks")

A listener added before `ready` receives the first state. One added later only receives future changes: read NablaConnectClient.getCurrentState to start.
