pet-backend-sdk 0.12.0 → 0.16.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 CHANGED
@@ -194,6 +194,173 @@ export interface DownloadDocumentResponse {
194
194
  */
195
195
  url: string;
196
196
  }
197
+ /**
198
+ *
199
+ * @export
200
+ * @interface DownloadStudyResponse
201
+ */
202
+ export interface DownloadStudyResponse {
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof DownloadStudyResponse
207
+ */
208
+ blob: string;
209
+ }
210
+ /**
211
+ *
212
+ * @export
213
+ * @interface GetAllStudiesResponse
214
+ */
215
+ export interface GetAllStudiesResponse {
216
+ /**
217
+ *
218
+ * @type {Array<GetAllStudiesResponseStudies>}
219
+ * @memberof GetAllStudiesResponse
220
+ */
221
+ studies: Array<GetAllStudiesResponseStudies>;
222
+ }
223
+ /**
224
+ *
225
+ * @export
226
+ * @interface GetAllStudiesResponseMainDicomTags
227
+ */
228
+ export interface GetAllStudiesResponseMainDicomTags {
229
+ /**
230
+ *
231
+ * @type {string}
232
+ * @memberof GetAllStudiesResponseMainDicomTags
233
+ */
234
+ accessionNumber?: string;
235
+ /**
236
+ *
237
+ * @type {string}
238
+ * @memberof GetAllStudiesResponseMainDicomTags
239
+ */
240
+ institutionName?: string;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof GetAllStudiesResponseMainDicomTags
245
+ */
246
+ referringPhysicianName?: string;
247
+ /**
248
+ *
249
+ * @type {string}
250
+ * @memberof GetAllStudiesResponseMainDicomTags
251
+ */
252
+ studyDate?: string;
253
+ /**
254
+ *
255
+ * @type {string}
256
+ * @memberof GetAllStudiesResponseMainDicomTags
257
+ */
258
+ studyDescription?: string;
259
+ /**
260
+ *
261
+ * @type {string}
262
+ * @memberof GetAllStudiesResponseMainDicomTags
263
+ */
264
+ studyID?: string;
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof GetAllStudiesResponseMainDicomTags
269
+ */
270
+ studyInstanceUID?: string;
271
+ /**
272
+ *
273
+ * @type {string}
274
+ * @memberof GetAllStudiesResponseMainDicomTags
275
+ */
276
+ studyTime?: string;
277
+ }
278
+ /**
279
+ *
280
+ * @export
281
+ * @interface GetAllStudiesResponsePatientMainDicomTags
282
+ */
283
+ export interface GetAllStudiesResponsePatientMainDicomTags {
284
+ /**
285
+ *
286
+ * @type {string}
287
+ * @memberof GetAllStudiesResponsePatientMainDicomTags
288
+ */
289
+ patientId?: string;
290
+ /**
291
+ *
292
+ * @type {string}
293
+ * @memberof GetAllStudiesResponsePatientMainDicomTags
294
+ */
295
+ patientBirthDate?: string;
296
+ /**
297
+ *
298
+ * @type {string}
299
+ * @memberof GetAllStudiesResponsePatientMainDicomTags
300
+ */
301
+ patientName?: string;
302
+ /**
303
+ *
304
+ * @type {string}
305
+ * @memberof GetAllStudiesResponsePatientMainDicomTags
306
+ */
307
+ patientSex?: string;
308
+ }
309
+ /**
310
+ *
311
+ * @export
312
+ * @interface GetAllStudiesResponseStudies
313
+ */
314
+ export interface GetAllStudiesResponseStudies {
315
+ /**
316
+ *
317
+ * @type {string}
318
+ * @memberof GetAllStudiesResponseStudies
319
+ */
320
+ id: string;
321
+ /**
322
+ *
323
+ * @type {boolean}
324
+ * @memberof GetAllStudiesResponseStudies
325
+ */
326
+ isStable: boolean;
327
+ /**
328
+ *
329
+ * @type {string}
330
+ * @memberof GetAllStudiesResponseStudies
331
+ */
332
+ lastUpdate: string;
333
+ /**
334
+ *
335
+ * @type {GetAllStudiesResponseMainDicomTags}
336
+ * @memberof GetAllStudiesResponseStudies
337
+ */
338
+ mainDicomTags: GetAllStudiesResponseMainDicomTags;
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof GetAllStudiesResponseStudies
343
+ */
344
+ parentPatient: string;
345
+ /**
346
+ *
347
+ * @type {GetAllStudiesResponsePatientMainDicomTags}
348
+ * @memberof GetAllStudiesResponseStudies
349
+ */
350
+ patientMainDicomTags: GetAllStudiesResponsePatientMainDicomTags;
351
+ /**
352
+ *
353
+ * @type {Array<string>}
354
+ * @memberof GetAllStudiesResponseStudies
355
+ */
356
+ series: Array<string>;
357
+ /**
358
+ *
359
+ * @type {string}
360
+ * @memberof GetAllStudiesResponseStudies
361
+ */
362
+ type: string;
363
+ }
197
364
  /**
198
365
  *
199
366
  * @export
@@ -549,18 +716,18 @@ export declare enum UpdatePatientRequestSexEnum {
549
716
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
550
717
  /**
551
718
  *
552
- * @param {string} id The id of the medical examination
719
+ * @param {string} id The id of the patient
553
720
  * @param {*} [options] Override http request option.
554
721
  * @throws {RequiredError}
555
722
  */
556
- examinationIdDocumentsDownloadOptions(id: string, options?: any): RequestArgs;
723
+ dicomIdAllStudiesOptions(id: string, options?: any): RequestArgs;
557
724
  /**
558
725
  *
559
- * @param {string} id The id of the medical examination
726
+ * @param {string} id The id of the study
560
727
  * @param {*} [options] Override http request option.
561
728
  * @throws {RequiredError}
562
729
  */
563
- examinationIdDocumentsOptions(id: string, options?: any): RequestArgs;
730
+ dicomIdDownloadOptions(id: string, options?: any): RequestArgs;
564
731
  /**
565
732
  *
566
733
  * @param {string} id The id of the medical examination
@@ -587,6 +754,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
587
754
  * @throws {RequiredError}
588
755
  */
589
756
  examinationSendEmailOptions(options?: any): RequestArgs;
757
+ /**
758
+ *
759
+ * @param {string} key The key of the document
760
+ * @param {*} [options] Override http request option.
761
+ * @throws {RequiredError}
762
+ */
763
+ patientDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
764
+ /**
765
+ *
766
+ * @param {string} id The id of the patient
767
+ * @param {*} [options] Override http request option.
768
+ * @throws {RequiredError}
769
+ */
770
+ patientIdDocumentsOptions(id: string, options?: any): RequestArgs;
590
771
  /**
591
772
  *
592
773
  * @param {string} id The id of the patient
@@ -608,18 +789,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
608
789
  export declare const DefaultApiFp: (configuration?: Configuration) => {
609
790
  /**
610
791
  *
611
- * @param {string} id The id of the medical examination
792
+ * @param {string} id The id of the patient
612
793
  * @param {*} [options] Override http request option.
613
794
  * @throws {RequiredError}
614
795
  */
615
- examinationIdDocumentsDownloadOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
796
+ dicomIdAllStudiesOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
616
797
  /**
617
798
  *
618
- * @param {string} id The id of the medical examination
799
+ * @param {string} id The id of the study
619
800
  * @param {*} [options] Override http request option.
620
801
  * @throws {RequiredError}
621
802
  */
622
- examinationIdDocumentsOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
803
+ dicomIdDownloadOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
623
804
  /**
624
805
  *
625
806
  * @param {string} id The id of the medical examination
@@ -646,6 +827,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
646
827
  * @throws {RequiredError}
647
828
  */
648
829
  examinationSendEmailOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
830
+ /**
831
+ *
832
+ * @param {string} key The key of the document
833
+ * @param {*} [options] Override http request option.
834
+ * @throws {RequiredError}
835
+ */
836
+ patientDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
837
+ /**
838
+ *
839
+ * @param {string} id The id of the patient
840
+ * @param {*} [options] Override http request option.
841
+ * @throws {RequiredError}
842
+ */
843
+ patientIdDocumentsOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
649
844
  /**
650
845
  *
651
846
  * @param {string} id The id of the patient
@@ -667,18 +862,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
667
862
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
668
863
  /**
669
864
  *
670
- * @param {string} id The id of the medical examination
865
+ * @param {string} id The id of the patient
671
866
  * @param {*} [options] Override http request option.
672
867
  * @throws {RequiredError}
673
868
  */
674
- examinationIdDocumentsDownloadOptions(id: string, options?: any): AxiosPromise<void>;
869
+ dicomIdAllStudiesOptions(id: string, options?: any): AxiosPromise<void>;
675
870
  /**
676
871
  *
677
- * @param {string} id The id of the medical examination
872
+ * @param {string} id The id of the study
678
873
  * @param {*} [options] Override http request option.
679
874
  * @throws {RequiredError}
680
875
  */
681
- examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
876
+ dicomIdDownloadOptions(id: string, options?: any): AxiosPromise<void>;
682
877
  /**
683
878
  *
684
879
  * @param {string} id The id of the medical examination
@@ -705,6 +900,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
705
900
  * @throws {RequiredError}
706
901
  */
707
902
  examinationSendEmailOptions(options?: any): AxiosPromise<void>;
903
+ /**
904
+ *
905
+ * @param {string} key The key of the document
906
+ * @param {*} [options] Override http request option.
907
+ * @throws {RequiredError}
908
+ */
909
+ patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
910
+ /**
911
+ *
912
+ * @param {string} id The id of the patient
913
+ * @param {*} [options] Override http request option.
914
+ * @throws {RequiredError}
915
+ */
916
+ patientIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
708
917
  /**
709
918
  *
710
919
  * @param {string} id The id of the patient
@@ -728,20 +937,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
728
937
  export declare class DefaultApi extends BaseAPI {
729
938
  /**
730
939
  *
731
- * @param {string} id The id of the medical examination
940
+ * @param {string} id The id of the patient
732
941
  * @param {*} [options] Override http request option.
733
942
  * @throws {RequiredError}
734
943
  * @memberof DefaultApi
735
944
  */
736
- examinationIdDocumentsDownloadOptions(id: string, options?: any): AxiosPromise<void>;
945
+ dicomIdAllStudiesOptions(id: string, options?: any): AxiosPromise<void>;
737
946
  /**
738
947
  *
739
- * @param {string} id The id of the medical examination
948
+ * @param {string} id The id of the study
740
949
  * @param {*} [options] Override http request option.
741
950
  * @throws {RequiredError}
742
951
  * @memberof DefaultApi
743
952
  */
744
- examinationIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
953
+ dicomIdDownloadOptions(id: string, options?: any): AxiosPromise<void>;
745
954
  /**
746
955
  *
747
956
  * @param {string} id The id of the medical examination
@@ -772,6 +981,22 @@ export declare class DefaultApi extends BaseAPI {
772
981
  * @memberof DefaultApi
773
982
  */
774
983
  examinationSendEmailOptions(options?: any): AxiosPromise<void>;
984
+ /**
985
+ *
986
+ * @param {string} key The key of the document
987
+ * @param {*} [options] Override http request option.
988
+ * @throws {RequiredError}
989
+ * @memberof DefaultApi
990
+ */
991
+ patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
992
+ /**
993
+ *
994
+ * @param {string} id The id of the patient
995
+ * @param {*} [options] Override http request option.
996
+ * @throws {RequiredError}
997
+ * @memberof DefaultApi
998
+ */
999
+ patientIdDocumentsOptions(id: string, options?: any): AxiosPromise<void>;
775
1000
  /**
776
1001
  *
777
1002
  * @param {string} id The id of the patient
@@ -812,7 +1037,7 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
812
1037
  /**
813
1038
  *
814
1039
  * @summary Deletes document
815
- * @param {string} id The id of the medical examination
1040
+ * @param {string} id The id of the patient
816
1041
  * @param {string} key The key of the document
817
1042
  * @param {*} [options] Override http request option.
818
1043
  * @throws {RequiredError}
@@ -837,12 +1062,19 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
837
1062
  /**
838
1063
  *
839
1064
  * @summary Download the document
840
- * @param {string} id The id of the medical examination
841
1065
  * @param {string} key The key of the document
842
1066
  * @param {*} [options] Override http request option.
843
1067
  * @throws {RequiredError}
844
1068
  */
845
- downloadDocument(id: string, key: string, options?: any): RequestArgs;
1069
+ downloadDocument(key: string, options?: any): RequestArgs;
1070
+ /**
1071
+ *
1072
+ * @summary Download study dicom
1073
+ * @param {string} id The id of the study
1074
+ * @param {*} [options] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ */
1077
+ downloadStudy(id: string, options?: any): RequestArgs;
846
1078
  /**
847
1079
  *
848
1080
  * @summary Get data about examination
@@ -857,15 +1089,22 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
857
1089
  * @throws {RequiredError}
858
1090
  */
859
1091
  getAllPatients(options?: any): RequestArgs;
1092
+ /**
1093
+ *
1094
+ * @summary Get all studies for one patient
1095
+ * @param {string} id The id of the patient
1096
+ * @param {*} [options] Override http request option.
1097
+ * @throws {RequiredError}
1098
+ */
1099
+ getAllStudies(id: string, options?: any): RequestArgs;
860
1100
  /**
861
1101
  *
862
1102
  * @summary Get data about documents
863
- * @param {string} patientId The id of the patient
864
- * @param {string} id The id of the medical examination
1103
+ * @param {string} id The id of the patient
865
1104
  * @param {*} [options] Override http request option.
866
1105
  * @throws {RequiredError}
867
1106
  */
868
- getDocuments(patientId: string, id: string, options?: any): RequestArgs;
1107
+ getDocuments(id: string, options?: any): RequestArgs;
869
1108
  /**
870
1109
  *
871
1110
  * @summary Get data about examination
@@ -919,7 +1158,7 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
919
1158
  /**
920
1159
  * Upload medical examination files
921
1160
  * @summary Upload documents
922
- * @param {string} id The id of the medical examination
1161
+ * @param {string} id The id of the patient
923
1162
  * @param {Array<any>} [files]
924
1163
  * @param {*} [options] Override http request option.
925
1164
  * @throws {RequiredError}
@@ -950,7 +1189,7 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
950
1189
  /**
951
1190
  *
952
1191
  * @summary Deletes document
953
- * @param {string} id The id of the medical examination
1192
+ * @param {string} id The id of the patient
954
1193
  * @param {string} key The key of the document
955
1194
  * @param {*} [options] Override http request option.
956
1195
  * @throws {RequiredError}
@@ -975,12 +1214,19 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
975
1214
  /**
976
1215
  *
977
1216
  * @summary Download the document
978
- * @param {string} id The id of the medical examination
979
1217
  * @param {string} key The key of the document
980
1218
  * @param {*} [options] Override http request option.
981
1219
  * @throws {RequiredError}
982
1220
  */
983
- downloadDocument(id: string, key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
1221
+ downloadDocument(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadDocumentResponse>;
1222
+ /**
1223
+ *
1224
+ * @summary Download study dicom
1225
+ * @param {string} id The id of the study
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ downloadStudy(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadStudyResponse>;
984
1230
  /**
985
1231
  *
986
1232
  * @summary Get data about examination
@@ -995,15 +1241,22 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
995
1241
  * @throws {RequiredError}
996
1242
  */
997
1243
  getAllPatients(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<object>>;
1244
+ /**
1245
+ *
1246
+ * @summary Get all studies for one patient
1247
+ * @param {string} id The id of the patient
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ getAllStudies(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllStudiesResponse>;
998
1252
  /**
999
1253
  *
1000
1254
  * @summary Get data about documents
1001
- * @param {string} patientId The id of the patient
1002
- * @param {string} id The id of the medical examination
1255
+ * @param {string} id The id of the patient
1003
1256
  * @param {*} [options] Override http request option.
1004
1257
  * @throws {RequiredError}
1005
1258
  */
1006
- getDocuments(patientId: string, id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentsResponse>;
1259
+ getDocuments(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentsResponse>;
1007
1260
  /**
1008
1261
  *
1009
1262
  * @summary Get data about examination
@@ -1057,7 +1310,7 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
1057
1310
  /**
1058
1311
  * Upload medical examination files
1059
1312
  * @summary Upload documents
1060
- * @param {string} id The id of the medical examination
1313
+ * @param {string} id The id of the patient
1061
1314
  * @param {Array<any>} [files]
1062
1315
  * @param {*} [options] Override http request option.
1063
1316
  * @throws {RequiredError}
@@ -1088,7 +1341,7 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
1088
1341
  /**
1089
1342
  *
1090
1343
  * @summary Deletes document
1091
- * @param {string} id The id of the medical examination
1344
+ * @param {string} id The id of the patient
1092
1345
  * @param {string} key The key of the document
1093
1346
  * @param {*} [options] Override http request option.
1094
1347
  * @throws {RequiredError}
@@ -1113,12 +1366,19 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
1113
1366
  /**
1114
1367
  *
1115
1368
  * @summary Download the document
1116
- * @param {string} id The id of the medical examination
1117
1369
  * @param {string} key The key of the document
1118
1370
  * @param {*} [options] Override http request option.
1119
1371
  * @throws {RequiredError}
1120
1372
  */
1121
- downloadDocument(id: string, key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
1373
+ downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
1374
+ /**
1375
+ *
1376
+ * @summary Download study dicom
1377
+ * @param {string} id The id of the study
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
1122
1382
  /**
1123
1383
  *
1124
1384
  * @summary Get data about examination
@@ -1133,15 +1393,22 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
1133
1393
  * @throws {RequiredError}
1134
1394
  */
1135
1395
  getAllPatients(options?: any): AxiosPromise<object[]>;
1396
+ /**
1397
+ *
1398
+ * @summary Get all studies for one patient
1399
+ * @param {string} id The id of the patient
1400
+ * @param {*} [options] Override http request option.
1401
+ * @throws {RequiredError}
1402
+ */
1403
+ getAllStudies(id: string, options?: any): AxiosPromise<GetAllStudiesResponse>;
1136
1404
  /**
1137
1405
  *
1138
1406
  * @summary Get data about documents
1139
- * @param {string} patientId The id of the patient
1140
- * @param {string} id The id of the medical examination
1407
+ * @param {string} id The id of the patient
1141
1408
  * @param {*} [options] Override http request option.
1142
1409
  * @throws {RequiredError}
1143
1410
  */
1144
- getDocuments(patientId: string, id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
1411
+ getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
1145
1412
  /**
1146
1413
  *
1147
1414
  * @summary Get data about examination
@@ -1195,7 +1462,7 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
1195
1462
  /**
1196
1463
  * Upload medical examination files
1197
1464
  * @summary Upload documents
1198
- * @param {string} id The id of the medical examination
1465
+ * @param {string} id The id of the patient
1199
1466
  * @param {Array<any>} [files]
1200
1467
  * @param {*} [options] Override http request option.
1201
1468
  * @throws {RequiredError}
@@ -1230,7 +1497,7 @@ export declare class MsPetApi extends BaseAPI {
1230
1497
  /**
1231
1498
  *
1232
1499
  * @summary Deletes document
1233
- * @param {string} id The id of the medical examination
1500
+ * @param {string} id The id of the patient
1234
1501
  * @param {string} key The key of the document
1235
1502
  * @param {*} [options] Override http request option.
1236
1503
  * @throws {RequiredError}
@@ -1258,13 +1525,21 @@ export declare class MsPetApi extends BaseAPI {
1258
1525
  /**
1259
1526
  *
1260
1527
  * @summary Download the document
1261
- * @param {string} id The id of the medical examination
1262
1528
  * @param {string} key The key of the document
1263
1529
  * @param {*} [options] Override http request option.
1264
1530
  * @throws {RequiredError}
1265
1531
  * @memberof MsPetApi
1266
1532
  */
1267
- downloadDocument(id: string, key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
1533
+ downloadDocument(key: string, options?: any): AxiosPromise<DownloadDocumentResponse>;
1534
+ /**
1535
+ *
1536
+ * @summary Download study dicom
1537
+ * @param {string} id The id of the study
1538
+ * @param {*} [options] Override http request option.
1539
+ * @throws {RequiredError}
1540
+ * @memberof MsPetApi
1541
+ */
1542
+ downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
1268
1543
  /**
1269
1544
  *
1270
1545
  * @summary Get data about examination
@@ -1281,16 +1556,24 @@ export declare class MsPetApi extends BaseAPI {
1281
1556
  * @memberof MsPetApi
1282
1557
  */
1283
1558
  getAllPatients(options?: any): AxiosPromise<object[]>;
1559
+ /**
1560
+ *
1561
+ * @summary Get all studies for one patient
1562
+ * @param {string} id The id of the patient
1563
+ * @param {*} [options] Override http request option.
1564
+ * @throws {RequiredError}
1565
+ * @memberof MsPetApi
1566
+ */
1567
+ getAllStudies(id: string, options?: any): AxiosPromise<GetAllStudiesResponse>;
1284
1568
  /**
1285
1569
  *
1286
1570
  * @summary Get data about documents
1287
- * @param {string} patientId The id of the patient
1288
- * @param {string} id The id of the medical examination
1571
+ * @param {string} id The id of the patient
1289
1572
  * @param {*} [options] Override http request option.
1290
1573
  * @throws {RequiredError}
1291
1574
  * @memberof MsPetApi
1292
1575
  */
1293
- getDocuments(patientId: string, id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
1576
+ getDocuments(id: string, options?: any): AxiosPromise<GetDocumentsResponse>;
1294
1577
  /**
1295
1578
  *
1296
1579
  * @summary Get data about examination
@@ -1350,7 +1633,7 @@ export declare class MsPetApi extends BaseAPI {
1350
1633
  /**
1351
1634
  * Upload medical examination files
1352
1635
  * @summary Upload documents
1353
- * @param {string} id The id of the medical examination
1636
+ * @param {string} id The id of the patient
1354
1637
  * @param {Array<any>} [files]
1355
1638
  * @param {*} [options] Override http request option.
1356
1639
  * @throws {RequiredError}