@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.
Files changed (37) hide show
  1. package/api/fhcEagreementApi.d.ts +7 -7
  2. package/api/fhcEagreementApi.js +26 -18
  3. package/api/fhcEattestV3Api.d.ts +4 -2
  4. package/api/fhcEattestV3Api.js +6 -2
  5. package/api/fhcHubApi.d.ts +354 -352
  6. package/api/fhcHubApi.js +356 -354
  7. package/api/fhcMediprimaApi.d.ts +22 -2
  8. package/api/fhcMediprimaApi.js +56 -2
  9. package/api/fhcStsApi.d.ts +16 -16
  10. package/api/fhcStsApi.js +16 -16
  11. package/model/AgreementResponse.d.ts +1 -1
  12. package/model/Author.d.ts +19 -0
  13. package/model/Author.js +20 -0
  14. package/model/CbssStatusType.d.ts +19 -0
  15. package/model/CbssStatusType.js +9 -0
  16. package/model/EAgreementResponse.d.ts +24 -0
  17. package/model/EAgreementResponse.js +10 -0
  18. package/model/InsurancyMembership.d.ts +16 -0
  19. package/model/InsurancyMembership.js +20 -0
  20. package/model/InsurancyStatus.d.ts +18 -0
  21. package/model/InsurancyStatus.js +20 -0
  22. package/model/MedicalCardRegistryMessageType.d.ts +19 -0
  23. package/model/MedicalCardRegistryMessageType.js +9 -0
  24. package/model/MedicalCardRegistryStatusType.d.ts +16 -0
  25. package/model/MedicalCardRegistryStatusType.js +9 -0
  26. package/model/MediprimaMdaResponse.d.ts +23 -0
  27. package/model/MediprimaMdaResponse.js +9 -0
  28. package/model/MediprimaNumber.d.ts +16 -0
  29. package/model/MediprimaNumber.js +20 -0
  30. package/model/Prescription.d.ts +2 -2
  31. package/model/Pswc.d.ts +17 -0
  32. package/model/Pswc.js +20 -0
  33. package/model/TarificationMediprimaConsultationResult.d.ts +26 -0
  34. package/model/TarificationMediprimaConsultationResult.js +9 -0
  35. package/model/models.d.ts +11 -0
  36. package/model/models.js +11 -0
  37. package/package.json +1 -1
package/api/fhcHubApi.js CHANGED
@@ -42,8 +42,8 @@ class fhcHubApi {
42
42
  throw e;
43
43
  }
44
44
  /**
45
- *
46
- * @summary convertKmehrXMLtoJSON
45
+ * This endpoint converts a Kmehr XML message to a JSON representation. It is useful for applications that need to process Kmehr messages in JSON format.
46
+ * @summary Utlity method to convert Kmehr XML to JSON
47
47
  * @param body message
48
48
  */
49
49
  convertKmehrXMLtoJSONUsingPOST(body) {
@@ -59,21 +59,21 @@ class fhcHubApi {
59
59
  .catch(err => this.handleError(err));
60
60
  }
61
61
  /**
62
- *
63
- * @summary getAccessRight
64
- * @param endpoint endpoint
65
- * @param xFHCKeystoreId X-FHC-keystoreId
66
- * @param xFHCTokenId X-FHC-tokenId
67
- * @param xFHCPassPhrase X-FHC-passPhrase
68
- * @param hcpLastName hcpLastName
69
- * @param hcpFirstName hcpFirstName
70
- * @param hcpNihii hcpNihii
71
- * @param hcpSsin hcpSsin
72
- * @param hcpZip hcpZip
73
- * @param sv sv
74
- * @param sl sl
75
- * @param value value
76
- * @param hubPackageId hubPackageId
62
+ * This endpoint allows a healthcare provider to check the access rights of another healthcare provider to access a patient's data. It requires the healthcare provider's information and the identifiers of the document and the rights that need to be checked.
63
+ * @summary Get the access right for a healthcare provider to access a patient's data
64
+ * @param endpoint Endpoint URL of the hub (e.g., https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, etc.)
65
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
66
+ * @param xFHCTokenId The token ID for the healthcare provider
67
+ * @param xFHCPassPhrase The passphrase for the keystore
68
+ * @param hcpLastName The last name of the healthcare provider
69
+ * @param hcpFirstName The first name of the healthcare provider
70
+ * @param hcpNihii The Nihii of the healthcare provider
71
+ * @param hcpSsin The SSIN of the healthcare provider
72
+ * @param hcpZip The ZIP code of the healthcare provider
73
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
74
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
75
+ * @param value The value of the transaction to manage, usually the ID of the transaction
76
+ * @param hubPackageId The hub package ID, provided by the hub. This ID is usually different for acceptance and production environments.
77
77
  */
78
78
  getAccessRightUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, hubPackageId) {
79
79
  let _body = null;
@@ -100,18 +100,18 @@ class fhcHubApi {
100
100
  .catch(err => this.handleError(err));
101
101
  }
102
102
  /**
103
- *
104
- * @summary getHcpConsent
105
- * @param endpoint endpoint
106
- * @param xFHCKeystoreId X-FHC-keystoreId
107
- * @param xFHCTokenId X-FHC-tokenId
108
- * @param xFHCPassPhrase X-FHC-passPhrase
109
- * @param hcpNihii hcpNihii
110
- * @param hcpLastName hcpLastName
111
- * @param hcpFirstName hcpFirstName
112
- * @param hcpSsin hcpSsin
113
- * @param hcpZip hcpZip
114
- * @param hubPackageId hubPackageId
103
+ * This endpoint allows to retrieve the consent status of a healthcare provider that determines if an hcp has the right to access the hub. It requires the healthcare provider's information.
104
+ * @summary Get the consent status of a healthcare provider
105
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
106
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
107
+ * @param xFHCTokenId The token ID for the healthcare provider
108
+ * @param xFHCPassPhrase The passphrase for the keystore
109
+ * @param hcpNihii The Nihii of the healthcare provider
110
+ * @param hcpLastName The last name of the healthcare provider
111
+ * @param hcpFirstName The first name of the healthcare provider
112
+ * @param hcpSsin The SSIN of the healthcare provider
113
+ * @param hcpZip The ZIP code of the healthcare provider
114
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
115
115
  */
116
116
  getHcpConsentUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpLastName, hcpFirstName, hcpSsin, hcpZip, hubPackageId) {
117
117
  let _body = null;
@@ -134,28 +134,28 @@ class fhcHubApi {
134
134
  .catch(err => this.handleError(err));
135
135
  }
136
136
  /**
137
- *
138
- * @summary getPatientAuditTrail
139
- * @param endpoint endpoint
140
- * @param xFHCKeystoreId X-FHC-keystoreId
141
- * @param xFHCTokenId X-FHC-tokenId
142
- * @param xFHCPassPhrase X-FHC-passPhrase
143
- * @param hcpLastName hcpLastName
144
- * @param hcpFirstName hcpFirstName
145
- * @param hcpNihii hcpNihii
146
- * @param hcpSsin hcpSsin
147
- * @param hcpZip hcpZip
148
- * @param hubPackageId hubPackageId
149
- * @param from from
150
- * @param to to
151
- * @param authorNihii authorNihii
152
- * @param authorSsin authorSsin
153
- * @param isGlobal isGlobal
154
- * @param breakTheGlassReason breakTheGlassReason
155
- * @param ssin ssin
156
- * @param sv sv
157
- * @param sl sl
158
- * @param id id
137
+ * This endpoint allows to retrieve the audit trail of 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.
138
+ * @summary Get the audit trail of a patient
139
+ * @param endpoint value = 'The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)'
140
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
141
+ * @param xFHCTokenId The token ID for the healthcare provider
142
+ * @param xFHCPassPhrase The passphrase for the keystore
143
+ * @param hcpLastName The last name of the healthcare provider
144
+ * @param hcpFirstName The first name of the healthcare provider
145
+ * @param hcpNihii The Nihii of the healthcare provider
146
+ * @param hcpSsin The SSIN of the healthcare provider
147
+ * @param hcpZip The ZIP code of the healthcare provider
148
+ * @param hubPackageId The hub package ID, provided by the hub. This ID is usually different for acceptance and production environments.
149
+ * @param from The start date of the search for transactions in format YYYYMMDD
150
+ * @param to The end date of the search for transactions in format YYYYMMDD
151
+ * @param authorNihii The Nihii of the author of the transaction, optional
152
+ * @param authorSsin The SSIN of the author of the transaction, optional
153
+ * @param isGlobal Whether the transaction search is global (on all hubs through intrahub) or local (on the hub where the request is made)
154
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
155
+ * @param ssin The SSIN of the patient, optional
156
+ * @param sv The SV part of the identifier of the transaction, optional
157
+ * @param sl The SL part of the identifier of the transaction, optional
158
+ * @param id The ID of the transaction, optional
159
159
  */
160
160
  getPatientAuditTrailUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubPackageId, from, to, authorNihii, authorSsin, isGlobal, breakTheGlassReason, ssin, sv, sl, id) {
161
161
  let _body = null;
@@ -191,19 +191,19 @@ class fhcHubApi {
191
191
  .catch(err => this.handleError(err));
192
192
  }
193
193
  /**
194
- *
195
- * @summary getPatientConsent
196
- * @param endpoint endpoint
197
- * @param xFHCKeystoreId X-FHC-keystoreId
198
- * @param xFHCTokenId X-FHC-tokenId
199
- * @param xFHCPassPhrase X-FHC-passPhrase
200
- * @param hcpLastName hcpLastName
201
- * @param hcpFirstName hcpFirstName
202
- * @param hcpNihii hcpNihii
203
- * @param hcpSsin hcpSsin
204
- * @param hcpZip hcpZip
205
- * @param patientSsin patientSsin
206
- * @param hubPackageId hubPackageId
194
+ * This endpoint allows to retrieve a patient's consent from the hubs, in other words, the patient's consent of having institutions and healthcare providers put some information on the hubs. It requires the healthcare provider's information and the patient's SSIN.
195
+ * @summary Get a patient's consent
196
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
197
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
198
+ * @param xFHCTokenId The token ID for the healthcare provider
199
+ * @param xFHCPassPhrase The passphrase for the keystore
200
+ * @param hcpLastName The last name of the healthcare provider
201
+ * @param hcpFirstName The first name of the healthcare provider
202
+ * @param hcpNihii The Nihii of the healthcare provider
203
+ * @param hcpSsin The SSIN of the healthcare provider
204
+ * @param hcpZip The ZIP code of the healthcare provider
205
+ * @param patientSsin The SSIN of the patient
206
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
207
207
  */
208
208
  getPatientConsentUsingGET1(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId) {
209
209
  let _body = null;
@@ -227,19 +227,19 @@ class fhcHubApi {
227
227
  .catch(err => this.handleError(err));
228
228
  }
229
229
  /**
230
- *
231
- * @summary getPatient
232
- * @param endpoint endpoint
233
- * @param xFHCKeystoreId X-FHC-keystoreId
234
- * @param xFHCTokenId X-FHC-tokenId
235
- * @param xFHCPassPhrase X-FHC-passPhrase
236
- * @param hcpLastName hcpLastName
237
- * @param hcpFirstName hcpFirstName
238
- * @param hcpNihii hcpNihii
239
- * @param hcpSsin hcpSsin
240
- * @param hcpZip hcpZip
241
- * @param patientSsin patientSsin
242
- * @param hubPackageId hubPackageId
230
+ * This endpoint allows to retrieve a patient's information from the hubs. It requires the healthcare provider's information and the patient's SSIN.
231
+ * @summary Get a patient from the hubs
232
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
233
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
234
+ * @param xFHCTokenId The token ID for the healthcare provider
235
+ * @param xFHCPassPhrase The passphrase for the keystore
236
+ * @param hcpLastName The last name of the healthcare party
237
+ * @param hcpFirstName The first name of the healthcare party
238
+ * @param hcpNihii The Nihii of the healthcare party
239
+ * @param hcpSsin The SSIN of the healthcare party
240
+ * @param hcpZip The ZIP code of the healthcare party
241
+ * @param patientSsin The SSIN of the patient
242
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
243
243
  */
244
244
  getPatientUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId) {
245
245
  let _body = null;
@@ -263,22 +263,22 @@ class fhcHubApi {
263
263
  .catch(err => this.handleError(err));
264
264
  }
265
265
  /**
266
- *
267
- * @summary getTherapeuticLinks
268
- * @param endpoint endpoint
269
- * @param xFHCKeystoreId X-FHC-keystoreId
270
- * @param xFHCTokenId X-FHC-tokenId
271
- * @param xFHCPassPhrase X-FHC-passPhrase
272
- * @param hcpLastName hcpLastName
273
- * @param hcpFirstName hcpFirstName
274
- * @param hcpNihii hcpNihii
275
- * @param hcpSsin hcpSsin
276
- * @param hcpZip hcpZip
277
- * @param patientSsin patientSsin
278
- * @param hubPackageId hubPackageId
279
- * @param therLinkType therLinkType
280
- * @param from from
281
- * @param to to
266
+ * This endpoint allows to retrieve therapeutic links for a patient. It requires the healthcare provider's information, the patient's SSIN, and some optional parameters such as the type of therapeutic link, start and end dates.
267
+ * @summary Get therapeutic links for a patient
268
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
269
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
270
+ * @param xFHCTokenId The token ID for the healthcare provider
271
+ * @param xFHCPassPhrase The passphrase for the keystore
272
+ * @param hcpLastName The last name of the healthcare provider
273
+ * @param hcpFirstName The first name of the healthcare provider
274
+ * @param hcpNihii The Nihii of the healthcare provider
275
+ * @param hcpSsin The SSIN of the healthcare provider
276
+ * @param hcpZip The ZIP code of the healthcare provider
277
+ * @param patientSsin The SSIN of the patient
278
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
279
+ * @param therLinkType The type of the therapeutic link to retrieve
280
+ * @param from The start date of the therapeutic link in format YYYYMMDD
281
+ * @param to The end date of the therapeutic link in format YYYYMMDD
282
282
  */
283
283
  getTherapeuticLinksUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, therLinkType, from, to) {
284
284
  let _body = null;
@@ -304,25 +304,25 @@ class fhcHubApi {
304
304
  .catch(err => this.handleError(err));
305
305
  }
306
306
  /**
307
- *
308
- * @summary getTransactionMessage
309
- * @param endpoint endpoint
310
- * @param xFHCKeystoreId X-FHC-keystoreId
311
- * @param xFHCTokenId X-FHC-tokenId
312
- * @param xFHCPassPhrase X-FHC-passPhrase
313
- * @param hcpLastName hcpLastName
314
- * @param hcpFirstName hcpFirstName
315
- * @param hcpNihii hcpNihii
316
- * @param hcpSsin hcpSsin
317
- * @param hcpZip hcpZip
318
- * @param ssin ssin
319
- * @param sv sv
320
- * @param sl sl
321
- * @param id id
322
- * @param hubPackageId hubPackageId
323
- * @param breakTheGlassReason breakTheGlassReason
324
- * @param externalHubId externalHubId
325
- * @param externalHubName externalHubName
307
+ * This endpoint allows to retrieve a specific transaction message for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction ID.
308
+ * @summary Get a transaction of type message for a patient converted to JSON for easy frontend parsing
309
+ * @param endpoint Endpoint URL of the hub (e.g., https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, etc.)
310
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
311
+ * @param xFHCTokenId The token ID for the healthcare provider
312
+ * @param xFHCPassPhrase The passphrase for the keystore
313
+ * @param hcpLastName The last name of the healthcare provider
314
+ * @param hcpFirstName The first name of the healthcare provider
315
+ * @param hcpNihii The Nihii of the healthcare provider
316
+ * @param hcpSsin The SSIN of the healthcare provider
317
+ * @param hcpZip The ZIP code of the healthcare provider
318
+ * @param ssin The SSIN of the patient
319
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
320
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
321
+ * @param id The ID of the transaction to retrieve
322
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
323
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
324
+ * @param externalHubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
325
+ * @param externalHubName The name of the hub
326
326
  */
327
327
  getTransactionMessageUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
328
328
  let _body = null;
@@ -352,25 +352,25 @@ class fhcHubApi {
352
352
  .catch(err => this.handleError(err));
353
353
  }
354
354
  /**
355
- *
356
- * @summary getTransactionSetMessage
357
- * @param endpoint endpoint
358
- * @param xFHCKeystoreId X-FHC-keystoreId
359
- * @param xFHCTokenId X-FHC-tokenId
360
- * @param xFHCPassPhrase X-FHC-passPhrase
361
- * @param hcpLastName hcpLastName
362
- * @param hcpFirstName hcpFirstName
363
- * @param hcpNihii hcpNihii
364
- * @param hcpSsin hcpSsin
365
- * @param hcpZip hcpZip
366
- * @param ssin ssin
367
- * @param sv sv
368
- * @param sl sl
369
- * @param id id
370
- * @param hubPackageId hubPackageId
371
- * @param breakTheGlassReason breakTheGlassReason
372
- * @param externalHubId externalHubId
373
- * @param externalHubName externalHubName
355
+ * This endpoint allows to retrieve a transaction set for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction set identifier.
356
+ * @summary Get a transaction set (a collection of transactions) for a patient. This is mainly used for medication schemes. Returns the message in JSON format for easy frontend parsing.
357
+ * @param endpoint Endpoint URL of the hub (e.g., https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, etc.)
358
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
359
+ * @param xFHCTokenId The token ID for the healthcare provider
360
+ * @param xFHCPassPhrase The passphrase for the keystore
361
+ * @param hcpLastName The last name of the healthcare provider
362
+ * @param hcpFirstName The first name of the healthcare provider
363
+ * @param hcpNihii The Nihii of the healthcare provider
364
+ * @param hcpSsin The SSIN of the healthcare provider
365
+ * @param hcpZip The ZIP code of the healthcare provider
366
+ * @param ssin The SSIN of the patient
367
+ * @param sv The SV part of the identifier of the transaction set. Obtained from the transaction list.
368
+ * @param sl The SL part of the identifier of the transaction set. Obtained from the transaction list.
369
+ * @param id The ID of the transaction set to retrieve
370
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
371
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
372
+ * @param externalHubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
373
+ * @param externalHubName The name of the hub
374
374
  */
375
375
  getTransactionSetMessageUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
376
376
  let _body = null;
@@ -400,25 +400,25 @@ class fhcHubApi {
400
400
  .catch(err => this.handleError(err));
401
401
  }
402
402
  /**
403
- *
404
- * @summary getTransactionSet
405
- * @param endpoint endpoint
406
- * @param xFHCKeystoreId X-FHC-keystoreId
407
- * @param xFHCTokenId X-FHC-tokenId
408
- * @param xFHCPassPhrase X-FHC-passPhrase
409
- * @param hcpLastName hcpLastName
410
- * @param hcpFirstName hcpFirstName
411
- * @param hcpNihii hcpNihii
412
- * @param hcpSsin hcpSsin
413
- * @param hcpZip hcpZip
414
- * @param ssin ssin
415
- * @param sv sv
416
- * @param sl sl
417
- * @param id id
418
- * @param hubPackageId hubPackageId
419
- * @param breakTheGlassReason breakTheGlassReason
420
- * @param externalHubId externalHubId
421
- * @param externalHubName externalHubName
403
+ * This endpoint allows to retrieve a transaction set for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction set identifier.
404
+ * @summary Get a transaction set (a collection of transactions) for a patient. This is mainly used for medication schemes.
405
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
406
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
407
+ * @param xFHCTokenId The token ID for the healthcare provider
408
+ * @param xFHCPassPhrase The passphrase for the keystore
409
+ * @param hcpLastName The last name of the healthcare provider
410
+ * @param hcpFirstName The first name of the healthcare provider
411
+ * @param hcpNihii The Nihii of the healthcare provider
412
+ * @param hcpSsin The SSIN of the healthcare provider
413
+ * @param hcpZip The ZIP code of the healthcare provider
414
+ * @param ssin The SSIN of the patient
415
+ * @param sv The SV part of the identifier of the transaction set. Obtained from the transaction list.
416
+ * @param sl The SL part of the identifier of the transaction set. Obtained from the transaction list.
417
+ * @param id The ID of the transaction set to retrieve
418
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
419
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
420
+ * @param externalHubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
421
+ * @param externalHubName The name of the hub, if applicable
422
422
  */
423
423
  getTransactionSetUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
424
424
  let _body = null;
@@ -448,25 +448,25 @@ class fhcHubApi {
448
448
  .catch(err => this.handleError(err));
449
449
  }
450
450
  /**
451
- *
452
- * @summary getTransaction
453
- * @param endpoint endpoint
454
- * @param xFHCKeystoreId X-FHC-keystoreId
455
- * @param xFHCTokenId X-FHC-tokenId
456
- * @param xFHCPassPhrase X-FHC-passPhrase
457
- * @param hcpLastName hcpLastName
458
- * @param hcpFirstName hcpFirstName
459
- * @param hcpNihii hcpNihii
460
- * @param hcpSsin hcpSsin
461
- * @param hcpZip hcpZip
462
- * @param ssin ssin
463
- * @param sv sv
464
- * @param sl sl
465
- * @param id id
466
- * @param hubPackageId hubPackageId
467
- * @param breakTheGlassReason breakTheGlassReason
468
- * @param externalHubId externalHubId
469
- * @param externalHubName externalHubName
451
+ * This endpoint allows to retrieve a specific transaction for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction ID.
452
+ * @summary Get a transaction (document, scan, ...) for a patient
453
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
454
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
455
+ * @param xFHCTokenId The token ID for the healthcare provider
456
+ * @param xFHCPassPhrase The passphrase for the keystore
457
+ * @param hcpLastName The last name of the healthcare provider
458
+ * @param hcpFirstName The first name of the healthcare provider
459
+ * @param hcpNihii The Nihii of the healthcare provider
460
+ * @param hcpSsin The SSIN of the healthcare provider
461
+ * @param hcpZip The ZIP code of the healthcare provider
462
+ * @param ssin The SSIN of the patient
463
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
464
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
465
+ * @param id The ID of the transaction to retrieve
466
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
467
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
468
+ * @param externalHubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
469
+ * @param externalHubName The name of the hub, if applicable
470
470
  */
471
471
  getTransactionUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason, externalHubId, externalHubName) {
472
472
  let _body = null;
@@ -496,26 +496,26 @@ class fhcHubApi {
496
496
  .catch(err => this.handleError(err));
497
497
  }
498
498
  /**
499
- *
500
- * @summary getTransactionsList
501
- * @param endpoint endpoint
502
- * @param xFHCKeystoreId X-FHC-keystoreId
503
- * @param xFHCTokenId X-FHC-tokenId
504
- * @param xFHCPassPhrase X-FHC-passPhrase
505
- * @param hcpLastName hcpLastName
506
- * @param hcpFirstName hcpFirstName
507
- * @param hcpNihii hcpNihii
508
- * @param hcpSsin hcpSsin
509
- * @param hcpZip hcpZip
510
- * @param patientSsin patientSsin
511
- * @param hubPackageId hubPackageId
512
- * @param from from
513
- * @param to to
514
- * @param authorNihii authorNihii
515
- * @param authorSsin authorSsin
516
- * @param isGlobal isGlobal
517
- * @param breakTheGlassReason breakTheGlassReason
518
- * @param transactionTypes transactionTypes
499
+ * 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.
500
+ * @summary Get the list of transactions (documents, scans, ...) for a patient
501
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
502
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
503
+ * @param xFHCTokenId The token ID for the healthcare provider
504
+ * @param xFHCPassPhrase The passphrase for the keystore
505
+ * @param hcpLastName The last name of the healthcare provider
506
+ * @param hcpFirstName The first name of the healthcare provider
507
+ * @param hcpNihii The Nihii of the healthcare provider
508
+ * @param hcpSsin The SSIN of the healthcare provider
509
+ * @param hcpZip The ZIP code of the healthcare provider
510
+ * @param patientSsin The SSIN of the patient
511
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
512
+ * @param from The start date of the search for transactions in format YYYYMMDD
513
+ * @param to The end date of the search for transactions in format YYYYMMDD
514
+ * @param authorNihii The Nihii of the author of the transaction, optional
515
+ * @param authorSsin The SSIN of the author of the transaction, optional
516
+ * @param isGlobal Whether the transaction search is global (on all hubs through intrahub) or local (on the hub where the request is made)
517
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
518
+ * @param transactionTypes The list of transaction types to filter the results, such as 'document', 'scan', 'message', etc. If not provided, all transaction types are returned.
519
519
  */
520
520
  getTransactionsListUsingGET(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, from, to, authorNihii, authorSsin, isGlobal, breakTheGlassReason, transactionTypes) {
521
521
  let _body = null;
@@ -548,24 +548,24 @@ class fhcHubApi {
548
548
  .catch(err => this.handleError(err));
549
549
  }
550
550
  /**
551
- *
552
- * @summary putAccessRight
553
- * @param endpoint endpoint
554
- * @param xFHCKeystoreId X-FHC-keystoreId
555
- * @param xFHCTokenId X-FHC-tokenId
556
- * @param xFHCPassPhrase X-FHC-passPhrase
557
- * @param hcpLastName hcpLastName
558
- * @param hcpFirstName hcpFirstName
559
- * @param hcpNihii hcpNihii
560
- * @param hcpSsin hcpSsin
561
- * @param hcpZip hcpZip
562
- * @param sv sv
563
- * @param sl sl
564
- * @param value value
565
- * @param accessRight accessRight
566
- * @param accessNihii accessNihii
567
- * @param accessSsin accessSsin
568
- * @param hubPackageId hubPackageId
551
+ * This endpoint allows a healthcare provider to manage access rights for another healthcare provider to access a patient's data. It requires the healthcare provider's information, the identifiers of the document and the rights that need to be set.
552
+ * @summary Put an access right for a healthcare provider to access a patient's data
553
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
554
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
555
+ * @param xFHCTokenId The token ID for the healthcare provider
556
+ * @param xFHCPassPhrase The passphrase for the keystore
557
+ * @param hcpLastName The last name of the healthcare provider
558
+ * @param hcpFirstName The first name of the healthcare provider
559
+ * @param hcpNihii The Nihii of the healthcare provider
560
+ * @param hcpSsin The SSIN of the healthcare provider
561
+ * @param hcpZip The ZIP code of the healthcare provider
562
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
563
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
564
+ * @param value The value of the transaction to manage, usually the ID of the transaction
565
+ * @param accessRight The access right to set for the healthcare provider (allow, disallow)
566
+ * @param accessNihii The Nihii of the healthcare provider to allow/disallow access, optional
567
+ * @param accessSsin The SSIN of the healthcare provider to allow/disallow access, optional
568
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
569
569
  */
570
570
  putAccessRightUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, accessRight, accessNihii, accessSsin, hubPackageId) {
571
571
  let _body = null;
@@ -595,23 +595,23 @@ class fhcHubApi {
595
595
  .catch(err => this.handleError(err));
596
596
  }
597
597
  /**
598
- *
599
- * @summary putPatient
600
- * @param endpoint endpoint
601
- * @param xFHCKeystoreId X-FHC-keystoreId
602
- * @param xFHCTokenId X-FHC-tokenId
603
- * @param xFHCPassPhrase X-FHC-passPhrase
604
- * @param hcpLastName hcpLastName
605
- * @param hcpFirstName hcpFirstName
606
- * @param hcpNihii hcpNihii
607
- * @param hcpSsin hcpSsin
608
- * @param hcpZip hcpZip
609
- * @param patientSsin patientSsin
610
- * @param firstName firstName
611
- * @param lastName lastName
612
- * @param gender gender
613
- * @param dateOfBirth dateOfBirth
614
- * @param hubPackageId hubPackageId
598
+ * This endpoint allows to create or update a patient in the hubs. It requires the healthcare provider's information and the patient's details.It allows a healthcare provider to register a patient in the hub system, which is necessary for managing patient data and consent.
599
+ * @summary Create or update a patient in the hubs
600
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
601
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
602
+ * @param xFHCTokenId The token ID for the healthcare provider
603
+ * @param xFHCPassPhrase The passphrase for the keystore
604
+ * @param hcpLastName The last name of the healthcare party
605
+ * @param hcpFirstName The first name of the healthcare party
606
+ * @param hcpNihii The Nihii of the healthcare party
607
+ * @param hcpSsin The SSIN of the healthcare party
608
+ * @param hcpZip The ZIP code of the healthcare party
609
+ * @param patientSsin The SSIN of the patient
610
+ * @param firstName The first name of the patient
611
+ * @param lastName The last name of the patient
612
+ * @param gender The gender of the patient
613
+ * @param dateOfBirth The date of birth of the patient in YYYYMMDD format
614
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. THis ID is usually different for acceptance and production environments.
615
615
  */
616
616
  putPatientUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, firstName, lastName, gender, dateOfBirth, hubPackageId) {
617
617
  let _body = null;
@@ -638,22 +638,22 @@ class fhcHubApi {
638
638
  .catch(err => this.handleError(err));
639
639
  }
640
640
  /**
641
- *
642
- * @summary putTransactionSet
643
- * @param body message
644
- * @param endpoint endpoint
645
- * @param xFHCKeystoreId X-FHC-keystoreId
646
- * @param xFHCTokenId X-FHC-tokenId
647
- * @param xFHCPassPhrase X-FHC-passPhrase
648
- * @param hcpLastName hcpLastName
649
- * @param hcpFirstName hcpFirstName
650
- * @param hcpNihii hcpNihii
651
- * @param hcpSsin hcpSsin
652
- * @param hcpZip hcpZip
653
- * @param hubId hubId
654
- * @param patientSsin patientSsin
655
- * @param hubPackageId hubPackageId
656
- * @param hubApplication hubApplication
641
+ * This endpoint allows a healthcare provider to put a transaction set for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction set message.
642
+ * @summary Put a transaction set (a collection of transactions) for a patient. This is mainly used for medication schemes.
643
+ * @param body The transaction set message in Kmehr format
644
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
645
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
646
+ * @param xFHCTokenId The token ID for the healthcare provider
647
+ * @param xFHCPassPhrase The passphrase for the keystore
648
+ * @param hcpLastName The last name of the healthcare provider
649
+ * @param hcpFirstName The first name of the healthcare provider
650
+ * @param hcpNihii The Nihii of the healthcare provider
651
+ * @param hcpSsin The SSIN of the healthcare provider
652
+ * @param hcpZip The ZIP code of the healthcare provider
653
+ * @param hubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
654
+ * @param patientSsin The SSIN of the patient
655
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
656
+ * @param hubApplication Legacy, leave as null.
657
657
  */
658
658
  putTransactionSetUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubId, patientSsin, hubPackageId, hubApplication, body) {
659
659
  let _body = null;
@@ -682,22 +682,22 @@ class fhcHubApi {
682
682
  .catch(err => this.handleError(err));
683
683
  }
684
684
  /**
685
- *
686
- * @summary putTransaction
687
- * @param body message
688
- * @param endpoint endpoint
689
- * @param xFHCKeystoreId X-FHC-keystoreId
690
- * @param xFHCTokenId X-FHC-tokenId
691
- * @param xFHCPassPhrase X-FHC-passPhrase
692
- * @param hcpLastName hcpLastName
693
- * @param hcpFirstName hcpFirstName
694
- * @param hcpNihii hcpNihii
695
- * @param hcpSsin hcpSsin
696
- * @param hcpZip hcpZip
697
- * @param hubId hubId
698
- * @param patientSsin patientSsin
699
- * @param hubPackageId hubPackageId
700
- * @param hubApplication hubApplication
685
+ * This endpoint allows a healthcare provider to put a transaction for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction message.
686
+ * @summary Put a transaction (document, scan, ...) on the hubs for a patient
687
+ * @param body The transaction message in Kmehr format
688
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
689
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
690
+ * @param xFHCTokenId The token ID for the healthcare provider
691
+ * @param xFHCPassPhrase The passphrase for the keystore
692
+ * @param hcpLastName The last name of the healthcare provider
693
+ * @param hcpFirstName The first name of the healthcare provider
694
+ * @param hcpNihii The Nihii of the healthcare provider
695
+ * @param hcpSsin The SSIN of the healthcare provider
696
+ * @param hcpZip The ZIP code of the healthcare provider
697
+ * @param hubId The ID of the hub (1990000035 for RSW, 1990000728 for Abrumet, 1990000134 for Cozo, 1990001916 for Vitalink, ...)
698
+ * @param patientSsin The SSIN of the patient
699
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
700
+ * @param hubApplication Legacy, leave as null.
701
701
  */
702
702
  putTransactionUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, hubId, patientSsin, hubPackageId, hubApplication, body) {
703
703
  let _body = null;
@@ -726,21 +726,21 @@ class fhcHubApi {
726
726
  .catch(err => this.handleError(err));
727
727
  }
728
728
  /**
729
- *
730
- * @summary registerPatientConsent
731
- * @param endpoint endpoint
732
- * @param xFHCKeystoreId X-FHC-keystoreId
733
- * @param xFHCTokenId X-FHC-tokenId
734
- * @param xFHCPassPhrase X-FHC-passPhrase
735
- * @param hcpLastName hcpLastName
736
- * @param hcpFirstName hcpFirstName
737
- * @param hcpNihii hcpNihii
738
- * @param hcpSsin hcpSsin
739
- * @param hcpZip hcpZip
740
- * @param patientSsin patientSsin
741
- * @param hubPackageId hubPackageId
742
- * @param patientEidCardNumber patientEidCardNumber
743
- * @param patientIsiCardNumber patientIsiCardNumber
729
+ * This endpoint allows a healthcare provider to register a patient's consent in the hub system. It requires the healthcare provider's information and the patient's SSIN.It also requires some kind of proof of the patient's presence, such as an eid card number or isi card number for a child.
730
+ * @summary Register a patient consent
731
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
732
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
733
+ * @param xFHCTokenId The token ID for the healthcare provider
734
+ * @param xFHCPassPhrase The passphrase for the keystore
735
+ * @param hcpLastName The last name of the healthcare provider
736
+ * @param hcpFirstName The first name of the healthcare provider
737
+ * @param hcpNihii The Nihii of the healthcare provider
738
+ * @param hcpSsin The SSIN of the healthcare provider
739
+ * @param hcpZip The ZIP code of the healthcare provider
740
+ * @param patientSsin The SSIN of the patient
741
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
742
+ * @param patientEidCardNumber The eid card number of the patient, if available
743
+ * @param patientIsiCardNumber The isi card number of the patient, if available
744
744
  */
745
745
  registerPatientConsentUsingPOST1(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber) {
746
746
  let _body = null;
@@ -770,23 +770,24 @@ class fhcHubApi {
770
770
  .catch(err => this.handleError(err));
771
771
  }
772
772
  /**
773
- *
774
- * @summary registerTherapeuticLink
775
- * @param endpoint endpoint
776
- * @param xFHCKeystoreId X-FHC-keystoreId
777
- * @param xFHCTokenId X-FHC-tokenId
778
- * @param xFHCPassPhrase X-FHC-passPhrase
779
- * @param hcpLastName hcpLastName
780
- * @param hcpFirstName hcpFirstName
781
- * @param hcpNihii hcpNihii
782
- * @param hcpSsin hcpSsin
783
- * @param hcpZip hcpZip
784
- * @param patientSsin patientSsin
785
- * @param hubPackageId hubPackageId
786
- * @param patientEidCardNumber patientEidCardNumber
787
- * @param patientIsiCardNumber patientIsiCardNumber
788
- * @param from from
789
- * @param to to
773
+ * A therapeutic link is a relationship between a healthcare provider and a patient that allows the healthcare provider to access the patient's data in the hub system. This endpoint allows a healthcare provider to register a therapeutic link for a patient. It requires the healthcare provider's information, the patient's SSIN, and some proof of presence such the eid card number, isi card number.
774
+ * @summary Register a therapeutic link for a patient
775
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
776
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
777
+ * @param xFHCTokenId The token ID for the healthcare provider
778
+ * @param xFHCPassPhrase The passphrase for the keystore
779
+ * @param hcpLastName The last name of the healthcare provider
780
+ * @param hcpFirstName The first name of the healthcare provider
781
+ * @param hcpNihii The Nihii of the healthcare provider
782
+ * @param hcpSsin The SSIN of the healthcare provider
783
+ * @param hcpZip The ZIP code of the healthcare provider
784
+ * @param patientSsin The SSIN of the patient
785
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
786
+ * @param patientEidCardNumber The eid card number of the patient, if available
787
+ * @param patientIsiCardNumber The isi card number of the patient, if available
788
+ * @param therLinkType The type of the therapeutic link
789
+ * @param from The start date of the therapeutic link in format YYYYMMDD
790
+ * @param to The end date of the therapeutic link in format YYYYMMDD
790
791
  */
791
792
  registerTherapeuticLinkUsingPOST(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber, from, to, therLinkType) {
792
793
  let _body = null;
@@ -806,9 +807,9 @@ class fhcHubApi {
806
807
  (patientIsiCardNumber
807
808
  ? "&patientIsiCardNumber=" + encodeURIComponent(String(patientIsiCardNumber))
808
809
  : "") +
810
+ (therLinkType ? "&therLinkType=" + encodeURIComponent(String(therLinkType)) : "") +
809
811
  (from ? "&from=" + encodeURIComponent(String(from)) : "") +
810
- (to ? "&to=" + encodeURIComponent(String(to)) : "") +
811
- (therLinkType ? "&therLinkType=" + encodeURIComponent(String(therLinkType)) : "");
812
+ (to ? "&to=" + encodeURIComponent(String(to)) : "");
812
813
  let headers = this.headers;
813
814
  xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
814
815
  xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
@@ -818,23 +819,23 @@ class fhcHubApi {
818
819
  .catch(err => this.handleError(err));
819
820
  }
820
821
  /**
821
- *
822
- * @summary revokeAccessRight
823
- * @param endpoint endpoint
824
- * @param xFHCKeystoreId X-FHC-keystoreId
825
- * @param xFHCTokenId X-FHC-tokenId
826
- * @param xFHCPassPhrase X-FHC-passPhrase
827
- * @param hcpLastName hcpLastName
828
- * @param hcpFirstName hcpFirstName
829
- * @param hcpNihii hcpNihii
830
- * @param hcpSsin hcpSsin
831
- * @param hcpZip hcpZip
832
- * @param sv sv
833
- * @param sl sl
834
- * @param value value
835
- * @param accessNihii accessNihii
836
- * @param accessSsin accessSsin
837
- * @param hubPackageId hubPackageId
822
+ * This endpoint allows a healthcare provider to revoke access rights for another healthcare provider to access a patient's data. It requires the healthcare provider's information, the identifiers of the document and the identifier of the healthcare provider whose access needs to be revoked.
823
+ * @summary Revoke an access right for a healthcare provider to access a patient's data
824
+ * @param endpoint Endpoint URL of the hub (e.g., https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, etc.)
825
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
826
+ * @param xFHCTokenId The token ID for the healthcare provider
827
+ * @param xFHCPassPhrase The passphrase for the keystore
828
+ * @param hcpLastName The last name of the healthcare provider
829
+ * @param hcpFirstName The first name of the healthcare provider
830
+ * @param hcpNihii The Nihii of the healthcare provider
831
+ * @param hcpSsin The SSIN of the healthcare provider
832
+ * @param hcpZip The ZIP code of the healthcare provider
833
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
834
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
835
+ * @param value The value of the transaction to manage, usually the ID of the transaction
836
+ * @param accessNihii The Nihii of the healthcare provider to allow/disallow access, optional
837
+ * @param accessSsin The SSIN of the healthcare provider to allow/disallow access, optional
838
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
838
839
  */
839
840
  revokeAccessRightUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, sv, sl, value, accessNihii, accessSsin, hubPackageId) {
840
841
  let _body = null;
@@ -863,21 +864,21 @@ class fhcHubApi {
863
864
  .catch(err => this.handleError(err));
864
865
  }
865
866
  /**
866
- *
867
- * @summary revokePatientConsent
868
- * @param endpoint endpoint
869
- * @param xFHCKeystoreId X-FHC-keystoreId
870
- * @param xFHCTokenId X-FHC-tokenId
871
- * @param xFHCPassPhrase X-FHC-passPhrase
872
- * @param hcpLastName hcpLastName
873
- * @param hcpFirstName hcpFirstName
874
- * @param hcpNihii hcpNihii
875
- * @param hcpSsin hcpSsin
876
- * @param hcpZip hcpZip
877
- * @param patientSsin patientSsin
878
- * @param hubPackageId hubPackageId
879
- * @param patientEidCardNumber patientEidCardNumber
880
- * @param patientIsiCardNumber patientIsiCardNumber
867
+ * This endpoint allows a healthcare provider to revoke a patient's consent in the hub system. It requires the healthcare provider's information and the patient's SSIN.It also requires some kind of proof of the patient's presence, such as an eid card number or isi card number for a child.
868
+ * @summary Revoke a patient's consent
869
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
870
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
871
+ * @param xFHCTokenId The token ID for the healthcare provider
872
+ * @param xFHCPassPhrase The passphrase for the keystore
873
+ * @param hcpLastName The last name of the healthcare provider
874
+ * @param hcpFirstName The first name of the healthcare provider
875
+ * @param hcpNihii The Nihii of the healthcare provider
876
+ * @param hcpSsin The SSIN of the healthcare provider
877
+ * @param hcpZip The ZIP code of the healthcare provider
878
+ * @param patientSsin The SSIN of the patient
879
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
880
+ * @param patientEidCardNumber The eid card number of the patient, if available
881
+ * @param patientIsiCardNumber The isi card number of the patient, if available
881
882
  */
882
883
  revokePatientConsentUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber) {
883
884
  let _body = null;
@@ -907,21 +908,22 @@ class fhcHubApi {
907
908
  .catch(err => this.handleError(err));
908
909
  }
909
910
  /**
910
- *
911
- * @summary revokeTherapeuticLink
912
- * @param endpoint endpoint
913
- * @param xFHCKeystoreId X-FHC-keystoreId
914
- * @param xFHCTokenId X-FHC-tokenId
915
- * @param xFHCPassPhrase X-FHC-passPhrase
916
- * @param hcpLastName hcpLastName
917
- * @param hcpFirstName hcpFirstName
918
- * @param hcpNihii hcpNihii
919
- * @param hcpSsin hcpSsin
920
- * @param hcpZip hcpZip
921
- * @param patientSsin patientSsin
922
- * @param hubPackageId hubPackageId
923
- * @param patientEidCardNumber patientEidCardNumber
924
- * @param patientIsiCardNumber patientIsiCardNumber
911
+ * This endpoint allows a healthcare provider to revoke a therapeutic link for a patient. It requires the healthcare provider's information, the patient's SSIN, and some proof of presence such the eid card number, isi card number.
912
+ * @summary Revoke a therapeutic link for a patient
913
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
914
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
915
+ * @param xFHCTokenId The token ID for the healthcare provider
916
+ * @param xFHCPassPhrase The passphrase for the keystore
917
+ * @param hcpLastName The last name of the healthcare provider
918
+ * @param hcpFirstName The first name of the healthcare provider
919
+ * @param hcpNihii The Nihii of the healthcare provider
920
+ * @param hcpSsin The SSIN of the healthcare provider
921
+ * @param hcpZip The ZIP code of the healthcare provider
922
+ * @param patientSsin The SSIN of the patient
923
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
924
+ * @param patientEidCardNumber The eid card number of the patient, if available
925
+ * @param patientIsiCardNumber The isi card number of the patient, if available
926
+ * @param therLinkType The type of the therapeutic link to revoke
925
927
  */
926
928
  revokeTherapeuticLinkUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, patientSsin, hubPackageId, patientEidCardNumber, patientIsiCardNumber, therLinkType) {
927
929
  let _body = null;
@@ -951,23 +953,23 @@ class fhcHubApi {
951
953
  .catch(err => this.handleError(err));
952
954
  }
953
955
  /**
954
- *
955
- * @summary revokeTransaction
956
- * @param endpoint endpoint
957
- * @param xFHCKeystoreId X-FHC-keystoreId
958
- * @param xFHCTokenId X-FHC-tokenId
959
- * @param xFHCPassPhrase X-FHC-passPhrase
960
- * @param hcpLastName hcpLastName
961
- * @param hcpFirstName hcpFirstName
962
- * @param hcpNihii hcpNihii
963
- * @param hcpSsin hcpSsin
964
- * @param hcpZip hcpZip
965
- * @param ssin ssin
966
- * @param sv sv
967
- * @param sl sl
968
- * @param id id
969
- * @param hubPackageId hubPackageId
970
- * @param breakTheGlassReason breakTheGlassReason
956
+ * This endpoint allows a healthcare provider to revoke a specific transaction for a patient. It requires the healthcare provider's information, the patient's SSIN, and the transaction ID.The actual deletion occurs if the healthcare provider has the right to do so, otherwise an error is triggered.
957
+ * @summary Delete a transaction (document, scan, ...) for a patient
958
+ * @param endpoint The endpoint URL of the hub (https://hub.reseausantewallon.be/HubServices/IntraHub/V3/IntraHub.asmx, https://hub.abrumet.be/hubservices/intrahub/v3/intrahub.asmx, https://services.cozo.be/IntrahubService/servicev3.asmx, https://vitalink.ehealth.fgov.be/vpmg/vitalink-gateway/IntraHubService, ...)
959
+ * @param xFHCKeystoreId The keystore ID for the certificate of the healthcare provider
960
+ * @param xFHCTokenId The token ID for the healthcare provider
961
+ * @param xFHCPassPhrase The passphrase for the keystore
962
+ * @param hcpLastName The last name of the healthcare provider
963
+ * @param hcpFirstName The first name of the healthcare provider
964
+ * @param hcpNihii The Nihii of the healthcare provider
965
+ * @param hcpSsin The SSIN of the healthcare provider
966
+ * @param hcpZip The ZIP code of the healthcare provider
967
+ * @param ssin The SSIN of the patient
968
+ * @param sv The SV part of the identifier of the transaction. Obtained from the transaction list.
969
+ * @param sl The SL part of the identifier of the transaction. Obtained from the transaction list.
970
+ * @param id The ID of the transaction to revoke
971
+ * @param hubPackageId The ID of the software package used to access the hub, provided by the hub. This ID is usually different for acceptance and production environments.
972
+ * @param breakTheGlassReason Allows a break the glass request (without a therapeutic link) by providing the reason for breaking the glass
971
973
  */
972
974
  revokeTransactionUsingDELETE(endpoint, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpLastName, hcpFirstName, hcpNihii, hcpSsin, hcpZip, ssin, sv, sl, id, hubPackageId, breakTheGlassReason) {
973
975
  let _body = null;