@icure/be-fhc-api 0.6.19 → 0.6.21

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.
@@ -22,6 +22,7 @@ export declare class fhcEagreementApi {
22
22
  /**
23
23
  *
24
24
  * @summary argueAgreement
25
+ * @param body attachments
25
26
  * @param xFHCKeystoreId X-FHC-keystoreId
26
27
  * @param xFHCTokenId X-FHC-tokenId
27
28
  * @param xFHCPassPhrase X-FHC-passPhrase
@@ -38,6 +39,7 @@ export declare class fhcEagreementApi {
38
39
  * @param patientLastName patientLastName
39
40
  * @param patientGender patientGender
40
41
  * @param insuranceRef insuranceRef
42
+ * @param prescriptionDate prescriptionDate
41
43
  * @param sctCode sctCode
42
44
  * @param sctDisplay sctDisplay
43
45
  * @param patientSsin patientSsin
@@ -50,7 +52,7 @@ export declare class fhcEagreementApi {
50
52
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
51
53
  * @param attachments attachments
52
54
  */
53
- 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?: {
55
+ 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, prescriptionDate: number, sctCode?: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
54
56
  type: string;
55
57
  data: string;
56
58
  }[]): Promise<EAgreementResponse>;
@@ -74,6 +76,7 @@ export declare class fhcEagreementApi {
74
76
  * @param pathologyStartDate pathologyStartDate
75
77
  * @param pathologyCode pathologyCode
76
78
  * @param sctCode sctCode
79
+ * @param prescriptionDate prescriptionDate
77
80
  * @param sctDisplay sctDisplay
78
81
  * @param patientSsin patientSsin
79
82
  * @param patientIo patientIo
@@ -87,7 +90,7 @@ export declare class fhcEagreementApi {
87
90
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
88
91
  * @param attachments attachments
89
92
  */
90
- 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?: {
93
+ 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, prescriptionDate: number, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementStartDate?: number, agreementEndDate?: number, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
91
94
  type: string;
92
95
  data: string;
93
96
  }[]): Promise<EAgreementResponse>;
@@ -107,6 +110,7 @@ export declare class fhcEagreementApi {
107
110
  * @param patientLastName patientLastName
108
111
  * @param patientGender patientGender
109
112
  * @param insuranceRef insuranceRef
113
+ * @param prescriptionDate prescriptionDate
110
114
  * @param patientSsin patientSsin
111
115
  * @param patientIo patientIo
112
116
  * @param patientIoMembership patientIoMembership
@@ -114,7 +118,7 @@ export declare class fhcEagreementApi {
114
118
  * @param organizationType organizationType
115
119
  * @param agreementType agreementType
116
120
  */
117
- 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>;
121
+ 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, prescriptionDate: number, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string): Promise<EAgreementResponse>;
118
122
  /**
119
123
  *
120
124
  * @summary completeAgreement
@@ -134,6 +138,7 @@ export declare class fhcEagreementApi {
134
138
  * @param patientLastName patientLastName
135
139
  * @param patientGender patientGender
136
140
  * @param insuranceRef insuranceRef
141
+ * @param prescriptionDate prescriptionDate
137
142
  * @param sctCode sctCode
138
143
  * @param sctDisplay sctDisplay
139
144
  * @param patientSsin patientSsin
@@ -146,7 +151,7 @@ export declare class fhcEagreementApi {
146
151
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
147
152
  * @param attachments attachments
148
153
  */
149
- 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?: {
154
+ 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, prescriptionDate: number, sctCode?: string, sctDisplay?: string, patientSsin?: string, patientIo?: string, patientIoMembership?: string, orgNihii?: string, organizationType?: string, agreementType?: string, numberOfSessionForPrescription1?: number, numberOfSessionForPrescription2?: number, attachments?: {
150
155
  type: string;
151
156
  data: string;
152
157
  }[]): Promise<EAgreementResponse>;
@@ -211,6 +216,7 @@ export declare class fhcEagreementApi {
211
216
  * @param pathologyStartDate pathologyStartDate
212
217
  * @param pathologyCode pathologyCode
213
218
  * @param insuranceRef insuranceRef
219
+ * @param prescriptionDate prescriptionDate
214
220
  * @param sctCode sctCode
215
221
  * @param sctDisplay sctDisplay
216
222
  * @param patientSsin patientSsin
@@ -225,7 +231,7 @@ export declare class fhcEagreementApi {
225
231
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
226
232
  * @param attachments attachments
227
233
  */
228
- 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?: {
234
+ 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, prescriptionDate: number, 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?: {
229
235
  type: string;
230
236
  data: string;
231
237
  }[]): Promise<EAgreementResponse>;
@@ -30,6 +30,7 @@ class fhcEagreementApi {
30
30
  /**
31
31
  *
32
32
  * @summary argueAgreement
33
+ * @param body attachments
33
34
  * @param xFHCKeystoreId X-FHC-keystoreId
34
35
  * @param xFHCTokenId X-FHC-tokenId
35
36
  * @param xFHCPassPhrase X-FHC-passPhrase
@@ -46,6 +47,7 @@ class fhcEagreementApi {
46
47
  * @param patientLastName patientLastName
47
48
  * @param patientGender patientGender
48
49
  * @param insuranceRef insuranceRef
50
+ * @param prescriptionDate prescriptionDate
49
51
  * @param sctCode sctCode
50
52
  * @param sctDisplay sctDisplay
51
53
  * @param patientSsin patientSsin
@@ -58,7 +60,7 @@ class fhcEagreementApi {
58
60
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
59
61
  * @param attachments attachments
60
62
  */
61
- argueAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, insuranceRef, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
63
+ argueAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, insuranceRef, prescriptionDate, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
62
64
  let _body = null;
63
65
  _body = attachments;
64
66
  const _url = this.host +
@@ -84,6 +86,9 @@ class fhcEagreementApi {
84
86
  (patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
85
87
  (patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
86
88
  (insuranceRef ? "&insuranceRef=" + encodeURIComponent(String(insuranceRef)) : "") +
89
+ (prescriptionDate
90
+ ? "&prescriptionDate=" + encodeURIComponent(String(prescriptionDate))
91
+ : "") +
87
92
  (sctCode ? "&sctCode=" + encodeURIComponent(String(sctCode)) : "") +
88
93
  (sctDisplay ? "&sctDisplay=" + encodeURIComponent(String(sctDisplay)) : "") +
89
94
  (patientSsin ? "&patientSsin=" + encodeURIComponent(String(patientSsin)) : "") +
@@ -135,6 +140,7 @@ class fhcEagreementApi {
135
140
  * @param pathologyStartDate pathologyStartDate
136
141
  * @param pathologyCode pathologyCode
137
142
  * @param sctCode sctCode
143
+ * @param prescriptionDate prescriptionDate
138
144
  * @param sctDisplay sctDisplay
139
145
  * @param patientSsin patientSsin
140
146
  * @param patientIo patientIo
@@ -148,7 +154,7 @@ class fhcEagreementApi {
148
154
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
149
155
  * @param attachments attachments
150
156
  */
151
- askAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, pathologyStartDate, pathologyCode, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementStartDate, agreementEndDate, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
157
+ askAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, pathologyStartDate, pathologyCode, sctCode, prescriptionDate, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementStartDate, agreementEndDate, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
152
158
  let _body = null;
153
159
  _body = attachments;
154
160
  const _url = this.host +
@@ -177,6 +183,9 @@ class fhcEagreementApi {
177
183
  : "") +
178
184
  (pathologyCode ? "&pathologyCode=" + encodeURIComponent(String(pathologyCode)) : "") +
179
185
  (sctCode ? "&sctCode=" + encodeURIComponent(String(sctCode)) : "") +
186
+ (prescriptionDate
187
+ ? "&prescriptionDate=" + encodeURIComponent(String(prescriptionDate))
188
+ : "") +
180
189
  (sctDisplay ? "&sctDisplay=" + encodeURIComponent(String(sctDisplay)) : "") +
181
190
  (patientSsin ? "&patientSsin=" + encodeURIComponent(String(patientSsin)) : "") +
182
191
  (patientIo ? "&patientIo=" + encodeURIComponent(String(patientIo)) : "") +
@@ -229,6 +238,7 @@ class fhcEagreementApi {
229
238
  * @param patientLastName patientLastName
230
239
  * @param patientGender patientGender
231
240
  * @param insuranceRef insuranceRef
241
+ * @param prescriptionDate prescriptionDate
232
242
  * @param patientSsin patientSsin
233
243
  * @param patientIo patientIo
234
244
  * @param patientIoMembership patientIoMembership
@@ -236,7 +246,7 @@ class fhcEagreementApi {
236
246
  * @param organizationType organizationType
237
247
  * @param agreementType agreementType
238
248
  */
239
- cancelAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, patientFirstName, patientLastName, patientGender, insuranceRef, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType) {
249
+ cancelAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, patientFirstName, patientLastName, patientGender, insuranceRef, prescriptionDate, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType) {
240
250
  let _body = null;
241
251
  const _url = this.host +
242
252
  `/eagreement/cancelAgreement` +
@@ -254,6 +264,9 @@ class fhcEagreementApi {
254
264
  (patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
255
265
  (patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
256
266
  (insuranceRef ? "&insuranceRef=" + encodeURIComponent(String(insuranceRef)) : "") +
267
+ (prescriptionDate
268
+ ? "&prescriptionDate=" + encodeURIComponent(String(prescriptionDate))
269
+ : "") +
257
270
  (patientSsin ? "&patientSsin=" + encodeURIComponent(String(patientSsin)) : "") +
258
271
  (patientIo ? "&patientIo=" + encodeURIComponent(String(patientIo)) : "") +
259
272
  (patientIoMembership
@@ -291,6 +304,7 @@ class fhcEagreementApi {
291
304
  * @param patientLastName patientLastName
292
305
  * @param patientGender patientGender
293
306
  * @param insuranceRef insuranceRef
307
+ * @param prescriptionDate prescriptionDate
294
308
  * @param sctCode sctCode
295
309
  * @param sctDisplay sctDisplay
296
310
  * @param patientSsin patientSsin
@@ -303,7 +317,7 @@ class fhcEagreementApi {
303
317
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
304
318
  * @param attachments attachments
305
319
  */
306
- completeAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, insuranceRef, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
320
+ completeAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpName, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, insuranceRef, prescriptionDate, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
307
321
  let _body = null;
308
322
  _body = attachments;
309
323
  const _url = this.host +
@@ -329,6 +343,9 @@ class fhcEagreementApi {
329
343
  (patientLastName ? "&patientLastName=" + encodeURIComponent(String(patientLastName)) : "") +
330
344
  (patientGender ? "&patientGender=" + encodeURIComponent(String(patientGender)) : "") +
331
345
  (insuranceRef ? "&insuranceRef=" + encodeURIComponent(String(insuranceRef)) : "") +
346
+ (prescriptionDate
347
+ ? "&prescriptionDate=" + encodeURIComponent(String(prescriptionDate))
348
+ : "") +
332
349
  (sctCode ? "&sctCode=" + encodeURIComponent(String(sctCode)) : "") +
333
350
  (sctDisplay ? "&sctDisplay=" + encodeURIComponent(String(sctDisplay)) : "") +
334
351
  (patientSsin ? "&patientSsin=" + encodeURIComponent(String(patientSsin)) : "") +
@@ -485,6 +502,7 @@ class fhcEagreementApi {
485
502
  * @param pathologyStartDate pathologyStartDate
486
503
  * @param pathologyCode pathologyCode
487
504
  * @param insuranceRef insuranceRef
505
+ * @param prescriptionDate prescriptionDate
488
506
  * @param sctCode sctCode
489
507
  * @param sctDisplay sctDisplay
490
508
  * @param patientSsin patientSsin
@@ -499,7 +517,7 @@ class fhcEagreementApi {
499
517
  * @param numberOfSessionForPrescription2 numberOfSessionForPrescription2
500
518
  * @param attachments attachments
501
519
  */
502
- extendAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, pathologyStartDate, pathologyCode, insuranceRef, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementStartDate, agreementEndDate, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
520
+ extendAgreementUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, prescriberNihii, prescriberFirstName, prescriberLastName, patientFirstName, patientLastName, patientGender, pathologyStartDate, pathologyCode, insuranceRef, prescriptionDate, sctCode, sctDisplay, patientSsin, patientIo, patientIoMembership, orgNihii, organizationType, agreementStartDate, agreementEndDate, agreementType, numberOfSessionForPrescription1, numberOfSessionForPrescription2, attachments) {
503
521
  let _body = null;
504
522
  _body = attachments;
505
523
  const _url = this.host +
@@ -528,6 +546,9 @@ class fhcEagreementApi {
528
546
  : "") +
529
547
  (pathologyCode ? "&pathologyCode=" + encodeURIComponent(String(pathologyCode)) : "") +
530
548
  (insuranceRef ? "&insuranceRef=" + encodeURIComponent(String(insuranceRef)) : "") +
549
+ (prescriptionDate
550
+ ? "&prescriptionDate=" + encodeURIComponent(String(prescriptionDate))
551
+ : "") +
531
552
  (sctCode ? "&sctCode=" + encodeURIComponent(String(sctCode)) : "") +
532
553
  (sctDisplay ? "&sctDisplay=" + encodeURIComponent(String(sctDisplay)) : "") +
533
554
  (patientSsin ? "&patientSsin=" + encodeURIComponent(String(patientSsin)) : "") +
@@ -36,8 +36,10 @@ export declare class fhcMediprimaApi {
36
36
  * @param traineeSupervisorNihii traineeSupervisorNihii
37
37
  * @param traineeSupervisorFirstName traineeSupervisorFirstName
38
38
  * @param traineeSupervisorLastName traineeSupervisorLastName
39
+ * @param guardPostNihii guardPostNihii
40
+ * @param guardPostSsin guardPostSsin
39
41
  */
40
- consultMediprimaTarificationUsingPOST(patientSsin: string, xFHCTokenId: string, xFHCKeystoreId: string, xFHCPassPhrase: string, hcpFirstName: string, hcpLastName: string, hcpNihii: string, hcpSsin: string, date: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, body?: Array<string>): Promise<TarificationMediprimaConsultationResult>;
42
+ consultMediprimaTarificationUsingPOST(patientSsin: string, xFHCTokenId: string, xFHCKeystoreId: string, xFHCPassPhrase: string, hcpFirstName: string, hcpLastName: string, hcpNihii: string, hcpSsin: string, date: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, body?: Array<string>): Promise<TarificationMediprimaConsultationResult>;
41
43
  /**
42
44
  *
43
45
  * @summary consultMediprima
@@ -44,8 +44,10 @@ class fhcMediprimaApi {
44
44
  * @param traineeSupervisorNihii traineeSupervisorNihii
45
45
  * @param traineeSupervisorFirstName traineeSupervisorFirstName
46
46
  * @param traineeSupervisorLastName traineeSupervisorLastName
47
+ * @param guardPostNihii guardPostNihii
48
+ * @param guardPostSsin guardPostSsin
47
49
  */
48
- consultMediprimaTarificationUsingPOST(patientSsin, xFHCTokenId, xFHCKeystoreId, xFHCPassPhrase, hcpFirstName, hcpLastName, hcpNihii, hcpSsin, date, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, body) {
50
+ consultMediprimaTarificationUsingPOST(patientSsin, xFHCTokenId, xFHCKeystoreId, xFHCPassPhrase, hcpFirstName, hcpLastName, hcpNihii, hcpSsin, date, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, body) {
49
51
  let _body = null;
50
52
  _body = body;
51
53
  const _url = this.host +
@@ -68,7 +70,9 @@ class fhcMediprimaApi {
68
70
  : "") +
69
71
  (traineeSupervisorLastName
70
72
  ? "&traineeSupervisorLastName=" + encodeURIComponent(String(traineeSupervisorLastName))
71
- : "");
73
+ : "") +
74
+ (guardPostNihii ? "&guardPostNihii=" + encodeURIComponent(String(guardPostNihii)) : "") +
75
+ (guardPostSsin ? "&guardPostSsin=" + encodeURIComponent(String(guardPostSsin)) : "");
72
76
  let headers = this.headers;
73
77
  headers = headers
74
78
  .filter(h => h.header !== "Content-Type")
@@ -17,6 +17,7 @@ import { ListStructuredPrescriptionsResult } from "../model/ListStructuredPrescr
17
17
  import { Prescription } from "../model/Prescription";
18
18
  import { PrescriptionFullWithFeedback } from "../model/PrescriptionFullWithFeedback";
19
19
  import { PrescriptionRequest } from "../model/PrescriptionRequest";
20
+ import { PrescriptionsRequest } from "../model/PrescriptionsRequest";
20
21
  import { PutVisionResult } from "../model/PutVisionResult";
21
22
  import { RecipeKmehrmessageType } from "../model/RecipeKmehrmessageType";
22
23
  import { UpdateFeedbackFlagResult } from "../model/UpdateFeedbackFlagResult";
@@ -57,6 +58,21 @@ export declare class fhcRecipeApi {
57
58
  * @param xFHCPackageVersion X-FHC-packageVersion
58
59
  */
59
60
  createPrescriptionV4UsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin?: string, hcpName?: string, xFHCVendorName?: string, xFHCPackageVersion?: string, body?: PrescriptionRequest): Promise<Prescription>;
61
+ /**
62
+ *
63
+ * @summary createPrescriptions
64
+ * @param body prescription
65
+ * @param xFHCKeystoreId X-FHC-keystoreId
66
+ * @param xFHCTokenId X-FHC-tokenId
67
+ * @param xFHCPassPhrase X-FHC-passPhrase
68
+ * @param hcpQuality hcpQuality
69
+ * @param hcpNihii hcpNihii
70
+ * @param hcpSsin hcpSsin
71
+ * @param hcpName hcpName
72
+ * @param xFHCVendorName X-FHC-vendorName
73
+ * @param xFHCPackageVersion X-FHC-packageVersion
74
+ */
75
+ createPrescriptionsUsingPOST(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpQuality: string, hcpNihii: string, hcpSsin?: string, hcpName?: string, xFHCVendorName?: string, xFHCPackageVersion?: string, body?: PrescriptionsRequest): Promise<Array<Prescription>>;
60
76
  /**
61
77
  *
62
78
  * @summary getGalToAdministrationUnit
@@ -112,6 +112,45 @@ class fhcRecipeApi {
112
112
  .then(doc => new Prescription_1.Prescription(doc.body))
113
113
  .catch(err => this.handleError(err));
114
114
  }
115
+ /**
116
+ *
117
+ * @summary createPrescriptions
118
+ * @param body prescription
119
+ * @param xFHCKeystoreId X-FHC-keystoreId
120
+ * @param xFHCTokenId X-FHC-tokenId
121
+ * @param xFHCPassPhrase X-FHC-passPhrase
122
+ * @param hcpQuality hcpQuality
123
+ * @param hcpNihii hcpNihii
124
+ * @param hcpSsin hcpSsin
125
+ * @param hcpName hcpName
126
+ * @param xFHCVendorName X-FHC-vendorName
127
+ * @param xFHCPackageVersion X-FHC-packageVersion
128
+ */
129
+ createPrescriptionsUsingPOST(xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpQuality, hcpNihii, hcpSsin, hcpName, xFHCVendorName, xFHCPackageVersion, body) {
130
+ let _body = null;
131
+ _body = body;
132
+ const _url = this.host +
133
+ `/recipe/batch` +
134
+ "?ts=" +
135
+ new Date().getTime() +
136
+ (hcpQuality ? "&hcpQuality=" + encodeURIComponent(String(hcpQuality)) : "") +
137
+ (hcpNihii ? "&hcpNihii=" + encodeURIComponent(String(hcpNihii)) : "") +
138
+ (hcpSsin ? "&hcpSsin=" + encodeURIComponent(String(hcpSsin)) : "") +
139
+ (hcpName ? "&hcpName=" + encodeURIComponent(String(hcpName)) : "");
140
+ let headers = this.headers;
141
+ headers = headers
142
+ .filter(h => h.header !== "Content-Type")
143
+ .concat(new XHR_1.XHR.Header("Content-Type", "application/json"));
144
+ xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
145
+ xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
146
+ xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
147
+ xFHCVendorName && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-vendorName", xFHCVendorName)));
148
+ xFHCPackageVersion &&
149
+ (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-packageVersion", xFHCPackageVersion)));
150
+ return XHR_1.XHR.sendCommand("POST", _url, headers, _body, this.fetchImpl)
151
+ .then(doc => doc.body.map(it => new Prescription_1.Prescription(it)))
152
+ .catch(err => this.handleError(err));
153
+ }
115
154
  /**
116
155
  *
117
156
  * @summary getGalToAdministrationUnit
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Api Documentation
3
+ * Api Documentation
4
+ *
5
+ * OpenAPI spec version: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ * Do not edit the class manually.
11
+ */
12
+ import { HealthcareParty } from "./HealthcareParty";
13
+ import { Medication } from "./Medication";
14
+ import { Patient } from "./Patient";
15
+ export declare class PrescriptionsRequest {
16
+ constructor(json: JSON | any);
17
+ patient?: Patient;
18
+ hcp?: HealthcareParty;
19
+ feedback?: boolean;
20
+ medicationsBatches?: Array<Array<Medication>>;
21
+ prescriptionType?: string;
22
+ notification?: string;
23
+ samVersion?: string;
24
+ executorId?: string;
25
+ deliveryDate?: number;
26
+ expirationDate?: number;
27
+ vendorName?: string;
28
+ packageName?: string;
29
+ packageVersion?: string;
30
+ vendorEmail?: string;
31
+ vendorPhone?: string;
32
+ vision?: string;
33
+ visionOthers?: string;
34
+ lang?: string;
35
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrescriptionsRequest = void 0;
4
+ class PrescriptionsRequest {
5
+ constructor(json) {
6
+ Object.assign(this, json);
7
+ }
8
+ }
9
+ exports.PrescriptionsRequest = PrescriptionsRequest;
package/model/models.d.ts CHANGED
@@ -373,6 +373,7 @@ export * from "./Posology";
373
373
  export * from "./Prescription";
374
374
  export * from "./PrescriptionFullWithFeedback";
375
375
  export * from "./PrescriptionRequest";
376
+ export * from "./PrescriptionsRequest";
376
377
  export * from "./PresentationType";
377
378
  export * from "./ProfessionCode";
378
379
  export * from "./ProfessionType";
package/model/models.js CHANGED
@@ -389,6 +389,7 @@ __exportStar(require("./Posology"), exports);
389
389
  __exportStar(require("./Prescription"), exports);
390
390
  __exportStar(require("./PrescriptionFullWithFeedback"), exports);
391
391
  __exportStar(require("./PrescriptionRequest"), exports);
392
+ __exportStar(require("./PrescriptionsRequest"), exports);
392
393
  __exportStar(require("./PresentationType"), exports);
393
394
  __exportStar(require("./ProfessionCode"), exports);
394
395
  __exportStar(require("./ProfessionType"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icure/be-fhc-api",
3
- "version": "0.6.19",
3
+ "version": "0.6.21",
4
4
  "description": "Typescript version of Freehealth Connector standalone API client",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",