@icure/be-fhc-api 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/fhcEagreementApi.d.ts +7 -7
- package/api/fhcEagreementApi.js +26 -18
- package/api/fhcEattestV3Api.d.ts +4 -2
- package/api/fhcEattestV3Api.js +6 -2
- package/api/fhcHubApi.d.ts +354 -352
- package/api/fhcHubApi.js +356 -354
- package/api/fhcMediprimaApi.d.ts +22 -2
- package/api/fhcMediprimaApi.js +56 -2
- package/api/fhcStsApi.d.ts +16 -16
- package/api/fhcStsApi.js +16 -16
- package/model/AgreementResponse.d.ts +1 -1
- package/model/Author.d.ts +19 -0
- package/model/Author.js +20 -0
- package/model/CbssStatusType.d.ts +19 -0
- package/model/CbssStatusType.js +9 -0
- package/model/EAgreementResponse.d.ts +24 -0
- package/model/EAgreementResponse.js +10 -0
- package/model/InsurancyMembership.d.ts +16 -0
- package/model/InsurancyMembership.js +20 -0
- package/model/InsurancyStatus.d.ts +18 -0
- package/model/InsurancyStatus.js +20 -0
- package/model/MedicalCardRegistryMessageType.d.ts +19 -0
- package/model/MedicalCardRegistryMessageType.js +9 -0
- package/model/MedicalCardRegistryStatusType.d.ts +16 -0
- package/model/MedicalCardRegistryStatusType.js +9 -0
- package/model/MediprimaMdaResponse.d.ts +23 -0
- package/model/MediprimaMdaResponse.js +9 -0
- package/model/MediprimaNumber.d.ts +16 -0
- package/model/MediprimaNumber.js +20 -0
- package/model/Prescription.d.ts +2 -2
- package/model/Pswc.d.ts +17 -0
- package/model/Pswc.js +20 -0
- package/model/TarificationMediprimaConsultationResult.d.ts +26 -0
- package/model/TarificationMediprimaConsultationResult.js +9 -0
- package/model/models.d.ts +11 -0
- package/model/models.js +11 -0
- package/package.json +1 -1
package/api/fhcHubApi.js
CHANGED
|
@@ -42,8 +42,8 @@ class fhcHubApi {
|
|
|
42
42
|
throw e;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary
|
|
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
|
|
64
|
-
* @param endpoint
|
|
65
|
-
* @param xFHCKeystoreId
|
|
66
|
-
* @param xFHCTokenId
|
|
67
|
-
* @param xFHCPassPhrase
|
|
68
|
-
* @param hcpLastName
|
|
69
|
-
* @param hcpFirstName
|
|
70
|
-
* @param hcpNihii
|
|
71
|
-
* @param hcpSsin
|
|
72
|
-
* @param hcpZip
|
|
73
|
-
* @param sv
|
|
74
|
-
* @param sl
|
|
75
|
-
* @param value value
|
|
76
|
-
* @param 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
|
|
105
|
-
* @param endpoint endpoint
|
|
106
|
-
* @param xFHCKeystoreId
|
|
107
|
-
* @param xFHCTokenId
|
|
108
|
-
* @param xFHCPassPhrase
|
|
109
|
-
* @param hcpNihii
|
|
110
|
-
* @param hcpLastName
|
|
111
|
-
* @param hcpFirstName
|
|
112
|
-
* @param hcpSsin
|
|
113
|
-
* @param hcpZip
|
|
114
|
-
* @param 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
|
|
139
|
-
* @param endpoint endpoint
|
|
140
|
-
* @param xFHCKeystoreId
|
|
141
|
-
* @param xFHCTokenId
|
|
142
|
-
* @param xFHCPassPhrase
|
|
143
|
-
* @param hcpLastName
|
|
144
|
-
* @param hcpFirstName
|
|
145
|
-
* @param hcpNihii
|
|
146
|
-
* @param hcpSsin
|
|
147
|
-
* @param hcpZip
|
|
148
|
-
* @param hubPackageId
|
|
149
|
-
* @param from
|
|
150
|
-
* @param to
|
|
151
|
-
* @param authorNihii
|
|
152
|
-
* @param authorSsin
|
|
153
|
-
* @param isGlobal
|
|
154
|
-
* @param breakTheGlassReason
|
|
155
|
-
* @param ssin
|
|
156
|
-
* @param sv
|
|
157
|
-
* @param sl
|
|
158
|
-
* @param 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
|
|
196
|
-
* @param endpoint endpoint
|
|
197
|
-
* @param xFHCKeystoreId
|
|
198
|
-
* @param xFHCTokenId
|
|
199
|
-
* @param xFHCPassPhrase
|
|
200
|
-
* @param hcpLastName
|
|
201
|
-
* @param hcpFirstName
|
|
202
|
-
* @param hcpNihii
|
|
203
|
-
* @param hcpSsin
|
|
204
|
-
* @param hcpZip
|
|
205
|
-
* @param patientSsin
|
|
206
|
-
* @param 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
|
|
232
|
-
* @param endpoint endpoint
|
|
233
|
-
* @param xFHCKeystoreId
|
|
234
|
-
* @param xFHCTokenId
|
|
235
|
-
* @param xFHCPassPhrase
|
|
236
|
-
* @param hcpLastName
|
|
237
|
-
* @param hcpFirstName
|
|
238
|
-
* @param hcpNihii
|
|
239
|
-
* @param hcpSsin
|
|
240
|
-
* @param hcpZip
|
|
241
|
-
* @param patientSsin
|
|
242
|
-
* @param 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
|
|
268
|
-
* @param endpoint endpoint
|
|
269
|
-
* @param xFHCKeystoreId
|
|
270
|
-
* @param xFHCTokenId
|
|
271
|
-
* @param xFHCPassPhrase
|
|
272
|
-
* @param hcpLastName
|
|
273
|
-
* @param hcpFirstName
|
|
274
|
-
* @param hcpNihii
|
|
275
|
-
* @param hcpSsin
|
|
276
|
-
* @param hcpZip
|
|
277
|
-
* @param patientSsin
|
|
278
|
-
* @param hubPackageId
|
|
279
|
-
* @param therLinkType
|
|
280
|
-
* @param from
|
|
281
|
-
* @param 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
|
|
309
|
-
* @param endpoint
|
|
310
|
-
* @param xFHCKeystoreId
|
|
311
|
-
* @param xFHCTokenId
|
|
312
|
-
* @param xFHCPassPhrase
|
|
313
|
-
* @param hcpLastName
|
|
314
|
-
* @param hcpFirstName
|
|
315
|
-
* @param hcpNihii
|
|
316
|
-
* @param hcpSsin
|
|
317
|
-
* @param hcpZip
|
|
318
|
-
* @param ssin
|
|
319
|
-
* @param sv
|
|
320
|
-
* @param sl
|
|
321
|
-
* @param id
|
|
322
|
-
* @param hubPackageId
|
|
323
|
-
* @param breakTheGlassReason
|
|
324
|
-
* @param externalHubId
|
|
325
|
-
* @param 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
|
|
357
|
-
* @param endpoint
|
|
358
|
-
* @param xFHCKeystoreId
|
|
359
|
-
* @param xFHCTokenId
|
|
360
|
-
* @param xFHCPassPhrase
|
|
361
|
-
* @param hcpLastName
|
|
362
|
-
* @param hcpFirstName
|
|
363
|
-
* @param hcpNihii
|
|
364
|
-
* @param hcpSsin
|
|
365
|
-
* @param hcpZip
|
|
366
|
-
* @param ssin
|
|
367
|
-
* @param sv
|
|
368
|
-
* @param sl
|
|
369
|
-
* @param id
|
|
370
|
-
* @param hubPackageId
|
|
371
|
-
* @param breakTheGlassReason
|
|
372
|
-
* @param externalHubId
|
|
373
|
-
* @param 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
|
|
405
|
-
* @param endpoint endpoint
|
|
406
|
-
* @param xFHCKeystoreId
|
|
407
|
-
* @param xFHCTokenId
|
|
408
|
-
* @param xFHCPassPhrase
|
|
409
|
-
* @param hcpLastName
|
|
410
|
-
* @param hcpFirstName
|
|
411
|
-
* @param hcpNihii
|
|
412
|
-
* @param hcpSsin
|
|
413
|
-
* @param hcpZip
|
|
414
|
-
* @param ssin
|
|
415
|
-
* @param sv
|
|
416
|
-
* @param sl
|
|
417
|
-
* @param id
|
|
418
|
-
* @param hubPackageId
|
|
419
|
-
* @param breakTheGlassReason
|
|
420
|
-
* @param externalHubId
|
|
421
|
-
* @param 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
|
|
453
|
-
* @param endpoint endpoint
|
|
454
|
-
* @param xFHCKeystoreId
|
|
455
|
-
* @param xFHCTokenId
|
|
456
|
-
* @param xFHCPassPhrase
|
|
457
|
-
* @param hcpLastName
|
|
458
|
-
* @param hcpFirstName
|
|
459
|
-
* @param hcpNihii
|
|
460
|
-
* @param hcpSsin
|
|
461
|
-
* @param hcpZip
|
|
462
|
-
* @param ssin
|
|
463
|
-
* @param sv
|
|
464
|
-
* @param sl
|
|
465
|
-
* @param id
|
|
466
|
-
* @param hubPackageId
|
|
467
|
-
* @param breakTheGlassReason
|
|
468
|
-
* @param externalHubId
|
|
469
|
-
* @param 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
|
|
501
|
-
* @param endpoint endpoint
|
|
502
|
-
* @param xFHCKeystoreId
|
|
503
|
-
* @param xFHCTokenId
|
|
504
|
-
* @param xFHCPassPhrase
|
|
505
|
-
* @param hcpLastName
|
|
506
|
-
* @param hcpFirstName
|
|
507
|
-
* @param hcpNihii
|
|
508
|
-
* @param hcpSsin
|
|
509
|
-
* @param hcpZip
|
|
510
|
-
* @param patientSsin
|
|
511
|
-
* @param hubPackageId
|
|
512
|
-
* @param from
|
|
513
|
-
* @param to
|
|
514
|
-
* @param authorNihii
|
|
515
|
-
* @param authorSsin
|
|
516
|
-
* @param isGlobal
|
|
517
|
-
* @param breakTheGlassReason
|
|
518
|
-
* @param 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
|
|
553
|
-
* @param endpoint endpoint
|
|
554
|
-
* @param xFHCKeystoreId
|
|
555
|
-
* @param xFHCTokenId
|
|
556
|
-
* @param xFHCPassPhrase
|
|
557
|
-
* @param hcpLastName
|
|
558
|
-
* @param hcpFirstName
|
|
559
|
-
* @param hcpNihii
|
|
560
|
-
* @param hcpSsin
|
|
561
|
-
* @param hcpZip
|
|
562
|
-
* @param sv
|
|
563
|
-
* @param sl
|
|
564
|
-
* @param value value
|
|
565
|
-
* @param accessRight
|
|
566
|
-
* @param accessNihii
|
|
567
|
-
* @param accessSsin
|
|
568
|
-
* @param 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
|
|
600
|
-
* @param endpoint endpoint
|
|
601
|
-
* @param xFHCKeystoreId
|
|
602
|
-
* @param xFHCTokenId
|
|
603
|
-
* @param xFHCPassPhrase
|
|
604
|
-
* @param hcpLastName
|
|
605
|
-
* @param hcpFirstName
|
|
606
|
-
* @param hcpNihii
|
|
607
|
-
* @param hcpSsin
|
|
608
|
-
* @param hcpZip
|
|
609
|
-
* @param patientSsin
|
|
610
|
-
* @param firstName
|
|
611
|
-
* @param lastName
|
|
612
|
-
* @param gender gender
|
|
613
|
-
* @param dateOfBirth
|
|
614
|
-
* @param 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
|
|
643
|
-
* @param body message
|
|
644
|
-
* @param endpoint endpoint
|
|
645
|
-
* @param xFHCKeystoreId
|
|
646
|
-
* @param xFHCTokenId
|
|
647
|
-
* @param xFHCPassPhrase
|
|
648
|
-
* @param hcpLastName
|
|
649
|
-
* @param hcpFirstName
|
|
650
|
-
* @param hcpNihii
|
|
651
|
-
* @param hcpSsin
|
|
652
|
-
* @param hcpZip
|
|
653
|
-
* @param hubId
|
|
654
|
-
* @param patientSsin
|
|
655
|
-
* @param hubPackageId
|
|
656
|
-
* @param 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
|
|
687
|
-
* @param body message
|
|
688
|
-
* @param endpoint endpoint
|
|
689
|
-
* @param xFHCKeystoreId
|
|
690
|
-
* @param xFHCTokenId
|
|
691
|
-
* @param xFHCPassPhrase
|
|
692
|
-
* @param hcpLastName
|
|
693
|
-
* @param hcpFirstName
|
|
694
|
-
* @param hcpNihii
|
|
695
|
-
* @param hcpSsin
|
|
696
|
-
* @param hcpZip
|
|
697
|
-
* @param hubId
|
|
698
|
-
* @param patientSsin
|
|
699
|
-
* @param hubPackageId
|
|
700
|
-
* @param 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
|
|
731
|
-
* @param endpoint endpoint
|
|
732
|
-
* @param xFHCKeystoreId
|
|
733
|
-
* @param xFHCTokenId
|
|
734
|
-
* @param xFHCPassPhrase
|
|
735
|
-
* @param hcpLastName
|
|
736
|
-
* @param hcpFirstName
|
|
737
|
-
* @param hcpNihii
|
|
738
|
-
* @param hcpSsin
|
|
739
|
-
* @param hcpZip
|
|
740
|
-
* @param patientSsin
|
|
741
|
-
* @param hubPackageId
|
|
742
|
-
* @param patientEidCardNumber
|
|
743
|
-
* @param 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
|
|
775
|
-
* @param endpoint endpoint
|
|
776
|
-
* @param xFHCKeystoreId
|
|
777
|
-
* @param xFHCTokenId
|
|
778
|
-
* @param xFHCPassPhrase
|
|
779
|
-
* @param hcpLastName
|
|
780
|
-
* @param hcpFirstName
|
|
781
|
-
* @param hcpNihii
|
|
782
|
-
* @param hcpSsin
|
|
783
|
-
* @param hcpZip
|
|
784
|
-
* @param patientSsin
|
|
785
|
-
* @param hubPackageId
|
|
786
|
-
* @param patientEidCardNumber
|
|
787
|
-
* @param patientIsiCardNumber
|
|
788
|
-
* @param
|
|
789
|
-
* @param
|
|
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
|
|
823
|
-
* @param endpoint
|
|
824
|
-
* @param xFHCKeystoreId
|
|
825
|
-
* @param xFHCTokenId
|
|
826
|
-
* @param xFHCPassPhrase
|
|
827
|
-
* @param hcpLastName
|
|
828
|
-
* @param hcpFirstName
|
|
829
|
-
* @param hcpNihii
|
|
830
|
-
* @param hcpSsin
|
|
831
|
-
* @param hcpZip
|
|
832
|
-
* @param sv
|
|
833
|
-
* @param sl
|
|
834
|
-
* @param value value
|
|
835
|
-
* @param accessNihii
|
|
836
|
-
* @param accessSsin
|
|
837
|
-
* @param 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
|
|
868
|
-
* @param endpoint endpoint
|
|
869
|
-
* @param xFHCKeystoreId
|
|
870
|
-
* @param xFHCTokenId
|
|
871
|
-
* @param xFHCPassPhrase
|
|
872
|
-
* @param hcpLastName
|
|
873
|
-
* @param hcpFirstName
|
|
874
|
-
* @param hcpNihii
|
|
875
|
-
* @param hcpSsin
|
|
876
|
-
* @param hcpZip
|
|
877
|
-
* @param patientSsin
|
|
878
|
-
* @param hubPackageId
|
|
879
|
-
* @param patientEidCardNumber
|
|
880
|
-
* @param 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
|
|
912
|
-
* @param endpoint endpoint
|
|
913
|
-
* @param xFHCKeystoreId
|
|
914
|
-
* @param xFHCTokenId
|
|
915
|
-
* @param xFHCPassPhrase
|
|
916
|
-
* @param hcpLastName
|
|
917
|
-
* @param hcpFirstName
|
|
918
|
-
* @param hcpNihii
|
|
919
|
-
* @param hcpSsin
|
|
920
|
-
* @param hcpZip
|
|
921
|
-
* @param patientSsin
|
|
922
|
-
* @param hubPackageId
|
|
923
|
-
* @param patientEidCardNumber
|
|
924
|
-
* @param 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
|
|
956
|
-
* @param endpoint endpoint
|
|
957
|
-
* @param xFHCKeystoreId
|
|
958
|
-
* @param xFHCTokenId
|
|
959
|
-
* @param xFHCPassPhrase
|
|
960
|
-
* @param hcpLastName
|
|
961
|
-
* @param hcpFirstName
|
|
962
|
-
* @param hcpNihii
|
|
963
|
-
* @param hcpSsin
|
|
964
|
-
* @param hcpZip
|
|
965
|
-
* @param ssin
|
|
966
|
-
* @param sv
|
|
967
|
-
* @param sl
|
|
968
|
-
* @param id
|
|
969
|
-
* @param hubPackageId
|
|
970
|
-
* @param 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;
|