[][src]Struct rusoto_comprehendmedical::RxNormAttribute

pub struct RxNormAttribute {
    pub begin_offset: Option<i64>,
    pub end_offset: Option<i64>,
    pub id: Option<i64>,
    pub relationship_score: Option<f32>,
    pub score: Option<f32>,
    pub text: Option<String>,
    pub traits: Option<Vec<RxNormTrait>>,
    pub type_: Option<String>,
}

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

Fields

begin_offset: Option<i64>

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.

end_offset: Option<i64>

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.

id: Option<i64>

The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.

relationship_score: Option<f32>

The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.

score: Option<f32>

The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.

text: Option<String>

The segment of input text which corresponds to the detected attribute.

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

type_: Option<String>

The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and GENERIC_NAME.

Trait Implementations

impl Clone for RxNormAttribute[src]

impl Debug for RxNormAttribute[src]

impl Default for RxNormAttribute[src]

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

impl PartialEq<RxNormAttribute> for RxNormAttribute[src]

impl StructuralPartialEq for RxNormAttribute[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: Deserialize<'de>, 
[src]

impl<T> From<T> 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.