Interface BulkDataClientEvents
Events
abort
Parameters
Returns void
allDownloadsComplete
Parameters
Returns void
authorize
Parameters
Returns void
downloadComplete
- downloadComplete(this: BulkDataClient, detail: { fileSize: number; fileUrl: string; resourceCount: null | number }): void
Parameters
detail: { fileSize: number; fileUrl: string; resourceCount: null | number }
fileSize: number
fileUrl: string
resourceCount: null | number
Returns void
downloadError
- downloadError(this: BulkDataClient, details: { body: null | string | OperationOutcome; code: null | number; fileUrl: string; message?: string }): void
Parameters
details: { body: null | string | OperationOutcome; code: null | number; fileUrl: string; message?: string }
body: null | string | OperationOutcome
code: null | number
fileUrl: string
Optional message?: string
Returns void
downloadProgress
Parameters
Returns void
downloadStart
- downloadStart(this: BulkDataClient, detail: { fileUrl: string; itemType: string; resourceType: null | string }): void
Parameters
detail: { fileUrl: string; itemType: string; resourceType: null | string }
fileUrl: string
itemType: string
resourceType: null | string
Returns void
error
Parameters
Returns void
exportComplete
Parameters
Returns void
exportProgress
Parameters
Returns void
exportStart
Parameters
Returns void
kickOffEnd
- kickOffEnd(this: BulkDataClient, data: { capabilityStatement: CapabilityStatement; requestParameters: Record<string, any>; response: Response<unknown> }): void
Parameters
data: { capabilityStatement: CapabilityStatement; requestParameters: Record<string, any>; response: Response<unknown> }
capabilityStatement: CapabilityStatement
requestParameters: Record<string, any>
response: Response<unknown>
Returns void
kickOffStart
- kickOffStart(this: BulkDataClient, requestOptions: OptionsOfUnknownResponseBody): void
Parameters
requestOptions: OptionsOfUnknownResponseBody
Returns void
Methods
exportError
- exportError(this: BulkDataClient, details: { body: null | string | OperationOutcome; code: null | number; message?: string }): void
Parameters
details: { body: null | string | OperationOutcome; code: null | number; message?: string }
body: null | string | OperationOutcome
code: null | number
Optional message?: string
Returns void
The BulkDataClient instances emit the following events: