pet-backend-sdk 1.6.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
  *
@@ -1156,22 +1228,165 @@ export interface InlineObject2 {
1156
1228
  /**
1157
1229
  *
1158
1230
  * @export
1159
- * @interface SendEmailRequest
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
1160
1282
  */
1161
- export interface SendEmailRequest {
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
+ }
1340
+ /**
1341
+ *
1342
+ * @export
1343
+ * @interface SendEmailWithDocumentsRequest
1344
+ */
1345
+ export interface SendEmailWithDocumentsRequest {
1162
1346
  /**
1163
1347
  *
1164
1348
  * @type {Array<string>}
1165
- * @memberof SendEmailRequest
1349
+ * @memberof SendEmailWithDocumentsRequest
1166
1350
  */
1167
1351
  emails: Array<string>;
1168
1352
  /**
1169
1353
  *
1170
1354
  * @type {string}
1171
- * @memberof SendEmailRequest
1355
+ * @memberof SendEmailWithDocumentsRequest
1172
1356
  */
1173
1357
  documentId: string;
1174
1358
  }
1359
+ /**
1360
+ *
1361
+ * @export
1362
+ * @interface SendEmailWithGeneratedLinkRequest
1363
+ */
1364
+ export interface SendEmailWithGeneratedLinkRequest {
1365
+ /**
1366
+ *
1367
+ * @type {Array<string>}
1368
+ * @memberof SendEmailWithGeneratedLinkRequest
1369
+ */
1370
+ emails: Array<string>;
1371
+ /**
1372
+ *
1373
+ * @type {string}
1374
+ * @memberof SendEmailWithGeneratedLinkRequest
1375
+ */
1376
+ patientName: string;
1377
+ /**
1378
+ *
1379
+ * @type {string}
1380
+ * @memberof SendEmailWithGeneratedLinkRequest
1381
+ */
1382
+ patientSurname: string;
1383
+ /**
1384
+ *
1385
+ * @type {string}
1386
+ * @memberof SendEmailWithGeneratedLinkRequest
1387
+ */
1388
+ generatedLink: string;
1389
+ }
1175
1390
  /**
1176
1391
  *
1177
1392
  * @export
@@ -1460,6 +1675,42 @@ export interface UpdateExaminationRequest {
1460
1675
  * @memberof UpdateExaminationRequest
1461
1676
  */
1462
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;
1463
1714
  /**
1464
1715
  *
1465
1716
  * @type {string}
@@ -1591,6 +1842,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1591
1842
  * @throws {RequiredError}
1592
1843
  */
1593
1844
  dicomIdDownloadOptions(id: string, options?: any): RequestArgs;
1845
+ /**
1846
+ *
1847
+ * @param {*} [options] Override http request option.
1848
+ * @throws {RequiredError}
1849
+ */
1850
+ dicomSendEmailOptions(options?: any): RequestArgs;
1594
1851
  /**
1595
1852
  *
1596
1853
  * @param {*} [options] Override http request option.
@@ -1649,6 +1906,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1649
1906
  * @throws {RequiredError}
1650
1907
  */
1651
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;
1652
1916
  /**
1653
1917
  *
1654
1918
  * @param {*} [options] Override http request option.
@@ -1682,6 +1946,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1682
1946
  * @throws {RequiredError}
1683
1947
  */
1684
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;
1685
1955
  /**
1686
1956
  *
1687
1957
  * @param {*} [options] Override http request option.
@@ -1714,6 +1984,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1714
1984
  * @throws {RequiredError}
1715
1985
  */
1716
1986
  dicomIdDownloadOptions(id: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1987
+ /**
1988
+ *
1989
+ * @param {*} [options] Override http request option.
1990
+ * @throws {RequiredError}
1991
+ */
1992
+ dicomSendEmailOptions(options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>;
1717
1993
  /**
1718
1994
  *
1719
1995
  * @param {*} [options] Override http request option.
@@ -1772,6 +2048,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1772
2048
  * @throws {RequiredError}
1773
2049
  */
1774
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>;
1775
2058
  /**
1776
2059
  *
1777
2060
  * @param {*} [options] Override http request option.
@@ -1805,6 +2088,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1805
2088
  * @throws {RequiredError}
1806
2089
  */
1807
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>;
1808
2097
  /**
1809
2098
  *
1810
2099
  * @param {*} [options] Override http request option.
@@ -1837,6 +2126,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1837
2126
  * @throws {RequiredError}
1838
2127
  */
1839
2128
  dicomIdDownloadOptions(id: string, options?: any): AxiosPromise<void>;
2129
+ /**
2130
+ *
2131
+ * @param {*} [options] Override http request option.
2132
+ * @throws {RequiredError}
2133
+ */
2134
+ dicomSendEmailOptions(options?: any): AxiosPromise<void>;
1840
2135
  /**
1841
2136
  *
1842
2137
  * @param {*} [options] Override http request option.
@@ -1895,6 +2190,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1895
2190
  * @throws {RequiredError}
1896
2191
  */
1897
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>;
1898
2200
  /**
1899
2201
  *
1900
2202
  * @param {*} [options] Override http request option.
@@ -1928,6 +2230,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1928
2230
  * @throws {RequiredError}
1929
2231
  */
1930
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>;
1931
2239
  /**
1932
2240
  *
1933
2241
  * @param {*} [options] Override http request option.
@@ -1965,6 +2273,13 @@ export declare class DefaultApi extends BaseAPI {
1965
2273
  * @memberof DefaultApi
1966
2274
  */
1967
2275
  dicomIdDownloadOptions(id: string, options?: any): AxiosPromise<void>;
2276
+ /**
2277
+ *
2278
+ * @param {*} [options] Override http request option.
2279
+ * @throws {RequiredError}
2280
+ * @memberof DefaultApi
2281
+ */
2282
+ dicomSendEmailOptions(options?: any): AxiosPromise<void>;
1968
2283
  /**
1969
2284
  *
1970
2285
  * @param {*} [options] Override http request option.
@@ -2032,6 +2347,14 @@ export declare class DefaultApi extends BaseAPI {
2032
2347
  * @memberof DefaultApi
2033
2348
  */
2034
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>;
2035
2358
  /**
2036
2359
  *
2037
2360
  * @param {*} [options] Override http request option.
@@ -2070,6 +2393,13 @@ export declare class DefaultApi extends BaseAPI {
2070
2393
  * @memberof DefaultApi
2071
2394
  */
2072
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>;
2073
2403
  /**
2074
2404
  *
2075
2405
  * @param {*} [options] Override http request option.
@@ -2181,6 +2511,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2181
2511
  * @throws {RequiredError}
2182
2512
  */
2183
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;
2184
2522
  /**
2185
2523
  * generate inceremented petId
2186
2524
  * @summary Generate petId
@@ -2250,6 +2588,14 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2250
2588
  * @throws {RequiredError}
2251
2589
  */
2252
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;
2253
2599
  /**
2254
2600
  *
2255
2601
  * @summary Get data about patient by patientId
@@ -2261,11 +2607,19 @@ export declare const MsPetApiAxiosParamCreator: (configuration?: Configuration)
2261
2607
  /**
2262
2608
  * Sending email with document
2263
2609
  * @summary Send email with patient document
2264
- * @param {SendEmailRequest} sendEmailRequest
2610
+ * @param {SendEmailWithDocumentsRequest} sendEmailWithDocumentsRequest
2611
+ * @param {*} [options] Override http request option.
2612
+ * @throws {RequiredError}
2613
+ */
2614
+ sendEmail(sendEmailWithDocumentsRequest: SendEmailWithDocumentsRequest, options?: any): RequestArgs;
2615
+ /**
2616
+ * send email with link to download dicom zip
2617
+ * @summary Send email with generated link to download dicom
2618
+ * @param {SendEmailWithGeneratedLinkRequest} sendEmailWithGeneratedLinkRequest
2265
2619
  * @param {*} [options] Override http request option.
2266
2620
  * @throws {RequiredError}
2267
2621
  */
2268
- sendEmail(sendEmailRequest: SendEmailRequest, options?: any): RequestArgs;
2622
+ sendEmailWithGeneratedLink(sendEmailWithGeneratedLinkRequest: SendEmailWithGeneratedLinkRequest, options?: any): RequestArgs;
2269
2623
  /**
2270
2624
  * Change type of a document
2271
2625
  * @summary Change document type
@@ -2423,6 +2777,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2423
2777
  * @throws {RequiredError}
2424
2778
  */
2425
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>;
2426
2788
  /**
2427
2789
  * generate inceremented petId
2428
2790
  * @summary Generate petId
@@ -2492,6 +2854,14 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2492
2854
  * @throws {RequiredError}
2493
2855
  */
2494
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>;
2495
2865
  /**
2496
2866
  *
2497
2867
  * @summary Get data about patient by patientId
@@ -2503,11 +2873,19 @@ export declare const MsPetApiFp: (configuration?: Configuration) => {
2503
2873
  /**
2504
2874
  * Sending email with document
2505
2875
  * @summary Send email with patient document
2506
- * @param {SendEmailRequest} sendEmailRequest
2876
+ * @param {SendEmailWithDocumentsRequest} sendEmailWithDocumentsRequest
2507
2877
  * @param {*} [options] Override http request option.
2508
2878
  * @throws {RequiredError}
2509
2879
  */
2510
- sendEmail(sendEmailRequest: SendEmailRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2880
+ sendEmail(sendEmailWithDocumentsRequest: SendEmailWithDocumentsRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2881
+ /**
2882
+ * send email with link to download dicom zip
2883
+ * @summary Send email with generated link to download dicom
2884
+ * @param {SendEmailWithGeneratedLinkRequest} sendEmailWithGeneratedLinkRequest
2885
+ * @param {*} [options] Override http request option.
2886
+ * @throws {RequiredError}
2887
+ */
2888
+ sendEmailWithGeneratedLink(sendEmailWithGeneratedLinkRequest: SendEmailWithGeneratedLinkRequest, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoneResult>;
2511
2889
  /**
2512
2890
  * Change type of a document
2513
2891
  * @summary Change document type
@@ -2665,6 +3043,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2665
3043
  * @throws {RequiredError}
2666
3044
  */
2667
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>;
2668
3054
  /**
2669
3055
  * generate inceremented petId
2670
3056
  * @summary Generate petId
@@ -2734,6 +3120,14 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2734
3120
  * @throws {RequiredError}
2735
3121
  */
2736
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>;
2737
3131
  /**
2738
3132
  *
2739
3133
  * @summary Get data about patient by patientId
@@ -2745,11 +3139,19 @@ export declare const MsPetApiFactory: (configuration?: Configuration, basePath?:
2745
3139
  /**
2746
3140
  * Sending email with document
2747
3141
  * @summary Send email with patient document
2748
- * @param {SendEmailRequest} sendEmailRequest
3142
+ * @param {SendEmailWithDocumentsRequest} sendEmailWithDocumentsRequest
3143
+ * @param {*} [options] Override http request option.
3144
+ * @throws {RequiredError}
3145
+ */
3146
+ sendEmail(sendEmailWithDocumentsRequest: SendEmailWithDocumentsRequest, options?: any): AxiosPromise<DoneResult>;
3147
+ /**
3148
+ * send email with link to download dicom zip
3149
+ * @summary Send email with generated link to download dicom
3150
+ * @param {SendEmailWithGeneratedLinkRequest} sendEmailWithGeneratedLinkRequest
2749
3151
  * @param {*} [options] Override http request option.
2750
3152
  * @throws {RequiredError}
2751
3153
  */
2752
- sendEmail(sendEmailRequest: SendEmailRequest, options?: any): AxiosPromise<DoneResult>;
3154
+ sendEmailWithGeneratedLink(sendEmailWithGeneratedLinkRequest: SendEmailWithGeneratedLinkRequest, options?: any): AxiosPromise<DoneResult>;
2753
3155
  /**
2754
3156
  * Change type of a document
2755
3157
  * @summary Change document type
@@ -2921,6 +3323,15 @@ export declare class MsPetApi extends BaseAPI {
2921
3323
  * @memberof MsPetApi
2922
3324
  */
2923
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>;
2924
3335
  /**
2925
3336
  * generate inceremented petId
2926
3337
  * @summary Generate petId
@@ -2999,6 +3410,15 @@ export declare class MsPetApi extends BaseAPI {
2999
3410
  * @memberof MsPetApi
3000
3411
  */
3001
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>;
3002
3422
  /**
3003
3423
  *
3004
3424
  * @summary Get data about patient by patientId
@@ -3011,12 +3431,21 @@ export declare class MsPetApi extends BaseAPI {
3011
3431
  /**
3012
3432
  * Sending email with document
3013
3433
  * @summary Send email with patient document
3014
- * @param {SendEmailRequest} sendEmailRequest
3434
+ * @param {SendEmailWithDocumentsRequest} sendEmailWithDocumentsRequest
3435
+ * @param {*} [options] Override http request option.
3436
+ * @throws {RequiredError}
3437
+ * @memberof MsPetApi
3438
+ */
3439
+ sendEmail(sendEmailWithDocumentsRequest: SendEmailWithDocumentsRequest, options?: any): AxiosPromise<DoneResult>;
3440
+ /**
3441
+ * send email with link to download dicom zip
3442
+ * @summary Send email with generated link to download dicom
3443
+ * @param {SendEmailWithGeneratedLinkRequest} sendEmailWithGeneratedLinkRequest
3015
3444
  * @param {*} [options] Override http request option.
3016
3445
  * @throws {RequiredError}
3017
3446
  * @memberof MsPetApi
3018
3447
  */
3019
- sendEmail(sendEmailRequest: SendEmailRequest, options?: any): AxiosPromise<DoneResult>;
3448
+ sendEmailWithGeneratedLink(sendEmailWithGeneratedLinkRequest: SendEmailWithGeneratedLinkRequest, options?: any): AxiosPromise<DoneResult>;
3020
3449
  /**
3021
3450
  * Change type of a document
3022
3451
  * @summary Change document type