RxNormAttribute class

The extracted attributes that relate to this entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE.

Constructors

RxNormAttribute({int? beginOffset, int? endOffset, int? id, double? relationshipScore, double? score, String? text, List<RxNormTrait>? traits, RxNormAttributeType? type})
RxNormAttribute.fromJson(Map<String, dynamic> json)
factory

Properties

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.
final
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.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
final
relationshipScore double?
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double?
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
final
text String?
The segment of input text which corresponds to the detected attribute.
final
traits List<RxNormTrait>?
Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for attributes, i.e. that the patient is not taking a specific dose or form of a medication.
final
type RxNormAttributeType?
The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and GENERIC_NAME.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited