Struct aws_sdk_comprehendmedical::model::SnomedctAttribute
source · [−]#[non_exhaustive]pub struct SnomedctAttribute {
pub category: Option<SnomedctEntityCategory>,
pub type: Option<SnomedctAttributeType>,
pub score: Option<f32>,
pub relationship_score: Option<f32>,
pub relationship_type: Option<SnomedctRelationshipType>,
pub id: Option<i32>,
pub begin_offset: Option<i32>,
pub end_offset: Option<i32>,
pub text: Option<String>,
pub traits: Option<Vec<SnomedctTrait>>,
pub snomedct_concepts: Option<Vec<SnomedctConcept>>,
}
Expand description
The extracted attributes that relate to an entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
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.category: Option<SnomedctEntityCategory>
The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
type: Option<SnomedctAttributeType>
The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.
score: Option<f32>
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
relationship_score: Option<f32>
The level of confidence that Comprehend Medical has that this attribute is correctly related to this entity.
relationship_type: Option<SnomedctRelationshipType>
The type of relationship that exists between the entity and the related attribute.
id: Option<i32>
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
begin_offset: Option<i32>
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<i32>
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.
text: Option<String>
The segment of input text extracted as this attribute.
traits: Option<Vec<SnomedctTrait>>
Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.
snomedct_concepts: Option<Vec<SnomedctConcept>>
The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.
Implementations
sourceimpl SnomedctAttribute
impl SnomedctAttribute
sourcepub fn category(&self) -> Option<&SnomedctEntityCategory>
pub fn category(&self) -> Option<&SnomedctEntityCategory>
The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
sourcepub fn type(&self) -> Option<&SnomedctAttributeType>
pub fn type(&self) -> Option<&SnomedctAttributeType>
The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.
sourcepub fn score(&self) -> Option<f32>
pub fn score(&self) -> Option<f32>
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
sourcepub fn relationship_score(&self) -> Option<f32>
pub fn relationship_score(&self) -> Option<f32>
The level of confidence that Comprehend Medical has that this attribute is correctly related to this entity.
sourcepub fn relationship_type(&self) -> Option<&SnomedctRelationshipType>
pub fn relationship_type(&self) -> Option<&SnomedctRelationshipType>
The type of relationship that exists between the entity and the related attribute.
sourcepub fn id(&self) -> Option<i32>
pub fn id(&self) -> Option<i32>
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
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 attribute 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 attribute ends. The offset returns the UTF-8 code point in the string.
sourcepub fn traits(&self) -> Option<&[SnomedctTrait]>
pub fn traits(&self) -> Option<&[SnomedctTrait]>
Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.
sourcepub fn snomedct_concepts(&self) -> Option<&[SnomedctConcept]>
pub fn snomedct_concepts(&self) -> Option<&[SnomedctConcept]>
The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.
sourceimpl SnomedctAttribute
impl SnomedctAttribute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SnomedctAttribute
Trait Implementations
sourceimpl Clone for SnomedctAttribute
impl Clone for SnomedctAttribute
sourcefn clone(&self) -> SnomedctAttribute
fn clone(&self) -> SnomedctAttribute
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 SnomedctAttribute
impl Debug for SnomedctAttribute
sourceimpl PartialEq<SnomedctAttribute> for SnomedctAttribute
impl PartialEq<SnomedctAttribute> for SnomedctAttribute
sourcefn eq(&self, other: &SnomedctAttribute) -> bool
fn eq(&self, other: &SnomedctAttribute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SnomedctAttribute) -> bool
fn ne(&self, other: &SnomedctAttribute) -> bool
This method tests for !=
.
impl StructuralPartialEq for SnomedctAttribute
Auto Trait Implementations
impl RefUnwindSafe for SnomedctAttribute
impl Send for SnomedctAttribute
impl Sync for SnomedctAttribute
impl Unpin for SnomedctAttribute
impl UnwindSafe for SnomedctAttribute
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