| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ComprehendMedical.Types.RxNormAttribute
Description
Synopsis
- data RxNormAttribute = RxNormAttribute' {}
- newRxNormAttribute :: RxNormAttribute
- rxNormAttribute_beginOffset :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_endOffset :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_id :: Lens' RxNormAttribute (Maybe Int)
- rxNormAttribute_relationshipScore :: Lens' RxNormAttribute (Maybe Double)
- rxNormAttribute_score :: Lens' RxNormAttribute (Maybe Double)
- rxNormAttribute_text :: Lens' RxNormAttribute (Maybe Text)
- rxNormAttribute_traits :: Lens' RxNormAttribute (Maybe [RxNormTrait])
- rxNormAttribute_type :: Lens' RxNormAttribute (Maybe RxNormAttributeType)
Documentation
data RxNormAttribute Source #
The extracted attributes that relate to this entity. The attributes
recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY,
RATE, ROUTE_OR_MODE.
See: newRxNormAttribute smart constructor.
Constructors
| RxNormAttribute' | |
Fields
| |
Instances
newRxNormAttribute :: RxNormAttribute Source #
Create a value of RxNormAttribute with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:beginOffset:RxNormAttribute', rxNormAttribute_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.
$sel:endOffset:RxNormAttribute', rxNormAttribute_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.
$sel:id:RxNormAttribute', rxNormAttribute_id - The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:RxNormAttribute', rxNormAttribute_relationshipScore - The level of confidence that Amazon Comprehend Medical has that the
attribute is accurately linked to an entity.
RxNormAttribute, rxNormAttribute_score - The level of confidence that Comprehend Medical has that the segment of
text is correctly recognized as an attribute.
$sel:text:RxNormAttribute', rxNormAttribute_text - The segment of input text which corresponds to the detected attribute.
$sel:traits:RxNormAttribute', rxNormAttribute_traits - 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.
$sel:type':RxNormAttribute', rxNormAttribute_type - The type of attribute. The types of attributes recognized by InferRxNorm
are BRAND_NAME and GENERIC_NAME.
rxNormAttribute_beginOffset :: Lens' RxNormAttribute (Maybe Int) Source #
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.
rxNormAttribute_endOffset :: Lens' RxNormAttribute (Maybe Int) Source #
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.
rxNormAttribute_id :: Lens' RxNormAttribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
rxNormAttribute_relationshipScore :: Lens' RxNormAttribute (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
rxNormAttribute_score :: Lens' RxNormAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
rxNormAttribute_text :: Lens' RxNormAttribute (Maybe Text) Source #
The segment of input text which corresponds to the detected attribute.
rxNormAttribute_traits :: Lens' RxNormAttribute (Maybe [RxNormTrait]) Source #
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.
rxNormAttribute_type :: Lens' RxNormAttribute (Maybe RxNormAttributeType) Source #
The type of attribute. The types of attributes recognized by InferRxNorm
are BRAND_NAME and GENERIC_NAME.