Values.AttributeSourceAn 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.
type nonrec t = {type_ : EntitySubType.t option;The type of attribute.
*)score : Float_.t option;The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
*)relationshipScore : Float_.t option;The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
*)relationshipType : RelationshipType.t option;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.
*)id : Integer.t option;The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
*)beginOffset : Integer.t option;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.
*)endOffset : Integer.t option;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.
*)text : String_.t option;The segment of input text extracted as this attribute.
*)category : EntityType.t option;The category of attribute.
*)traits : TraitList.t option;Contextual information for this attribute.
*)}