Class: Aws::ComprehendMedical::Types::ICD10CMEntity
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComprehendMedical::Types::ICD10CMEntity
- Defined in:
- gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attributes ⇒ Array<Types::ICD10CMAttribute>
The detected attributes that relate to the entity.
-
#begin_offset ⇒ Integer
The 0-based character offset in the input text that shows where the entity begins.
-
#category ⇒ String
The category of the entity.
-
#end_offset ⇒ Integer
The 0-based character offset in the input text that shows where the entity ends.
-
#icd10cm_concepts ⇒ Array<Types::ICD10CMConcept>
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
-
#id ⇒ Integer
The numeric identifier for the entity.
-
#score ⇒ Float
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
-
#text ⇒ String
The segment of input text that is matched to the detected entity.
-
#traits ⇒ Array<Types::ICD10CMTrait>
Provides Contextual information for the entity.
-
#type ⇒ String
Describes the specific type of entity with category of entities.
Instance Attribute Details
#attributes ⇒ Array<Types::ICD10CMAttribute>
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#begin_offset ⇒ Integer
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#category ⇒ String
The category of the entity. InferICD10CM detects entities in the
MEDICAL_CONDITION
category.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#end_offset ⇒ Integer
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#icd10cm_concepts ⇒ Array<Types::ICD10CMConcept>
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#id ⇒ Integer
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#text ⇒ String
The segment of input text that is matched to the detected entity.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#traits ⇒ Array<Types::ICD10CMTrait>
Provides Contextual information for the entity. The traits
recognized by InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and
NEGATION.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
Describes the specific type of entity with category of entities.
InferICD10CM detects entities of the type DX_NAME
and
TIME_EXPRESSION
.
726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 726 class ICD10CMEntity < Struct.new( :id, :text, :category, :type, :score, :begin_offset, :end_offset, :attributes, :traits, :icd10cm_concepts) SENSITIVE = [] include Aws::Structure end |