/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The extracted attributes that relate to this entity. The attributes
* recognized by InferRxNorm are DOSAGE
, DURATION
,
* FORM
, FREQUENCY
, RATE
,
* ROUTE_OR_MODE
.See Also:
AWS
* API Reference
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The type of attribute. The types of attributes recognized by InferRxNorm are
* BRAND_NAME
and GENERIC_NAME
.
The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as an attribute.
*/ inline double GetScore() const{ return m_score; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as an attribute.
*/ inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as an attribute.
*/ inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; } /** *The level of confidence that Amazon Comprehend Medical has that the segment * of text is correctly recognized as an attribute.
*/ inline RxNormAttribute& WithScore(double value) { SetScore(value); return *this;} /** *The level of confidence that Amazon Comprehend Medical has that the attribute * is accurately linked to an entity.
*/ inline double GetRelationshipScore() const{ return m_relationshipScore; } /** *The level of confidence that Amazon Comprehend Medical has that the attribute * is accurately linked to an entity.
*/ inline bool RelationshipScoreHasBeenSet() const { return m_relationshipScoreHasBeenSet; } /** *The level of confidence that Amazon Comprehend Medical has that the attribute * is accurately linked to an entity.
*/ inline void SetRelationshipScore(double value) { m_relationshipScoreHasBeenSet = true; m_relationshipScore = value; } /** *The level of confidence that Amazon Comprehend Medical has that the attribute * is accurately linked to an entity.
*/ inline RxNormAttribute& WithRelationshipScore(double value) { SetRelationshipScore(value); return *this;} /** *The numeric identifier for this attribute. This is a monotonically increasing * id unique within this response rather than a global unique identifier.
*/ inline int GetId() const{ return m_id; } /** *The numeric identifier for this attribute. This is a monotonically increasing * id unique within this response rather than a global unique identifier.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The numeric identifier for this attribute. This is a monotonically increasing * id unique within this response rather than a global unique identifier.
*/ inline void SetId(int value) { m_idHasBeenSet = true; m_id = value; } /** *The numeric identifier for this attribute. This is a monotonically increasing * id unique within this response rather than a global unique identifier.
*/ inline RxNormAttribute& WithId(int value) { SetId(value); return *this;} /** *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.
*/ inline int GetBeginOffset() const{ return m_beginOffset; } /** *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.
*/ inline bool BeginOffsetHasBeenSet() const { return m_beginOffsetHasBeenSet; } /** *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.
*/ inline void SetBeginOffset(int value) { m_beginOffsetHasBeenSet = true; m_beginOffset = value; } /** *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.
*/ inline RxNormAttribute& WithBeginOffset(int value) { SetBeginOffset(value); return *this;} /** *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.
*/ inline int GetEndOffset() const{ return m_endOffset; } /** *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.
*/ inline bool EndOffsetHasBeenSet() const { return m_endOffsetHasBeenSet; } /** *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.
*/ inline void SetEndOffset(int value) { m_endOffsetHasBeenSet = true; m_endOffset = value; } /** *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.
*/ inline RxNormAttribute& WithEndOffset(int value) { SetEndOffset(value); return *this;} /** *The segment of input text which corresponds to the detected attribute.
*/ inline const Aws::String& GetText() const{ return m_text; } /** *The segment of input text which corresponds to the detected attribute.
*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *The segment of input text which corresponds to the detected attribute.
*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *The segment of input text which corresponds to the detected attribute.
*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *The segment of input text which corresponds to the detected attribute.
*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *The segment of input text which corresponds to the detected attribute.
*/ inline RxNormAttribute& WithText(const Aws::String& value) { SetText(value); return *this;} /** *The segment of input text which corresponds to the detected attribute.
*/ inline RxNormAttribute& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *The segment of input text which corresponds to the detected attribute.
*/ inline RxNormAttribute& WithText(const char* value) { SetText(value); return *this;} /** *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.
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.
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.
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.
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.
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.
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.
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.