@aws-sdk/client-comprehendmedical 3.934.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.
- package/dist-cjs/index.js +193 -192
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +192 -0
- package/dist-es/models/errors.js +113 -0
- package/dist-es/models/models_0.js +1 -305
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +352 -0
- package/dist-types/models/errors.d.ts +114 -0
- package/dist-types/models/models_0.d.ts +1 -466
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +227 -0
- package/dist-types/ts3.4/models/errors.d.ts +66 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -293
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,73 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComprehendMedicalServiceException as __BaseException } from "./ComprehendMedicalServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const EntityType: {
|
|
8
|
-
readonly ANATOMY: "ANATOMY";
|
|
9
|
-
readonly BEHAVIORAL_ENVIRONMENTAL_SOCIAL: "BEHAVIORAL_ENVIRONMENTAL_SOCIAL";
|
|
10
|
-
readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
|
|
11
|
-
readonly MEDICATION: "MEDICATION";
|
|
12
|
-
readonly PROTECTED_HEALTH_INFORMATION: "PROTECTED_HEALTH_INFORMATION";
|
|
13
|
-
readonly TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE";
|
|
14
|
-
readonly TIME_EXPRESSION: "TIME_EXPRESSION";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
20
|
-
/**
|
|
21
|
-
* @public
|
|
22
|
-
* @enum
|
|
23
|
-
*/
|
|
24
|
-
export declare const RelationshipType: {
|
|
25
|
-
readonly ACUITY: "ACUITY";
|
|
26
|
-
readonly ADMINISTERED_VIA: "ADMINISTERED_VIA";
|
|
27
|
-
readonly AMOUNT: "AMOUNT";
|
|
28
|
-
readonly DIRECTION: "DIRECTION";
|
|
29
|
-
readonly DOSAGE: "DOSAGE";
|
|
30
|
-
readonly DURATION: "DURATION";
|
|
31
|
-
readonly EVERY: "EVERY";
|
|
32
|
-
readonly FOR: "FOR";
|
|
33
|
-
readonly FORM: "FORM";
|
|
34
|
-
readonly FREQUENCY: "FREQUENCY";
|
|
35
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
36
|
-
readonly OVERLAP: "OVERLAP";
|
|
37
|
-
readonly QUALITY: "QUALITY";
|
|
38
|
-
readonly RATE: "RATE";
|
|
39
|
-
readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
|
|
40
|
-
readonly STRENGTH: "STRENGTH";
|
|
41
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
42
|
-
readonly TEST_UNIT: "TEST_UNIT";
|
|
43
|
-
readonly TEST_UNITS: "TEST_UNITS";
|
|
44
|
-
readonly TEST_VALUE: "TEST_VALUE";
|
|
45
|
-
readonly USAGE: "USAGE";
|
|
46
|
-
readonly WITH_DOSAGE: "WITH_DOSAGE";
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
*/
|
|
51
|
-
export type RelationshipType = (typeof RelationshipType)[keyof typeof RelationshipType];
|
|
52
|
-
/**
|
|
53
|
-
* @public
|
|
54
|
-
* @enum
|
|
55
|
-
*/
|
|
56
|
-
export declare const AttributeName: {
|
|
57
|
-
readonly DIAGNOSIS: "DIAGNOSIS";
|
|
58
|
-
readonly FUTURE: "FUTURE";
|
|
59
|
-
readonly HYPOTHETICAL: "HYPOTHETICAL";
|
|
60
|
-
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
61
|
-
readonly NEGATION: "NEGATION";
|
|
62
|
-
readonly PAST_HISTORY: "PAST_HISTORY";
|
|
63
|
-
readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
|
|
64
|
-
readonly SIGN: "SIGN";
|
|
65
|
-
readonly SYMPTOM: "SYMPTOM";
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
export type AttributeName = (typeof AttributeName)[keyof typeof AttributeName];
|
|
1
|
+
import { AttributeName, EntitySubType, EntityType, ICD10CMAttributeType, ICD10CMEntityCategory, ICD10CMEntityType, ICD10CMRelationshipType, ICD10CMTraitName, JobStatus, LanguageCode, RelationshipType, RxNormAttributeType, RxNormEntityCategory, RxNormEntityType, RxNormTraitName, SNOMEDCTAttributeType, SNOMEDCTEntityCategory, SNOMEDCTEntityType, SNOMEDCTRelationshipType, SNOMEDCTTraitName } from "./enums";
|
|
71
2
|
/**
|
|
72
3
|
* <p> Provides contextual information about the extracted entity. </p>
|
|
73
4
|
* @public
|
|
@@ -84,61 +15,6 @@ export interface Trait {
|
|
|
84
15
|
*/
|
|
85
16
|
Score?: number | undefined;
|
|
86
17
|
}
|
|
87
|
-
/**
|
|
88
|
-
* @public
|
|
89
|
-
* @enum
|
|
90
|
-
*/
|
|
91
|
-
export declare const EntitySubType: {
|
|
92
|
-
readonly ACUITY: "ACUITY";
|
|
93
|
-
readonly ADDRESS: "ADDRESS";
|
|
94
|
-
readonly AGE: "AGE";
|
|
95
|
-
readonly ALCOHOL_CONSUMPTION: "ALCOHOL_CONSUMPTION";
|
|
96
|
-
readonly ALLERGIES: "ALLERGIES";
|
|
97
|
-
readonly AMOUNT: "AMOUNT";
|
|
98
|
-
readonly BRAND_NAME: "BRAND_NAME";
|
|
99
|
-
readonly CONTACT_POINT: "CONTACT_POINT";
|
|
100
|
-
readonly DATE: "DATE";
|
|
101
|
-
readonly DIRECTION: "DIRECTION";
|
|
102
|
-
readonly DOSAGE: "DOSAGE";
|
|
103
|
-
readonly DURATION: "DURATION";
|
|
104
|
-
readonly DX_NAME: "DX_NAME";
|
|
105
|
-
readonly EMAIL: "EMAIL";
|
|
106
|
-
readonly FORM: "FORM";
|
|
107
|
-
readonly FREQUENCY: "FREQUENCY";
|
|
108
|
-
readonly GENDER: "GENDER";
|
|
109
|
-
readonly GENERIC_NAME: "GENERIC_NAME";
|
|
110
|
-
readonly ID: "ID";
|
|
111
|
-
readonly IDENTIFIER: "IDENTIFIER";
|
|
112
|
-
readonly NAME: "NAME";
|
|
113
|
-
readonly PHONE_OR_FAX: "PHONE_OR_FAX";
|
|
114
|
-
readonly PROCEDURE_NAME: "PROCEDURE_NAME";
|
|
115
|
-
readonly PROFESSION: "PROFESSION";
|
|
116
|
-
readonly QUALITY: "QUALITY";
|
|
117
|
-
readonly QUANTITY: "QUANTITY";
|
|
118
|
-
readonly RACE_ETHNICITY: "RACE_ETHNICITY";
|
|
119
|
-
readonly RATE: "RATE";
|
|
120
|
-
readonly REC_DRUG_USE: "REC_DRUG_USE";
|
|
121
|
-
readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
|
|
122
|
-
readonly STRENGTH: "STRENGTH";
|
|
123
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
124
|
-
readonly TEST_NAME: "TEST_NAME";
|
|
125
|
-
readonly TEST_UNIT: "TEST_UNIT";
|
|
126
|
-
readonly TEST_UNITS: "TEST_UNITS";
|
|
127
|
-
readonly TEST_VALUE: "TEST_VALUE";
|
|
128
|
-
readonly TIME_EXPRESSION: "TIME_EXPRESSION";
|
|
129
|
-
readonly TIME_TO_DX_NAME: "TIME_TO_DX_NAME";
|
|
130
|
-
readonly TIME_TO_MEDICATION_NAME: "TIME_TO_MEDICATION_NAME";
|
|
131
|
-
readonly TIME_TO_PROCEDURE_NAME: "TIME_TO_PROCEDURE_NAME";
|
|
132
|
-
readonly TIME_TO_TEST_NAME: "TIME_TO_TEST_NAME";
|
|
133
|
-
readonly TIME_TO_TREATMENT_NAME: "TIME_TO_TREATMENT_NAME";
|
|
134
|
-
readonly TOBACCO_USE: "TOBACCO_USE";
|
|
135
|
-
readonly TREATMENT_NAME: "TREATMENT_NAME";
|
|
136
|
-
readonly URL: "URL";
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
|
-
export type EntitySubType = (typeof EntitySubType)[keyof typeof EntitySubType];
|
|
142
18
|
/**
|
|
143
19
|
* <p> An extracted segment of the text that is an attribute of an entity, or otherwise related
|
|
144
20
|
* to an entity, such as the dosage of a medication taken. It contains information about the
|
|
@@ -250,34 +126,6 @@ export interface InputDataConfig {
|
|
|
250
126
|
*/
|
|
251
127
|
S3Key?: string | undefined;
|
|
252
128
|
}
|
|
253
|
-
/**
|
|
254
|
-
* @public
|
|
255
|
-
* @enum
|
|
256
|
-
*/
|
|
257
|
-
export declare const JobStatus: {
|
|
258
|
-
readonly COMPLETED: "COMPLETED";
|
|
259
|
-
readonly FAILED: "FAILED";
|
|
260
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
261
|
-
readonly PARTIAL_SUCCESS: "PARTIAL_SUCCESS";
|
|
262
|
-
readonly STOPPED: "STOPPED";
|
|
263
|
-
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
264
|
-
readonly SUBMITTED: "SUBMITTED";
|
|
265
|
-
};
|
|
266
|
-
/**
|
|
267
|
-
* @public
|
|
268
|
-
*/
|
|
269
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* @enum
|
|
273
|
-
*/
|
|
274
|
-
export declare const LanguageCode: {
|
|
275
|
-
readonly EN: "en";
|
|
276
|
-
};
|
|
277
|
-
/**
|
|
278
|
-
* @public
|
|
279
|
-
*/
|
|
280
|
-
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
281
129
|
/**
|
|
282
130
|
* <p>The output properties for a detection job.</p>
|
|
283
131
|
* @public
|
|
@@ -391,62 +239,6 @@ export interface DescribeEntitiesDetectionV2JobResponse {
|
|
|
391
239
|
*/
|
|
392
240
|
ComprehendMedicalAsyncJobProperties?: ComprehendMedicalAsyncJobProperties | undefined;
|
|
393
241
|
}
|
|
394
|
-
/**
|
|
395
|
-
* <p> An internal server error occurred. Retry your request. </p>
|
|
396
|
-
* @public
|
|
397
|
-
*/
|
|
398
|
-
export declare class InternalServerException extends __BaseException {
|
|
399
|
-
readonly name: "InternalServerException";
|
|
400
|
-
readonly $fault: "server";
|
|
401
|
-
Message?: string | undefined;
|
|
402
|
-
/**
|
|
403
|
-
* @internal
|
|
404
|
-
*/
|
|
405
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* <p> The request that you made is invalid. Check your request to determine why it's invalid
|
|
409
|
-
* and then retry the request.</p>
|
|
410
|
-
* @public
|
|
411
|
-
*/
|
|
412
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
413
|
-
readonly name: "InvalidRequestException";
|
|
414
|
-
readonly $fault: "client";
|
|
415
|
-
Message?: string | undefined;
|
|
416
|
-
/**
|
|
417
|
-
* @internal
|
|
418
|
-
*/
|
|
419
|
-
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* <p>The resource identified by the specified Amazon Resource Name (ARN) was not found. Check
|
|
423
|
-
* the ARN and try your request again.</p>
|
|
424
|
-
* @public
|
|
425
|
-
*/
|
|
426
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
427
|
-
readonly name: "ResourceNotFoundException";
|
|
428
|
-
readonly $fault: "client";
|
|
429
|
-
Message?: string | undefined;
|
|
430
|
-
/**
|
|
431
|
-
* @internal
|
|
432
|
-
*/
|
|
433
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* <p> You have made too many requests within a short period of time. Wait for a short time and
|
|
437
|
-
* then try your request again. Contact customer support for more information about a service
|
|
438
|
-
* limit increase. </p>
|
|
439
|
-
* @public
|
|
440
|
-
*/
|
|
441
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
442
|
-
readonly name: "TooManyRequestsException";
|
|
443
|
-
readonly $fault: "client";
|
|
444
|
-
Message?: string | undefined;
|
|
445
|
-
/**
|
|
446
|
-
* @internal
|
|
447
|
-
*/
|
|
448
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
449
|
-
}
|
|
450
242
|
/**
|
|
451
243
|
* @public
|
|
452
244
|
*/
|
|
@@ -646,48 +438,6 @@ export interface DetectEntitiesResponse {
|
|
|
646
438
|
*/
|
|
647
439
|
ModelVersion: string | undefined;
|
|
648
440
|
}
|
|
649
|
-
/**
|
|
650
|
-
* <p> The input text was not in valid UTF-8 character encoding. Check your text then retry your
|
|
651
|
-
* request.</p>
|
|
652
|
-
* @public
|
|
653
|
-
*/
|
|
654
|
-
export declare class InvalidEncodingException extends __BaseException {
|
|
655
|
-
readonly name: "InvalidEncodingException";
|
|
656
|
-
readonly $fault: "client";
|
|
657
|
-
Message?: string | undefined;
|
|
658
|
-
/**
|
|
659
|
-
* @internal
|
|
660
|
-
*/
|
|
661
|
-
constructor(opts: __ExceptionOptionType<InvalidEncodingException, __BaseException>);
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* <p> The Amazon Comprehend Medical service is temporarily unavailable. Please wait and then retry your request.
|
|
665
|
-
* </p>
|
|
666
|
-
* @public
|
|
667
|
-
*/
|
|
668
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
669
|
-
readonly name: "ServiceUnavailableException";
|
|
670
|
-
readonly $fault: "server";
|
|
671
|
-
Message?: string | undefined;
|
|
672
|
-
/**
|
|
673
|
-
* @internal
|
|
674
|
-
*/
|
|
675
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
676
|
-
}
|
|
677
|
-
/**
|
|
678
|
-
* <p> The size of the text you submitted exceeds the size limit. Reduce the size of the text or
|
|
679
|
-
* use a smaller document and then retry your request. </p>
|
|
680
|
-
* @public
|
|
681
|
-
*/
|
|
682
|
-
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
683
|
-
readonly name: "TextSizeLimitExceededException";
|
|
684
|
-
readonly $fault: "client";
|
|
685
|
-
Message?: string | undefined;
|
|
686
|
-
/**
|
|
687
|
-
* @internal
|
|
688
|
-
*/
|
|
689
|
-
constructor(opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>);
|
|
690
|
-
}
|
|
691
441
|
/**
|
|
692
442
|
* @public
|
|
693
443
|
*/
|
|
@@ -775,48 +525,6 @@ export interface InferICD10CMRequest {
|
|
|
775
525
|
*/
|
|
776
526
|
Text: string | undefined;
|
|
777
527
|
}
|
|
778
|
-
/**
|
|
779
|
-
* @public
|
|
780
|
-
* @enum
|
|
781
|
-
*/
|
|
782
|
-
export declare const ICD10CMEntityType: {
|
|
783
|
-
readonly DX_NAME: "DX_NAME";
|
|
784
|
-
readonly TIME_EXPRESSION: "TIME_EXPRESSION";
|
|
785
|
-
};
|
|
786
|
-
/**
|
|
787
|
-
* @public
|
|
788
|
-
*/
|
|
789
|
-
export type ICD10CMEntityType = (typeof ICD10CMEntityType)[keyof typeof ICD10CMEntityType];
|
|
790
|
-
/**
|
|
791
|
-
* @public
|
|
792
|
-
* @enum
|
|
793
|
-
*/
|
|
794
|
-
export declare const ICD10CMRelationshipType: {
|
|
795
|
-
readonly OVERLAP: "OVERLAP";
|
|
796
|
-
readonly QUALITY: "QUALITY";
|
|
797
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
798
|
-
};
|
|
799
|
-
/**
|
|
800
|
-
* @public
|
|
801
|
-
*/
|
|
802
|
-
export type ICD10CMRelationshipType = (typeof ICD10CMRelationshipType)[keyof typeof ICD10CMRelationshipType];
|
|
803
|
-
/**
|
|
804
|
-
* @public
|
|
805
|
-
* @enum
|
|
806
|
-
*/
|
|
807
|
-
export declare const ICD10CMTraitName: {
|
|
808
|
-
readonly DIAGNOSIS: "DIAGNOSIS";
|
|
809
|
-
readonly HYPOTHETICAL: "HYPOTHETICAL";
|
|
810
|
-
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
811
|
-
readonly NEGATION: "NEGATION";
|
|
812
|
-
readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
|
|
813
|
-
readonly SIGN: "SIGN";
|
|
814
|
-
readonly SYMPTOM: "SYMPTOM";
|
|
815
|
-
};
|
|
816
|
-
/**
|
|
817
|
-
* @public
|
|
818
|
-
*/
|
|
819
|
-
export type ICD10CMTraitName = (typeof ICD10CMTraitName)[keyof typeof ICD10CMTraitName];
|
|
820
528
|
/**
|
|
821
529
|
* <p>Contextual information for the entity. The traits recognized by InferICD10CM are
|
|
822
530
|
* <code>DIAGNOSIS</code>, <code>SIGN</code>, <code>SYMPTOM</code>, and
|
|
@@ -836,23 +544,6 @@ export interface ICD10CMTrait {
|
|
|
836
544
|
*/
|
|
837
545
|
Score?: number | undefined;
|
|
838
546
|
}
|
|
839
|
-
/**
|
|
840
|
-
* @public
|
|
841
|
-
* @enum
|
|
842
|
-
*/
|
|
843
|
-
export declare const ICD10CMAttributeType: {
|
|
844
|
-
readonly ACUITY: "ACUITY";
|
|
845
|
-
readonly DIRECTION: "DIRECTION";
|
|
846
|
-
readonly QUALITY: "QUALITY";
|
|
847
|
-
readonly QUANTITY: "QUANTITY";
|
|
848
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
849
|
-
readonly TIME_EXPRESSION: "TIME_EXPRESSION";
|
|
850
|
-
readonly TIME_TO_DX_NAME: "TIME_TO_DX_NAME";
|
|
851
|
-
};
|
|
852
|
-
/**
|
|
853
|
-
* @public
|
|
854
|
-
*/
|
|
855
|
-
export type ICD10CMAttributeType = (typeof ICD10CMAttributeType)[keyof typeof ICD10CMAttributeType];
|
|
856
547
|
/**
|
|
857
548
|
* <p>The detected attributes that relate to an entity. This includes an extracted segment of
|
|
858
549
|
* the text that is an attribute of an entity, or otherwise related to an entity. InferICD10CM
|
|
@@ -921,17 +612,6 @@ export interface ICD10CMAttribute {
|
|
|
921
612
|
*/
|
|
922
613
|
RelationshipType?: ICD10CMRelationshipType | undefined;
|
|
923
614
|
}
|
|
924
|
-
/**
|
|
925
|
-
* @public
|
|
926
|
-
* @enum
|
|
927
|
-
*/
|
|
928
|
-
export declare const ICD10CMEntityCategory: {
|
|
929
|
-
readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
|
|
930
|
-
};
|
|
931
|
-
/**
|
|
932
|
-
* @public
|
|
933
|
-
*/
|
|
934
|
-
export type ICD10CMEntityCategory = (typeof ICD10CMEntityCategory)[keyof typeof ICD10CMEntityCategory];
|
|
935
615
|
/**
|
|
936
616
|
* <p> The ICD-10-CM concepts that the entity could refer to, along with a score indicating the
|
|
937
617
|
* likelihood of the match.</p>
|
|
@@ -1063,18 +743,6 @@ export interface InferRxNormRequest {
|
|
|
1063
743
|
*/
|
|
1064
744
|
Text: string | undefined;
|
|
1065
745
|
}
|
|
1066
|
-
/**
|
|
1067
|
-
* @public
|
|
1068
|
-
* @enum
|
|
1069
|
-
*/
|
|
1070
|
-
export declare const RxNormTraitName: {
|
|
1071
|
-
readonly NEGATION: "NEGATION";
|
|
1072
|
-
readonly PAST_HISTORY: "PAST_HISTORY";
|
|
1073
|
-
};
|
|
1074
|
-
/**
|
|
1075
|
-
* @public
|
|
1076
|
-
*/
|
|
1077
|
-
export type RxNormTraitName = (typeof RxNormTraitName)[keyof typeof RxNormTraitName];
|
|
1078
746
|
/**
|
|
1079
747
|
* <p>The contextual information for the entity. InferRxNorm recognizes the trait
|
|
1080
748
|
* <code>NEGATION</code>, which is any indication that the patient is not taking a medication.
|
|
@@ -1094,23 +762,6 @@ export interface RxNormTrait {
|
|
|
1094
762
|
*/
|
|
1095
763
|
Score?: number | undefined;
|
|
1096
764
|
}
|
|
1097
|
-
/**
|
|
1098
|
-
* @public
|
|
1099
|
-
* @enum
|
|
1100
|
-
*/
|
|
1101
|
-
export declare const RxNormAttributeType: {
|
|
1102
|
-
readonly DOSAGE: "DOSAGE";
|
|
1103
|
-
readonly DURATION: "DURATION";
|
|
1104
|
-
readonly FORM: "FORM";
|
|
1105
|
-
readonly FREQUENCY: "FREQUENCY";
|
|
1106
|
-
readonly RATE: "RATE";
|
|
1107
|
-
readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
|
|
1108
|
-
readonly STRENGTH: "STRENGTH";
|
|
1109
|
-
};
|
|
1110
|
-
/**
|
|
1111
|
-
* @public
|
|
1112
|
-
*/
|
|
1113
|
-
export type RxNormAttributeType = (typeof RxNormAttributeType)[keyof typeof RxNormAttributeType];
|
|
1114
765
|
/**
|
|
1115
766
|
* <p>The extracted attributes that relate to this entity. The attributes recognized by
|
|
1116
767
|
* InferRxNorm are <code>DOSAGE</code>, <code>DURATION</code>, <code>FORM</code>,
|
|
@@ -1167,17 +818,6 @@ export interface RxNormAttribute {
|
|
|
1167
818
|
*/
|
|
1168
819
|
Traits?: RxNormTrait[] | undefined;
|
|
1169
820
|
}
|
|
1170
|
-
/**
|
|
1171
|
-
* @public
|
|
1172
|
-
* @enum
|
|
1173
|
-
*/
|
|
1174
|
-
export declare const RxNormEntityCategory: {
|
|
1175
|
-
readonly MEDICATION: "MEDICATION";
|
|
1176
|
-
};
|
|
1177
|
-
/**
|
|
1178
|
-
* @public
|
|
1179
|
-
*/
|
|
1180
|
-
export type RxNormEntityCategory = (typeof RxNormEntityCategory)[keyof typeof RxNormEntityCategory];
|
|
1181
821
|
/**
|
|
1182
822
|
* <p>The RxNorm concept that the entity could refer to, along with a score indicating the
|
|
1183
823
|
* likelihood of the match.</p>
|
|
@@ -1201,18 +841,6 @@ export interface RxNormConcept {
|
|
|
1201
841
|
*/
|
|
1202
842
|
Score?: number | undefined;
|
|
1203
843
|
}
|
|
1204
|
-
/**
|
|
1205
|
-
* @public
|
|
1206
|
-
* @enum
|
|
1207
|
-
*/
|
|
1208
|
-
export declare const RxNormEntityType: {
|
|
1209
|
-
readonly BRAND_NAME: "BRAND_NAME";
|
|
1210
|
-
readonly GENERIC_NAME: "GENERIC_NAME";
|
|
1211
|
-
};
|
|
1212
|
-
/**
|
|
1213
|
-
* @public
|
|
1214
|
-
*/
|
|
1215
|
-
export type RxNormEntityType = (typeof RxNormEntityType)[keyof typeof RxNormEntityType];
|
|
1216
844
|
/**
|
|
1217
845
|
* <p>The collection of medical entities extracted from the input text and their associated
|
|
1218
846
|
* information. For each entity, the response provides the entity text, the entity category,
|
|
@@ -1318,36 +946,6 @@ export interface InferSNOMEDCTRequest {
|
|
|
1318
946
|
*/
|
|
1319
947
|
Text: string | undefined;
|
|
1320
948
|
}
|
|
1321
|
-
/**
|
|
1322
|
-
* @public
|
|
1323
|
-
* @enum
|
|
1324
|
-
*/
|
|
1325
|
-
export declare const SNOMEDCTEntityCategory: {
|
|
1326
|
-
readonly ANATOMY: "ANATOMY";
|
|
1327
|
-
readonly MEDICAL_CONDITION: "MEDICAL_CONDITION";
|
|
1328
|
-
readonly TEST_TREATMENT_PROCEDURE: "TEST_TREATMENT_PROCEDURE";
|
|
1329
|
-
};
|
|
1330
|
-
/**
|
|
1331
|
-
* @public
|
|
1332
|
-
*/
|
|
1333
|
-
export type SNOMEDCTEntityCategory = (typeof SNOMEDCTEntityCategory)[keyof typeof SNOMEDCTEntityCategory];
|
|
1334
|
-
/**
|
|
1335
|
-
* @public
|
|
1336
|
-
* @enum
|
|
1337
|
-
*/
|
|
1338
|
-
export declare const SNOMEDCTRelationshipType: {
|
|
1339
|
-
readonly ACUITY: "ACUITY";
|
|
1340
|
-
readonly DIRECTION: "DIRECTION";
|
|
1341
|
-
readonly QUALITY: "QUALITY";
|
|
1342
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
1343
|
-
readonly TEST_UNIT: "TEST_UNIT";
|
|
1344
|
-
readonly TEST_UNITS: "TEST_UNITS";
|
|
1345
|
-
readonly TEST_VALUE: "TEST_VALUE";
|
|
1346
|
-
};
|
|
1347
|
-
/**
|
|
1348
|
-
* @public
|
|
1349
|
-
*/
|
|
1350
|
-
export type SNOMEDCTRelationshipType = (typeof SNOMEDCTRelationshipType)[keyof typeof SNOMEDCTRelationshipType];
|
|
1351
949
|
/**
|
|
1352
950
|
* <p>
|
|
1353
951
|
* The SNOMED-CT concepts that the entity could refer to, along with a score indicating the likelihood of the match.
|
|
@@ -1377,25 +975,6 @@ export interface SNOMEDCTConcept {
|
|
|
1377
975
|
*/
|
|
1378
976
|
Score?: number | undefined;
|
|
1379
977
|
}
|
|
1380
|
-
/**
|
|
1381
|
-
* @public
|
|
1382
|
-
* @enum
|
|
1383
|
-
*/
|
|
1384
|
-
export declare const SNOMEDCTTraitName: {
|
|
1385
|
-
readonly DIAGNOSIS: "DIAGNOSIS";
|
|
1386
|
-
readonly FUTURE: "FUTURE";
|
|
1387
|
-
readonly HYPOTHETICAL: "HYPOTHETICAL";
|
|
1388
|
-
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
1389
|
-
readonly NEGATION: "NEGATION";
|
|
1390
|
-
readonly PAST_HISTORY: "PAST_HISTORY";
|
|
1391
|
-
readonly PERTAINS_TO_FAMILY: "PERTAINS_TO_FAMILY";
|
|
1392
|
-
readonly SIGN: "SIGN";
|
|
1393
|
-
readonly SYMPTOM: "SYMPTOM";
|
|
1394
|
-
};
|
|
1395
|
-
/**
|
|
1396
|
-
* @public
|
|
1397
|
-
*/
|
|
1398
|
-
export type SNOMEDCTTraitName = (typeof SNOMEDCTTraitName)[keyof typeof SNOMEDCTTraitName];
|
|
1399
978
|
/**
|
|
1400
979
|
* <p>
|
|
1401
980
|
* Contextual information for an entity.
|
|
@@ -1418,22 +997,6 @@ export interface SNOMEDCTTrait {
|
|
|
1418
997
|
*/
|
|
1419
998
|
Score?: number | undefined;
|
|
1420
999
|
}
|
|
1421
|
-
/**
|
|
1422
|
-
* @public
|
|
1423
|
-
* @enum
|
|
1424
|
-
*/
|
|
1425
|
-
export declare const SNOMEDCTAttributeType: {
|
|
1426
|
-
readonly ACUITY: "ACUITY";
|
|
1427
|
-
readonly DIRECTION: "DIRECTION";
|
|
1428
|
-
readonly QUALITY: "QUALITY";
|
|
1429
|
-
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
1430
|
-
readonly TEST_UNIT: "TEST_UNIT";
|
|
1431
|
-
readonly TEST_VALUE: "TEST_VALUE";
|
|
1432
|
-
};
|
|
1433
|
-
/**
|
|
1434
|
-
* @public
|
|
1435
|
-
*/
|
|
1436
|
-
export type SNOMEDCTAttributeType = (typeof SNOMEDCTAttributeType)[keyof typeof SNOMEDCTAttributeType];
|
|
1437
1000
|
/**
|
|
1438
1001
|
* <p>
|
|
1439
1002
|
* The extracted attributes that relate to an entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
|
|
@@ -1519,20 +1082,6 @@ export interface SNOMEDCTAttribute {
|
|
|
1519
1082
|
*/
|
|
1520
1083
|
SNOMEDCTConcepts?: SNOMEDCTConcept[] | undefined;
|
|
1521
1084
|
}
|
|
1522
|
-
/**
|
|
1523
|
-
* @public
|
|
1524
|
-
* @enum
|
|
1525
|
-
*/
|
|
1526
|
-
export declare const SNOMEDCTEntityType: {
|
|
1527
|
-
readonly DX_NAME: "DX_NAME";
|
|
1528
|
-
readonly PROCEDURE_NAME: "PROCEDURE_NAME";
|
|
1529
|
-
readonly TEST_NAME: "TEST_NAME";
|
|
1530
|
-
readonly TREATMENT_NAME: "TREATMENT_NAME";
|
|
1531
|
-
};
|
|
1532
|
-
/**
|
|
1533
|
-
* @public
|
|
1534
|
-
*/
|
|
1535
|
-
export type SNOMEDCTEntityType = (typeof SNOMEDCTEntityType)[keyof typeof SNOMEDCTEntityType];
|
|
1536
1085
|
/**
|
|
1537
1086
|
* <p>
|
|
1538
1087
|
* The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
|
|
@@ -1747,20 +1296,6 @@ export interface ListEntitiesDetectionV2JobsResponse {
|
|
|
1747
1296
|
*/
|
|
1748
1297
|
NextToken?: string | undefined;
|
|
1749
1298
|
}
|
|
1750
|
-
/**
|
|
1751
|
-
* <p>The filter that you specified for the operation is invalid. Check the filter values that
|
|
1752
|
-
* you entered and try your request again.</p>
|
|
1753
|
-
* @public
|
|
1754
|
-
*/
|
|
1755
|
-
export declare class ValidationException extends __BaseException {
|
|
1756
|
-
readonly name: "ValidationException";
|
|
1757
|
-
readonly $fault: "client";
|
|
1758
|
-
Message?: string | undefined;
|
|
1759
|
-
/**
|
|
1760
|
-
* @internal
|
|
1761
|
-
*/
|
|
1762
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1763
|
-
}
|
|
1764
1299
|
/**
|
|
1765
1300
|
* @public
|
|
1766
1301
|
*/
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { ComprehendMedicalExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException";
|