Type Alias: NablaConnectEventMap
NablaConnectEventMap =
object
The events of a NablaConnectClient, by name. The payload is event.detail.
Remarks
Events are not replayed. Exceptions in listeners do not stop the SDK.
Properties
error
error:
NablaConnectError
An error after ready that no command owns, like CONTEXT_CHANGED, or an unexpected
failure inside the SDK.
noteExported
noteExported:
NoteExportData
The note, each time it is exported: by the provider in the iframe, or by NablaConnectClient.exportNote.
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:
PatientInstructionsExportData
The patient instructions, each time the provider exports them.
Remarks
Only received once the client is ready. It is not replayed.
stateChanged
stateChanged:
NablaConnectState
Each new state, the first one included.
Remarks
A listener added before ready receives the first state. One added later only receives
future changes: read NablaConnectClient.getCurrentState to start.