Class: Aws::ComprehendMedical::Types::SNOMEDCTAttribute

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

Overview

The extracted attributes that relate to an entity. 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.

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)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#categoryString

The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.

Returns:

  • (String)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

class SNOMEDCTAttribute < Struct.new(
  :category,
  :type,
  :score,
  :relationship_score,
  :relationship_type,
  :id,
  :begin_offset,
  :end_offset,
  :text,
  :traits,
  :snomedct_concepts)
  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)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

class SNOMEDCTAttribute < Struct.new(
  :category,
  :type,
  :score,
  :relationship_score,
  :relationship_type,
  :id,
  :begin_offset,
  :end_offset,
  :text,
  :traits,
  :snomedct_concepts)
  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)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

class SNOMEDCTAttribute < Struct.new(
  :category,
  :type,
  :score,
  :relationship_score,
  :relationship_type,
  :id,
  :begin_offset,
  :end_offset,
  :text,
  :traits,
  :snomedct_concepts)
  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)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#relationship_typeString

The type of relationship that exists between the entity and the related attribute.

Returns:

  • (String)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

class SNOMEDCTAttribute < Struct.new(
  :category,
  :type,
  :score,
  :relationship_score,
  :relationship_type,
  :id,
  :begin_offset,
  :end_offset,
  :text,
  :traits,
  :snomedct_concepts)
  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)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#snomedct_conceptsArray<Types::SNOMEDCTConcept>

The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.

Returns:



1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#textString

The segment of input text extracted as this attribute.

Returns:

  • (String)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#traitsArray<Types::SNOMEDCTTrait>

Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.

Returns:



1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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

#typeString

The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.

Returns:

  • (String)


1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 1456

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