pet-backend-sdk 1.7.0 → 1.12.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
@@ -319,6 +319,66 @@ export interface CreateExaminationRequest {
319
319
  * @memberof CreateExaminationRequest
320
320
  */
321
321
  personalAnamnesis?: string;
322
+ /**
323
+ *
324
+ * @type {number}
325
+ * @memberof CreateExaminationRequest
326
+ */
327
+ appliedActivity?: number;
328
+ /**
329
+ *
330
+ * @type {string}
331
+ * @memberof CreateExaminationRequest
332
+ */
333
+ applicationSite?: string;
334
+ /**
335
+ *
336
+ * @type {string}
337
+ * @memberof CreateExaminationRequest
338
+ */
339
+ applicationTime?: string;
340
+ /**
341
+ *
342
+ * @type {string}
343
+ * @memberof CreateExaminationRequest
344
+ */
345
+ applicationNote?: string;
346
+ /**
347
+ *
348
+ * @type {string}
349
+ * @memberof CreateExaminationRequest
350
+ */
351
+ scanStartTime?: string;
352
+ /**
353
+ *
354
+ * @type {string}
355
+ * @memberof CreateExaminationRequest
356
+ */
357
+ scanningNote?: string;
358
+ /**
359
+ *
360
+ * @type {string}
361
+ * @memberof CreateExaminationRequest
362
+ */
363
+ nurseSignature?: string;
364
+ /**
365
+ *
366
+ * @type {string}
367
+ * @memberof CreateExaminationRequest
368
+ */
369
+ doctorSignature?: string;
370
+ /**
371
+ *
372
+ * @type {string}
373
+ * @memberof CreateExaminationRequest
374
+ */
375
+ appliedBySignature?: string;
376
+ /**
377
+ *
378
+ * @type {string}
379
+ * @memberof CreateExaminationRequest
380
+ */
381
+ vrtSignature?: string;
322
382
  /**
323
383
  *
324
384
  * @type {string}
@@ -1002,6 +1062,66 @@ export interface GetExaminationResponse {
1002
1062
  * @memberof GetExaminationResponse
1003
1063
  */
1004
1064
  personalAnamnesis?: string;
1065
+ /**
1066
+ *
1067
+ * @type {number}
1068
+ * @memberof GetExaminationResponse
1069
+ */
1070
+ appliedActivity?: number;
1071
+ /**
1072
+ *
1073
+ * @type {string}
1074
+ * @memberof GetExaminationResponse
1075
+ */
1076
+ applicationSite?: string;
1077
+ /**
1078
+ *
1079
+ * @type {string}
1080
+ * @memberof GetExaminationResponse
1081
+ */
1082
+ applicationTime?: string;
1083
+ /**
1084
+ *
1085
+ * @type {string}
1086
+ * @memberof GetExaminationResponse
1087
+ */
1088
+ applicationNote?: string;
1089
+ /**
1090
+ *
1091
+ * @type {string}
1092
+ * @memberof GetExaminationResponse
1093
+ */
1094
+ scanStartTime?: string;
1095
+ /**
1096
+ *
1097
+ * @type {string}
1098
+ * @memberof GetExaminationResponse
1099
+ */
1100
+ scanningNote?: string;
1101
+ /**
1102
+ *
1103
+ * @type {string}
1104
+ * @memberof GetExaminationResponse
1105
+ */
1106
+ nurseSignature?: string;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof GetExaminationResponse
1111
+ */
1112
+ doctorSignature?: string;
1113
+ /**
1114
+ *
1115
+ * @type {string}
1116
+ * @memberof GetExaminationResponse
1117
+ */
1118
+ appliedBySignature?: string;
1119
+ /**
1120
+ *
1121
+ * @type {string}
1122
+ * @memberof GetExaminationResponse
1123
+ */
1124
+ vrtSignature?: string;
1005
1125
  /**
1006
1126
  *
1007
1127
  * @type {string}
@@ -1134,11 +1254,11 @@ export interface InlineObject {
1134
1254
  */
1135
1255
  export interface InlineObject1 {
1136
1256
  /**
1137
- *
1138
- * @type {Array<any>}
1257
+ * HIFRM referral form PDF
1258
+ * @type {any}
1139
1259
  * @memberof InlineObject1
1140
1260
  */
1141
- files?: Array<any>;
1261
+ file: any;
1142
1262
  }
1143
1263
  /**
1144
1264
  *
@@ -1153,6 +1273,118 @@ export interface InlineObject2 {
1153
1273
  */
1154
1274
  files?: Array<any>;
1155
1275
  }
1276
+ /**
1277
+ *
1278
+ * @export
1279
+ * @interface InlineObject3
1280
+ */
1281
+ export interface InlineObject3 {
1282
+ /**
1283
+ *
1284
+ * @type {Array<any>}
1285
+ * @memberof InlineObject3
1286
+ */
1287
+ files?: Array<any>;
1288
+ }
1289
+ /**
1290
+ *
1291
+ * @export
1292
+ * @interface ReferralExaminationData
1293
+ */
1294
+ export interface ReferralExaminationData {
1295
+ /**
1296
+ *
1297
+ * @type {string}
1298
+ * @memberof ReferralExaminationData
1299
+ */
1300
+ termDateTime: string | null;
1301
+ /**
1302
+ *
1303
+ * @type {string}
1304
+ * @memberof ReferralExaminationData
1305
+ */
1306
+ referralFrom: string | null;
1307
+ /**
1308
+ *
1309
+ * @type {string}
1310
+ * @memberof ReferralExaminationData
1311
+ */
1312
+ diagnosis: string | null;
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof ReferralExaminationData
1317
+ */
1318
+ service: string | null;
1319
+ /**
1320
+ *
1321
+ * @type {string}
1322
+ * @memberof ReferralExaminationData
1323
+ */
1324
+ referringDoctor: string | null;
1325
+ }
1326
+ /**
1327
+ *
1328
+ * @export
1329
+ * @interface ReferralExtractionResult
1330
+ */
1331
+ export interface ReferralExtractionResult {
1332
+ /**
1333
+ *
1334
+ * @type {ReferralPatientData}
1335
+ * @memberof ReferralExtractionResult
1336
+ */
1337
+ patient: ReferralPatientData;
1338
+ /**
1339
+ *
1340
+ * @type {ReferralExaminationData}
1341
+ * @memberof ReferralExtractionResult
1342
+ */
1343
+ examination: ReferralExaminationData;
1344
+ }
1345
+ /**
1346
+ *
1347
+ * @export
1348
+ * @interface ReferralPatientData
1349
+ */
1350
+ export interface ReferralPatientData {
1351
+ /**
1352
+ *
1353
+ * @type {string}
1354
+ * @memberof ReferralPatientData
1355
+ */
1356
+ fullName: string | null;
1357
+ /**
1358
+ *
1359
+ * @type {string}
1360
+ * @memberof ReferralPatientData
1361
+ */
1362
+ ssnOrEmbg: string | null;
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof ReferralPatientData
1367
+ */
1368
+ phone: string | null;
1369
+ /**
1370
+ *
1371
+ * @type {string}
1372
+ * @memberof ReferralPatientData
1373
+ */
1374
+ email: string | null;
1375
+ /**
1376
+ *
1377
+ * @type {string}
1378
+ * @memberof ReferralPatientData
1379
+ */
1380
+ address: string | null;
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof ReferralPatientData
1385
+ */
1386
+ insuranceBasis: string | null;
1387
+ }
1156
1388
  /**
1157
1389
  *
1158
1390
  * @export
@@ -1491,6 +1723,66 @@ export interface UpdateExaminationRequest {
1491
1723
  * @memberof UpdateExaminationRequest
1492
1724
  */
1493
1725
  personalAnamnesis?: string;
1726
+ /**
1727
+ *
1728
+ * @type {number}
1729
+ * @memberof UpdateExaminationRequest
1730
+ */
1731
+ appliedActivity?: number;
1732
+ /**
1733
+ *
1734
+ * @type {string}
1735
+ * @memberof UpdateExaminationRequest
1736
+ */
1737
+ applicationSite?: string;
1738
+ /**
1739
+ *
1740
+ * @type {string}
1741
+ * @memberof UpdateExaminationRequest
1742
+ */
1743
+ applicationTime?: string;
1744
+ /**
1745
+ *
1746
+ * @type {string}
1747
+ * @memberof UpdateExaminationRequest
1748
+ */
1749
+ applicationNote?: string;
1750
+ /**
1751
+ *
1752
+ * @type {string}
1753
+ * @memberof UpdateExaminationRequest
1754
+ */
1755
+ scanStartTime?: string;
1756
+ /**
1757
+ *
1758
+ * @type {string}
1759
+ * @memberof UpdateExaminationRequest
1760
+ */
1761
+ scanningNote?: string;
1762
+ /**
1763
+ *
1764
+ * @type {string}
1765
+ * @memberof UpdateExaminationRequest
1766
+ */
1767
+ nurseSignature?: string;
1768
+ /**
1769
+ *
1770
+ * @type {string}
1771
+ * @memberof UpdateExaminationRequest
1772
+ */
1773
+ doctorSignature?: string;
1774
+ /**
1775
+ *
1776
+ * @type {string}
1777
+ * @memberof UpdateExaminationRequest
1778
+ */
1779
+ appliedBySignature?: string;
1780
+ /**
1781
+ *
1782
+ * @type {string}
1783
+ * @memberof UpdateExaminationRequest
1784
+ */
1785
+ vrtSignature?: string;
1494
1786
  /**
1495
1787
  *
1496
1788
  * @type {string}
@@ -1686,6 +1978,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1686
1978
  * @throws {RequiredError}
1687
1979
  */
1688
1980
  patientDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
1981
+ /**
1982
+ *
1983
+ * @param {string} embg The EMBG of the patient
1984
+ * @param {*} [options] Override http request option.
1985
+ * @throws {RequiredError}
1986
+ */
1987
+ patientEmbgEmbgOptions(embg: string, options?: any): RequestArgs;
1689
1988
  /**
1690
1989
  *
1691
1990
  * @param {*} [options] Override http request option.
@@ -1719,6 +2018,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1719
2018
  * @throws {RequiredError}
1720
2019
  */
1721
2020
  patientPetIdIdOptions(id: string, options?: any): RequestArgs;
2021
+ /**
2022
+ *
2023
+ * @param {*} [options] Override http request option.
2024
+ * @throws {RequiredError}
2025
+ */
2026
+ patientReferralExtractOptions(options?: any): RequestArgs;
1722
2027
  /**
1723
2028
  *
1724
2029
  * @param {*} [options] Override http request option.
@@ -1815,6 +2120,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1815
2120
  * @throws {RequiredError}
1816
2121
  */
1817
2122
  patientDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
2123
+ /**
2124
+ *
2125
+ * @param {string} embg The EMBG of the patient
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ */
2129
+ patientEmbgEmbgOptions(embg: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1818
2130
  /**
1819
2131
  *
1820
2132
  * @param {*} [options] Override http request option.
@@ -1848,6 +2160,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1848
2160
  * @throws {RequiredError}
1849
2161
  */
1850
2162
  patientPetIdIdOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
2163
+ /**
2164
+ *
2165
+ * @param {*} [options] Override http request option.
2166
+ * @throws {RequiredError}
2167
+ */
2168
+ patientReferralExtractOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1851
2169
  /**
1852
2170
  *
1853
2171
  * @param {*} [options] Override http request option.
@@ -1944,6 +2262,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1944
2262
  * @throws {RequiredError}
1945
2263
  */
1946
2264
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
2265
+ /**
2266
+ *
2267
+ * @param {string} embg The EMBG of the patient
2268
+ * @param {*} [options] Override http request option.
2269
+ * @throws {RequiredError}
2270
+ */
2271
+ patientEmbgEmbgOptions(embg: string, options?: any): AxiosPromise<void>;
1947
2272
  /**
1948
2273
  *
1949
2274
  * @param {*} [options] Override http request option.
@@ -1977,6 +2302,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1977
2302
  * @throws {RequiredError}
1978
2303
  */
1979
2304
  patientPetIdIdOptions(id: string, options?: any): AxiosPromise<void>;
2305
+ /**
2306
+ *
2307
+ * @param {*} [options] Override http request option.
2308
+ * @throws {RequiredError}
2309
+ */
2310
+ patientReferralExtractOptions(options?: any): AxiosPromise<void>;
1980
2311
  /**
1981
2312
  *
1982
2313
  * @param {*} [options] Override http request option.
@@ -2088,6 +2419,14 @@ export declare class DefaultApi extends BaseAPI {
2088
2419
  * @memberof DefaultApi
2089
2420
  */
2090
2421
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
2422
+ /**
2423
+ *
2424
+ * @param {string} embg The EMBG of the patient
2425
+ * @param {*} [options] Override http request option.
2426
+ * @throws {RequiredError}
2427
+ * @memberof DefaultApi
2428
+ */
2429
+ patientEmbgEmbgOptions(embg: string, options?: any): AxiosPromise<void>;
2091
2430
  /**
2092
2431
  *
2093
2432
  * @param {*} [options] Override http request option.
@@ -2126,6 +2465,13 @@ export declare class DefaultApi extends BaseAPI {
2126
2465
  * @memberof DefaultApi
2127
2466
  */
2128
2467
  patientPetIdIdOptions(id: string, options?: any): AxiosPromise<void>;
2468
+ /**
2469
+ *
2470
+ * @param {*} [options] Override http request option.
2471
+ * @throws {RequiredError}
2472
+ * @memberof DefaultApi
2473
+ */
2474
+ patientReferralExtractOptions(options?: any): AxiosPromise<void>;
2129
2475
  /**
2130
2476
  *
2131
2477
  * @param {*} [options] Override http request option.
@@ -2237,6 +2583,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2237
2583
  * @throws {RequiredError}
2238
2584
  */
2239
2585
  downloadStudy(id: string, options?: any): RequestArgs;
2586
+ /**
2587
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
2588
+ * @summary Extract referral data from PDF
2589
+ * @param {any} file HIFRM referral form PDF
2590
+ * @param {*} [options] Override http request option.
2591
+ * @throws {RequiredError}
2592
+ */
2593
+ extractReferralFromPdf(file: any, options?: any): RequestArgs;
2240
2594
  /**
2241
2595
  * generate inceremented petId
2242
2596
  * @summary Generate petId
@@ -2306,6 +2660,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2306
2660
  * @throws {RequiredError}
2307
2661
  */
2308
2662
  getPatient(id: string, options?: any): RequestArgs;
2663
+ /**
2664
+ *
2665
+ * @summary Get data about patient by EMBG
2666
+ * @param {string} embg EMBG of the patient
2667
+ * @param {*} [options] Override http request option.
2668
+ * @throws {RequiredError}
2669
+ */
2670
+ getPatientByEMBG(embg: string, options?: any): RequestArgs;
2309
2671
  /**
2310
2672
  *
2311
2673
  * @summary Get data about patient by patientId
@@ -2487,6 +2849,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2487
2849
  * @throws {RequiredError}
2488
2850
  */
2489
2851
  downloadStudy(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadStudyResponse>;
2852
+ /**
2853
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
2854
+ * @summary Extract referral data from PDF
2855
+ * @param {any} file HIFRM referral form PDF
2856
+ * @param {*} [options] Override http request option.
2857
+ * @throws {RequiredError}
2858
+ */
2859
+ extractReferralFromPdf(file: any, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferralExtractionResult>;
2490
2860
  /**
2491
2861
  * generate inceremented petId
2492
2862
  * @summary Generate petId
@@ -2556,6 +2926,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2556
2926
  * @throws {RequiredError}
2557
2927
  */
2558
2928
  getPatient(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPatientResponse>;
2929
+ /**
2930
+ *
2931
+ * @summary Get data about patient by EMBG
2932
+ * @param {string} embg EMBG of the patient
2933
+ * @param {*} [options] Override http request option.
2934
+ * @throws {RequiredError}
2935
+ */
2936
+ getPatientByEMBG(embg: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPatientResponse>;
2559
2937
  /**
2560
2938
  *
2561
2939
  * @summary Get data about patient by patientId
@@ -2737,6 +3115,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2737
3115
  * @throws {RequiredError}
2738
3116
  */
2739
3117
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
3118
+ /**
3119
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
3120
+ * @summary Extract referral data from PDF
3121
+ * @param {any} file HIFRM referral form PDF
3122
+ * @param {*} [options] Override http request option.
3123
+ * @throws {RequiredError}
3124
+ */
3125
+ extractReferralFromPdf(file: any, options?: any): AxiosPromise<ReferralExtractionResult>;
2740
3126
  /**
2741
3127
  * generate inceremented petId
2742
3128
  * @summary Generate petId
@@ -2806,6 +3192,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2806
3192
  * @throws {RequiredError}
2807
3193
  */
2808
3194
  getPatient(id: string, options?: any): AxiosPromise<GetPatientResponse>;
3195
+ /**
3196
+ *
3197
+ * @summary Get data about patient by EMBG
3198
+ * @param {string} embg EMBG of the patient
3199
+ * @param {*} [options] Override http request option.
3200
+ * @throws {RequiredError}
3201
+ */
3202
+ getPatientByEMBG(embg: string, options?: any): AxiosPromise<GetPatientResponse>;
2809
3203
  /**
2810
3204
  *
2811
3205
  * @summary Get data about patient by patientId
@@ -3001,6 +3395,15 @@ export declare class MsPetApi extends BaseAPI {
3001
3395
  * @memberof MsPetApi
3002
3396
  */
3003
3397
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
3398
+ /**
3399
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
3400
+ * @summary Extract referral data from PDF
3401
+ * @param {any} file HIFRM referral form PDF
3402
+ * @param {*} [options] Override http request option.
3403
+ * @throws {RequiredError}
3404
+ * @memberof MsPetApi
3405
+ */
3406
+ extractReferralFromPdf(file: any, options?: any): AxiosPromise<ReferralExtractionResult>;
3004
3407
  /**
3005
3408
  * generate inceremented petId
3006
3409
  * @summary Generate petId
@@ -3079,6 +3482,15 @@ export declare class MsPetApi extends BaseAPI {
3079
3482
  * @memberof MsPetApi
3080
3483
  */
3081
3484
  getPatient(id: string, options?: any): AxiosPromise<GetPatientResponse>;
3485
+ /**
3486
+ *
3487
+ * @summary Get data about patient by EMBG
3488
+ * @param {string} embg EMBG of the patient
3489
+ * @param {*} [options] Override http request option.
3490
+ * @throws {RequiredError}
3491
+ * @memberof MsPetApi
3492
+ */
3493
+ getPatientByEMBG(embg: string, options?: any): AxiosPromise<GetPatientResponse>;
3082
3494
  /**
3083
3495
  *
3084
3496
  * @summary Get data about patient by patientId