RxNormEntity class

The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

Constructors

RxNormEntity.new({List<RxNormAttribute>? attributes, int? beginOffset, RxNormEntityCategory? category, int? endOffset, int? id, List<RxNormConcept>? rxNormConcepts, double? score, String? text, List<RxNormTrait>? traits, RxNormEntityType? type})
RxNormEntity.fromJson(Map<String, dynamic> json)
factory

Properties

attributes List<RxNormAttribute>?
The extracted attributes that relate to the entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE, and STRENGTH.
final
beginOffset int?
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
final
category RxNormEntityCategory?
The category of the entity. The recognized categories are GENERIC or BRAND_NAME.
final
endOffset int?
The 0-based character offset in the input text that shows where the entity 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 the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rxNormConcepts List<RxNormConcept>?
The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.
final
score double?
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
final
text String?
The segment of input text extracted from which the entity was detected.
final
traits List<RxNormTrait>?
Contextual information for the entity.
final
type RxNormEntityType?
Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.
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