pet-backend-sdk 1.7.0 → 1.9.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,42 @@ 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;
322
358
  /**
323
359
  *
324
360
  * @type {string}
@@ -1002,6 +1038,42 @@ export interface GetExaminationResponse {
1002
1038
  * @memberof GetExaminationResponse
1003
1039
  */
1004
1040
  personalAnamnesis?: string;
1041
+ /**
1042
+ *
1043
+ * @type {number}
1044
+ * @memberof GetExaminationResponse
1045
+ */
1046
+ appliedActivity?: number;
1047
+ /**
1048
+ *
1049
+ * @type {string}
1050
+ * @memberof GetExaminationResponse
1051
+ */
1052
+ applicationSite?: string;
1053
+ /**
1054
+ *
1055
+ * @type {string}
1056
+ * @memberof GetExaminationResponse
1057
+ */
1058
+ applicationTime?: string;
1059
+ /**
1060
+ *
1061
+ * @type {string}
1062
+ * @memberof GetExaminationResponse
1063
+ */
1064
+ applicationNote?: string;
1065
+ /**
1066
+ *
1067
+ * @type {string}
1068
+ * @memberof GetExaminationResponse
1069
+ */
1070
+ scanStartTime?: string;
1071
+ /**
1072
+ *
1073
+ * @type {string}
1074
+ * @memberof GetExaminationResponse
1075
+ */
1076
+ scanningNote?: string;
1005
1077
  /**
1006
1078
  *
1007
1079
  * @type {string}
@@ -1134,11 +1206,11 @@ export interface InlineObject {
1134
1206
  */
1135
1207
  export interface InlineObject1 {
1136
1208
  /**
1137
- *
1138
- * @type {Array<any>}
1209
+ * HIFRM referral form PDF
1210
+ * @type {any}
1139
1211
  * @memberof InlineObject1
1140
1212
  */
1141
- files?: Array<any>;
1213
+ file: any;
1142
1214
  }
1143
1215
  /**
1144
1216
  *
@@ -1153,6 +1225,118 @@ export interface InlineObject2 {
1153
1225
  */
1154
1226
  files?: Array<any>;
1155
1227
  }
1228
+ /**
1229
+ *
1230
+ * @export
1231
+ * @interface InlineObject3
1232
+ */
1233
+ export interface InlineObject3 {
1234
+ /**
1235
+ *
1236
+ * @type {Array<any>}
1237
+ * @memberof InlineObject3
1238
+ */
1239
+ files?: Array<any>;
1240
+ }
1241
+ /**
1242
+ *
1243
+ * @export
1244
+ * @interface ReferralExaminationData
1245
+ */
1246
+ export interface ReferralExaminationData {
1247
+ /**
1248
+ *
1249
+ * @type {string}
1250
+ * @memberof ReferralExaminationData
1251
+ */
1252
+ termDateTime: string | null;
1253
+ /**
1254
+ *
1255
+ * @type {string}
1256
+ * @memberof ReferralExaminationData
1257
+ */
1258
+ referralFrom: string | null;
1259
+ /**
1260
+ *
1261
+ * @type {string}
1262
+ * @memberof ReferralExaminationData
1263
+ */
1264
+ diagnosis: string | null;
1265
+ /**
1266
+ *
1267
+ * @type {string}
1268
+ * @memberof ReferralExaminationData
1269
+ */
1270
+ service: string | null;
1271
+ /**
1272
+ *
1273
+ * @type {string}
1274
+ * @memberof ReferralExaminationData
1275
+ */
1276
+ referringDoctor: string | null;
1277
+ }
1278
+ /**
1279
+ *
1280
+ * @export
1281
+ * @interface ReferralExtractionResult
1282
+ */
1283
+ export interface ReferralExtractionResult {
1284
+ /**
1285
+ *
1286
+ * @type {ReferralPatientData}
1287
+ * @memberof ReferralExtractionResult
1288
+ */
1289
+ patient: ReferralPatientData;
1290
+ /**
1291
+ *
1292
+ * @type {ReferralExaminationData}
1293
+ * @memberof ReferralExtractionResult
1294
+ */
1295
+ examination: ReferralExaminationData;
1296
+ }
1297
+ /**
1298
+ *
1299
+ * @export
1300
+ * @interface ReferralPatientData
1301
+ */
1302
+ export interface ReferralPatientData {
1303
+ /**
1304
+ *
1305
+ * @type {string}
1306
+ * @memberof ReferralPatientData
1307
+ */
1308
+ fullName: string | null;
1309
+ /**
1310
+ *
1311
+ * @type {string}
1312
+ * @memberof ReferralPatientData
1313
+ */
1314
+ ssnOrEmbg: string | null;
1315
+ /**
1316
+ *
1317
+ * @type {string}
1318
+ * @memberof ReferralPatientData
1319
+ */
1320
+ phone: string | null;
1321
+ /**
1322
+ *
1323
+ * @type {string}
1324
+ * @memberof ReferralPatientData
1325
+ */
1326
+ email: string | null;
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof ReferralPatientData
1331
+ */
1332
+ address: string | null;
1333
+ /**
1334
+ *
1335
+ * @type {string}
1336
+ * @memberof ReferralPatientData
1337
+ */
1338
+ insuranceBasis: string | null;
1339
+ }
1156
1340
  /**
1157
1341
  *
1158
1342
  * @export
@@ -1491,6 +1675,42 @@ export interface UpdateExaminationRequest {
1491
1675
  * @memberof UpdateExaminationRequest
1492
1676
  */
1493
1677
  personalAnamnesis?: string;
1678
+ /**
1679
+ *
1680
+ * @type {number}
1681
+ * @memberof UpdateExaminationRequest
1682
+ */
1683
+ appliedActivity?: number;
1684
+ /**
1685
+ *
1686
+ * @type {string}
1687
+ * @memberof UpdateExaminationRequest
1688
+ */
1689
+ applicationSite?: string;
1690
+ /**
1691
+ *
1692
+ * @type {string}
1693
+ * @memberof UpdateExaminationRequest
1694
+ */
1695
+ applicationTime?: string;
1696
+ /**
1697
+ *
1698
+ * @type {string}
1699
+ * @memberof UpdateExaminationRequest
1700
+ */
1701
+ applicationNote?: string;
1702
+ /**
1703
+ *
1704
+ * @type {string}
1705
+ * @memberof UpdateExaminationRequest
1706
+ */
1707
+ scanStartTime?: string;
1708
+ /**
1709
+ *
1710
+ * @type {string}
1711
+ * @memberof UpdateExaminationRequest
1712
+ */
1713
+ scanningNote?: string;
1494
1714
  /**
1495
1715
  *
1496
1716
  * @type {string}
@@ -1686,6 +1906,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1686
1906
  * @throws {RequiredError}
1687
1907
  */
1688
1908
  patientDocumentsKeyDownloadOptions(key: string, options?: any): RequestArgs;
1909
+ /**
1910
+ *
1911
+ * @param {string} embg The EMBG of the patient
1912
+ * @param {*} [options] Override http request option.
1913
+ * @throws {RequiredError}
1914
+ */
1915
+ patientEmbgEmbgOptions(embg: string, options?: any): RequestArgs;
1689
1916
  /**
1690
1917
  *
1691
1918
  * @param {*} [options] Override http request option.
@@ -1719,6 +1946,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1719
1946
  * @throws {RequiredError}
1720
1947
  */
1721
1948
  patientPetIdIdOptions(id: string, options?: any): RequestArgs;
1949
+ /**
1950
+ *
1951
+ * @param {*} [options] Override http request option.
1952
+ * @throws {RequiredError}
1953
+ */
1954
+ patientReferralExtractOptions(options?: any): RequestArgs;
1722
1955
  /**
1723
1956
  *
1724
1957
  * @param {*} [options] Override http request option.
@@ -1815,6 +2048,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1815
2048
  * @throws {RequiredError}
1816
2049
  */
1817
2050
  patientDocumentsKeyDownloadOptions(key: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
2051
+ /**
2052
+ *
2053
+ * @param {string} embg The EMBG of the patient
2054
+ * @param {*} [options] Override http request option.
2055
+ * @throws {RequiredError}
2056
+ */
2057
+ patientEmbgEmbgOptions(embg: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1818
2058
  /**
1819
2059
  *
1820
2060
  * @param {*} [options] Override http request option.
@@ -1848,6 +2088,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1848
2088
  * @throws {RequiredError}
1849
2089
  */
1850
2090
  patientPetIdIdOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
2091
+ /**
2092
+ *
2093
+ * @param {*} [options] Override http request option.
2094
+ * @throws {RequiredError}
2095
+ */
2096
+ patientReferralExtractOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1851
2097
  /**
1852
2098
  *
1853
2099
  * @param {*} [options] Override http request option.
@@ -1944,6 +2190,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1944
2190
  * @throws {RequiredError}
1945
2191
  */
1946
2192
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
2193
+ /**
2194
+ *
2195
+ * @param {string} embg The EMBG of the patient
2196
+ * @param {*} [options] Override http request option.
2197
+ * @throws {RequiredError}
2198
+ */
2199
+ patientEmbgEmbgOptions(embg: string, options?: any): AxiosPromise<void>;
1947
2200
  /**
1948
2201
  *
1949
2202
  * @param {*} [options] Override http request option.
@@ -1977,6 +2230,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1977
2230
  * @throws {RequiredError}
1978
2231
  */
1979
2232
  patientPetIdIdOptions(id: string, options?: any): AxiosPromise<void>;
2233
+ /**
2234
+ *
2235
+ * @param {*} [options] Override http request option.
2236
+ * @throws {RequiredError}
2237
+ */
2238
+ patientReferralExtractOptions(options?: any): AxiosPromise<void>;
1980
2239
  /**
1981
2240
  *
1982
2241
  * @param {*} [options] Override http request option.
@@ -2088,6 +2347,14 @@ export declare class DefaultApi extends BaseAPI {
2088
2347
  * @memberof DefaultApi
2089
2348
  */
2090
2349
  patientDocumentsKeyDownloadOptions(key: string, options?: any): AxiosPromise<void>;
2350
+ /**
2351
+ *
2352
+ * @param {string} embg The EMBG of the patient
2353
+ * @param {*} [options] Override http request option.
2354
+ * @throws {RequiredError}
2355
+ * @memberof DefaultApi
2356
+ */
2357
+ patientEmbgEmbgOptions(embg: string, options?: any): AxiosPromise<void>;
2091
2358
  /**
2092
2359
  *
2093
2360
  * @param {*} [options] Override http request option.
@@ -2126,6 +2393,13 @@ export declare class DefaultApi extends BaseAPI {
2126
2393
  * @memberof DefaultApi
2127
2394
  */
2128
2395
  patientPetIdIdOptions(id: string, options?: any): AxiosPromise<void>;
2396
+ /**
2397
+ *
2398
+ * @param {*} [options] Override http request option.
2399
+ * @throws {RequiredError}
2400
+ * @memberof DefaultApi
2401
+ */
2402
+ patientReferralExtractOptions(options?: any): AxiosPromise<void>;
2129
2403
  /**
2130
2404
  *
2131
2405
  * @param {*} [options] Override http request option.
@@ -2237,6 +2511,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2237
2511
  * @throws {RequiredError}
2238
2512
  */
2239
2513
  downloadStudy(id: string, options?: any): RequestArgs;
2514
+ /**
2515
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
2516
+ * @summary Extract referral data from PDF
2517
+ * @param {any} file HIFRM referral form PDF
2518
+ * @param {*} [options] Override http request option.
2519
+ * @throws {RequiredError}
2520
+ */
2521
+ extractReferralFromPdf(file: any, options?: any): RequestArgs;
2240
2522
  /**
2241
2523
  * generate inceremented petId
2242
2524
  * @summary Generate petId
@@ -2306,6 +2588,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2306
2588
  * @throws {RequiredError}
2307
2589
  */
2308
2590
  getPatient(id: string, options?: any): RequestArgs;
2591
+ /**
2592
+ *
2593
+ * @summary Get data about patient by EMBG
2594
+ * @param {string} embg EMBG of the patient
2595
+ * @param {*} [options] Override http request option.
2596
+ * @throws {RequiredError}
2597
+ */
2598
+ getPatientByEMBG(embg: string, options?: any): RequestArgs;
2309
2599
  /**
2310
2600
  *
2311
2601
  * @summary Get data about patient by patientId
@@ -2487,6 +2777,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2487
2777
  * @throws {RequiredError}
2488
2778
  */
2489
2779
  downloadStudy(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DownloadStudyResponse>;
2780
+ /**
2781
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
2782
+ * @summary Extract referral data from PDF
2783
+ * @param {any} file HIFRM referral form PDF
2784
+ * @param {*} [options] Override http request option.
2785
+ * @throws {RequiredError}
2786
+ */
2787
+ extractReferralFromPdf(file: any, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferralExtractionResult>;
2490
2788
  /**
2491
2789
  * generate inceremented petId
2492
2790
  * @summary Generate petId
@@ -2556,6 +2854,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2556
2854
  * @throws {RequiredError}
2557
2855
  */
2558
2856
  getPatient(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPatientResponse>;
2857
+ /**
2858
+ *
2859
+ * @summary Get data about patient by EMBG
2860
+ * @param {string} embg EMBG of the patient
2861
+ * @param {*} [options] Override http request option.
2862
+ * @throws {RequiredError}
2863
+ */
2864
+ getPatientByEMBG(embg: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPatientResponse>;
2559
2865
  /**
2560
2866
  *
2561
2867
  * @summary Get data about patient by patientId
@@ -2737,6 +3043,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2737
3043
  * @throws {RequiredError}
2738
3044
  */
2739
3045
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
3046
+ /**
3047
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
3048
+ * @summary Extract referral data from PDF
3049
+ * @param {any} file HIFRM referral form PDF
3050
+ * @param {*} [options] Override http request option.
3051
+ * @throws {RequiredError}
3052
+ */
3053
+ extractReferralFromPdf(file: any, options?: any): AxiosPromise<ReferralExtractionResult>;
2740
3054
  /**
2741
3055
  * generate inceremented petId
2742
3056
  * @summary Generate petId
@@ -2806,6 +3120,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2806
3120
  * @throws {RequiredError}
2807
3121
  */
2808
3122
  getPatient(id: string, options?: any): AxiosPromise<GetPatientResponse>;
3123
+ /**
3124
+ *
3125
+ * @summary Get data about patient by EMBG
3126
+ * @param {string} embg EMBG of the patient
3127
+ * @param {*} [options] Override http request option.
3128
+ * @throws {RequiredError}
3129
+ */
3130
+ getPatientByEMBG(embg: string, options?: any): AxiosPromise<GetPatientResponse>;
2809
3131
  /**
2810
3132
  *
2811
3133
  * @summary Get data about patient by patientId
@@ -3001,6 +3323,15 @@ export declare class MsPetApi extends BaseAPI {
3001
3323
  * @memberof MsPetApi
3002
3324
  */
3003
3325
  downloadStudy(id: string, options?: any): AxiosPromise<DownloadStudyResponse>;
3326
+ /**
3327
+ * Upload a HIFRM referral form PDF and get extracted patient and examination data.
3328
+ * @summary Extract referral data from PDF
3329
+ * @param {any} file HIFRM referral form PDF
3330
+ * @param {*} [options] Override http request option.
3331
+ * @throws {RequiredError}
3332
+ * @memberof MsPetApi
3333
+ */
3334
+ extractReferralFromPdf(file: any, options?: any): AxiosPromise<ReferralExtractionResult>;
3004
3335
  /**
3005
3336
  * generate inceremented petId
3006
3337
  * @summary Generate petId
@@ -3079,6 +3410,15 @@ export declare class MsPetApi extends BaseAPI {
3079
3410
  * @memberof MsPetApi
3080
3411
  */
3081
3412
  getPatient(id: string, options?: any): AxiosPromise<GetPatientResponse>;
3413
+ /**
3414
+ *
3415
+ * @summary Get data about patient by EMBG
3416
+ * @param {string} embg EMBG of the patient
3417
+ * @param {*} [options] Override http request option.
3418
+ * @throws {RequiredError}
3419
+ * @memberof MsPetApi
3420
+ */
3421
+ getPatientByEMBG(embg: string, options?: any): AxiosPromise<GetPatientResponse>;
3082
3422
  /**
3083
3423
  *
3084
3424
  * @summary Get data about patient by patientId