You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ComprehendMedical::Types::ICD10CMAttribute

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#begin_offsetInteger

The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.

Returns:

  • (Integer)

    The 0-based character offset in the input text that shows where the attribute begins.

#end_offsetInteger

The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.

Returns:

  • (Integer)

    The 0-based character offset in the input text that shows where the attribute ends.

#idInteger

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

Returns:

  • (Integer)

    The numeric identifier for this attribute.

#relationship_scoreFloat

The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.

Returns:

  • (Float)

    The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.

#scoreFloat

The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.

Returns:

  • (Float)

    The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.

#textString

The segment of input text which contains the detected attribute.

Returns:

  • (String)

    The segment of input text which contains the detected attribute.

#traitsArray<Types::ICD10CMTrait>

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

Returns:

#typeString

The type of attribute. InferICD10CM detects entities of the type DX_NAME.

Possible values:

  • ACUITY
  • DIRECTION
  • SYSTEM_ORGAN_SITE
  • QUALITY
  • QUANTITY

Returns:

  • (String)

    The type of attribute.