Attribute
¶
Source code in docs_src/capo_comprehendmedical/types/attribute.py
begin_offset
instance-attribute
¶
begin_offset: NotRequired[Integer]
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.
end_offset
instance-attribute
¶
end_offset: NotRequired[Integer]
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.
id
instance-attribute
¶
id: NotRequired[Integer]
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
relationship_score
instance-attribute
¶
relationship_score: NotRequired[Float]
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
relationship_type
instance-attribute
¶
relationship_type: NotRequired[RelationshipType]
The type of relationship between the entity and attribute. Type for the relationship is OVERLAP, indicating that the entity occurred at the same time as the Date_Expression.
score
instance-attribute
¶
score: NotRequired[Float]
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
text
instance-attribute
¶
text: NotRequired[String]
The segment of input text extracted as this attribute.