NAME

Paws::ComprehendMedical::Attribute

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::ComprehendMedical::Attribute object:

$service_obj->Method(Att1 => { BeginOffset => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ComprehendMedical::Attribute object:

$result = $service_obj->Method(...);
$result->Att1->BeginOffset

DESCRIPTION

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.

ATTRIBUTES

BeginOffset => Int

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.

Category => Str

The category of attribute.

EndOffset => Int

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 => Int

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

RelationshipScore => Num

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

RelationshipType => Str

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 => Num

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

Text => Str

The segment of input text extracted as this attribute.

Traits => ArrayRef[Paws::ComprehendMedical::Trait]

Contextual information for this attribute.

Type => Str

The type of attribute.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ComprehendMedical

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues