RxNormEntity
¶
Source code in docs_src/capo_comprehendmedical/types/rx_norm_entity.py
attributes
instance-attribute
¶
attributes: NotRequired[RxNormAttributeList]
The extracted attributes that relate to the entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE, and STRENGTH.
begin_offset
instance-attribute
¶
begin_offset: NotRequired[Integer]
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.
category
instance-attribute
¶
category: NotRequired[RxNormEntityCategory]
The category of the entity. The recognized categories are GENERIC or BRAND_NAME.
end_offset
instance-attribute
¶
end_offset: NotRequired[Integer]
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.
id
instance-attribute
¶
id: NotRequired[Integer]
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
rx_norm_concepts
instance-attribute
¶
rx_norm_concepts: NotRequired[RxNormConceptList]
The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.
score
instance-attribute
¶
score: NotRequired[Float]
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
text
instance-attribute
¶
text: NotRequired[OntologyLinkingBoundedLengthString]
The segment of input text extracted from which the entity was detected.
traits
instance-attribute
¶
traits: NotRequired[RxNormTraitList]
Contextual information for the entity.
type
instance-attribute
¶
type: NotRequired[RxNormEntityType]
Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.