@icure/be-fhc-api 0.5.7 → 0.5.9
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/fhcEattestV3Api.d.ts +6 -2
- package/api/fhcEattestV3Api.js +12 -4
- package/api/fhcHubApi.js +1 -1
- package/model/InvoiceItem.d.ts +1 -0
- package/package.json +1 -1
package/api/fhcEattestV3Api.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export declare class fhcEattestV3Api {
|
|
|
88
88
|
* @param patientGender patientGender
|
|
89
89
|
* @param date date
|
|
90
90
|
* @param treatmentReason treatmentReason
|
|
91
|
+
* @param hcpQuality hcpQuality
|
|
91
92
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
92
93
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
93
94
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
@@ -96,8 +97,9 @@ export declare class fhcEattestV3Api {
|
|
|
96
97
|
* @param guardPostSsin guardPostSsin
|
|
97
98
|
* @param guardPostName guardPostName
|
|
98
99
|
* @param attemptNbr attemptNbr
|
|
100
|
+
* @param decisionReference decisionReference
|
|
99
101
|
*/
|
|
100
|
-
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, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, body?: Eattest): Promise<SendAttestResult>;
|
|
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>;
|
|
101
103
|
/**
|
|
102
104
|
*
|
|
103
105
|
* @summary sendAttestWithResponse
|
|
@@ -116,6 +118,7 @@ export declare class fhcEattestV3Api {
|
|
|
116
118
|
* @param patientGender patientGender
|
|
117
119
|
* @param date date
|
|
118
120
|
* @param treatmentReason treatmentReason
|
|
121
|
+
* @param hcpQuality hcpQuality
|
|
119
122
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
120
123
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
121
124
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
@@ -124,6 +127,7 @@ export declare class fhcEattestV3Api {
|
|
|
124
127
|
* @param guardPostSsin guardPostSsin
|
|
125
128
|
* @param guardPostName guardPostName
|
|
126
129
|
* @param attemptNbr attemptNbr
|
|
130
|
+
* @param decisionReference decisionReference
|
|
127
131
|
*/
|
|
128
|
-
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, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, guardPostName?: string, attemptNbr?: number, body?: Eattest): Promise<SendAttestResultWithResponse>;
|
|
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>;
|
|
129
133
|
}
|
package/api/fhcEattestV3Api.js
CHANGED
|
@@ -173,6 +173,7 @@ class fhcEattestV3Api {
|
|
|
173
173
|
* @param patientGender patientGender
|
|
174
174
|
* @param date date
|
|
175
175
|
* @param treatmentReason treatmentReason
|
|
176
|
+
* @param hcpQuality hcpQuality
|
|
176
177
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
177
178
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
178
179
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
@@ -181,8 +182,9 @@ class fhcEattestV3Api {
|
|
|
181
182
|
* @param guardPostSsin guardPostSsin
|
|
182
183
|
* @param guardPostName guardPostName
|
|
183
184
|
* @param attemptNbr attemptNbr
|
|
185
|
+
* @param decisionReference decisionReference
|
|
184
186
|
*/
|
|
185
|
-
sendAttestUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, date, treatmentReason, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, body) {
|
|
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) {
|
|
186
188
|
let _body = null;
|
|
187
189
|
_body = body;
|
|
188
190
|
const _url = this.host +
|
|
@@ -213,10 +215,12 @@ class fhcEattestV3Api {
|
|
|
213
215
|
(traineeSupervisorLastName
|
|
214
216
|
? "&traineeSupervisorLastName=" + encodeURIComponent(String(traineeSupervisorLastName))
|
|
215
217
|
: "") +
|
|
218
|
+
(hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
|
|
216
219
|
(guardPostNihii ? "&guardPostNihii=" + encodeURIComponent(String(guardPostNihii)) : "") +
|
|
217
220
|
(guardPostSsin ? "&guardPostSsin=" + encodeURIComponent(String(guardPostSsin)) : "") +
|
|
218
221
|
(guardPostName ? "&guardPostName=" + encodeURIComponent(String(guardPostName)) : "") +
|
|
219
|
-
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "")
|
|
222
|
+
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "") +
|
|
223
|
+
(decisionReference ? "&decisionReference=" + encodeURIComponent(String(decisionReference)) : "");
|
|
220
224
|
let headers = this.headers;
|
|
221
225
|
headers = headers
|
|
222
226
|
.filter(h => h.header !== "Content-Type")
|
|
@@ -246,6 +250,7 @@ class fhcEattestV3Api {
|
|
|
246
250
|
* @param patientGender patientGender
|
|
247
251
|
* @param date date
|
|
248
252
|
* @param treatmentReason treatmentReason
|
|
253
|
+
* @param hcpQuality hcpQuality
|
|
249
254
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
250
255
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
251
256
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
@@ -254,8 +259,9 @@ class fhcEattestV3Api {
|
|
|
254
259
|
* @param guardPostSsin guardPostSsin
|
|
255
260
|
* @param guardPostName guardPostName
|
|
256
261
|
* @param attemptNbr attemptNbr
|
|
262
|
+
* @param decisionReference decisionReference
|
|
257
263
|
*/
|
|
258
|
-
sendAttestWithResponseUsingPOST2(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, date, treatmentReason, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, guardPostName, attemptNbr, body) {
|
|
264
|
+
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) {
|
|
259
265
|
let _body = null;
|
|
260
266
|
_body = body;
|
|
261
267
|
const _url = this.host +
|
|
@@ -274,6 +280,7 @@ class fhcEattestV3Api {
|
|
|
274
280
|
(patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
|
|
275
281
|
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
276
282
|
(treatmentReason ? "&treatmentReason=" + encodeURIComponent(String(treatmentReason)) : "") +
|
|
283
|
+
(hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
|
|
277
284
|
(traineeSupervisorSsin
|
|
278
285
|
? "&traineeSupervisorSsin=" + encodeURIComponent(String(traineeSupervisorSsin))
|
|
279
286
|
: "") +
|
|
@@ -289,7 +296,8 @@ class fhcEattestV3Api {
|
|
|
289
296
|
(guardPostNihii ? "&guardPostNihii=" + encodeURIComponent(String(guardPostNihii)) : "") +
|
|
290
297
|
(guardPostSsin ? "&guardPostSsin=" + encodeURIComponent(String(guardPostSsin)) : "") +
|
|
291
298
|
(guardPostName ? "&guardPostName=" + encodeURIComponent(String(guardPostName)) : "") +
|
|
292
|
-
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "")
|
|
299
|
+
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "") +
|
|
300
|
+
(decisionReference ? "&decisionReference=" + encodeURIComponent(String(decisionReference)) : "");
|
|
293
301
|
let headers = this.headers;
|
|
294
302
|
headers = headers
|
|
295
303
|
.filter(h => h.header !== "Content-Type")
|
package/api/fhcHubApi.js
CHANGED
|
@@ -808,7 +808,7 @@ class fhcHubApi {
|
|
|
808
808
|
: "") +
|
|
809
809
|
(from ? "&from=" + encodeURIComponent(String(from)) : "") +
|
|
810
810
|
(to ? "&to=" + encodeURIComponent(String(to)) : "") +
|
|
811
|
-
(therLinkType ? "&therLinkType=" + encodeURIComponent(String(
|
|
811
|
+
(therLinkType ? "&therLinkType=" + encodeURIComponent(String(therLinkType)) : "");
|
|
812
812
|
let headers = this.headers;
|
|
813
813
|
xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
|
|
814
814
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
package/model/InvoiceItem.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare class InvoiceItem {
|
|
|
32
32
|
prescriberNihii?: string;
|
|
33
33
|
prescriberNorm?: InvoiceItem.PrescriberNormEnum;
|
|
34
34
|
prescriptionDate?: number;
|
|
35
|
+
productLabel?: string;
|
|
35
36
|
reimbursedAmount?: number;
|
|
36
37
|
relatedCode?: number;
|
|
37
38
|
sideCode?: InvoiceItem.SideCodeEnum;
|