@icure/be-fhc-api 0.6.14 → 0.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/fhcHubApi.d.ts +1 -1
- package/api/fhcHubApi.js +2 -2
- package/package.json +1 -1
package/api/fhcHubApi.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ export declare class fhcHubApi {
|
|
|
235
235
|
* @param externalHubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
|
|
236
236
|
* @param externalHubName The name of the hub, if applicable
|
|
237
237
|
*/
|
|
238
|
-
getTransactionUsingGET(endpoint: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpLastName: string, hcpFirstName: string, hcpNihii: string, hcpSsin: string, hcpZip: string, ssin: string, sv: string, sl: string, id: string, hubPackageId?: string, breakTheGlassReason?: string, externalHubId?: string, externalHubName?: string): Promise<
|
|
238
|
+
getTransactionUsingGET(endpoint: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpLastName: string, hcpFirstName: string, hcpNihii: string, hcpSsin: string, hcpZip: string, ssin: string, sv: string, sl: string, id: string, hubPackageId?: string, breakTheGlassReason?: string, externalHubId?: string, externalHubName?: string): Promise<ArrayBuffer>;
|
|
239
239
|
/**
|
|
240
240
|
* This endpoint allows to retrieve the list of transactions for a patient. It requires the healthcare provider's information, the patient's SSIN, and the hub package ID. The date range, author information, and transaction types can be provided to filter the results.
|
|
241
241
|
* @summary Get the list of transactions (documents, scans, ...) for a patient
|
package/api/fhcHubApi.js
CHANGED
|
@@ -491,8 +491,8 @@ class fhcHubApi {
|
|
|
491
491
|
xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
|
|
492
492
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
493
493
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
494
|
-
return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
495
|
-
.then(doc =>
|
|
494
|
+
return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl, "application/octet-stream")
|
|
495
|
+
.then(doc => doc.body)
|
|
496
496
|
.catch(err => this.handleError(err));
|
|
497
497
|
}
|
|
498
498
|
/**
|