[][src]Struct rusoto_comprehendmedical::RxNormEntity

pub struct RxNormEntity {
    pub attributes: Option<Vec<RxNormAttribute>>,
    pub begin_offset: Option<i64>,
    pub category: Option<String>,
    pub end_offset: Option<i64>,
    pub id: Option<i64>,
    pub rx_norm_concepts: Option<Vec<RxNormConcept>>,
    pub score: Option<f32>,
    pub text: Option<String>,
    pub traits: Option<Vec<RxNormTrait>>,
    pub type_: Option<String>,
}

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.

Fields

attributes: Option<Vec<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.

begin_offset: Option<i64>

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: Option<String>

The category of the entity. The recognized categories are GENERIC or BRAND_NAME.

end_offset: Option<i64>

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: Option<i64>

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: Option<Vec<RxNormConcept>>

The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.

score: Option<f32>

The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.

text: Option<String>

The segment of input text extracted from which the entity was detected.

traits: Option<Vec<RxNormTrait>>

Contextual information for the entity.

type_: Option<String>

Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.

Trait Implementations

impl Clone for RxNormEntity[src]

impl Debug for RxNormEntity[src]

impl Default for RxNormEntity[src]

impl<'de> Deserialize<'de> for RxNormEntity[src]

impl PartialEq<RxNormEntity> for RxNormEntity[src]

impl StructuralPartialEq for RxNormEntity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.