pet-backend-sdk 0.25.0 → 0.29.0
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/axios/api.d.ts +1332 -78
- package/axios/api.js +768 -79
- package/axios/api.js.map +1 -1
- package/package.json +1 -1
package/axios/api.js
CHANGED
|
@@ -167,9 +167,90 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
|
|
170
|
+
dicomUploadOptions: function (options) {
|
|
171
171
|
if (options === void 0) { options = {}; }
|
|
172
|
-
var localVarPath = "/
|
|
172
|
+
var localVarPath = "/dicom/upload";
|
|
173
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
174
|
+
var baseOptions;
|
|
175
|
+
if (configuration) {
|
|
176
|
+
baseOptions = configuration.baseOptions;
|
|
177
|
+
}
|
|
178
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
179
|
+
var localVarHeaderParameter = {};
|
|
180
|
+
var localVarQueryParameter = {};
|
|
181
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
182
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
183
|
+
delete localVarUrlObj.search;
|
|
184
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
185
|
+
return {
|
|
186
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @param {string} id The id of the examination
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
examinationIdOptions: function (id, options) {
|
|
197
|
+
if (options === void 0) { options = {}; }
|
|
198
|
+
// verify required parameter 'id' is not null or undefined
|
|
199
|
+
if (id === null || id === undefined) {
|
|
200
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling examinationIdOptions.');
|
|
201
|
+
}
|
|
202
|
+
var localVarPath = "/examination/{id}"
|
|
203
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
204
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
205
|
+
var baseOptions;
|
|
206
|
+
if (configuration) {
|
|
207
|
+
baseOptions = configuration.baseOptions;
|
|
208
|
+
}
|
|
209
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
210
|
+
var localVarHeaderParameter = {};
|
|
211
|
+
var localVarQueryParameter = {};
|
|
212
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
213
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
214
|
+
delete localVarUrlObj.search;
|
|
215
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
216
|
+
return {
|
|
217
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
218
|
+
options: localVarRequestOptions,
|
|
219
|
+
};
|
|
220
|
+
},
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
examinationOptions: function (options) {
|
|
227
|
+
if (options === void 0) { options = {}; }
|
|
228
|
+
var localVarPath = "/examination";
|
|
229
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
230
|
+
var baseOptions;
|
|
231
|
+
if (configuration) {
|
|
232
|
+
baseOptions = configuration.baseOptions;
|
|
233
|
+
}
|
|
234
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
235
|
+
var localVarHeaderParameter = {};
|
|
236
|
+
var localVarQueryParameter = {};
|
|
237
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
238
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
239
|
+
delete localVarUrlObj.search;
|
|
240
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
241
|
+
return {
|
|
242
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
243
|
+
options: localVarRequestOptions,
|
|
244
|
+
};
|
|
245
|
+
},
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
patientDocumentsDownloadMultipleOptions: function (options) {
|
|
252
|
+
if (options === void 0) { options = {}; }
|
|
253
|
+
var localVarPath = "/patient/documents/download/multiple";
|
|
173
254
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
174
255
|
var baseOptions;
|
|
175
256
|
if (configuration) {
|
|
@@ -387,8 +468,51 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
387
468
|
* @param {*} [options] Override http request option.
|
|
388
469
|
* @throws {RequiredError}
|
|
389
470
|
*/
|
|
390
|
-
|
|
391
|
-
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).
|
|
471
|
+
dicomUploadOptions: function (options) {
|
|
472
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).dicomUploadOptions(options);
|
|
473
|
+
return function (axios, basePath) {
|
|
474
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
475
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
476
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
477
|
+
return axios.request(axiosRequestArgs);
|
|
478
|
+
};
|
|
479
|
+
},
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @param {string} id The id of the examination
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
examinationIdOptions: function (id, options) {
|
|
487
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).examinationIdOptions(id, options);
|
|
488
|
+
return function (axios, basePath) {
|
|
489
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
490
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
491
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
492
|
+
return axios.request(axiosRequestArgs);
|
|
493
|
+
};
|
|
494
|
+
},
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
examinationOptions: function (options) {
|
|
501
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).examinationOptions(options);
|
|
502
|
+
return function (axios, basePath) {
|
|
503
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
504
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
505
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
506
|
+
return axios.request(axiosRequestArgs);
|
|
507
|
+
};
|
|
508
|
+
},
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
patientDocumentsDownloadMultipleOptions: function (options) {
|
|
515
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).patientDocumentsDownloadMultipleOptions(options);
|
|
392
516
|
return function (axios, basePath) {
|
|
393
517
|
if (axios === void 0) { axios = axios_1.default; }
|
|
394
518
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -508,8 +632,33 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
508
632
|
* @param {*} [options] Override http request option.
|
|
509
633
|
* @throws {RequiredError}
|
|
510
634
|
*/
|
|
511
|
-
|
|
512
|
-
return exports.DefaultApiFp(configuration).
|
|
635
|
+
dicomUploadOptions: function (options) {
|
|
636
|
+
return exports.DefaultApiFp(configuration).dicomUploadOptions(options)(axios, basePath);
|
|
637
|
+
},
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @param {string} id The id of the examination
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
examinationIdOptions: function (id, options) {
|
|
645
|
+
return exports.DefaultApiFp(configuration).examinationIdOptions(id, options)(axios, basePath);
|
|
646
|
+
},
|
|
647
|
+
/**
|
|
648
|
+
*
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
examinationOptions: function (options) {
|
|
653
|
+
return exports.DefaultApiFp(configuration).examinationOptions(options)(axios, basePath);
|
|
654
|
+
},
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
patientDocumentsDownloadMultipleOptions: function (options) {
|
|
661
|
+
return exports.DefaultApiFp(configuration).patientDocumentsDownloadMultipleOptions(options)(axios, basePath);
|
|
513
662
|
},
|
|
514
663
|
/**
|
|
515
664
|
*
|
|
@@ -602,8 +751,36 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
602
751
|
* @throws {RequiredError}
|
|
603
752
|
* @memberof DefaultApi
|
|
604
753
|
*/
|
|
605
|
-
DefaultApi.prototype.
|
|
606
|
-
return exports.DefaultApiFp(this.configuration).
|
|
754
|
+
DefaultApi.prototype.dicomUploadOptions = function (options) {
|
|
755
|
+
return exports.DefaultApiFp(this.configuration).dicomUploadOptions(options)(this.axios, this.basePath);
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @param {string} id The id of the examination
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
* @memberof DefaultApi
|
|
763
|
+
*/
|
|
764
|
+
DefaultApi.prototype.examinationIdOptions = function (id, options) {
|
|
765
|
+
return exports.DefaultApiFp(this.configuration).examinationIdOptions(id, options)(this.axios, this.basePath);
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
* @memberof DefaultApi
|
|
772
|
+
*/
|
|
773
|
+
DefaultApi.prototype.examinationOptions = function (options) {
|
|
774
|
+
return exports.DefaultApiFp(this.configuration).examinationOptions(options)(this.axios, this.basePath);
|
|
775
|
+
};
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
* @memberof DefaultApi
|
|
781
|
+
*/
|
|
782
|
+
DefaultApi.prototype.patientDocumentsDownloadMultipleOptions = function (options) {
|
|
783
|
+
return exports.DefaultApiFp(this.configuration).patientDocumentsDownloadMultipleOptions(options)(this.axios, this.basePath);
|
|
607
784
|
};
|
|
608
785
|
/**
|
|
609
786
|
*
|
|
@@ -662,6 +839,51 @@ exports.DefaultApi = DefaultApi;
|
|
|
662
839
|
*/
|
|
663
840
|
exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
664
841
|
return {
|
|
842
|
+
/**
|
|
843
|
+
* Create a examination
|
|
844
|
+
* @summary Create examination
|
|
845
|
+
* @param {CreateExaminationRequest} [createExaminationRequest]
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
addExamination: function (createExaminationRequest, options) {
|
|
850
|
+
if (options === void 0) { options = {}; }
|
|
851
|
+
var localVarPath = "/examination";
|
|
852
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
853
|
+
var baseOptions;
|
|
854
|
+
if (configuration) {
|
|
855
|
+
baseOptions = configuration.baseOptions;
|
|
856
|
+
}
|
|
857
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
858
|
+
var localVarHeaderParameter = {};
|
|
859
|
+
var localVarQueryParameter = {};
|
|
860
|
+
// authentication BearerAuth required
|
|
861
|
+
// http bearer authentication required
|
|
862
|
+
if (configuration && configuration.accessToken) {
|
|
863
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
864
|
+
? configuration.accessToken()
|
|
865
|
+
: configuration.accessToken;
|
|
866
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
867
|
+
}
|
|
868
|
+
// authentication custom-authorizer required
|
|
869
|
+
if (configuration && configuration.apiKey) {
|
|
870
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
871
|
+
? configuration.apiKey("Authorization")
|
|
872
|
+
: configuration.apiKey;
|
|
873
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
874
|
+
}
|
|
875
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
876
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
877
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
878
|
+
delete localVarUrlObj.search;
|
|
879
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
880
|
+
var needsSerialization = (typeof createExaminationRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
881
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(createExaminationRequest !== undefined ? createExaminationRequest : {}) : (createExaminationRequest || "");
|
|
882
|
+
return {
|
|
883
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
884
|
+
options: localVarRequestOptions,
|
|
885
|
+
};
|
|
886
|
+
},
|
|
665
887
|
/**
|
|
666
888
|
* Create a patient
|
|
667
889
|
* @summary Create patient
|
|
@@ -762,6 +984,53 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
762
984
|
options: localVarRequestOptions,
|
|
763
985
|
};
|
|
764
986
|
},
|
|
987
|
+
/**
|
|
988
|
+
*
|
|
989
|
+
* @summary Deletes examination
|
|
990
|
+
* @param {string} id The examination id
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
*/
|
|
994
|
+
deleteExamination: function (id, options) {
|
|
995
|
+
if (options === void 0) { options = {}; }
|
|
996
|
+
// verify required parameter 'id' is not null or undefined
|
|
997
|
+
if (id === null || id === undefined) {
|
|
998
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling deleteExamination.');
|
|
999
|
+
}
|
|
1000
|
+
var localVarPath = "/examination/{id}"
|
|
1001
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1002
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1003
|
+
var baseOptions;
|
|
1004
|
+
if (configuration) {
|
|
1005
|
+
baseOptions = configuration.baseOptions;
|
|
1006
|
+
}
|
|
1007
|
+
var localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
1008
|
+
var localVarHeaderParameter = {};
|
|
1009
|
+
var localVarQueryParameter = {};
|
|
1010
|
+
// authentication BearerAuth required
|
|
1011
|
+
// http bearer authentication required
|
|
1012
|
+
if (configuration && configuration.accessToken) {
|
|
1013
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1014
|
+
? configuration.accessToken()
|
|
1015
|
+
: configuration.accessToken;
|
|
1016
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1017
|
+
}
|
|
1018
|
+
// authentication custom-authorizer required
|
|
1019
|
+
if (configuration && configuration.apiKey) {
|
|
1020
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1021
|
+
? configuration.apiKey("Authorization")
|
|
1022
|
+
: configuration.apiKey;
|
|
1023
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1024
|
+
}
|
|
1025
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1026
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1027
|
+
delete localVarUrlObj.search;
|
|
1028
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1029
|
+
return {
|
|
1030
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1031
|
+
options: localVarRequestOptions,
|
|
1032
|
+
};
|
|
1033
|
+
},
|
|
765
1034
|
/**
|
|
766
1035
|
*
|
|
767
1036
|
* @summary Deletes patient
|
|
@@ -859,23 +1128,23 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
859
1128
|
/**
|
|
860
1129
|
*
|
|
861
1130
|
* @summary Download zip with multiple files
|
|
862
|
-
* @param {
|
|
1131
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
863
1132
|
* @param {*} [options] Override http request option.
|
|
864
1133
|
* @throws {RequiredError}
|
|
865
1134
|
*/
|
|
866
|
-
downloadMultipleFiles: function (
|
|
1135
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
867
1136
|
if (options === void 0) { options = {}; }
|
|
868
|
-
// verify required parameter '
|
|
869
|
-
if (
|
|
870
|
-
throw new base_1.RequiredError('
|
|
1137
|
+
// verify required parameter 'downloadMultipleFilesRequest' is not null or undefined
|
|
1138
|
+
if (downloadMultipleFilesRequest === null || downloadMultipleFilesRequest === undefined) {
|
|
1139
|
+
throw new base_1.RequiredError('downloadMultipleFilesRequest', 'Required parameter downloadMultipleFilesRequest was null or undefined when calling downloadMultipleFiles.');
|
|
871
1140
|
}
|
|
872
|
-
var localVarPath = "/patient/documents/download";
|
|
1141
|
+
var localVarPath = "/patient/documents/download/multiple";
|
|
873
1142
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
874
1143
|
var baseOptions;
|
|
875
1144
|
if (configuration) {
|
|
876
1145
|
baseOptions = configuration.baseOptions;
|
|
877
1146
|
}
|
|
878
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1147
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
879
1148
|
var localVarHeaderParameter = {};
|
|
880
1149
|
var localVarQueryParameter = {};
|
|
881
1150
|
// authentication BearerAuth required
|
|
@@ -898,8 +1167,8 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
898
1167
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
899
1168
|
delete localVarUrlObj.search;
|
|
900
1169
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
901
|
-
var needsSerialization = (typeof
|
|
902
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(
|
|
1170
|
+
var needsSerialization = (typeof downloadMultipleFilesRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1171
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(downloadMultipleFilesRequest !== undefined ? downloadMultipleFilesRequest : {}) : (downloadMultipleFilesRequest || "");
|
|
903
1172
|
return {
|
|
904
1173
|
url: globalImportUrl.format(localVarUrlObj),
|
|
905
1174
|
options: localVarRequestOptions,
|
|
@@ -954,13 +1223,197 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
954
1223
|
},
|
|
955
1224
|
/**
|
|
956
1225
|
*
|
|
957
|
-
* @summary Get data about
|
|
1226
|
+
* @summary Get data about Examination for patient
|
|
1227
|
+
* @param {string} patientId The patientId
|
|
1228
|
+
* @param {*} [options] Override http request option.
|
|
1229
|
+
* @throws {RequiredError}
|
|
1230
|
+
*/
|
|
1231
|
+
getAllExaminationForPatient: function (patientId, options) {
|
|
1232
|
+
if (options === void 0) { options = {}; }
|
|
1233
|
+
// verify required parameter 'patientId' is not null or undefined
|
|
1234
|
+
if (patientId === null || patientId === undefined) {
|
|
1235
|
+
throw new base_1.RequiredError('patientId', 'Required parameter patientId was null or undefined when calling getAllExaminationForPatient.');
|
|
1236
|
+
}
|
|
1237
|
+
var localVarPath = "/examination";
|
|
1238
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1239
|
+
var baseOptions;
|
|
1240
|
+
if (configuration) {
|
|
1241
|
+
baseOptions = configuration.baseOptions;
|
|
1242
|
+
}
|
|
1243
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1244
|
+
var localVarHeaderParameter = {};
|
|
1245
|
+
var localVarQueryParameter = {};
|
|
1246
|
+
// authentication BearerAuth required
|
|
1247
|
+
// http bearer authentication required
|
|
1248
|
+
if (configuration && configuration.accessToken) {
|
|
1249
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1250
|
+
? configuration.accessToken()
|
|
1251
|
+
: configuration.accessToken;
|
|
1252
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1253
|
+
}
|
|
1254
|
+
// authentication custom-authorizer required
|
|
1255
|
+
if (configuration && configuration.apiKey) {
|
|
1256
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1257
|
+
? configuration.apiKey("Authorization")
|
|
1258
|
+
: configuration.apiKey;
|
|
1259
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1260
|
+
}
|
|
1261
|
+
if (patientId !== undefined) {
|
|
1262
|
+
localVarQueryParameter['patientId'] = patientId;
|
|
1263
|
+
}
|
|
1264
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1265
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1266
|
+
delete localVarUrlObj.search;
|
|
1267
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1268
|
+
return {
|
|
1269
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1270
|
+
options: localVarRequestOptions,
|
|
1271
|
+
};
|
|
1272
|
+
},
|
|
1273
|
+
/**
|
|
1274
|
+
*
|
|
1275
|
+
* @summary Get data about patients
|
|
1276
|
+
* @param {*} [options] Override http request option.
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
*/
|
|
1279
|
+
getAllPatients: function (options) {
|
|
1280
|
+
if (options === void 0) { options = {}; }
|
|
1281
|
+
var localVarPath = "/patient";
|
|
1282
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1283
|
+
var baseOptions;
|
|
1284
|
+
if (configuration) {
|
|
1285
|
+
baseOptions = configuration.baseOptions;
|
|
1286
|
+
}
|
|
1287
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1288
|
+
var localVarHeaderParameter = {};
|
|
1289
|
+
var localVarQueryParameter = {};
|
|
1290
|
+
// authentication BearerAuth required
|
|
1291
|
+
// http bearer authentication required
|
|
1292
|
+
if (configuration && configuration.accessToken) {
|
|
1293
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1294
|
+
? configuration.accessToken()
|
|
1295
|
+
: configuration.accessToken;
|
|
1296
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1297
|
+
}
|
|
1298
|
+
// authentication custom-authorizer required
|
|
1299
|
+
if (configuration && configuration.apiKey) {
|
|
1300
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1301
|
+
? configuration.apiKey("Authorization")
|
|
1302
|
+
: configuration.apiKey;
|
|
1303
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1304
|
+
}
|
|
1305
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1306
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1307
|
+
delete localVarUrlObj.search;
|
|
1308
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1309
|
+
return {
|
|
1310
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1311
|
+
options: localVarRequestOptions,
|
|
1312
|
+
};
|
|
1313
|
+
},
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @summary Get all studies for one patient
|
|
1317
|
+
* @param {string} id The id of the patient
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
getAllStudies: function (id, options) {
|
|
1322
|
+
if (options === void 0) { options = {}; }
|
|
1323
|
+
// verify required parameter 'id' is not null or undefined
|
|
1324
|
+
if (id === null || id === undefined) {
|
|
1325
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getAllStudies.');
|
|
1326
|
+
}
|
|
1327
|
+
var localVarPath = "/dicom/{id}/all-studies"
|
|
1328
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1329
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1330
|
+
var baseOptions;
|
|
1331
|
+
if (configuration) {
|
|
1332
|
+
baseOptions = configuration.baseOptions;
|
|
1333
|
+
}
|
|
1334
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1335
|
+
var localVarHeaderParameter = {};
|
|
1336
|
+
var localVarQueryParameter = {};
|
|
1337
|
+
// authentication BearerAuth required
|
|
1338
|
+
// http bearer authentication required
|
|
1339
|
+
if (configuration && configuration.accessToken) {
|
|
1340
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1341
|
+
? configuration.accessToken()
|
|
1342
|
+
: configuration.accessToken;
|
|
1343
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1344
|
+
}
|
|
1345
|
+
// authentication custom-authorizer required
|
|
1346
|
+
if (configuration && configuration.apiKey) {
|
|
1347
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1348
|
+
? configuration.apiKey("Authorization")
|
|
1349
|
+
: configuration.apiKey;
|
|
1350
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1351
|
+
}
|
|
1352
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1353
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1354
|
+
delete localVarUrlObj.search;
|
|
1355
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1356
|
+
return {
|
|
1357
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1358
|
+
options: localVarRequestOptions,
|
|
1359
|
+
};
|
|
1360
|
+
},
|
|
1361
|
+
/**
|
|
1362
|
+
*
|
|
1363
|
+
* @summary Get all unassigned studies
|
|
1364
|
+
* @param {*} [options] Override http request option.
|
|
1365
|
+
* @throws {RequiredError}
|
|
1366
|
+
*/
|
|
1367
|
+
getAllUnassignedStudies: function (options) {
|
|
1368
|
+
if (options === void 0) { options = {}; }
|
|
1369
|
+
var localVarPath = "/dicom/unassigned-studies";
|
|
1370
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1371
|
+
var baseOptions;
|
|
1372
|
+
if (configuration) {
|
|
1373
|
+
baseOptions = configuration.baseOptions;
|
|
1374
|
+
}
|
|
1375
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1376
|
+
var localVarHeaderParameter = {};
|
|
1377
|
+
var localVarQueryParameter = {};
|
|
1378
|
+
// authentication BearerAuth required
|
|
1379
|
+
// http bearer authentication required
|
|
1380
|
+
if (configuration && configuration.accessToken) {
|
|
1381
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1382
|
+
? configuration.accessToken()
|
|
1383
|
+
: configuration.accessToken;
|
|
1384
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1385
|
+
}
|
|
1386
|
+
// authentication custom-authorizer required
|
|
1387
|
+
if (configuration && configuration.apiKey) {
|
|
1388
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1389
|
+
? configuration.apiKey("Authorization")
|
|
1390
|
+
: configuration.apiKey;
|
|
1391
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1392
|
+
}
|
|
1393
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1394
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1395
|
+
delete localVarUrlObj.search;
|
|
1396
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1397
|
+
return {
|
|
1398
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1399
|
+
options: localVarRequestOptions,
|
|
1400
|
+
};
|
|
1401
|
+
},
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @summary Get data about documents
|
|
1405
|
+
* @param {string} id The id of the patient
|
|
958
1406
|
* @param {*} [options] Override http request option.
|
|
959
1407
|
* @throws {RequiredError}
|
|
960
1408
|
*/
|
|
961
|
-
|
|
1409
|
+
getDocuments: function (id, options) {
|
|
962
1410
|
if (options === void 0) { options = {}; }
|
|
963
|
-
|
|
1411
|
+
// verify required parameter 'id' is not null or undefined
|
|
1412
|
+
if (id === null || id === undefined) {
|
|
1413
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getDocuments.');
|
|
1414
|
+
}
|
|
1415
|
+
var localVarPath = "/patient/{id}/documents"
|
|
1416
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
964
1417
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
965
1418
|
var baseOptions;
|
|
966
1419
|
if (configuration) {
|
|
@@ -995,18 +1448,18 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
995
1448
|
},
|
|
996
1449
|
/**
|
|
997
1450
|
*
|
|
998
|
-
* @summary Get
|
|
999
|
-
* @param {string} id The id of the
|
|
1451
|
+
* @summary Get data about Examination
|
|
1452
|
+
* @param {string} id The id of the examination
|
|
1000
1453
|
* @param {*} [options] Override http request option.
|
|
1001
1454
|
* @throws {RequiredError}
|
|
1002
1455
|
*/
|
|
1003
|
-
|
|
1456
|
+
getExamination: function (id, options) {
|
|
1004
1457
|
if (options === void 0) { options = {}; }
|
|
1005
1458
|
// verify required parameter 'id' is not null or undefined
|
|
1006
1459
|
if (id === null || id === undefined) {
|
|
1007
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1460
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getExamination.');
|
|
1008
1461
|
}
|
|
1009
|
-
var localVarPath = "/
|
|
1462
|
+
var localVarPath = "/examination/{id}"
|
|
1010
1463
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1011
1464
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1012
1465
|
var baseOptions;
|
|
@@ -1042,13 +1495,19 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1042
1495
|
},
|
|
1043
1496
|
/**
|
|
1044
1497
|
*
|
|
1045
|
-
* @summary Get
|
|
1498
|
+
* @summary Get data about patient
|
|
1499
|
+
* @param {string} id The id of the patient
|
|
1046
1500
|
* @param {*} [options] Override http request option.
|
|
1047
1501
|
* @throws {RequiredError}
|
|
1048
1502
|
*/
|
|
1049
|
-
|
|
1503
|
+
getPatient: function (id, options) {
|
|
1050
1504
|
if (options === void 0) { options = {}; }
|
|
1051
|
-
|
|
1505
|
+
// verify required parameter 'id' is not null or undefined
|
|
1506
|
+
if (id === null || id === undefined) {
|
|
1507
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getPatient.');
|
|
1508
|
+
}
|
|
1509
|
+
var localVarPath = "/patient/{id}"
|
|
1510
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1052
1511
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1053
1512
|
var baseOptions;
|
|
1054
1513
|
if (configuration) {
|
|
@@ -1082,26 +1541,25 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1082
1541
|
};
|
|
1083
1542
|
},
|
|
1084
1543
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @summary
|
|
1087
|
-
* @param {
|
|
1544
|
+
* Sending email with document
|
|
1545
|
+
* @summary Send email with patient document
|
|
1546
|
+
* @param {SendEmailRequest} sendEmailRequest
|
|
1088
1547
|
* @param {*} [options] Override http request option.
|
|
1089
1548
|
* @throws {RequiredError}
|
|
1090
1549
|
*/
|
|
1091
|
-
|
|
1550
|
+
sendEmail: function (sendEmailRequest, options) {
|
|
1092
1551
|
if (options === void 0) { options = {}; }
|
|
1093
|
-
// verify required parameter '
|
|
1094
|
-
if (
|
|
1095
|
-
throw new base_1.RequiredError('
|
|
1552
|
+
// verify required parameter 'sendEmailRequest' is not null or undefined
|
|
1553
|
+
if (sendEmailRequest === null || sendEmailRequest === undefined) {
|
|
1554
|
+
throw new base_1.RequiredError('sendEmailRequest', 'Required parameter sendEmailRequest was null or undefined when calling sendEmail.');
|
|
1096
1555
|
}
|
|
1097
|
-
var localVarPath = "/patient/
|
|
1098
|
-
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1556
|
+
var localVarPath = "/patient/send-email";
|
|
1099
1557
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1100
1558
|
var baseOptions;
|
|
1101
1559
|
if (configuration) {
|
|
1102
1560
|
baseOptions = configuration.baseOptions;
|
|
1103
1561
|
}
|
|
1104
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1562
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1105
1563
|
var localVarHeaderParameter = {};
|
|
1106
1564
|
var localVarQueryParameter = {};
|
|
1107
1565
|
// authentication BearerAuth required
|
|
@@ -1119,10 +1577,13 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1119
1577
|
: configuration.apiKey;
|
|
1120
1578
|
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1121
1579
|
}
|
|
1580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1122
1581
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1123
1582
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1124
1583
|
delete localVarUrlObj.search;
|
|
1125
1584
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1585
|
+
var needsSerialization = (typeof sendEmailRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1586
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(sendEmailRequest !== undefined ? sendEmailRequest : {}) : (sendEmailRequest || "");
|
|
1126
1587
|
return {
|
|
1127
1588
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1128
1589
|
options: localVarRequestOptions,
|
|
@@ -1130,25 +1591,26 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1130
1591
|
},
|
|
1131
1592
|
/**
|
|
1132
1593
|
*
|
|
1133
|
-
* @summary
|
|
1134
|
-
* @param {string} id The id of the
|
|
1594
|
+
* @summary Updates the examination
|
|
1595
|
+
* @param {string} id The id of the examination
|
|
1596
|
+
* @param {UpdateExaminationRequest} [updateExaminationRequest]
|
|
1135
1597
|
* @param {*} [options] Override http request option.
|
|
1136
1598
|
* @throws {RequiredError}
|
|
1137
1599
|
*/
|
|
1138
|
-
|
|
1600
|
+
updateExamination: function (id, updateExaminationRequest, options) {
|
|
1139
1601
|
if (options === void 0) { options = {}; }
|
|
1140
1602
|
// verify required parameter 'id' is not null or undefined
|
|
1141
1603
|
if (id === null || id === undefined) {
|
|
1142
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling
|
|
1604
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling updateExamination.');
|
|
1143
1605
|
}
|
|
1144
|
-
var localVarPath = "/
|
|
1606
|
+
var localVarPath = "/examination/{id}"
|
|
1145
1607
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1146
1608
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1147
1609
|
var baseOptions;
|
|
1148
1610
|
if (configuration) {
|
|
1149
1611
|
baseOptions = configuration.baseOptions;
|
|
1150
1612
|
}
|
|
1151
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1613
|
+
var localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1152
1614
|
var localVarHeaderParameter = {};
|
|
1153
1615
|
var localVarQueryParameter = {};
|
|
1154
1616
|
// authentication BearerAuth required
|
|
@@ -1166,35 +1628,40 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1166
1628
|
: configuration.apiKey;
|
|
1167
1629
|
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1168
1630
|
}
|
|
1631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1169
1632
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1170
1633
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1171
1634
|
delete localVarUrlObj.search;
|
|
1172
1635
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1636
|
+
var needsSerialization = (typeof updateExaminationRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1637
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(updateExaminationRequest !== undefined ? updateExaminationRequest : {}) : (updateExaminationRequest || "");
|
|
1173
1638
|
return {
|
|
1174
1639
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1175
1640
|
options: localVarRequestOptions,
|
|
1176
1641
|
};
|
|
1177
1642
|
},
|
|
1178
1643
|
/**
|
|
1179
|
-
*
|
|
1180
|
-
* @summary
|
|
1181
|
-
* @param {
|
|
1644
|
+
*
|
|
1645
|
+
* @summary Updates the patient
|
|
1646
|
+
* @param {string} id The id of the patient
|
|
1647
|
+
* @param {UpdatePatientRequest} [updatePatientRequest]
|
|
1182
1648
|
* @param {*} [options] Override http request option.
|
|
1183
1649
|
* @throws {RequiredError}
|
|
1184
1650
|
*/
|
|
1185
|
-
|
|
1651
|
+
updatePatientDetails: function (id, updatePatientRequest, options) {
|
|
1186
1652
|
if (options === void 0) { options = {}; }
|
|
1187
|
-
// verify required parameter '
|
|
1188
|
-
if (
|
|
1189
|
-
throw new base_1.RequiredError('
|
|
1653
|
+
// verify required parameter 'id' is not null or undefined
|
|
1654
|
+
if (id === null || id === undefined) {
|
|
1655
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling updatePatientDetails.');
|
|
1190
1656
|
}
|
|
1191
|
-
var localVarPath = "/patient/
|
|
1657
|
+
var localVarPath = "/patient/{id}"
|
|
1658
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1192
1659
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1193
1660
|
var baseOptions;
|
|
1194
1661
|
if (configuration) {
|
|
1195
1662
|
baseOptions = configuration.baseOptions;
|
|
1196
1663
|
}
|
|
1197
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1664
|
+
var localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
1198
1665
|
var localVarHeaderParameter = {};
|
|
1199
1666
|
var localVarQueryParameter = {};
|
|
1200
1667
|
// authentication BearerAuth required
|
|
@@ -1217,37 +1684,32 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1217
1684
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1218
1685
|
delete localVarUrlObj.search;
|
|
1219
1686
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1220
|
-
var needsSerialization = (typeof
|
|
1221
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(
|
|
1687
|
+
var needsSerialization = (typeof updatePatientRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1688
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(updatePatientRequest !== undefined ? updatePatientRequest : {}) : (updatePatientRequest || "");
|
|
1222
1689
|
return {
|
|
1223
1690
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1224
1691
|
options: localVarRequestOptions,
|
|
1225
1692
|
};
|
|
1226
1693
|
},
|
|
1227
1694
|
/**
|
|
1228
|
-
*
|
|
1229
|
-
* @summary
|
|
1230
|
-
* @param {
|
|
1231
|
-
* @param {UpdatePatientRequest} [updatePatientRequest]
|
|
1695
|
+
* Upload medical DICOM files
|
|
1696
|
+
* @summary Upload DICOM documents
|
|
1697
|
+
* @param {Array<any>} [files]
|
|
1232
1698
|
* @param {*} [options] Override http request option.
|
|
1233
1699
|
* @throws {RequiredError}
|
|
1234
1700
|
*/
|
|
1235
|
-
|
|
1701
|
+
uploadDICOMDocuments: function (files, options) {
|
|
1236
1702
|
if (options === void 0) { options = {}; }
|
|
1237
|
-
|
|
1238
|
-
if (id === null || id === undefined) {
|
|
1239
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling updatePatientDetails.');
|
|
1240
|
-
}
|
|
1241
|
-
var localVarPath = "/patient/{id}"
|
|
1242
|
-
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1703
|
+
var localVarPath = "/dicom/upload";
|
|
1243
1704
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1244
1705
|
var baseOptions;
|
|
1245
1706
|
if (configuration) {
|
|
1246
1707
|
baseOptions = configuration.baseOptions;
|
|
1247
1708
|
}
|
|
1248
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1709
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1249
1710
|
var localVarHeaderParameter = {};
|
|
1250
1711
|
var localVarQueryParameter = {};
|
|
1712
|
+
var localVarFormParams = new FormData();
|
|
1251
1713
|
// authentication BearerAuth required
|
|
1252
1714
|
// http bearer authentication required
|
|
1253
1715
|
if (configuration && configuration.accessToken) {
|
|
@@ -1263,13 +1725,15 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1263
1725
|
: configuration.apiKey;
|
|
1264
1726
|
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1265
1727
|
}
|
|
1266
|
-
|
|
1728
|
+
if (files) {
|
|
1729
|
+
localVarFormParams.append('files', files.join(base_1.COLLECTION_FORMATS.csv));
|
|
1730
|
+
}
|
|
1731
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1267
1732
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1268
1733
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1269
1734
|
delete localVarUrlObj.search;
|
|
1270
1735
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1271
|
-
|
|
1272
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(updatePatientRequest !== undefined ? updatePatientRequest : {}) : (updatePatientRequest || "");
|
|
1736
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1273
1737
|
return {
|
|
1274
1738
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1275
1739
|
options: localVarRequestOptions,
|
|
@@ -1337,6 +1801,22 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1337
1801
|
*/
|
|
1338
1802
|
exports.MsPetApiFp = function (configuration) {
|
|
1339
1803
|
return {
|
|
1804
|
+
/**
|
|
1805
|
+
* Create a examination
|
|
1806
|
+
* @summary Create examination
|
|
1807
|
+
* @param {CreateExaminationRequest} [createExaminationRequest]
|
|
1808
|
+
* @param {*} [options] Override http request option.
|
|
1809
|
+
* @throws {RequiredError}
|
|
1810
|
+
*/
|
|
1811
|
+
addExamination: function (createExaminationRequest, options) {
|
|
1812
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).addExamination(createExaminationRequest, options);
|
|
1813
|
+
return function (axios, basePath) {
|
|
1814
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1815
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1816
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1817
|
+
return axios.request(axiosRequestArgs);
|
|
1818
|
+
};
|
|
1819
|
+
},
|
|
1340
1820
|
/**
|
|
1341
1821
|
* Create a patient
|
|
1342
1822
|
* @summary Create patient
|
|
@@ -1370,6 +1850,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1370
1850
|
return axios.request(axiosRequestArgs);
|
|
1371
1851
|
};
|
|
1372
1852
|
},
|
|
1853
|
+
/**
|
|
1854
|
+
*
|
|
1855
|
+
* @summary Deletes examination
|
|
1856
|
+
* @param {string} id The examination id
|
|
1857
|
+
* @param {*} [options] Override http request option.
|
|
1858
|
+
* @throws {RequiredError}
|
|
1859
|
+
*/
|
|
1860
|
+
deleteExamination: function (id, options) {
|
|
1861
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).deleteExamination(id, options);
|
|
1862
|
+
return function (axios, basePath) {
|
|
1863
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1864
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1865
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1866
|
+
return axios.request(axiosRequestArgs);
|
|
1867
|
+
};
|
|
1868
|
+
},
|
|
1373
1869
|
/**
|
|
1374
1870
|
*
|
|
1375
1871
|
* @summary Deletes patient
|
|
@@ -1405,12 +1901,12 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1405
1901
|
/**
|
|
1406
1902
|
*
|
|
1407
1903
|
* @summary Download zip with multiple files
|
|
1408
|
-
* @param {
|
|
1904
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1409
1905
|
* @param {*} [options] Override http request option.
|
|
1410
1906
|
* @throws {RequiredError}
|
|
1411
1907
|
*/
|
|
1412
|
-
downloadMultipleFiles: function (
|
|
1413
|
-
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadMultipleFiles(
|
|
1908
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
1909
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options);
|
|
1414
1910
|
return function (axios, basePath) {
|
|
1415
1911
|
if (axios === void 0) { axios = axios_1.default; }
|
|
1416
1912
|
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
@@ -1434,6 +1930,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1434
1930
|
return axios.request(axiosRequestArgs);
|
|
1435
1931
|
};
|
|
1436
1932
|
},
|
|
1933
|
+
/**
|
|
1934
|
+
*
|
|
1935
|
+
* @summary Get data about Examination for patient
|
|
1936
|
+
* @param {string} patientId The patientId
|
|
1937
|
+
* @param {*} [options] Override http request option.
|
|
1938
|
+
* @throws {RequiredError}
|
|
1939
|
+
*/
|
|
1940
|
+
getAllExaminationForPatient: function (patientId, options) {
|
|
1941
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getAllExaminationForPatient(patientId, options);
|
|
1942
|
+
return function (axios, basePath) {
|
|
1943
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1944
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1945
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1946
|
+
return axios.request(axiosRequestArgs);
|
|
1947
|
+
};
|
|
1948
|
+
},
|
|
1437
1949
|
/**
|
|
1438
1950
|
*
|
|
1439
1951
|
* @summary Get data about patients
|
|
@@ -1496,6 +2008,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1496
2008
|
return axios.request(axiosRequestArgs);
|
|
1497
2009
|
};
|
|
1498
2010
|
},
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @summary Get data about Examination
|
|
2014
|
+
* @param {string} id The id of the examination
|
|
2015
|
+
* @param {*} [options] Override http request option.
|
|
2016
|
+
* @throws {RequiredError}
|
|
2017
|
+
*/
|
|
2018
|
+
getExamination: function (id, options) {
|
|
2019
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getExamination(id, options);
|
|
2020
|
+
return function (axios, basePath) {
|
|
2021
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2022
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2023
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2024
|
+
return axios.request(axiosRequestArgs);
|
|
2025
|
+
};
|
|
2026
|
+
},
|
|
1499
2027
|
/**
|
|
1500
2028
|
*
|
|
1501
2029
|
* @summary Get data about patient
|
|
@@ -1528,6 +2056,23 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1528
2056
|
return axios.request(axiosRequestArgs);
|
|
1529
2057
|
};
|
|
1530
2058
|
},
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @summary Updates the examination
|
|
2062
|
+
* @param {string} id The id of the examination
|
|
2063
|
+
* @param {UpdateExaminationRequest} [updateExaminationRequest]
|
|
2064
|
+
* @param {*} [options] Override http request option.
|
|
2065
|
+
* @throws {RequiredError}
|
|
2066
|
+
*/
|
|
2067
|
+
updateExamination: function (id, updateExaminationRequest, options) {
|
|
2068
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).updateExamination(id, updateExaminationRequest, options);
|
|
2069
|
+
return function (axios, basePath) {
|
|
2070
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2071
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2072
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2073
|
+
return axios.request(axiosRequestArgs);
|
|
2074
|
+
};
|
|
2075
|
+
},
|
|
1531
2076
|
/**
|
|
1532
2077
|
*
|
|
1533
2078
|
* @summary Updates the patient
|
|
@@ -1545,6 +2090,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1545
2090
|
return axios.request(axiosRequestArgs);
|
|
1546
2091
|
};
|
|
1547
2092
|
},
|
|
2093
|
+
/**
|
|
2094
|
+
* Upload medical DICOM files
|
|
2095
|
+
* @summary Upload DICOM documents
|
|
2096
|
+
* @param {Array<any>} [files]
|
|
2097
|
+
* @param {*} [options] Override http request option.
|
|
2098
|
+
* @throws {RequiredError}
|
|
2099
|
+
*/
|
|
2100
|
+
uploadDICOMDocuments: function (files, options) {
|
|
2101
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).uploadDICOMDocuments(files, options);
|
|
2102
|
+
return function (axios, basePath) {
|
|
2103
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
2104
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
2105
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
2106
|
+
return axios.request(axiosRequestArgs);
|
|
2107
|
+
};
|
|
2108
|
+
},
|
|
1548
2109
|
/**
|
|
1549
2110
|
* Upload medical examination files
|
|
1550
2111
|
* @summary Upload documents
|
|
@@ -1570,6 +2131,16 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1570
2131
|
*/
|
|
1571
2132
|
exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
1572
2133
|
return {
|
|
2134
|
+
/**
|
|
2135
|
+
* Create a examination
|
|
2136
|
+
* @summary Create examination
|
|
2137
|
+
* @param {CreateExaminationRequest} [createExaminationRequest]
|
|
2138
|
+
* @param {*} [options] Override http request option.
|
|
2139
|
+
* @throws {RequiredError}
|
|
2140
|
+
*/
|
|
2141
|
+
addExamination: function (createExaminationRequest, options) {
|
|
2142
|
+
return exports.MsPetApiFp(configuration).addExamination(createExaminationRequest, options)(axios, basePath);
|
|
2143
|
+
},
|
|
1573
2144
|
/**
|
|
1574
2145
|
* Create a patient
|
|
1575
2146
|
* @summary Create patient
|
|
@@ -1591,6 +2162,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1591
2162
|
deleteDocument: function (id, key, options) {
|
|
1592
2163
|
return exports.MsPetApiFp(configuration).deleteDocument(id, key, options)(axios, basePath);
|
|
1593
2164
|
},
|
|
2165
|
+
/**
|
|
2166
|
+
*
|
|
2167
|
+
* @summary Deletes examination
|
|
2168
|
+
* @param {string} id The examination id
|
|
2169
|
+
* @param {*} [options] Override http request option.
|
|
2170
|
+
* @throws {RequiredError}
|
|
2171
|
+
*/
|
|
2172
|
+
deleteExamination: function (id, options) {
|
|
2173
|
+
return exports.MsPetApiFp(configuration).deleteExamination(id, options)(axios, basePath);
|
|
2174
|
+
},
|
|
1594
2175
|
/**
|
|
1595
2176
|
*
|
|
1596
2177
|
* @summary Deletes patient
|
|
@@ -1614,12 +2195,12 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1614
2195
|
/**
|
|
1615
2196
|
*
|
|
1616
2197
|
* @summary Download zip with multiple files
|
|
1617
|
-
* @param {
|
|
2198
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1618
2199
|
* @param {*} [options] Override http request option.
|
|
1619
2200
|
* @throws {RequiredError}
|
|
1620
2201
|
*/
|
|
1621
|
-
downloadMultipleFiles: function (
|
|
1622
|
-
return exports.MsPetApiFp(configuration).downloadMultipleFiles(
|
|
2202
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
2203
|
+
return exports.MsPetApiFp(configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options)(axios, basePath);
|
|
1623
2204
|
},
|
|
1624
2205
|
/**
|
|
1625
2206
|
*
|
|
@@ -1631,6 +2212,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1631
2212
|
downloadStudy: function (id, options) {
|
|
1632
2213
|
return exports.MsPetApiFp(configuration).downloadStudy(id, options)(axios, basePath);
|
|
1633
2214
|
},
|
|
2215
|
+
/**
|
|
2216
|
+
*
|
|
2217
|
+
* @summary Get data about Examination for patient
|
|
2218
|
+
* @param {string} patientId The patientId
|
|
2219
|
+
* @param {*} [options] Override http request option.
|
|
2220
|
+
* @throws {RequiredError}
|
|
2221
|
+
*/
|
|
2222
|
+
getAllExaminationForPatient: function (patientId, options) {
|
|
2223
|
+
return exports.MsPetApiFp(configuration).getAllExaminationForPatient(patientId, options)(axios, basePath);
|
|
2224
|
+
},
|
|
1634
2225
|
/**
|
|
1635
2226
|
*
|
|
1636
2227
|
* @summary Get data about patients
|
|
@@ -1669,6 +2260,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1669
2260
|
getDocuments: function (id, options) {
|
|
1670
2261
|
return exports.MsPetApiFp(configuration).getDocuments(id, options)(axios, basePath);
|
|
1671
2262
|
},
|
|
2263
|
+
/**
|
|
2264
|
+
*
|
|
2265
|
+
* @summary Get data about Examination
|
|
2266
|
+
* @param {string} id The id of the examination
|
|
2267
|
+
* @param {*} [options] Override http request option.
|
|
2268
|
+
* @throws {RequiredError}
|
|
2269
|
+
*/
|
|
2270
|
+
getExamination: function (id, options) {
|
|
2271
|
+
return exports.MsPetApiFp(configuration).getExamination(id, options)(axios, basePath);
|
|
2272
|
+
},
|
|
1672
2273
|
/**
|
|
1673
2274
|
*
|
|
1674
2275
|
* @summary Get data about patient
|
|
@@ -1689,6 +2290,17 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1689
2290
|
sendEmail: function (sendEmailRequest, options) {
|
|
1690
2291
|
return exports.MsPetApiFp(configuration).sendEmail(sendEmailRequest, options)(axios, basePath);
|
|
1691
2292
|
},
|
|
2293
|
+
/**
|
|
2294
|
+
*
|
|
2295
|
+
* @summary Updates the examination
|
|
2296
|
+
* @param {string} id The id of the examination
|
|
2297
|
+
* @param {UpdateExaminationRequest} [updateExaminationRequest]
|
|
2298
|
+
* @param {*} [options] Override http request option.
|
|
2299
|
+
* @throws {RequiredError}
|
|
2300
|
+
*/
|
|
2301
|
+
updateExamination: function (id, updateExaminationRequest, options) {
|
|
2302
|
+
return exports.MsPetApiFp(configuration).updateExamination(id, updateExaminationRequest, options)(axios, basePath);
|
|
2303
|
+
},
|
|
1692
2304
|
/**
|
|
1693
2305
|
*
|
|
1694
2306
|
* @summary Updates the patient
|
|
@@ -1700,6 +2312,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1700
2312
|
updatePatientDetails: function (id, updatePatientRequest, options) {
|
|
1701
2313
|
return exports.MsPetApiFp(configuration).updatePatientDetails(id, updatePatientRequest, options)(axios, basePath);
|
|
1702
2314
|
},
|
|
2315
|
+
/**
|
|
2316
|
+
* Upload medical DICOM files
|
|
2317
|
+
* @summary Upload DICOM documents
|
|
2318
|
+
* @param {Array<any>} [files]
|
|
2319
|
+
* @param {*} [options] Override http request option.
|
|
2320
|
+
* @throws {RequiredError}
|
|
2321
|
+
*/
|
|
2322
|
+
uploadDICOMDocuments: function (files, options) {
|
|
2323
|
+
return exports.MsPetApiFp(configuration).uploadDICOMDocuments(files, options)(axios, basePath);
|
|
2324
|
+
},
|
|
1703
2325
|
/**
|
|
1704
2326
|
* Upload medical examination files
|
|
1705
2327
|
* @summary Upload documents
|
|
@@ -1724,6 +2346,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1724
2346
|
function MsPetApi() {
|
|
1725
2347
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1726
2348
|
}
|
|
2349
|
+
/**
|
|
2350
|
+
* Create a examination
|
|
2351
|
+
* @summary Create examination
|
|
2352
|
+
* @param {CreateExaminationRequest} [createExaminationRequest]
|
|
2353
|
+
* @param {*} [options] Override http request option.
|
|
2354
|
+
* @throws {RequiredError}
|
|
2355
|
+
* @memberof MsPetApi
|
|
2356
|
+
*/
|
|
2357
|
+
MsPetApi.prototype.addExamination = function (createExaminationRequest, options) {
|
|
2358
|
+
return exports.MsPetApiFp(this.configuration).addExamination(createExaminationRequest, options)(this.axios, this.basePath);
|
|
2359
|
+
};
|
|
1727
2360
|
/**
|
|
1728
2361
|
* Create a patient
|
|
1729
2362
|
* @summary Create patient
|
|
@@ -1747,6 +2380,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1747
2380
|
MsPetApi.prototype.deleteDocument = function (id, key, options) {
|
|
1748
2381
|
return exports.MsPetApiFp(this.configuration).deleteDocument(id, key, options)(this.axios, this.basePath);
|
|
1749
2382
|
};
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @summary Deletes examination
|
|
2386
|
+
* @param {string} id The examination id
|
|
2387
|
+
* @param {*} [options] Override http request option.
|
|
2388
|
+
* @throws {RequiredError}
|
|
2389
|
+
* @memberof MsPetApi
|
|
2390
|
+
*/
|
|
2391
|
+
MsPetApi.prototype.deleteExamination = function (id, options) {
|
|
2392
|
+
return exports.MsPetApiFp(this.configuration).deleteExamination(id, options)(this.axios, this.basePath);
|
|
2393
|
+
};
|
|
1750
2394
|
/**
|
|
1751
2395
|
*
|
|
1752
2396
|
* @summary Deletes patient
|
|
@@ -1772,13 +2416,13 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1772
2416
|
/**
|
|
1773
2417
|
*
|
|
1774
2418
|
* @summary Download zip with multiple files
|
|
1775
|
-
* @param {
|
|
2419
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1776
2420
|
* @param {*} [options] Override http request option.
|
|
1777
2421
|
* @throws {RequiredError}
|
|
1778
2422
|
* @memberof MsPetApi
|
|
1779
2423
|
*/
|
|
1780
|
-
MsPetApi.prototype.downloadMultipleFiles = function (
|
|
1781
|
-
return exports.MsPetApiFp(this.configuration).downloadMultipleFiles(
|
|
2424
|
+
MsPetApi.prototype.downloadMultipleFiles = function (downloadMultipleFilesRequest, options) {
|
|
2425
|
+
return exports.MsPetApiFp(this.configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options)(this.axios, this.basePath);
|
|
1782
2426
|
};
|
|
1783
2427
|
/**
|
|
1784
2428
|
*
|
|
@@ -1791,6 +2435,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1791
2435
|
MsPetApi.prototype.downloadStudy = function (id, options) {
|
|
1792
2436
|
return exports.MsPetApiFp(this.configuration).downloadStudy(id, options)(this.axios, this.basePath);
|
|
1793
2437
|
};
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
* @summary Get data about Examination for patient
|
|
2441
|
+
* @param {string} patientId The patientId
|
|
2442
|
+
* @param {*} [options] Override http request option.
|
|
2443
|
+
* @throws {RequiredError}
|
|
2444
|
+
* @memberof MsPetApi
|
|
2445
|
+
*/
|
|
2446
|
+
MsPetApi.prototype.getAllExaminationForPatient = function (patientId, options) {
|
|
2447
|
+
return exports.MsPetApiFp(this.configuration).getAllExaminationForPatient(patientId, options)(this.axios, this.basePath);
|
|
2448
|
+
};
|
|
1794
2449
|
/**
|
|
1795
2450
|
*
|
|
1796
2451
|
* @summary Get data about patients
|
|
@@ -1833,6 +2488,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1833
2488
|
MsPetApi.prototype.getDocuments = function (id, options) {
|
|
1834
2489
|
return exports.MsPetApiFp(this.configuration).getDocuments(id, options)(this.axios, this.basePath);
|
|
1835
2490
|
};
|
|
2491
|
+
/**
|
|
2492
|
+
*
|
|
2493
|
+
* @summary Get data about Examination
|
|
2494
|
+
* @param {string} id The id of the examination
|
|
2495
|
+
* @param {*} [options] Override http request option.
|
|
2496
|
+
* @throws {RequiredError}
|
|
2497
|
+
* @memberof MsPetApi
|
|
2498
|
+
*/
|
|
2499
|
+
MsPetApi.prototype.getExamination = function (id, options) {
|
|
2500
|
+
return exports.MsPetApiFp(this.configuration).getExamination(id, options)(this.axios, this.basePath);
|
|
2501
|
+
};
|
|
1836
2502
|
/**
|
|
1837
2503
|
*
|
|
1838
2504
|
* @summary Get data about patient
|
|
@@ -1855,6 +2521,18 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1855
2521
|
MsPetApi.prototype.sendEmail = function (sendEmailRequest, options) {
|
|
1856
2522
|
return exports.MsPetApiFp(this.configuration).sendEmail(sendEmailRequest, options)(this.axios, this.basePath);
|
|
1857
2523
|
};
|
|
2524
|
+
/**
|
|
2525
|
+
*
|
|
2526
|
+
* @summary Updates the examination
|
|
2527
|
+
* @param {string} id The id of the examination
|
|
2528
|
+
* @param {UpdateExaminationRequest} [updateExaminationRequest]
|
|
2529
|
+
* @param {*} [options] Override http request option.
|
|
2530
|
+
* @throws {RequiredError}
|
|
2531
|
+
* @memberof MsPetApi
|
|
2532
|
+
*/
|
|
2533
|
+
MsPetApi.prototype.updateExamination = function (id, updateExaminationRequest, options) {
|
|
2534
|
+
return exports.MsPetApiFp(this.configuration).updateExamination(id, updateExaminationRequest, options)(this.axios, this.basePath);
|
|
2535
|
+
};
|
|
1858
2536
|
/**
|
|
1859
2537
|
*
|
|
1860
2538
|
* @summary Updates the patient
|
|
@@ -1867,6 +2545,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1867
2545
|
MsPetApi.prototype.updatePatientDetails = function (id, updatePatientRequest, options) {
|
|
1868
2546
|
return exports.MsPetApiFp(this.configuration).updatePatientDetails(id, updatePatientRequest, options)(this.axios, this.basePath);
|
|
1869
2547
|
};
|
|
2548
|
+
/**
|
|
2549
|
+
* Upload medical DICOM files
|
|
2550
|
+
* @summary Upload DICOM documents
|
|
2551
|
+
* @param {Array<any>} [files]
|
|
2552
|
+
* @param {*} [options] Override http request option.
|
|
2553
|
+
* @throws {RequiredError}
|
|
2554
|
+
* @memberof MsPetApi
|
|
2555
|
+
*/
|
|
2556
|
+
MsPetApi.prototype.uploadDICOMDocuments = function (files, options) {
|
|
2557
|
+
return exports.MsPetApiFp(this.configuration).uploadDICOMDocuments(files, options)(this.axios, this.basePath);
|
|
2558
|
+
};
|
|
1870
2559
|
/**
|
|
1871
2560
|
* Upload medical examination files
|
|
1872
2561
|
* @summary Upload documents
|