Struct aws_sdk_comprehendmedical::model::Icd10CmEntity
source · [−]#[non_exhaustive]pub struct Icd10CmEntity {
pub id: Option<i32>,
pub text: Option<String>,
pub category: Option<Icd10CmEntityCategory>,
pub type: Option<Icd10CmEntityType>,
pub score: Option<f32>,
pub begin_offset: Option<i32>,
pub end_offset: Option<i32>,
pub attributes: Option<Vec<Icd10CmAttribute>>,
pub traits: Option<Vec<Icd10CmTrait>>,
pub icd10_cm_concepts: Option<Vec<Icd10CmConcept>>,
}
Expand description
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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<i32>
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
text: Option<String>
The segment of input text that is matched to the detected entity.
category: Option<Icd10CmEntityCategory>
The category of the entity. InferICD10CM detects entities in the MEDICAL_CONDITION
category.
type: Option<Icd10CmEntityType>
Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME
and TIME_EXPRESSION
.
score: Option<f32>
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
begin_offset: Option<i32>
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.
end_offset: Option<i32>
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.
attributes: Option<Vec<Icd10CmAttribute>>
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
traits: Option<Vec<Icd10CmTrait>>
Provides Contextual information for the entity. The traits recognized by InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION.
icd10_cm_concepts: Option<Vec<Icd10CmConcept>>
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
Implementations
sourceimpl Icd10CmEntity
impl Icd10CmEntity
sourcepub fn id(&self) -> Option<i32>
pub fn id(&self) -> Option<i32>
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
sourcepub fn text(&self) -> Option<&str>
pub fn text(&self) -> Option<&str>
The segment of input text that is matched to the detected entity.
sourcepub fn category(&self) -> Option<&Icd10CmEntityCategory>
pub fn category(&self) -> Option<&Icd10CmEntityCategory>
The category of the entity. InferICD10CM detects entities in the MEDICAL_CONDITION
category.
sourcepub fn type(&self) -> Option<&Icd10CmEntityType>
pub fn type(&self) -> Option<&Icd10CmEntityType>
Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME
and TIME_EXPRESSION
.
sourcepub fn score(&self) -> Option<f32>
pub fn score(&self) -> Option<f32>
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
sourcepub fn begin_offset(&self) -> Option<i32>
pub fn begin_offset(&self) -> Option<i32>
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.
sourcepub fn end_offset(&self) -> Option<i32>
pub fn end_offset(&self) -> Option<i32>
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.
sourcepub fn attributes(&self) -> Option<&[Icd10CmAttribute]>
pub fn attributes(&self) -> Option<&[Icd10CmAttribute]>
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
sourcepub fn traits(&self) -> Option<&[Icd10CmTrait]>
pub fn traits(&self) -> Option<&[Icd10CmTrait]>
Provides Contextual information for the entity. The traits recognized by InferICD10CM are DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION.
sourcepub fn icd10_cm_concepts(&self) -> Option<&[Icd10CmConcept]>
pub fn icd10_cm_concepts(&self) -> Option<&[Icd10CmConcept]>
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
sourceimpl Icd10CmEntity
impl Icd10CmEntity
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Icd10CmEntity
Trait Implementations
sourceimpl Clone for Icd10CmEntity
impl Clone for Icd10CmEntity
sourcefn clone(&self) -> Icd10CmEntity
fn clone(&self) -> Icd10CmEntity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Icd10CmEntity
impl Debug for Icd10CmEntity
sourceimpl PartialEq<Icd10CmEntity> for Icd10CmEntity
impl PartialEq<Icd10CmEntity> for Icd10CmEntity
sourcefn eq(&self, other: &Icd10CmEntity) -> bool
fn eq(&self, other: &Icd10CmEntity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Icd10CmEntity) -> bool
fn ne(&self, other: &Icd10CmEntity) -> bool
This method tests for !=
.
impl StructuralPartialEq for Icd10CmEntity
Auto Trait Implementations
impl RefUnwindSafe for Icd10CmEntity
impl Send for Icd10CmEntity
impl Sync for Icd10CmEntity
impl Unpin for Icd10CmEntity
impl UnwindSafe for Icd10CmEntity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more