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

Class: Aws::ComprehendMedical::Types::Entity

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

Overview

Provides information about an extracted medical entity.

Instance Attribute Summary collapse

Instance Attribute Details

#attributes ⇒ Array<Types::Attribute>

The extracted attributes that relate to this entity.

Returns:

  • (Array<Types::Attribute>) —

    The extracted attributes that relate to this entity.

#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.

Returns:

  • (Integer) —

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

#category ⇒ String

The category of the entity.

Possible values:

  • MEDICATION
  • MEDICAL_CONDITION
  • PROTECTED_HEALTH_INFORMATION
  • TEST_TREATMENT_PROCEDURE
  • ANATOMY
  • TIME_EXPRESSION

Returns:

  • (String) —

    The category of the entity.

#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.

Returns:

  • (Integer) —

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

#id ⇒ Integer

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

Returns:

  • (Integer) —

    The numeric identifier for the entity.

#score ⇒ Float

The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.

Returns:

  • (Float) —

    The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.

#text ⇒ String

The segment of input text extracted as this entity.

Returns:

  • (String) —

    The segment of input text extracted as this entity.

#traits ⇒ Array<Types::Trait>

Contextual information for the entity.

Returns:

  • (Array<Types::Trait>) —

    Contextual information for the entity.

#type ⇒ String

Describes the specific type of entity with category of entities.

Possible values:

  • NAME
  • DOSAGE
  • ROUTE_OR_MODE
  • FORM
  • FREQUENCY
  • DURATION
  • GENERIC_NAME
  • BRAND_NAME
  • STRENGTH
  • RATE
  • ACUITY
  • TEST_NAME
  • TEST_VALUE
  • TEST_UNITS
  • PROCEDURE_NAME
  • TREATMENT_NAME
  • DATE
  • AGE
  • CONTACT_POINT
  • EMAIL
  • IDENTIFIER
  • 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

Returns:

  • (String) —

    Describes the specific type of entity with category of entities.