@aws-sdk/client-comprehendmedical 3.348.0 → 3.349.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-types/commands/DetectEntitiesCommand.d.ts +2 -2
- package/dist-types/commands/DetectEntitiesV2Command.d.ts +2 -2
- package/dist-types/commands/DetectPHICommand.d.ts +1 -1
- package/dist-types/commands/InferICD10CMCommand.d.ts +1 -1
- package/dist-types/commands/InferRxNormCommand.d.ts +2 -2
- package/dist-types/commands/InferSNOMEDCTCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -24,6 +24,7 @@ exports.RelationshipType = {
|
|
|
24
24
|
FREQUENCY: "FREQUENCY",
|
|
25
25
|
NEGATIVE: "NEGATIVE",
|
|
26
26
|
OVERLAP: "OVERLAP",
|
|
27
|
+
QUALITY: "QUALITY",
|
|
27
28
|
RATE: "RATE",
|
|
28
29
|
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
29
30
|
STRENGTH: "STRENGTH",
|
|
@@ -31,6 +32,7 @@ exports.RelationshipType = {
|
|
|
31
32
|
TEST_UNIT: "TEST_UNIT",
|
|
32
33
|
TEST_UNITS: "TEST_UNITS",
|
|
33
34
|
TEST_VALUE: "TEST_VALUE",
|
|
35
|
+
USAGE: "USAGE",
|
|
34
36
|
WITH_DOSAGE: "WITH_DOSAGE",
|
|
35
37
|
};
|
|
36
38
|
exports.AttributeName = {
|
|
@@ -207,6 +209,7 @@ exports.ICD10CMEntityType = {
|
|
|
207
209
|
};
|
|
208
210
|
exports.ICD10CMRelationshipType = {
|
|
209
211
|
OVERLAP: "OVERLAP",
|
|
212
|
+
QUALITY: "QUALITY",
|
|
210
213
|
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
211
214
|
};
|
|
212
215
|
exports.ICD10CMTraitName = {
|
|
@@ -232,6 +235,7 @@ exports.ICD10CMEntityCategory = {
|
|
|
232
235
|
};
|
|
233
236
|
exports.RxNormTraitName = {
|
|
234
237
|
NEGATION: "NEGATION",
|
|
238
|
+
PAST_HISTORY: "PAST_HISTORY",
|
|
235
239
|
};
|
|
236
240
|
exports.RxNormAttributeType = {
|
|
237
241
|
DOSAGE: "DOSAGE",
|
|
@@ -259,6 +263,7 @@ exports.SNOMEDCTRelationshipType = {
|
|
|
259
263
|
DIRECTION: "DIRECTION",
|
|
260
264
|
QUALITY: "QUALITY",
|
|
261
265
|
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
266
|
+
TEST_UNIT: "TEST_UNIT",
|
|
262
267
|
TEST_UNITS: "TEST_UNITS",
|
|
263
268
|
TEST_VALUE: "TEST_VALUE",
|
|
264
269
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://comprehendmedical.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://comprehendmedical.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -21,6 +21,7 @@ export const RelationshipType = {
|
|
|
21
21
|
FREQUENCY: "FREQUENCY",
|
|
22
22
|
NEGATIVE: "NEGATIVE",
|
|
23
23
|
OVERLAP: "OVERLAP",
|
|
24
|
+
QUALITY: "QUALITY",
|
|
24
25
|
RATE: "RATE",
|
|
25
26
|
ROUTE_OR_MODE: "ROUTE_OR_MODE",
|
|
26
27
|
STRENGTH: "STRENGTH",
|
|
@@ -28,6 +29,7 @@ export const RelationshipType = {
|
|
|
28
29
|
TEST_UNIT: "TEST_UNIT",
|
|
29
30
|
TEST_UNITS: "TEST_UNITS",
|
|
30
31
|
TEST_VALUE: "TEST_VALUE",
|
|
32
|
+
USAGE: "USAGE",
|
|
31
33
|
WITH_DOSAGE: "WITH_DOSAGE",
|
|
32
34
|
};
|
|
33
35
|
export const AttributeName = {
|
|
@@ -197,6 +199,7 @@ export const ICD10CMEntityType = {
|
|
|
197
199
|
};
|
|
198
200
|
export const ICD10CMRelationshipType = {
|
|
199
201
|
OVERLAP: "OVERLAP",
|
|
202
|
+
QUALITY: "QUALITY",
|
|
200
203
|
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
201
204
|
};
|
|
202
205
|
export const ICD10CMTraitName = {
|
|
@@ -222,6 +225,7 @@ export const ICD10CMEntityCategory = {
|
|
|
222
225
|
};
|
|
223
226
|
export const RxNormTraitName = {
|
|
224
227
|
NEGATION: "NEGATION",
|
|
228
|
+
PAST_HISTORY: "PAST_HISTORY",
|
|
225
229
|
};
|
|
226
230
|
export const RxNormAttributeType = {
|
|
227
231
|
DOSAGE: "DOSAGE",
|
|
@@ -249,6 +253,7 @@ export const SNOMEDCTRelationshipType = {
|
|
|
249
253
|
DIRECTION: "DIRECTION",
|
|
250
254
|
QUALITY: "QUALITY",
|
|
251
255
|
SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE",
|
|
256
|
+
TEST_UNIT: "TEST_UNIT",
|
|
252
257
|
TEST_UNITS: "TEST_UNITS",
|
|
253
258
|
TEST_VALUE: "TEST_VALUE",
|
|
254
259
|
};
|
|
@@ -61,7 +61,7 @@ export interface DetectEntitiesCommandOutput extends DetectEntitiesResponse, __M
|
|
|
61
61
|
* // Type: "NAME" || "DX_NAME" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "GENERIC_NAME" || "BRAND_NAME" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_NAME" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "PROCEDURE_NAME" || "TREATMENT_NAME" || "DATE" || "AGE" || "CONTACT_POINT" || "PHONE_OR_FAX" || "EMAIL" || "IDENTIFIER" || "ID" || "URL" || "ADDRESS" || "PROFESSION" || "SYSTEM_ORGAN_SITE" || "DIRECTION" || "QUALITY" || "QUANTITY" || "TIME_EXPRESSION" || "TIME_TO_MEDICATION_NAME" || "TIME_TO_DX_NAME" || "TIME_TO_TEST_NAME" || "TIME_TO_PROCEDURE_NAME" || "TIME_TO_TREATMENT_NAME" || "AMOUNT" || "GENDER" || "RACE_ETHNICITY" || "ALLERGIES" || "TOBACCO_USE" || "ALCOHOL_CONSUMPTION" || "REC_DRUG_USE",
|
|
62
62
|
* // Score: Number("float"),
|
|
63
63
|
* // RelationshipScore: Number("float"),
|
|
64
|
-
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT",
|
|
64
|
+
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT" || "USAGE" || "QUALITY",
|
|
65
65
|
* // Id: Number("int"),
|
|
66
66
|
* // BeginOffset: Number("int"),
|
|
67
67
|
* // EndOffset: Number("int"),
|
|
@@ -84,7 +84,7 @@ export interface DetectEntitiesCommandOutput extends DetectEntitiesResponse, __M
|
|
|
84
84
|
* // Type: "NAME" || "DX_NAME" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "GENERIC_NAME" || "BRAND_NAME" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_NAME" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "PROCEDURE_NAME" || "TREATMENT_NAME" || "DATE" || "AGE" || "CONTACT_POINT" || "PHONE_OR_FAX" || "EMAIL" || "IDENTIFIER" || "ID" || "URL" || "ADDRESS" || "PROFESSION" || "SYSTEM_ORGAN_SITE" || "DIRECTION" || "QUALITY" || "QUANTITY" || "TIME_EXPRESSION" || "TIME_TO_MEDICATION_NAME" || "TIME_TO_DX_NAME" || "TIME_TO_TEST_NAME" || "TIME_TO_PROCEDURE_NAME" || "TIME_TO_TREATMENT_NAME" || "AMOUNT" || "GENDER" || "RACE_ETHNICITY" || "ALLERGIES" || "TOBACCO_USE" || "ALCOHOL_CONSUMPTION" || "REC_DRUG_USE",
|
|
85
85
|
* // Score: Number("float"),
|
|
86
86
|
* // RelationshipScore: Number("float"),
|
|
87
|
-
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT",
|
|
87
|
+
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT" || "USAGE" || "QUALITY",
|
|
88
88
|
* // Id: Number("int"),
|
|
89
89
|
* // BeginOffset: Number("int"),
|
|
90
90
|
* // EndOffset: Number("int"),
|
|
@@ -65,7 +65,7 @@ export interface DetectEntitiesV2CommandOutput extends DetectEntitiesV2Response,
|
|
|
65
65
|
* // Type: "NAME" || "DX_NAME" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "GENERIC_NAME" || "BRAND_NAME" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_NAME" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "PROCEDURE_NAME" || "TREATMENT_NAME" || "DATE" || "AGE" || "CONTACT_POINT" || "PHONE_OR_FAX" || "EMAIL" || "IDENTIFIER" || "ID" || "URL" || "ADDRESS" || "PROFESSION" || "SYSTEM_ORGAN_SITE" || "DIRECTION" || "QUALITY" || "QUANTITY" || "TIME_EXPRESSION" || "TIME_TO_MEDICATION_NAME" || "TIME_TO_DX_NAME" || "TIME_TO_TEST_NAME" || "TIME_TO_PROCEDURE_NAME" || "TIME_TO_TREATMENT_NAME" || "AMOUNT" || "GENDER" || "RACE_ETHNICITY" || "ALLERGIES" || "TOBACCO_USE" || "ALCOHOL_CONSUMPTION" || "REC_DRUG_USE",
|
|
66
66
|
* // Score: Number("float"),
|
|
67
67
|
* // RelationshipScore: Number("float"),
|
|
68
|
-
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT",
|
|
68
|
+
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT" || "USAGE" || "QUALITY",
|
|
69
69
|
* // Id: Number("int"),
|
|
70
70
|
* // BeginOffset: Number("int"),
|
|
71
71
|
* // EndOffset: Number("int"),
|
|
@@ -88,7 +88,7 @@ export interface DetectEntitiesV2CommandOutput extends DetectEntitiesV2Response,
|
|
|
88
88
|
* // Type: "NAME" || "DX_NAME" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "GENERIC_NAME" || "BRAND_NAME" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_NAME" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "PROCEDURE_NAME" || "TREATMENT_NAME" || "DATE" || "AGE" || "CONTACT_POINT" || "PHONE_OR_FAX" || "EMAIL" || "IDENTIFIER" || "ID" || "URL" || "ADDRESS" || "PROFESSION" || "SYSTEM_ORGAN_SITE" || "DIRECTION" || "QUALITY" || "QUANTITY" || "TIME_EXPRESSION" || "TIME_TO_MEDICATION_NAME" || "TIME_TO_DX_NAME" || "TIME_TO_TEST_NAME" || "TIME_TO_PROCEDURE_NAME" || "TIME_TO_TREATMENT_NAME" || "AMOUNT" || "GENDER" || "RACE_ETHNICITY" || "ALLERGIES" || "TOBACCO_USE" || "ALCOHOL_CONSUMPTION" || "REC_DRUG_USE",
|
|
89
89
|
* // Score: Number("float"),
|
|
90
90
|
* // RelationshipScore: Number("float"),
|
|
91
|
-
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT",
|
|
91
|
+
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT" || "USAGE" || "QUALITY",
|
|
92
92
|
* // Id: Number("int"),
|
|
93
93
|
* // BeginOffset: Number("int"),
|
|
94
94
|
* // EndOffset: Number("int"),
|
|
@@ -58,7 +58,7 @@ export interface DetectPHICommandOutput extends DetectPHIResponse, __MetadataBea
|
|
|
58
58
|
* // Type: "NAME" || "DX_NAME" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "GENERIC_NAME" || "BRAND_NAME" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_NAME" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "PROCEDURE_NAME" || "TREATMENT_NAME" || "DATE" || "AGE" || "CONTACT_POINT" || "PHONE_OR_FAX" || "EMAIL" || "IDENTIFIER" || "ID" || "URL" || "ADDRESS" || "PROFESSION" || "SYSTEM_ORGAN_SITE" || "DIRECTION" || "QUALITY" || "QUANTITY" || "TIME_EXPRESSION" || "TIME_TO_MEDICATION_NAME" || "TIME_TO_DX_NAME" || "TIME_TO_TEST_NAME" || "TIME_TO_PROCEDURE_NAME" || "TIME_TO_TREATMENT_NAME" || "AMOUNT" || "GENDER" || "RACE_ETHNICITY" || "ALLERGIES" || "TOBACCO_USE" || "ALCOHOL_CONSUMPTION" || "REC_DRUG_USE",
|
|
59
59
|
* // Score: Number("float"),
|
|
60
60
|
* // RelationshipScore: Number("float"),
|
|
61
|
-
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT",
|
|
61
|
+
* // RelationshipType: "EVERY" || "WITH_DOSAGE" || "ADMINISTERED_VIA" || "FOR" || "NEGATIVE" || "OVERLAP" || "DOSAGE" || "ROUTE_OR_MODE" || "FORM" || "FREQUENCY" || "DURATION" || "STRENGTH" || "RATE" || "ACUITY" || "TEST_VALUE" || "TEST_UNITS" || "TEST_UNIT" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "AMOUNT" || "USAGE" || "QUALITY",
|
|
62
62
|
* // Id: Number("int"),
|
|
63
63
|
* // BeginOffset: Number("int"),
|
|
64
64
|
* // EndOffset: Number("int"),
|
|
@@ -64,7 +64,7 @@ export interface InferICD10CMCommandOutput extends InferICD10CMResponse, __Metad
|
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
66
|
* // Category: "DX_NAME" || "TIME_EXPRESSION",
|
|
67
|
-
* // RelationshipType: "OVERLAP" || "SYSTEM_ORGAN_SITE",
|
|
67
|
+
* // RelationshipType: "OVERLAP" || "SYSTEM_ORGAN_SITE" || "QUALITY",
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
70
|
* // Traits: [
|
|
@@ -58,7 +58,7 @@ export interface InferRxNormCommandOutput extends InferRxNormResponse, __Metadat
|
|
|
58
58
|
* // Text: "STRING_VALUE",
|
|
59
59
|
* // Traits: [ // RxNormTraitList
|
|
60
60
|
* // { // RxNormTrait
|
|
61
|
-
* // Name: "NEGATION",
|
|
61
|
+
* // Name: "NEGATION" || "PAST_HISTORY",
|
|
62
62
|
* // Score: Number("float"),
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -66,7 +66,7 @@ export interface InferRxNormCommandOutput extends InferRxNormResponse, __Metadat
|
|
|
66
66
|
* // ],
|
|
67
67
|
* // Traits: [
|
|
68
68
|
* // {
|
|
69
|
-
* // Name: "NEGATION",
|
|
69
|
+
* // Name: "NEGATION" || "PAST_HISTORY",
|
|
70
70
|
* // Score: Number("float"),
|
|
71
71
|
* // },
|
|
72
72
|
* // ],
|
|
@@ -52,7 +52,7 @@ export interface InferSNOMEDCTCommandOutput extends InferSNOMEDCTResponse, __Met
|
|
|
52
52
|
* // Type: "ACUITY" || "QUALITY" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "TEST_VALUE" || "TEST_UNIT",
|
|
53
53
|
* // Score: Number("float"),
|
|
54
54
|
* // RelationshipScore: Number("float"),
|
|
55
|
-
* // RelationshipType: "ACUITY" || "QUALITY" || "TEST_VALUE" || "TEST_UNITS" || "DIRECTION" || "SYSTEM_ORGAN_SITE",
|
|
55
|
+
* // RelationshipType: "ACUITY" || "QUALITY" || "TEST_VALUE" || "TEST_UNITS" || "DIRECTION" || "SYSTEM_ORGAN_SITE" || "TEST_UNIT",
|
|
56
56
|
* // Id: Number("int"),
|
|
57
57
|
* // BeginOffset: Number("int"),
|
|
58
58
|
* // EndOffset: Number("int"),
|
|
@@ -34,6 +34,7 @@ export declare const RelationshipType: {
|
|
|
34
34
|
readonly FREQUENCY: "FREQUENCY";
|
|
35
35
|
readonly NEGATIVE: "NEGATIVE";
|
|
36
36
|
readonly OVERLAP: "OVERLAP";
|
|
37
|
+
readonly QUALITY: "QUALITY";
|
|
37
38
|
readonly RATE: "RATE";
|
|
38
39
|
readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
|
|
39
40
|
readonly STRENGTH: "STRENGTH";
|
|
@@ -41,6 +42,7 @@ export declare const RelationshipType: {
|
|
|
41
42
|
readonly TEST_UNIT: "TEST_UNIT";
|
|
42
43
|
readonly TEST_UNITS: "TEST_UNITS";
|
|
43
44
|
readonly TEST_VALUE: "TEST_VALUE";
|
|
45
|
+
readonly USAGE: "USAGE";
|
|
44
46
|
readonly WITH_DOSAGE: "WITH_DOSAGE";
|
|
45
47
|
};
|
|
46
48
|
/**
|
|
@@ -730,6 +732,7 @@ export type ICD10CMEntityType = (typeof ICD10CMEntityType)[keyof typeof ICD10CME
|
|
|
730
732
|
*/
|
|
731
733
|
export declare const ICD10CMRelationshipType: {
|
|
732
734
|
readonly OVERLAP: "OVERLAP";
|
|
735
|
+
readonly QUALITY: "QUALITY";
|
|
733
736
|
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
734
737
|
};
|
|
735
738
|
/**
|
|
@@ -977,6 +980,7 @@ export interface InferRxNormRequest {
|
|
|
977
980
|
*/
|
|
978
981
|
export declare const RxNormTraitName: {
|
|
979
982
|
readonly NEGATION: "NEGATION";
|
|
983
|
+
readonly PAST_HISTORY: "PAST_HISTORY";
|
|
980
984
|
};
|
|
981
985
|
/**
|
|
982
986
|
* @public
|
|
@@ -1222,6 +1226,7 @@ export declare const SNOMEDCTRelationshipType: {
|
|
|
1222
1226
|
readonly DIRECTION: "DIRECTION";
|
|
1223
1227
|
readonly QUALITY: "QUALITY";
|
|
1224
1228
|
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
1229
|
+
readonly TEST_UNIT: "TEST_UNIT";
|
|
1225
1230
|
readonly TEST_UNITS: "TEST_UNITS";
|
|
1226
1231
|
readonly TEST_VALUE: "TEST_VALUE";
|
|
1227
1232
|
};
|
|
@@ -23,6 +23,7 @@ export declare const RelationshipType: {
|
|
|
23
23
|
readonly FREQUENCY: "FREQUENCY";
|
|
24
24
|
readonly NEGATIVE: "NEGATIVE";
|
|
25
25
|
readonly OVERLAP: "OVERLAP";
|
|
26
|
+
readonly QUALITY: "QUALITY";
|
|
26
27
|
readonly RATE: "RATE";
|
|
27
28
|
readonly ROUTE_OR_MODE: "ROUTE_OR_MODE";
|
|
28
29
|
readonly STRENGTH: "STRENGTH";
|
|
@@ -30,6 +31,7 @@ export declare const RelationshipType: {
|
|
|
30
31
|
readonly TEST_UNIT: "TEST_UNIT";
|
|
31
32
|
readonly TEST_UNITS: "TEST_UNITS";
|
|
32
33
|
readonly TEST_VALUE: "TEST_VALUE";
|
|
34
|
+
readonly USAGE: "USAGE";
|
|
33
35
|
readonly WITH_DOSAGE: "WITH_DOSAGE";
|
|
34
36
|
};
|
|
35
37
|
export type RelationshipType =
|
|
@@ -289,6 +291,7 @@ export type ICD10CMEntityType =
|
|
|
289
291
|
(typeof ICD10CMEntityType)[keyof typeof ICD10CMEntityType];
|
|
290
292
|
export declare const ICD10CMRelationshipType: {
|
|
291
293
|
readonly OVERLAP: "OVERLAP";
|
|
294
|
+
readonly QUALITY: "QUALITY";
|
|
292
295
|
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
293
296
|
};
|
|
294
297
|
export type ICD10CMRelationshipType =
|
|
@@ -363,6 +366,7 @@ export interface InferRxNormRequest {
|
|
|
363
366
|
}
|
|
364
367
|
export declare const RxNormTraitName: {
|
|
365
368
|
readonly NEGATION: "NEGATION";
|
|
369
|
+
readonly PAST_HISTORY: "PAST_HISTORY";
|
|
366
370
|
};
|
|
367
371
|
export type RxNormTraitName =
|
|
368
372
|
(typeof RxNormTraitName)[keyof typeof RxNormTraitName];
|
|
@@ -439,6 +443,7 @@ export declare const SNOMEDCTRelationshipType: {
|
|
|
439
443
|
readonly DIRECTION: "DIRECTION";
|
|
440
444
|
readonly QUALITY: "QUALITY";
|
|
441
445
|
readonly SYSTEM_ORGAN_SITE: "SYSTEM_ORGAN_SITE";
|
|
446
|
+
readonly TEST_UNIT: "TEST_UNIT";
|
|
442
447
|
readonly TEST_UNITS: "TEST_UNITS";
|
|
443
448
|
readonly TEST_VALUE: "TEST_VALUE";
|
|
444
449
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehendmedical",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehendmedical Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.349.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|