From 48286c2f8d5a0c7437ab118cff786f91e59108f6 Mon Sep 17 00:00:00 2001 From: AWS <> Date: Tue, 13 Apr 2021 18:08:07 +0000 Subject: [PATCH] AWS Comprehend Medical Update: The InferICD10CM API now returns TIME_EXPRESSION entities that refer to medical conditions. --- .../feature-AWSComprehendMedical-3105763.json | 6 ++++ .../codegen-resources/service-2.json | 32 +++++++++++++++---- 2 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 .changes/next-release/feature-AWSComprehendMedical-3105763.json diff --git a/.changes/next-release/feature-AWSComprehendMedical-3105763.json b/.changes/next-release/feature-AWSComprehendMedical-3105763.json new file mode 100644 index 000000000000..6256fa0478ef --- /dev/null +++ b/.changes/next-release/feature-AWSComprehendMedical-3105763.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "AWS Comprehend Medical", + "contributor": "", + "description": "The InferICD10CM API now returns TIME_EXPRESSION entities that refer to medical conditions." +} diff --git a/services/comprehendmedical/src/main/resources/codegen-resources/service-2.json b/services/comprehendmedical/src/main/resources/codegen-resources/service-2.json index d796a2caf543..5dbf33b10c5a 100644 --- a/services/comprehendmedical/src/main/resources/codegen-resources/service-2.json +++ b/services/comprehendmedical/src/main/resources/codegen-resources/service-2.json @@ -150,7 +150,7 @@ {"shape":"InvalidEncodingException"}, {"shape":"TextSizeLimitExceededException"} ], - "documentation":"

InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.

" + "documentation":"

InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.

" }, "InferRxNorm":{ "name":"InferRxNorm", @@ -168,7 +168,7 @@ {"shape":"InvalidEncodingException"}, {"shape":"TextSizeLimitExceededException"} ], - "documentation":"

InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.

" + "documentation":"

InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.

" }, "ListEntitiesDetectionV2Jobs":{ "name":"ListEntitiesDetectionV2Jobs", @@ -827,6 +827,14 @@ "Traits":{ "shape":"ICD10CMTraitList", "documentation":"

The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS, SIGN, SYMPTOM, and NEGATION.

" + }, + "Category":{ + "shape":"ICD10CMEntityType", + "documentation":"

The category of attribute. Can be either of DX_NAME or TIME_EXPRESSION.

" + }, + "RelationshipType":{ + "shape":"ICD10CMRelationshipType", + "documentation":"

The type of relationship between the entity and attribute. Type for the relationship can be either of OVERLAP or SYSTEM_ORGAN_SITE.

" } }, "documentation":"

The detected attributes that relate to an entity. This includes an extracted segment of the text that is an attribute of an entity, or otherwise related to an entity. InferICD10CM detects the following attributes: Direction, System, Organ or Site, and Acuity.

" @@ -842,7 +850,9 @@ "DIRECTION", "SYSTEM_ORGAN_SITE", "QUALITY", - "QUANTITY" + "QUANTITY", + "TIME_TO_DX_NAME", + "TIME_EXPRESSION" ] }, "ICD10CMConcept":{ @@ -884,7 +894,7 @@ }, "Type":{ "shape":"ICD10CMEntityType", - "documentation":"

Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME.

" + "documentation":"

Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME and TIME_EXPRESSION.

" }, "Score":{ "shape":"Float", @@ -923,7 +933,17 @@ }, "ICD10CMEntityType":{ "type":"string", - "enum":["DX_NAME"] + "enum":[ + "DX_NAME", + "TIME_EXPRESSION" + ] + }, + "ICD10CMRelationshipType":{ + "type":"string", + "enum":[ + "OVERLAP", + "SYSTEM_ORGAN_SITE" + ] }, "ICD10CMTrait":{ "type":"structure", @@ -1027,7 +1047,7 @@ "documentation":"

The path to the input data files in the S3 bucket.

" } }, - "documentation":"

The input properties for an entities detection job. This includes the name of the S3 bucket and the path to the files to be analyzed. See batch-manifest for more information.

" + "documentation":"

The input properties for an entities detection job. This includes the name of the S3 bucket and the path to the files to be analyzed.

" }, "Integer":{"type":"integer"}, "InternalServerException":{