pet-backend-sdk 0.23.0 → 0.28.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 +1390 -11
- package/axios/api.js +1006 -44
- package/axios/api.js.map +1 -1
- package/package.json +1 -1
package/axios/api.js
CHANGED
|
@@ -137,6 +137,137 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
137
137
|
options: localVarRequestOptions,
|
|
138
138
|
};
|
|
139
139
|
},
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
dicomUnassignedStudiesOptions: function (options) {
|
|
146
|
+
if (options === void 0) { options = {}; }
|
|
147
|
+
var localVarPath = "/dicom/unassigned-studies";
|
|
148
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
149
|
+
var baseOptions;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
}
|
|
153
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
154
|
+
var localVarHeaderParameter = {};
|
|
155
|
+
var localVarQueryParameter = {};
|
|
156
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
157
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
158
|
+
delete localVarUrlObj.search;
|
|
159
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
160
|
+
return {
|
|
161
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
162
|
+
options: localVarRequestOptions,
|
|
163
|
+
};
|
|
164
|
+
},
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
dicomUploadOptions: function (options) {
|
|
171
|
+
if (options === void 0) { options = {}; }
|
|
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";
|
|
254
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
255
|
+
var baseOptions;
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
}
|
|
259
|
+
var localVarRequestOptions = __assign(__assign({ method: 'OPTIONS' }, baseOptions), options);
|
|
260
|
+
var localVarHeaderParameter = {};
|
|
261
|
+
var localVarQueryParameter = {};
|
|
262
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
263
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
264
|
+
delete localVarUrlObj.search;
|
|
265
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
266
|
+
return {
|
|
267
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
268
|
+
options: localVarRequestOptions,
|
|
269
|
+
};
|
|
270
|
+
},
|
|
140
271
|
/**
|
|
141
272
|
*
|
|
142
273
|
* @param {string} key The key of the document
|
|
@@ -318,6 +449,77 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
318
449
|
return axios.request(axiosRequestArgs);
|
|
319
450
|
};
|
|
320
451
|
},
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @param {*} [options] Override http request option.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
dicomUnassignedStudiesOptions: function (options) {
|
|
458
|
+
var localVarAxiosArgs = exports.DefaultApiAxiosParamCreator(configuration).dicomUnassignedStudiesOptions(options);
|
|
459
|
+
return function (axios, basePath) {
|
|
460
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
461
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
462
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
463
|
+
return axios.request(axiosRequestArgs);
|
|
464
|
+
};
|
|
465
|
+
},
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
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);
|
|
516
|
+
return function (axios, basePath) {
|
|
517
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
518
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
519
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
520
|
+
return axios.request(axiosRequestArgs);
|
|
521
|
+
};
|
|
522
|
+
},
|
|
321
523
|
/**
|
|
322
524
|
*
|
|
323
525
|
* @param {string} key The key of the document
|
|
@@ -417,6 +619,47 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
417
619
|
dicomIdDownloadOptions: function (id, options) {
|
|
418
620
|
return exports.DefaultApiFp(configuration).dicomIdDownloadOptions(id, options)(axios, basePath);
|
|
419
621
|
},
|
|
622
|
+
/**
|
|
623
|
+
*
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
dicomUnassignedStudiesOptions: function (options) {
|
|
628
|
+
return exports.DefaultApiFp(configuration).dicomUnassignedStudiesOptions(options)(axios, basePath);
|
|
629
|
+
},
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
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);
|
|
662
|
+
},
|
|
420
663
|
/**
|
|
421
664
|
*
|
|
422
665
|
* @param {string} key The key of the document
|
|
@@ -493,6 +736,52 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
493
736
|
DefaultApi.prototype.dicomIdDownloadOptions = function (id, options) {
|
|
494
737
|
return exports.DefaultApiFp(this.configuration).dicomIdDownloadOptions(id, options)(this.axios, this.basePath);
|
|
495
738
|
};
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @param {*} [options] Override http request option.
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
* @memberof DefaultApi
|
|
744
|
+
*/
|
|
745
|
+
DefaultApi.prototype.dicomUnassignedStudiesOptions = function (options) {
|
|
746
|
+
return exports.DefaultApiFp(this.configuration).dicomUnassignedStudiesOptions(options)(this.axios, this.basePath);
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
*
|
|
750
|
+
* @param {*} [options] Override http request option.
|
|
751
|
+
* @throws {RequiredError}
|
|
752
|
+
* @memberof DefaultApi
|
|
753
|
+
*/
|
|
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);
|
|
784
|
+
};
|
|
496
785
|
/**
|
|
497
786
|
*
|
|
498
787
|
* @param {string} key The key of the document
|
|
@@ -551,15 +840,15 @@ exports.DefaultApi = DefaultApi;
|
|
|
551
840
|
exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
552
841
|
return {
|
|
553
842
|
/**
|
|
554
|
-
* Create a
|
|
555
|
-
* @summary Create
|
|
556
|
-
* @param {
|
|
843
|
+
* Create a examination
|
|
844
|
+
* @summary Create examination
|
|
845
|
+
* @param {CreateExaminationRequest} [createExaminationRequest]
|
|
557
846
|
* @param {*} [options] Override http request option.
|
|
558
847
|
* @throws {RequiredError}
|
|
559
848
|
*/
|
|
560
|
-
|
|
849
|
+
addExamination: function (createExaminationRequest, options) {
|
|
561
850
|
if (options === void 0) { options = {}; }
|
|
562
|
-
var localVarPath = "/
|
|
851
|
+
var localVarPath = "/examination";
|
|
563
852
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
564
853
|
var baseOptions;
|
|
565
854
|
if (configuration) {
|
|
@@ -588,19 +877,64 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
588
877
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
589
878
|
delete localVarUrlObj.search;
|
|
590
879
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
591
|
-
var needsSerialization = (typeof
|
|
592
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(
|
|
880
|
+
var needsSerialization = (typeof createExaminationRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
881
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(createExaminationRequest !== undefined ? createExaminationRequest : {}) : (createExaminationRequest || "");
|
|
593
882
|
return {
|
|
594
883
|
url: globalImportUrl.format(localVarUrlObj),
|
|
595
884
|
options: localVarRequestOptions,
|
|
596
885
|
};
|
|
597
886
|
},
|
|
598
887
|
/**
|
|
599
|
-
*
|
|
600
|
-
* @summary
|
|
601
|
-
* @param {
|
|
602
|
-
* @param {
|
|
603
|
-
* @
|
|
888
|
+
* Create a patient
|
|
889
|
+
* @summary Create patient
|
|
890
|
+
* @param {CreatePatientRequest} [createPatientRequest]
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
addPatient: function (createPatientRequest, options) {
|
|
895
|
+
if (options === void 0) { options = {}; }
|
|
896
|
+
var localVarPath = "/patient";
|
|
897
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
898
|
+
var baseOptions;
|
|
899
|
+
if (configuration) {
|
|
900
|
+
baseOptions = configuration.baseOptions;
|
|
901
|
+
}
|
|
902
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
903
|
+
var localVarHeaderParameter = {};
|
|
904
|
+
var localVarQueryParameter = {};
|
|
905
|
+
// authentication BearerAuth required
|
|
906
|
+
// http bearer authentication required
|
|
907
|
+
if (configuration && configuration.accessToken) {
|
|
908
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
909
|
+
? configuration.accessToken()
|
|
910
|
+
: configuration.accessToken;
|
|
911
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
912
|
+
}
|
|
913
|
+
// authentication custom-authorizer required
|
|
914
|
+
if (configuration && configuration.apiKey) {
|
|
915
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
916
|
+
? configuration.apiKey("Authorization")
|
|
917
|
+
: configuration.apiKey;
|
|
918
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
919
|
+
}
|
|
920
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
921
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
922
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
923
|
+
delete localVarUrlObj.search;
|
|
924
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
925
|
+
var needsSerialization = (typeof createPatientRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
926
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(createPatientRequest !== undefined ? createPatientRequest : {}) : (createPatientRequest || "");
|
|
927
|
+
return {
|
|
928
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
929
|
+
options: localVarRequestOptions,
|
|
930
|
+
};
|
|
931
|
+
},
|
|
932
|
+
/**
|
|
933
|
+
*
|
|
934
|
+
* @summary Deletes document
|
|
935
|
+
* @param {string} id The id of the patient
|
|
936
|
+
* @param {string} key The key of the document
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
604
938
|
* @throws {RequiredError}
|
|
605
939
|
*/
|
|
606
940
|
deleteDocument: function (id, key, options) {
|
|
@@ -650,6 +984,53 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
650
984
|
options: localVarRequestOptions,
|
|
651
985
|
};
|
|
652
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
|
+
},
|
|
653
1034
|
/**
|
|
654
1035
|
*
|
|
655
1036
|
* @summary Deletes patient
|
|
@@ -744,6 +1125,55 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
744
1125
|
options: localVarRequestOptions,
|
|
745
1126
|
};
|
|
746
1127
|
},
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @summary Download zip with multiple files
|
|
1131
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
*/
|
|
1135
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
1136
|
+
if (options === void 0) { options = {}; }
|
|
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.');
|
|
1140
|
+
}
|
|
1141
|
+
var localVarPath = "/patient/documents/download/multiple";
|
|
1142
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1143
|
+
var baseOptions;
|
|
1144
|
+
if (configuration) {
|
|
1145
|
+
baseOptions = configuration.baseOptions;
|
|
1146
|
+
}
|
|
1147
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1148
|
+
var localVarHeaderParameter = {};
|
|
1149
|
+
var localVarQueryParameter = {};
|
|
1150
|
+
// authentication BearerAuth required
|
|
1151
|
+
// http bearer authentication required
|
|
1152
|
+
if (configuration && configuration.accessToken) {
|
|
1153
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1154
|
+
? configuration.accessToken()
|
|
1155
|
+
: configuration.accessToken;
|
|
1156
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1157
|
+
}
|
|
1158
|
+
// authentication custom-authorizer required
|
|
1159
|
+
if (configuration && configuration.apiKey) {
|
|
1160
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1161
|
+
? configuration.apiKey("Authorization")
|
|
1162
|
+
: configuration.apiKey;
|
|
1163
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1164
|
+
}
|
|
1165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1166
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1167
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1168
|
+
delete localVarUrlObj.search;
|
|
1169
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1170
|
+
var needsSerialization = (typeof downloadMultipleFilesRequest !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
1171
|
+
localVarRequestOptions.data = needsSerialization ? JSON.stringify(downloadMultipleFilesRequest !== undefined ? downloadMultipleFilesRequest : {}) : (downloadMultipleFilesRequest || "");
|
|
1172
|
+
return {
|
|
1173
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1174
|
+
options: localVarRequestOptions,
|
|
1175
|
+
};
|
|
1176
|
+
},
|
|
747
1177
|
/**
|
|
748
1178
|
*
|
|
749
1179
|
* @summary Download study dicom
|
|
@@ -791,6 +1221,55 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
791
1221
|
options: localVarRequestOptions,
|
|
792
1222
|
};
|
|
793
1223
|
},
|
|
1224
|
+
/**
|
|
1225
|
+
*
|
|
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
|
+
},
|
|
794
1273
|
/**
|
|
795
1274
|
*
|
|
796
1275
|
* @summary Get data about patients
|
|
@@ -879,6 +1358,47 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
879
1358
|
options: localVarRequestOptions,
|
|
880
1359
|
};
|
|
881
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
|
+
},
|
|
882
1402
|
/**
|
|
883
1403
|
*
|
|
884
1404
|
* @summary Get data about documents
|
|
@@ -928,25 +1448,169 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
928
1448
|
},
|
|
929
1449
|
/**
|
|
930
1450
|
*
|
|
931
|
-
* @summary Get data about
|
|
932
|
-
* @param {string} id The id of the
|
|
1451
|
+
* @summary Get data about Examination
|
|
1452
|
+
* @param {string} id The id of the examination
|
|
1453
|
+
* @param {*} [options] Override http request option.
|
|
1454
|
+
* @throws {RequiredError}
|
|
1455
|
+
*/
|
|
1456
|
+
getExamination: function (id, options) {
|
|
1457
|
+
if (options === void 0) { options = {}; }
|
|
1458
|
+
// verify required parameter 'id' is not null or undefined
|
|
1459
|
+
if (id === null || id === undefined) {
|
|
1460
|
+
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling getExamination.');
|
|
1461
|
+
}
|
|
1462
|
+
var localVarPath = "/examination/{id}"
|
|
1463
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1464
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1465
|
+
var baseOptions;
|
|
1466
|
+
if (configuration) {
|
|
1467
|
+
baseOptions = configuration.baseOptions;
|
|
1468
|
+
}
|
|
1469
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1470
|
+
var localVarHeaderParameter = {};
|
|
1471
|
+
var localVarQueryParameter = {};
|
|
1472
|
+
// authentication BearerAuth required
|
|
1473
|
+
// http bearer authentication required
|
|
1474
|
+
if (configuration && configuration.accessToken) {
|
|
1475
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1476
|
+
? configuration.accessToken()
|
|
1477
|
+
: configuration.accessToken;
|
|
1478
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1479
|
+
}
|
|
1480
|
+
// authentication custom-authorizer required
|
|
1481
|
+
if (configuration && configuration.apiKey) {
|
|
1482
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1483
|
+
? configuration.apiKey("Authorization")
|
|
1484
|
+
: configuration.apiKey;
|
|
1485
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1486
|
+
}
|
|
1487
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1488
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1489
|
+
delete localVarUrlObj.search;
|
|
1490
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1491
|
+
return {
|
|
1492
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1493
|
+
options: localVarRequestOptions,
|
|
1494
|
+
};
|
|
1495
|
+
},
|
|
1496
|
+
/**
|
|
1497
|
+
*
|
|
1498
|
+
* @summary Get data about patient
|
|
1499
|
+
* @param {string} id The id of the patient
|
|
1500
|
+
* @param {*} [options] Override http request option.
|
|
1501
|
+
* @throws {RequiredError}
|
|
1502
|
+
*/
|
|
1503
|
+
getPatient: function (id, options) {
|
|
1504
|
+
if (options === void 0) { options = {}; }
|
|
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)));
|
|
1511
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1512
|
+
var baseOptions;
|
|
1513
|
+
if (configuration) {
|
|
1514
|
+
baseOptions = configuration.baseOptions;
|
|
1515
|
+
}
|
|
1516
|
+
var localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1517
|
+
var localVarHeaderParameter = {};
|
|
1518
|
+
var localVarQueryParameter = {};
|
|
1519
|
+
// authentication BearerAuth required
|
|
1520
|
+
// http bearer authentication required
|
|
1521
|
+
if (configuration && configuration.accessToken) {
|
|
1522
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1523
|
+
? configuration.accessToken()
|
|
1524
|
+
: configuration.accessToken;
|
|
1525
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1526
|
+
}
|
|
1527
|
+
// authentication custom-authorizer required
|
|
1528
|
+
if (configuration && configuration.apiKey) {
|
|
1529
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1530
|
+
? configuration.apiKey("Authorization")
|
|
1531
|
+
: configuration.apiKey;
|
|
1532
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1533
|
+
}
|
|
1534
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1535
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1536
|
+
delete localVarUrlObj.search;
|
|
1537
|
+
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1538
|
+
return {
|
|
1539
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1540
|
+
options: localVarRequestOptions,
|
|
1541
|
+
};
|
|
1542
|
+
},
|
|
1543
|
+
/**
|
|
1544
|
+
* Sending email with document
|
|
1545
|
+
* @summary Send email with patient document
|
|
1546
|
+
* @param {SendEmailRequest} sendEmailRequest
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
sendEmail: function (sendEmailRequest, options) {
|
|
1551
|
+
if (options === void 0) { options = {}; }
|
|
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.');
|
|
1555
|
+
}
|
|
1556
|
+
var localVarPath = "/patient/send-email";
|
|
1557
|
+
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1558
|
+
var baseOptions;
|
|
1559
|
+
if (configuration) {
|
|
1560
|
+
baseOptions = configuration.baseOptions;
|
|
1561
|
+
}
|
|
1562
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1563
|
+
var localVarHeaderParameter = {};
|
|
1564
|
+
var localVarQueryParameter = {};
|
|
1565
|
+
// authentication BearerAuth required
|
|
1566
|
+
// http bearer authentication required
|
|
1567
|
+
if (configuration && configuration.accessToken) {
|
|
1568
|
+
var accessToken = typeof configuration.accessToken === 'function'
|
|
1569
|
+
? configuration.accessToken()
|
|
1570
|
+
: configuration.accessToken;
|
|
1571
|
+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
1572
|
+
}
|
|
1573
|
+
// authentication custom-authorizer required
|
|
1574
|
+
if (configuration && configuration.apiKey) {
|
|
1575
|
+
var localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
1576
|
+
? configuration.apiKey("Authorization")
|
|
1577
|
+
: configuration.apiKey;
|
|
1578
|
+
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1579
|
+
}
|
|
1580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1581
|
+
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1582
|
+
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1583
|
+
delete localVarUrlObj.search;
|
|
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 || "");
|
|
1587
|
+
return {
|
|
1588
|
+
url: globalImportUrl.format(localVarUrlObj),
|
|
1589
|
+
options: localVarRequestOptions,
|
|
1590
|
+
};
|
|
1591
|
+
},
|
|
1592
|
+
/**
|
|
1593
|
+
*
|
|
1594
|
+
* @summary Updates the examination
|
|
1595
|
+
* @param {string} id The id of the examination
|
|
1596
|
+
* @param {UpdateExaminationRequest} [updateExaminationRequest]
|
|
933
1597
|
* @param {*} [options] Override http request option.
|
|
934
1598
|
* @throws {RequiredError}
|
|
935
1599
|
*/
|
|
936
|
-
|
|
1600
|
+
updateExamination: function (id, updateExaminationRequest, options) {
|
|
937
1601
|
if (options === void 0) { options = {}; }
|
|
938
1602
|
// verify required parameter 'id' is not null or undefined
|
|
939
1603
|
if (id === null || id === undefined) {
|
|
940
|
-
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.');
|
|
941
1605
|
}
|
|
942
|
-
var localVarPath = "/
|
|
1606
|
+
var localVarPath = "/examination/{id}"
|
|
943
1607
|
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
944
1608
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
945
1609
|
var baseOptions;
|
|
946
1610
|
if (configuration) {
|
|
947
1611
|
baseOptions = configuration.baseOptions;
|
|
948
1612
|
}
|
|
949
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1613
|
+
var localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
950
1614
|
var localVarHeaderParameter = {};
|
|
951
1615
|
var localVarQueryParameter = {};
|
|
952
1616
|
// authentication BearerAuth required
|
|
@@ -964,35 +1628,40 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
964
1628
|
: configuration.apiKey;
|
|
965
1629
|
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
966
1630
|
}
|
|
1631
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
967
1632
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
968
1633
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
969
1634
|
delete localVarUrlObj.search;
|
|
970
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 || "");
|
|
971
1638
|
return {
|
|
972
1639
|
url: globalImportUrl.format(localVarUrlObj),
|
|
973
1640
|
options: localVarRequestOptions,
|
|
974
1641
|
};
|
|
975
1642
|
},
|
|
976
1643
|
/**
|
|
977
|
-
*
|
|
978
|
-
* @summary
|
|
979
|
-
* @param {
|
|
1644
|
+
*
|
|
1645
|
+
* @summary Updates the patient
|
|
1646
|
+
* @param {string} id The id of the patient
|
|
1647
|
+
* @param {UpdatePatientRequest} [updatePatientRequest]
|
|
980
1648
|
* @param {*} [options] Override http request option.
|
|
981
1649
|
* @throws {RequiredError}
|
|
982
1650
|
*/
|
|
983
|
-
|
|
1651
|
+
updatePatientDetails: function (id, updatePatientRequest, options) {
|
|
984
1652
|
if (options === void 0) { options = {}; }
|
|
985
|
-
// verify required parameter '
|
|
986
|
-
if (
|
|
987
|
-
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.');
|
|
988
1656
|
}
|
|
989
|
-
var localVarPath = "/patient/
|
|
1657
|
+
var localVarPath = "/patient/{id}"
|
|
1658
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
990
1659
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
991
1660
|
var baseOptions;
|
|
992
1661
|
if (configuration) {
|
|
993
1662
|
baseOptions = configuration.baseOptions;
|
|
994
1663
|
}
|
|
995
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1664
|
+
var localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
996
1665
|
var localVarHeaderParameter = {};
|
|
997
1666
|
var localVarQueryParameter = {};
|
|
998
1667
|
// authentication BearerAuth required
|
|
@@ -1015,37 +1684,32 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1015
1684
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1016
1685
|
delete localVarUrlObj.search;
|
|
1017
1686
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1018
|
-
var needsSerialization = (typeof
|
|
1019
|
-
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 || "");
|
|
1020
1689
|
return {
|
|
1021
1690
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1022
1691
|
options: localVarRequestOptions,
|
|
1023
1692
|
};
|
|
1024
1693
|
},
|
|
1025
1694
|
/**
|
|
1026
|
-
*
|
|
1027
|
-
* @summary
|
|
1028
|
-
* @param {
|
|
1029
|
-
* @param {UpdatePatientRequest} [updatePatientRequest]
|
|
1695
|
+
* Upload medical DICOM files
|
|
1696
|
+
* @summary Upload DICOM documents
|
|
1697
|
+
* @param {Array<any>} [files]
|
|
1030
1698
|
* @param {*} [options] Override http request option.
|
|
1031
1699
|
* @throws {RequiredError}
|
|
1032
1700
|
*/
|
|
1033
|
-
|
|
1701
|
+
uploadDICOMDocuments: function (files, options) {
|
|
1034
1702
|
if (options === void 0) { options = {}; }
|
|
1035
|
-
|
|
1036
|
-
if (id === null || id === undefined) {
|
|
1037
|
-
throw new base_1.RequiredError('id', 'Required parameter id was null or undefined when calling updatePatientDetails.');
|
|
1038
|
-
}
|
|
1039
|
-
var localVarPath = "/patient/{id}"
|
|
1040
|
-
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
1703
|
+
var localVarPath = "/dicom/upload";
|
|
1041
1704
|
var localVarUrlObj = globalImportUrl.parse(localVarPath, true);
|
|
1042
1705
|
var baseOptions;
|
|
1043
1706
|
if (configuration) {
|
|
1044
1707
|
baseOptions = configuration.baseOptions;
|
|
1045
1708
|
}
|
|
1046
|
-
var localVarRequestOptions = __assign(__assign({ method: '
|
|
1709
|
+
var localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1047
1710
|
var localVarHeaderParameter = {};
|
|
1048
1711
|
var localVarQueryParameter = {};
|
|
1712
|
+
var localVarFormParams = new FormData();
|
|
1049
1713
|
// authentication BearerAuth required
|
|
1050
1714
|
// http bearer authentication required
|
|
1051
1715
|
if (configuration && configuration.accessToken) {
|
|
@@ -1061,13 +1725,15 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1061
1725
|
: configuration.apiKey;
|
|
1062
1726
|
localVarHeaderParameter["Authorization"] = localVarApiKeyValue;
|
|
1063
1727
|
}
|
|
1064
|
-
|
|
1728
|
+
if (files) {
|
|
1729
|
+
localVarFormParams.append('files', files.join(base_1.COLLECTION_FORMATS.csv));
|
|
1730
|
+
}
|
|
1731
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1065
1732
|
localVarUrlObj.query = __assign(__assign(__assign({}, localVarUrlObj.query), localVarQueryParameter), options.query);
|
|
1066
1733
|
// fix override query string Detail: https://stackoverflow.com/a/7517673/1077943
|
|
1067
1734
|
delete localVarUrlObj.search;
|
|
1068
1735
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
1069
|
-
|
|
1070
|
-
localVarRequestOptions.data = needsSerialization ? JSON.stringify(updatePatientRequest !== undefined ? updatePatientRequest : {}) : (updatePatientRequest || "");
|
|
1736
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1071
1737
|
return {
|
|
1072
1738
|
url: globalImportUrl.format(localVarUrlObj),
|
|
1073
1739
|
options: localVarRequestOptions,
|
|
@@ -1135,6 +1801,22 @@ exports.MsPetApiAxiosParamCreator = function (configuration) {
|
|
|
1135
1801
|
*/
|
|
1136
1802
|
exports.MsPetApiFp = function (configuration) {
|
|
1137
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
|
+
},
|
|
1138
1820
|
/**
|
|
1139
1821
|
* Create a patient
|
|
1140
1822
|
* @summary Create patient
|
|
@@ -1168,6 +1850,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1168
1850
|
return axios.request(axiosRequestArgs);
|
|
1169
1851
|
};
|
|
1170
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
|
+
},
|
|
1171
1869
|
/**
|
|
1172
1870
|
*
|
|
1173
1871
|
* @summary Deletes patient
|
|
@@ -1200,6 +1898,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1200
1898
|
return axios.request(axiosRequestArgs);
|
|
1201
1899
|
};
|
|
1202
1900
|
},
|
|
1901
|
+
/**
|
|
1902
|
+
*
|
|
1903
|
+
* @summary Download zip with multiple files
|
|
1904
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
1905
|
+
* @param {*} [options] Override http request option.
|
|
1906
|
+
* @throws {RequiredError}
|
|
1907
|
+
*/
|
|
1908
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
1909
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options);
|
|
1910
|
+
return function (axios, basePath) {
|
|
1911
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1912
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1913
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1914
|
+
return axios.request(axiosRequestArgs);
|
|
1915
|
+
};
|
|
1916
|
+
},
|
|
1203
1917
|
/**
|
|
1204
1918
|
*
|
|
1205
1919
|
* @summary Download study dicom
|
|
@@ -1216,6 +1930,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1216
1930
|
return axios.request(axiosRequestArgs);
|
|
1217
1931
|
};
|
|
1218
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
|
+
},
|
|
1219
1949
|
/**
|
|
1220
1950
|
*
|
|
1221
1951
|
* @summary Get data about patients
|
|
@@ -1247,6 +1977,21 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1247
1977
|
return axios.request(axiosRequestArgs);
|
|
1248
1978
|
};
|
|
1249
1979
|
},
|
|
1980
|
+
/**
|
|
1981
|
+
*
|
|
1982
|
+
* @summary Get all unassigned studies
|
|
1983
|
+
* @param {*} [options] Override http request option.
|
|
1984
|
+
* @throws {RequiredError}
|
|
1985
|
+
*/
|
|
1986
|
+
getAllUnassignedStudies: function (options) {
|
|
1987
|
+
var localVarAxiosArgs = exports.MsPetApiAxiosParamCreator(configuration).getAllUnassignedStudies(options);
|
|
1988
|
+
return function (axios, basePath) {
|
|
1989
|
+
if (axios === void 0) { axios = axios_1.default; }
|
|
1990
|
+
if (basePath === void 0) { basePath = base_1.BASE_PATH; }
|
|
1991
|
+
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url });
|
|
1992
|
+
return axios.request(axiosRequestArgs);
|
|
1993
|
+
};
|
|
1994
|
+
},
|
|
1250
1995
|
/**
|
|
1251
1996
|
*
|
|
1252
1997
|
* @summary Get data about documents
|
|
@@ -1263,6 +2008,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1263
2008
|
return axios.request(axiosRequestArgs);
|
|
1264
2009
|
};
|
|
1265
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
|
+
},
|
|
1266
2027
|
/**
|
|
1267
2028
|
*
|
|
1268
2029
|
* @summary Get data about patient
|
|
@@ -1295,6 +2056,23 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1295
2056
|
return axios.request(axiosRequestArgs);
|
|
1296
2057
|
};
|
|
1297
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
|
+
},
|
|
1298
2076
|
/**
|
|
1299
2077
|
*
|
|
1300
2078
|
* @summary Updates the patient
|
|
@@ -1312,6 +2090,22 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1312
2090
|
return axios.request(axiosRequestArgs);
|
|
1313
2091
|
};
|
|
1314
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
|
+
},
|
|
1315
2109
|
/**
|
|
1316
2110
|
* Upload medical examination files
|
|
1317
2111
|
* @summary Upload documents
|
|
@@ -1337,6 +2131,16 @@ exports.MsPetApiFp = function (configuration) {
|
|
|
1337
2131
|
*/
|
|
1338
2132
|
exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
1339
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
|
+
},
|
|
1340
2144
|
/**
|
|
1341
2145
|
* Create a patient
|
|
1342
2146
|
* @summary Create patient
|
|
@@ -1358,6 +2162,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1358
2162
|
deleteDocument: function (id, key, options) {
|
|
1359
2163
|
return exports.MsPetApiFp(configuration).deleteDocument(id, key, options)(axios, basePath);
|
|
1360
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
|
+
},
|
|
1361
2175
|
/**
|
|
1362
2176
|
*
|
|
1363
2177
|
* @summary Deletes patient
|
|
@@ -1378,6 +2192,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1378
2192
|
downloadDocument: function (key, options) {
|
|
1379
2193
|
return exports.MsPetApiFp(configuration).downloadDocument(key, options)(axios, basePath);
|
|
1380
2194
|
},
|
|
2195
|
+
/**
|
|
2196
|
+
*
|
|
2197
|
+
* @summary Download zip with multiple files
|
|
2198
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
2199
|
+
* @param {*} [options] Override http request option.
|
|
2200
|
+
* @throws {RequiredError}
|
|
2201
|
+
*/
|
|
2202
|
+
downloadMultipleFiles: function (downloadMultipleFilesRequest, options) {
|
|
2203
|
+
return exports.MsPetApiFp(configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options)(axios, basePath);
|
|
2204
|
+
},
|
|
1381
2205
|
/**
|
|
1382
2206
|
*
|
|
1383
2207
|
* @summary Download study dicom
|
|
@@ -1388,6 +2212,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1388
2212
|
downloadStudy: function (id, options) {
|
|
1389
2213
|
return exports.MsPetApiFp(configuration).downloadStudy(id, options)(axios, basePath);
|
|
1390
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
|
+
},
|
|
1391
2225
|
/**
|
|
1392
2226
|
*
|
|
1393
2227
|
* @summary Get data about patients
|
|
@@ -1407,6 +2241,15 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1407
2241
|
getAllStudies: function (id, options) {
|
|
1408
2242
|
return exports.MsPetApiFp(configuration).getAllStudies(id, options)(axios, basePath);
|
|
1409
2243
|
},
|
|
2244
|
+
/**
|
|
2245
|
+
*
|
|
2246
|
+
* @summary Get all unassigned studies
|
|
2247
|
+
* @param {*} [options] Override http request option.
|
|
2248
|
+
* @throws {RequiredError}
|
|
2249
|
+
*/
|
|
2250
|
+
getAllUnassignedStudies: function (options) {
|
|
2251
|
+
return exports.MsPetApiFp(configuration).getAllUnassignedStudies(options)(axios, basePath);
|
|
2252
|
+
},
|
|
1410
2253
|
/**
|
|
1411
2254
|
*
|
|
1412
2255
|
* @summary Get data about documents
|
|
@@ -1417,6 +2260,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1417
2260
|
getDocuments: function (id, options) {
|
|
1418
2261
|
return exports.MsPetApiFp(configuration).getDocuments(id, options)(axios, basePath);
|
|
1419
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
|
+
},
|
|
1420
2273
|
/**
|
|
1421
2274
|
*
|
|
1422
2275
|
* @summary Get data about patient
|
|
@@ -1437,6 +2290,17 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1437
2290
|
sendEmail: function (sendEmailRequest, options) {
|
|
1438
2291
|
return exports.MsPetApiFp(configuration).sendEmail(sendEmailRequest, options)(axios, basePath);
|
|
1439
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
|
+
},
|
|
1440
2304
|
/**
|
|
1441
2305
|
*
|
|
1442
2306
|
* @summary Updates the patient
|
|
@@ -1448,6 +2312,16 @@ exports.MsPetApiFactory = function (configuration, basePath, axios) {
|
|
|
1448
2312
|
updatePatientDetails: function (id, updatePatientRequest, options) {
|
|
1449
2313
|
return exports.MsPetApiFp(configuration).updatePatientDetails(id, updatePatientRequest, options)(axios, basePath);
|
|
1450
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
|
+
},
|
|
1451
2325
|
/**
|
|
1452
2326
|
* Upload medical examination files
|
|
1453
2327
|
* @summary Upload documents
|
|
@@ -1472,6 +2346,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1472
2346
|
function MsPetApi() {
|
|
1473
2347
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1474
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
|
+
};
|
|
1475
2360
|
/**
|
|
1476
2361
|
* Create a patient
|
|
1477
2362
|
* @summary Create patient
|
|
@@ -1495,6 +2380,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1495
2380
|
MsPetApi.prototype.deleteDocument = function (id, key, options) {
|
|
1496
2381
|
return exports.MsPetApiFp(this.configuration).deleteDocument(id, key, options)(this.axios, this.basePath);
|
|
1497
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
|
+
};
|
|
1498
2394
|
/**
|
|
1499
2395
|
*
|
|
1500
2396
|
* @summary Deletes patient
|
|
@@ -1517,6 +2413,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1517
2413
|
MsPetApi.prototype.downloadDocument = function (key, options) {
|
|
1518
2414
|
return exports.MsPetApiFp(this.configuration).downloadDocument(key, options)(this.axios, this.basePath);
|
|
1519
2415
|
};
|
|
2416
|
+
/**
|
|
2417
|
+
*
|
|
2418
|
+
* @summary Download zip with multiple files
|
|
2419
|
+
* @param {DownloadMultipleFilesRequest} downloadMultipleFilesRequest
|
|
2420
|
+
* @param {*} [options] Override http request option.
|
|
2421
|
+
* @throws {RequiredError}
|
|
2422
|
+
* @memberof MsPetApi
|
|
2423
|
+
*/
|
|
2424
|
+
MsPetApi.prototype.downloadMultipleFiles = function (downloadMultipleFilesRequest, options) {
|
|
2425
|
+
return exports.MsPetApiFp(this.configuration).downloadMultipleFiles(downloadMultipleFilesRequest, options)(this.axios, this.basePath);
|
|
2426
|
+
};
|
|
1520
2427
|
/**
|
|
1521
2428
|
*
|
|
1522
2429
|
* @summary Download study dicom
|
|
@@ -1528,6 +2435,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1528
2435
|
MsPetApi.prototype.downloadStudy = function (id, options) {
|
|
1529
2436
|
return exports.MsPetApiFp(this.configuration).downloadStudy(id, options)(this.axios, this.basePath);
|
|
1530
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
|
+
};
|
|
1531
2449
|
/**
|
|
1532
2450
|
*
|
|
1533
2451
|
* @summary Get data about patients
|
|
@@ -1549,6 +2467,16 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1549
2467
|
MsPetApi.prototype.getAllStudies = function (id, options) {
|
|
1550
2468
|
return exports.MsPetApiFp(this.configuration).getAllStudies(id, options)(this.axios, this.basePath);
|
|
1551
2469
|
};
|
|
2470
|
+
/**
|
|
2471
|
+
*
|
|
2472
|
+
* @summary Get all unassigned studies
|
|
2473
|
+
* @param {*} [options] Override http request option.
|
|
2474
|
+
* @throws {RequiredError}
|
|
2475
|
+
* @memberof MsPetApi
|
|
2476
|
+
*/
|
|
2477
|
+
MsPetApi.prototype.getAllUnassignedStudies = function (options) {
|
|
2478
|
+
return exports.MsPetApiFp(this.configuration).getAllUnassignedStudies(options)(this.axios, this.basePath);
|
|
2479
|
+
};
|
|
1552
2480
|
/**
|
|
1553
2481
|
*
|
|
1554
2482
|
* @summary Get data about documents
|
|
@@ -1560,6 +2488,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1560
2488
|
MsPetApi.prototype.getDocuments = function (id, options) {
|
|
1561
2489
|
return exports.MsPetApiFp(this.configuration).getDocuments(id, options)(this.axios, this.basePath);
|
|
1562
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
|
+
};
|
|
1563
2502
|
/**
|
|
1564
2503
|
*
|
|
1565
2504
|
* @summary Get data about patient
|
|
@@ -1582,6 +2521,18 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1582
2521
|
MsPetApi.prototype.sendEmail = function (sendEmailRequest, options) {
|
|
1583
2522
|
return exports.MsPetApiFp(this.configuration).sendEmail(sendEmailRequest, options)(this.axios, this.basePath);
|
|
1584
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
|
+
};
|
|
1585
2536
|
/**
|
|
1586
2537
|
*
|
|
1587
2538
|
* @summary Updates the patient
|
|
@@ -1594,6 +2545,17 @@ var MsPetApi = /** @class */ (function (_super) {
|
|
|
1594
2545
|
MsPetApi.prototype.updatePatientDetails = function (id, updatePatientRequest, options) {
|
|
1595
2546
|
return exports.MsPetApiFp(this.configuration).updatePatientDetails(id, updatePatientRequest, options)(this.axios, this.basePath);
|
|
1596
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
|
+
};
|
|
1597
2559
|
/**
|
|
1598
2560
|
* Upload medical examination files
|
|
1599
2561
|
* @summary Upload documents
|