Attribute

class Attribute

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. It contains information about the attribute such as id, begin and end offset within the input text, and the segment of the input text.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

The category of attribute.

Link copied to clipboard

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.

Link copied to clipboard
val id: Int?

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
val score: Float?

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

Link copied to clipboard
val text: String?

The segment of input text extracted as this attribute.

Link copied to clipboard

Contextual information for this attribute.

Link copied to clipboard

The type of attribute.

Functions

Link copied to clipboard
inline fun copy(block: Attribute.Builder.() -> Unit = {}): Attribute
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String