@icure/be-fhc-api 0.6.2 → 0.6.3
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/fhcEagreementApi.d.ts +7 -7
- package/api/fhcEagreementApi.js +26 -18
- package/api/fhcEattestV3Api.d.ts +4 -2
- package/api/fhcEattestV3Api.js +6 -2
- package/api/fhcHubApi.d.ts +354 -352
- package/api/fhcHubApi.js +356 -354
- package/api/fhcMediprimaApi.d.ts +22 -2
- package/api/fhcMediprimaApi.js +56 -2
- package/api/fhcStsApi.d.ts +16 -16
- package/api/fhcStsApi.js +16 -16
- package/model/AgreementResponse.d.ts +1 -1
- package/model/Author.d.ts +19 -0
- package/model/Author.js +20 -0
- package/model/CbssStatusType.d.ts +19 -0
- package/model/CbssStatusType.js +9 -0
- package/model/EAgreementResponse.d.ts +24 -0
- package/model/EAgreementResponse.js +10 -0
- package/model/InsurancyMembership.d.ts +16 -0
- package/model/InsurancyMembership.js +20 -0
- package/model/InsurancyStatus.d.ts +18 -0
- package/model/InsurancyStatus.js +20 -0
- package/model/MedicalCardRegistryMessageType.d.ts +19 -0
- package/model/MedicalCardRegistryMessageType.js +9 -0
- package/model/MedicalCardRegistryStatusType.d.ts +16 -0
- package/model/MedicalCardRegistryStatusType.js +9 -0
- package/model/MediprimaMdaResponse.d.ts +23 -0
- package/model/MediprimaMdaResponse.js +9 -0
- package/model/MediprimaNumber.d.ts +16 -0
- package/model/MediprimaNumber.js +20 -0
- package/model/Prescription.d.ts +2 -2
- package/model/Pswc.d.ts +17 -0
- package/model/Pswc.js +20 -0
- package/model/TarificationMediprimaConsultationResult.d.ts +26 -0
- package/model/TarificationMediprimaConsultationResult.js +9 -0
- package/model/models.d.ts +11 -0
- package/model/models.js +11 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { XHR } from "./XHR";
|
|
13
|
-
import {
|
|
13
|
+
import { EAgreementResponse } from "../model/EAgreementResponse";
|
|
14
14
|
export declare class fhcEagreementApi {
|
|
15
15
|
host: string;
|
|
16
16
|
headers: Array<XHR.Header>;
|
|
@@ -52,7 +52,7 @@ export declare class fhcEagreementApi {
|
|
|
52
52
|
argueAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, prescriberNihii: string, prescriberFirstName: string, prescriberLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, insuranceRef: string, sctCode?: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
|
|
53
53
|
type: string;
|
|
54
54
|
data: string;
|
|
55
|
-
}[]): Promise<
|
|
55
|
+
}[]): Promise<EAgreementResponse>;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @summary askAgreement
|
|
@@ -89,7 +89,7 @@ export declare class fhcEagreementApi {
|
|
|
89
89
|
askAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, prescriberNihii: string, prescriberFirstName: string, prescriberLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, pathologyStartDate: number, pathologyCode: string, sctCode: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementStartDate?: number, agreementEndDate?: number, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
|
|
90
90
|
type: string;
|
|
91
91
|
data: string;
|
|
92
|
-
}[]): Promise<
|
|
92
|
+
}[]): Promise<EAgreementResponse>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @summary cancelAgreement
|
|
@@ -113,7 +113,7 @@ export declare class fhcEagreementApi {
|
|
|
113
113
|
* @param organizationType organizationType
|
|
114
114
|
* @param agreementType agreementType
|
|
115
115
|
*/
|
|
116
|
-
cancelAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, insuranceRef: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string): Promise<
|
|
116
|
+
cancelAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, insuranceRef: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string): Promise<EAgreementResponse>;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
119
|
* @summary completeAgreement
|
|
@@ -148,7 +148,7 @@ export declare class fhcEagreementApi {
|
|
|
148
148
|
completeAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, prescriberNihii: string, prescriberFirstName: string, prescriberLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, insuranceRef: string, sctCode?: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
|
|
149
149
|
type: string;
|
|
150
150
|
data: string;
|
|
151
|
-
}[]): Promise<
|
|
151
|
+
}[]): Promise<EAgreementResponse>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @summary consultList
|
|
@@ -175,7 +175,7 @@ export declare class fhcEagreementApi {
|
|
|
175
175
|
* @param agreementEndDate agreementEndDate
|
|
176
176
|
* @param agreementType agreementType
|
|
177
177
|
*/
|
|
178
|
-
consultListUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, subTypeCode: string, insuranceRef?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementStartDate?: number, agreementEndDate?: number, agreementType?: string): Promise<
|
|
178
|
+
consultListUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpName: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, subTypeCode: string, insuranceRef?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementStartDate?: number, agreementEndDate?: number, agreementType?: string): Promise<EAgreementResponse>;
|
|
179
179
|
/**
|
|
180
180
|
*
|
|
181
181
|
* @summary extendAgreementUsingPOST
|
|
@@ -213,5 +213,5 @@ export declare class fhcEagreementApi {
|
|
|
213
213
|
extendAgreementUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, prescriberNihii: string, prescriberFirstName: string, prescriberLastName: string, patientFirstName: string, patientLastName: string, patientGender: string, pathologyStartDate: number, pathologyCode: string, insuranceRef: string, sctCode?: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementStartDate?: number, agreementEndDate?: number, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
|
|
214
214
|
type: string;
|
|
215
215
|
data: string;
|
|
216
|
-
}[]): Promise<
|
|
216
|
+
}[]): Promise<EAgreementResponse>;
|
|
217
217
|
}
|
package/api/fhcEagreementApi.js
CHANGED
|
@@ -13,7 +13,7 @@ exports.fhcEagreementApi = void 0;
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
const XHR_1 = require("./XHR");
|
|
16
|
-
const
|
|
16
|
+
const EAgreementResponse_1 = require("../model/EAgreementResponse");
|
|
17
17
|
class fhcEagreementApi {
|
|
18
18
|
constructor(host, headers, fetchImpl) {
|
|
19
19
|
this.host = host;
|
|
@@ -67,6 +67,9 @@ class fhcEagreementApi {
|
|
|
67
67
|
(hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
|
|
68
68
|
(hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
|
|
69
69
|
(hcpName ? "&hcpName=" + encodeURIComponent(String(hcpName)) : "") +
|
|
70
|
+
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
71
|
+
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
72
|
+
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
70
73
|
(prescriberNihii ? "&prescriberNihii=" + encodeURIComponent(String(prescriberNihii)) : "") +
|
|
71
74
|
(prescriberFirstName
|
|
72
75
|
? "&prescriberFirstName=" + encodeURIComponent(String(prescriberFirstName))
|
|
@@ -74,9 +77,6 @@ class fhcEagreementApi {
|
|
|
74
77
|
(prescriberLastName
|
|
75
78
|
? "&prescriberLastName=" + encodeURIComponent(String(prescriberLastName))
|
|
76
79
|
: "") +
|
|
77
|
-
(hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
|
|
78
|
-
(hcpFirstName ? "&hcpFirstName=" + encodeURIComponent(String(hcpFirstName)) : "") +
|
|
79
|
-
(hcpLastName ? "&hcpLastName=" + encodeURIComponent(String(hcpLastName)) : "") +
|
|
80
80
|
(patientFirstName
|
|
81
81
|
? "&patientFirstName=" + encodeURIComponent(String(patientFirstName))
|
|
82
82
|
: "") +
|
|
@@ -96,10 +96,12 @@ class fhcEagreementApi {
|
|
|
96
96
|
: "") +
|
|
97
97
|
(agreementType ? "&agreementType=" + encodeURIComponent(String(agreementType)) : "") +
|
|
98
98
|
(numberOfSessionForPrescription1
|
|
99
|
-
? "&numberOfSessionForPrescription1=" +
|
|
99
|
+
? "&numberOfSessionForPrescription1=" +
|
|
100
|
+
encodeURIComponent(String(numberOfSessionForPrescription1))
|
|
100
101
|
: "") +
|
|
101
102
|
(numberOfSessionForPrescription2
|
|
102
|
-
? "&numberOfSessionForPrescription2=" +
|
|
103
|
+
? "&numberOfSessionForPrescription2=" +
|
|
104
|
+
encodeURIComponent(String(numberOfSessionForPrescription2))
|
|
103
105
|
: "");
|
|
104
106
|
let headers = this.headers;
|
|
105
107
|
headers = headers
|
|
@@ -109,7 +111,7 @@ class fhcEagreementApi {
|
|
|
109
111
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
110
112
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
111
113
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
112
|
-
.then(doc => new
|
|
114
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
113
115
|
.catch(err => this.handleError(err));
|
|
114
116
|
}
|
|
115
117
|
/**
|
|
@@ -192,10 +194,12 @@ class fhcEagreementApi {
|
|
|
192
194
|
: "") +
|
|
193
195
|
(agreementType ? "&agreementType=" + encodeURIComponent(String(agreementType)) : "") +
|
|
194
196
|
(numberOfSessionForPrescription1
|
|
195
|
-
? "&numberOfSessionForPrescription1=" +
|
|
197
|
+
? "&numberOfSessionForPrescription1=" +
|
|
198
|
+
encodeURIComponent(String(numberOfSessionForPrescription1))
|
|
196
199
|
: "") +
|
|
197
200
|
(numberOfSessionForPrescription2
|
|
198
|
-
? "&numberOfSessionForPrescription2=" +
|
|
201
|
+
? "&numberOfSessionForPrescription2=" +
|
|
202
|
+
encodeURIComponent(String(numberOfSessionForPrescription2))
|
|
199
203
|
: "");
|
|
200
204
|
let headers = this.headers;
|
|
201
205
|
headers = headers
|
|
@@ -205,7 +209,7 @@ class fhcEagreementApi {
|
|
|
205
209
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
206
210
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
207
211
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
208
|
-
.then(doc => new
|
|
212
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
209
213
|
.catch(err => this.handleError(err));
|
|
210
214
|
}
|
|
211
215
|
/**
|
|
@@ -264,7 +268,7 @@ class fhcEagreementApi {
|
|
|
264
268
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
265
269
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
266
270
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
267
|
-
.then(doc => new
|
|
271
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
268
272
|
.catch(err => this.handleError(err));
|
|
269
273
|
}
|
|
270
274
|
/**
|
|
@@ -337,10 +341,12 @@ class fhcEagreementApi {
|
|
|
337
341
|
: "") +
|
|
338
342
|
(agreementType ? "&agreementType=" + encodeURIComponent(String(agreementType)) : "") +
|
|
339
343
|
(numberOfSessionForPrescription1
|
|
340
|
-
? "&numberOfSessionForPrescription1=" +
|
|
344
|
+
? "&numberOfSessionForPrescription1=" +
|
|
345
|
+
encodeURIComponent(String(numberOfSessionForPrescription1))
|
|
341
346
|
: "") +
|
|
342
347
|
(numberOfSessionForPrescription2
|
|
343
|
-
? "&numberOfSessionForPrescription2=" +
|
|
348
|
+
? "&numberOfSessionForPrescription2=" +
|
|
349
|
+
encodeURIComponent(String(numberOfSessionForPrescription2))
|
|
344
350
|
: "");
|
|
345
351
|
let headers = this.headers;
|
|
346
352
|
headers = headers
|
|
@@ -350,7 +356,7 @@ class fhcEagreementApi {
|
|
|
350
356
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
351
357
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
352
358
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
353
|
-
.then(doc => new
|
|
359
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
354
360
|
.catch(err => this.handleError(err));
|
|
355
361
|
}
|
|
356
362
|
/**
|
|
@@ -419,7 +425,7 @@ class fhcEagreementApi {
|
|
|
419
425
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
420
426
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
421
427
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
422
|
-
.then(doc => new
|
|
428
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
423
429
|
.catch(err => this.handleError(err));
|
|
424
430
|
}
|
|
425
431
|
/**
|
|
@@ -504,10 +510,12 @@ class fhcEagreementApi {
|
|
|
504
510
|
: "") +
|
|
505
511
|
(agreementType ? "&agreementType=" + encodeURIComponent(String(agreementType)) : "") +
|
|
506
512
|
(numberOfSessionForPrescription1
|
|
507
|
-
? "&numberOfSessionForPrescription1=" +
|
|
513
|
+
? "&numberOfSessionForPrescription1=" +
|
|
514
|
+
encodeURIComponent(String(numberOfSessionForPrescription1))
|
|
508
515
|
: "") +
|
|
509
516
|
(numberOfSessionForPrescription2
|
|
510
|
-
? "&numberOfSessionForPrescription2=" +
|
|
517
|
+
? "&numberOfSessionForPrescription2=" +
|
|
518
|
+
encodeURIComponent(String(numberOfSessionForPrescription2))
|
|
511
519
|
: "");
|
|
512
520
|
let headers = this.headers;
|
|
513
521
|
headers = headers
|
|
@@ -517,7 +525,7 @@ class fhcEagreementApi {
|
|
|
517
525
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
518
526
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
519
527
|
return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
|
|
520
|
-
.then(doc => new
|
|
528
|
+
.then(doc => new EAgreementResponse_1.EAgreementResponse(doc.body))
|
|
521
529
|
.catch(err => this.handleError(err));
|
|
522
530
|
}
|
|
523
531
|
}
|
package/api/fhcEattestV3Api.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ export declare class fhcEattestV3Api {
|
|
|
86
86
|
* @param patientFirstName patientFirstName
|
|
87
87
|
* @param patientLastName patientLastName
|
|
88
88
|
* @param patientGender patientGender
|
|
89
|
+
* @param isPatientRcam isPatientRcam
|
|
89
90
|
* @param date date
|
|
90
91
|
* @param treatmentReason treatmentReason
|
|
91
92
|
* @param hcpQuality hcpQuality
|
|
@@ -99,7 +100,7 @@ export declare class fhcEattestV3Api {
|
|
|
99
100
|
* @param attemptNbr attemptNbr
|
|
100
101
|
* @param decisionReference decisionReference
|
|
101
102
|
*/
|
|
102
|
-
sendAttestUsingPOST2(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, date?: number, treatmentReason?: string, hcpQuality?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, decisionReference?: string, body?: Eattest): Promise<SendAttestResult>;
|
|
103
|
+
sendAttestUsingPOST2(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, isPatientRcam?: boolean, date?: number, treatmentReason?: string, hcpQuality?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, decisionReference?: string, body?: Eattest): Promise<SendAttestResult>;
|
|
103
104
|
/**
|
|
104
105
|
*
|
|
105
106
|
* @summary sendAttestWithResponse
|
|
@@ -116,6 +117,7 @@ export declare class fhcEattestV3Api {
|
|
|
116
117
|
* @param patientFirstName patientFirstName
|
|
117
118
|
* @param patientLastName patientLastName
|
|
118
119
|
* @param patientGender patientGender
|
|
120
|
+
* @param isPatientRcam isPatientRcam
|
|
119
121
|
* @param date date
|
|
120
122
|
* @param treatmentReason treatmentReason
|
|
121
123
|
* @param hcpQuality hcpQuality
|
|
@@ -129,5 +131,5 @@ export declare class fhcEattestV3Api {
|
|
|
129
131
|
* @param attemptNbr attemptNbr
|
|
130
132
|
* @param decisionReference decisionReference
|
|
131
133
|
*/
|
|
132
|
-
sendAttestWithResponseUsingPOST2(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, date?: number, treatmentReason?: string, hcpQuality?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, decisionReference?: string, body?: Eattest): Promise<SendAttestResultWithResponse>;
|
|
134
|
+
sendAttestWithResponseUsingPOST2(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, isPatientRcam?: boolean, date?: number, treatmentReason?: string, hcpQuality?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, decisionReference?: string, body?: Eattest): Promise<SendAttestResultWithResponse>;
|
|
133
135
|
}
|
package/api/fhcEattestV3Api.js
CHANGED
|
@@ -171,6 +171,7 @@ class fhcEattestV3Api {
|
|
|
171
171
|
* @param patientFirstName patientFirstName
|
|
172
172
|
* @param patientLastName patientLastName
|
|
173
173
|
* @param patientGender patientGender
|
|
174
|
+
* @param isPatientRcam isPatientRcam
|
|
174
175
|
* @param date date
|
|
175
176
|
* @param treatmentReason treatmentReason
|
|
176
177
|
* @param hcpQuality hcpQuality
|
|
@@ -184,7 +185,7 @@ class fhcEattestV3Api {
|
|
|
184
185
|
* @param attemptNbr attemptNbr
|
|
185
186
|
* @param decisionReference decisionReference
|
|
186
187
|
*/
|
|
187
|
-
sendAttestUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, date, treatmentReason, hcpQuality, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, decisionReference, body) {
|
|
188
|
+
sendAttestUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, isPatientRcam, date, treatmentReason, hcpQuality, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, decisionReference, body) {
|
|
188
189
|
let _body = null;
|
|
189
190
|
_body = body;
|
|
190
191
|
const _url = this.host +
|
|
@@ -201,6 +202,7 @@ class fhcEattestV3Api {
|
|
|
201
202
|
: "") +
|
|
202
203
|
(patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
|
|
203
204
|
(patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
|
|
205
|
+
(isPatientRcam ? "&isPatientRcam=" + encodeURIComponent(String(isPatientRcam)) : "") +
|
|
204
206
|
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
205
207
|
(treatmentReason ? "&treatmentReason=" + encodeURIComponent(String(treatmentReason)) : "") +
|
|
206
208
|
(traineeSupervisorSsin
|
|
@@ -250,6 +252,7 @@ class fhcEattestV3Api {
|
|
|
250
252
|
* @param patientFirstName patientFirstName
|
|
251
253
|
* @param patientLastName patientLastName
|
|
252
254
|
* @param patientGender patientGender
|
|
255
|
+
* @param isPatientRcam isPatientRcam
|
|
253
256
|
* @param date date
|
|
254
257
|
* @param treatmentReason treatmentReason
|
|
255
258
|
* @param hcpQuality hcpQuality
|
|
@@ -263,7 +266,7 @@ class fhcEattestV3Api {
|
|
|
263
266
|
* @param attemptNbr attemptNbr
|
|
264
267
|
* @param decisionReference decisionReference
|
|
265
268
|
*/
|
|
266
|
-
sendAttestWithResponseUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, date, treatmentReason, hcpQuality, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, decisionReference, body) {
|
|
269
|
+
sendAttestWithResponseUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, isPatientRcam, date, treatmentReason, hcpQuality, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, decisionReference, body) {
|
|
267
270
|
let _body = null;
|
|
268
271
|
_body = body;
|
|
269
272
|
const _url = this.host +
|
|
@@ -280,6 +283,7 @@ class fhcEattestV3Api {
|
|
|
280
283
|
: "") +
|
|
281
284
|
(patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
|
|
282
285
|
(patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
|
|
286
|
+
(isPatientRcam ? "&isPatientRcam=" + encodeURIComponent(String(isPatientRcam)) : "") +
|
|
283
287
|
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
284
288
|
(treatmentReason ? "&treatmentReason=" + encodeURIComponent(String(treatmentReason)) : "") +
|
|
285
289
|
(hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
|