@aws-sdk/client-comprehendmedical 3.933.0 → 3.935.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.
@@ -0,0 +1,352 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const EntityType: {
6
+ readonly ANATOMY: "ANATOMY";
7
+ readonly BEHAVIORAL_ENVIRONMENTAL_SOCIAL: "BEHAVIORAL_ENVIRONMENTAL_SOCIAL";
8
+ readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
9
+ readonly MEDICATION: "MEDICATION";
10
+ readonly PROTECTED_HEALTH_INFORMATION: "PROTECTED_HEALTH_INFORMATION";
11
+ readonly TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE";
12
+ readonly TIME_EXPRESSION: "TIME_EXPRESSION";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
18
+ /**
19
+ * @public
20
+ * @enum
21
+ */
22
+ export declare const RelationshipType: {
23
+ readonly ACUITY: "ACUITY";
24
+ readonly ADMINISTERED_VIA: "ADMINISTERED_VIA";
25
+ readonly AMOUNT: "AMOUNT";
26
+ readonly DIRECTION: "DIRECTION";
27
+ readonly DOSAGE: "DOSAGE";
28
+ readonly DURATION: "DURATION";
29
+ readonly EVERY: "EVERY";
30
+ readonly FOR: "FOR";
31
+ readonly FORM: "FORM";
32
+ readonly FREQUENCY: "FREQUENCY";
33
+ readonly NEGATIVE: "NEGATIVE";
34
+ readonly OVERLAP: "OVERLAP";
35
+ readonly QUALITY: "QUALITY";
36
+ readonly RATE: "RATE";
37
+ readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
38
+ readonly STRENGTH: "STRENGTH";
39
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
40
+ readonly TEST_UNIT: "TEST_UNIT";
41
+ readonly TEST_UNITS: "TEST_UNITS";
42
+ readonly TEST_VALUE: "TEST_VALUE";
43
+ readonly USAGE: "USAGE";
44
+ readonly WITH_DOSAGE: "WITH_DOSAGE";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type RelationshipType = (typeof RelationshipType)[keyof typeof RelationshipType];
50
+ /**
51
+ * @public
52
+ * @enum
53
+ */
54
+ export declare const AttributeName: {
55
+ readonly DIAGNOSIS: "DIAGNOSIS";
56
+ readonly FUTURE: "FUTURE";
57
+ readonly HYPOTHETICAL: "HYPOTHETICAL";
58
+ readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
59
+ readonly NEGATION: "NEGATION";
60
+ readonly PAST_HISTORY: "PAST_HISTORY";
61
+ readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
62
+ readonly SIGN: "SIGN";
63
+ readonly SYMPTOM: "SYMPTOM";
64
+ };
65
+ /**
66
+ * @public
67
+ */
68
+ export type AttributeName = (typeof AttributeName)[keyof typeof AttributeName];
69
+ /**
70
+ * @public
71
+ * @enum
72
+ */
73
+ export declare const EntitySubType: {
74
+ readonly ACUITY: "ACUITY";
75
+ readonly ADDRESS: "ADDRESS";
76
+ readonly AGE: "AGE";
77
+ readonly ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION";
78
+ readonly ALLERGIES: "ALLERGIES";
79
+ readonly AMOUNT: "AMOUNT";
80
+ readonly BRAND_NAME: "BRAND_NAME";
81
+ readonly CONTACT_POINT: "CONTACT_POINT";
82
+ readonly DATE: "DATE";
83
+ readonly DIRECTION: "DIRECTION";
84
+ readonly DOSAGE: "DOSAGE";
85
+ readonly DURATION: "DURATION";
86
+ readonly DX_NAME: "DX_NAME";
87
+ readonly EMAIL: "EMAIL";
88
+ readonly FORM: "FORM";
89
+ readonly FREQUENCY: "FREQUENCY";
90
+ readonly GENDER: "GENDER";
91
+ readonly GENERIC_NAME: "GENERIC_NAME";
92
+ readonly ID: "ID";
93
+ readonly IDENTIFIER: "IDENTIFIER";
94
+ readonly NAME: "NAME";
95
+ readonly PHONE_OR_FAX: "PHONE_OR_FAX";
96
+ readonly PROCEDURE_NAME: "PROCEDURE_NAME";
97
+ readonly PROFESSION: "PROFESSION";
98
+ readonly QUALITY: "QUALITY";
99
+ readonly QUANTITY: "QUANTITY";
100
+ readonly RACE_ETHNICITY: "RACE_ETHNICITY";
101
+ readonly RATE: "RATE";
102
+ readonly REC_DRUG_USE: "REC_DRUG_USE";
103
+ readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
104
+ readonly STRENGTH: "STRENGTH";
105
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
106
+ readonly TEST_NAME: "TEST_NAME";
107
+ readonly TEST_UNIT: "TEST_UNIT";
108
+ readonly TEST_UNITS: "TEST_UNITS";
109
+ readonly TEST_VALUE: "TEST_VALUE";
110
+ readonly TIME_EXPRESSION: "TIME_EXPRESSION";
111
+ readonly TIME_TO_DX_NAME: "TIME_TO_DX_NAME";
112
+ readonly TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME";
113
+ readonly TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME";
114
+ readonly TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME";
115
+ readonly TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME";
116
+ readonly TOBACCO_USE: "TOBACCO_USE";
117
+ readonly TREATMENT_NAME: "TREATMENT_NAME";
118
+ readonly URL: "URL";
119
+ };
120
+ /**
121
+ * @public
122
+ */
123
+ export type EntitySubType = (typeof EntitySubType)[keyof typeof EntitySubType];
124
+ /**
125
+ * @public
126
+ * @enum
127
+ */
128
+ export declare const JobStatus: {
129
+ readonly COMPLETED: "COMPLETED";
130
+ readonly FAILED: "FAILED";
131
+ readonly IN_PROGRESS: "IN_PROGRESS";
132
+ readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
133
+ readonly STOPPED: "STOPPED";
134
+ readonly STOP_REQUESTED: "STOP_REQUESTED";
135
+ readonly SUBMITTED: "SUBMITTED";
136
+ };
137
+ /**
138
+ * @public
139
+ */
140
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const LanguageCode: {
146
+ readonly EN: "en";
147
+ };
148
+ /**
149
+ * @public
150
+ */
151
+ export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
152
+ /**
153
+ * @public
154
+ * @enum
155
+ */
156
+ export declare const ICD10CMEntityType: {
157
+ readonly DX_NAME: "DX_NAME";
158
+ readonly TIME_EXPRESSION: "TIME_EXPRESSION";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type ICD10CMEntityType = (typeof ICD10CMEntityType)[keyof typeof ICD10CMEntityType];
164
+ /**
165
+ * @public
166
+ * @enum
167
+ */
168
+ export declare const ICD10CMRelationshipType: {
169
+ readonly OVERLAP: "OVERLAP";
170
+ readonly QUALITY: "QUALITY";
171
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
172
+ };
173
+ /**
174
+ * @public
175
+ */
176
+ export type ICD10CMRelationshipType = (typeof ICD10CMRelationshipType)[keyof typeof ICD10CMRelationshipType];
177
+ /**
178
+ * @public
179
+ * @enum
180
+ */
181
+ export declare const ICD10CMTraitName: {
182
+ readonly DIAGNOSIS: "DIAGNOSIS";
183
+ readonly HYPOTHETICAL: "HYPOTHETICAL";
184
+ readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
185
+ readonly NEGATION: "NEGATION";
186
+ readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
187
+ readonly SIGN: "SIGN";
188
+ readonly SYMPTOM: "SYMPTOM";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type ICD10CMTraitName = (typeof ICD10CMTraitName)[keyof typeof ICD10CMTraitName];
194
+ /**
195
+ * @public
196
+ * @enum
197
+ */
198
+ export declare const ICD10CMAttributeType: {
199
+ readonly ACUITY: "ACUITY";
200
+ readonly DIRECTION: "DIRECTION";
201
+ readonly QUALITY: "QUALITY";
202
+ readonly QUANTITY: "QUANTITY";
203
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
204
+ readonly TIME_EXPRESSION: "TIME_EXPRESSION";
205
+ readonly TIME_TO_DX_NAME: "TIME_TO_DX_NAME";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type ICD10CMAttributeType = (typeof ICD10CMAttributeType)[keyof typeof ICD10CMAttributeType];
211
+ /**
212
+ * @public
213
+ * @enum
214
+ */
215
+ export declare const ICD10CMEntityCategory: {
216
+ readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
217
+ };
218
+ /**
219
+ * @public
220
+ */
221
+ export type ICD10CMEntityCategory = (typeof ICD10CMEntityCategory)[keyof typeof ICD10CMEntityCategory];
222
+ /**
223
+ * @public
224
+ * @enum
225
+ */
226
+ export declare const RxNormTraitName: {
227
+ readonly NEGATION: "NEGATION";
228
+ readonly PAST_HISTORY: "PAST_HISTORY";
229
+ };
230
+ /**
231
+ * @public
232
+ */
233
+ export type RxNormTraitName = (typeof RxNormTraitName)[keyof typeof RxNormTraitName];
234
+ /**
235
+ * @public
236
+ * @enum
237
+ */
238
+ export declare const RxNormAttributeType: {
239
+ readonly DOSAGE: "DOSAGE";
240
+ readonly DURATION: "DURATION";
241
+ readonly FORM: "FORM";
242
+ readonly FREQUENCY: "FREQUENCY";
243
+ readonly RATE: "RATE";
244
+ readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
245
+ readonly STRENGTH: "STRENGTH";
246
+ };
247
+ /**
248
+ * @public
249
+ */
250
+ export type RxNormAttributeType = (typeof RxNormAttributeType)[keyof typeof RxNormAttributeType];
251
+ /**
252
+ * @public
253
+ * @enum
254
+ */
255
+ export declare const RxNormEntityCategory: {
256
+ readonly MEDICATION: "MEDICATION";
257
+ };
258
+ /**
259
+ * @public
260
+ */
261
+ export type RxNormEntityCategory = (typeof RxNormEntityCategory)[keyof typeof RxNormEntityCategory];
262
+ /**
263
+ * @public
264
+ * @enum
265
+ */
266
+ export declare const RxNormEntityType: {
267
+ readonly BRAND_NAME: "BRAND_NAME";
268
+ readonly GENERIC_NAME: "GENERIC_NAME";
269
+ };
270
+ /**
271
+ * @public
272
+ */
273
+ export type RxNormEntityType = (typeof RxNormEntityType)[keyof typeof RxNormEntityType];
274
+ /**
275
+ * @public
276
+ * @enum
277
+ */
278
+ export declare const SNOMEDCTEntityCategory: {
279
+ readonly ANATOMY: "ANATOMY";
280
+ readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
281
+ readonly TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE";
282
+ };
283
+ /**
284
+ * @public
285
+ */
286
+ export type SNOMEDCTEntityCategory = (typeof SNOMEDCTEntityCategory)[keyof typeof SNOMEDCTEntityCategory];
287
+ /**
288
+ * @public
289
+ * @enum
290
+ */
291
+ export declare const SNOMEDCTRelationshipType: {
292
+ readonly ACUITY: "ACUITY";
293
+ readonly DIRECTION: "DIRECTION";
294
+ readonly QUALITY: "QUALITY";
295
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
296
+ readonly TEST_UNIT: "TEST_UNIT";
297
+ readonly TEST_UNITS: "TEST_UNITS";
298
+ readonly TEST_VALUE: "TEST_VALUE";
299
+ };
300
+ /**
301
+ * @public
302
+ */
303
+ export type SNOMEDCTRelationshipType = (typeof SNOMEDCTRelationshipType)[keyof typeof SNOMEDCTRelationshipType];
304
+ /**
305
+ * @public
306
+ * @enum
307
+ */
308
+ export declare const SNOMEDCTTraitName: {
309
+ readonly DIAGNOSIS: "DIAGNOSIS";
310
+ readonly FUTURE: "FUTURE";
311
+ readonly HYPOTHETICAL: "HYPOTHETICAL";
312
+ readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
313
+ readonly NEGATION: "NEGATION";
314
+ readonly PAST_HISTORY: "PAST_HISTORY";
315
+ readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
316
+ readonly SIGN: "SIGN";
317
+ readonly SYMPTOM: "SYMPTOM";
318
+ };
319
+ /**
320
+ * @public
321
+ */
322
+ export type SNOMEDCTTraitName = (typeof SNOMEDCTTraitName)[keyof typeof SNOMEDCTTraitName];
323
+ /**
324
+ * @public
325
+ * @enum
326
+ */
327
+ export declare const SNOMEDCTAttributeType: {
328
+ readonly ACUITY: "ACUITY";
329
+ readonly DIRECTION: "DIRECTION";
330
+ readonly QUALITY: "QUALITY";
331
+ readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
332
+ readonly TEST_UNIT: "TEST_UNIT";
333
+ readonly TEST_VALUE: "TEST_VALUE";
334
+ };
335
+ /**
336
+ * @public
337
+ */
338
+ export type SNOMEDCTAttributeType = (typeof SNOMEDCTAttributeType)[keyof typeof SNOMEDCTAttributeType];
339
+ /**
340
+ * @public
341
+ * @enum
342
+ */
343
+ export declare const SNOMEDCTEntityType: {
344
+ readonly DX_NAME: "DX_NAME";
345
+ readonly PROCEDURE_NAME: "PROCEDURE_NAME";
346
+ readonly TEST_NAME: "TEST_NAME";
347
+ readonly TREATMENT_NAME: "TREATMENT_NAME";
348
+ };
349
+ /**
350
+ * @public
351
+ */
352
+ export type SNOMEDCTEntityType = (typeof SNOMEDCTEntityType)[keyof typeof SNOMEDCTEntityType];
@@ -0,0 +1,114 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ComprehendMedicalServiceException as __BaseException } from "./ComprehendMedicalServiceException";
3
+ /**
4
+ * <p> An internal server error occurred. Retry your request. </p>
5
+ * @public
6
+ */
7
+ export declare class InternalServerException extends __BaseException {
8
+ readonly name: "InternalServerException";
9
+ readonly $fault: "server";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p> The request that you made is invalid. Check your request to determine why it's invalid
18
+ * and then retry the request.</p>
19
+ * @public
20
+ */
21
+ export declare class InvalidRequestException extends __BaseException {
22
+ readonly name: "InvalidRequestException";
23
+ readonly $fault: "client";
24
+ Message?: string | undefined;
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>The resource identified by the specified Amazon Resource Name (ARN) was not found. Check
32
+ * the ARN and try your request again.</p>
33
+ * @public
34
+ */
35
+ export declare class ResourceNotFoundException extends __BaseException {
36
+ readonly name: "ResourceNotFoundException";
37
+ readonly $fault: "client";
38
+ Message?: string | undefined;
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
43
+ }
44
+ /**
45
+ * <p> You have made too many requests within a short period of time. Wait for a short time and
46
+ * then try your request again. Contact customer support for more information about a service
47
+ * limit increase. </p>
48
+ * @public
49
+ */
50
+ export declare class TooManyRequestsException extends __BaseException {
51
+ readonly name: "TooManyRequestsException";
52
+ readonly $fault: "client";
53
+ Message?: string | undefined;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
58
+ }
59
+ /**
60
+ * <p> The input text was not in valid UTF-8 character encoding. Check your text then retry your
61
+ * request.</p>
62
+ * @public
63
+ */
64
+ export declare class InvalidEncodingException extends __BaseException {
65
+ readonly name: "InvalidEncodingException";
66
+ readonly $fault: "client";
67
+ Message?: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<InvalidEncodingException, __BaseException>);
72
+ }
73
+ /**
74
+ * <p> The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
75
+ * </p>
76
+ * @public
77
+ */
78
+ export declare class ServiceUnavailableException extends __BaseException {
79
+ readonly name: "ServiceUnavailableException";
80
+ readonly $fault: "server";
81
+ Message?: string | undefined;
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or
89
+ * use a smaller document and then retry your request. </p>
90
+ * @public
91
+ */
92
+ export declare class TextSizeLimitExceededException extends __BaseException {
93
+ readonly name: "TextSizeLimitExceededException";
94
+ readonly $fault: "client";
95
+ Message?: string | undefined;
96
+ /**
97
+ * @internal
98
+ */
99
+ constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
100
+ }
101
+ /**
102
+ * <p>The filter that you specified for the operation is invalid. Check the filter values that
103
+ * you entered and try your request again.</p>
104
+ * @public
105
+ */
106
+ export declare class ValidationException extends __BaseException {
107
+ readonly name: "ValidationException";
108
+ readonly $fault: "client";
109
+ Message?: string | undefined;
110
+ /**
111
+ * @internal
112
+ */
113
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
114
+ }