AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

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)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#categoryString

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

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

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


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

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


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#relationship_scoreFloat

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

Returns:

  • (Float)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#relationship_typeString

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

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#scoreFloat

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

Returns:

  • (Float)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#textString

The segment of input text which contains the detected attribute.

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#traitsArray<Types::ICD10CMTrait>

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

Returns:



642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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

#typeString

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

Returns:

  • (String)


642
643
644
645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 642

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