Class: Aws::ComprehendMedical::Types::SNOMEDCTEntity

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 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

Instance Attribute Details

#attributesArray<Types::SNOMEDCTAttribute>

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.

Returns:


1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#begin_offsetInteger

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.

Returns:

  • (Integer)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#categoryString

The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.

Returns:

  • (String)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#end_offsetInteger

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.

Returns:

  • (Integer)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#idInteger

The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

Returns:

  • (Integer)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The level of confidence that Comprehend Medical has in the accuracy of the detected entity.

Returns:

  • (Float)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#snomedct_conceptsArray<Types::SNOMEDCTConcept>

The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.

Returns:


1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The segment of input text extracted as this entity.

Returns:

  • (String)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#traitsArray<Types::SNOMEDCTTrait>

Contextual information for the entity.

Returns:


1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.

Returns:

  • (String)

1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 1596

class SNOMEDCTEntity < Struct.new(
  :id,
  :text,
  :category,
  :type,
  :score,
  :begin_offset,
  :end_offset,
  :attributes,
  :traits,
  :snomedct_concepts)
  SENSITIVE = []
  include Aws::Structure
end