libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComprehendMedical.Types.RxNormTrait

Description

 
Synopsis

Documentation

data RxNormTrait Source #

The contextual information for the entity. InferRxNorm recognizes the trait NEGATION, which is any indication that the patient is not taking a medication.

See: newRxNormTrait smart constructor.

Constructors

RxNormTrait' 

Fields

  • score :: Maybe Double

    The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.

  • name :: Maybe RxNormTraitName

    Provides a name or contextual description about the trait.

Instances

Instances details
Eq RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

Read RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

Show RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

Generic RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

Associated Types

type Rep RxNormTrait :: Type -> Type #

NFData RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

Methods

rnf :: RxNormTrait -> () #

Hashable RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

FromJSON RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

type Rep RxNormTrait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.RxNormTrait

type Rep RxNormTrait = D1 ('MetaData "RxNormTrait" "Amazonka.ComprehendMedical.Types.RxNormTrait" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "RxNormTrait'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RxNormTraitName))))

newRxNormTrait :: RxNormTrait Source #

Create a value of RxNormTrait 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:score:RxNormTrait', rxNormTrait_score - The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.

$sel:name:RxNormTrait', rxNormTrait_name - Provides a name or contextual description about the trait.

rxNormTrait_score :: Lens' RxNormTrait (Maybe Double) Source #

The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.

rxNormTrait_name :: Lens' RxNormTrait (Maybe RxNormTraitName) Source #

Provides a name or contextual description about the trait.