amazonka-comprehendmedical-2.0: Amazon Comprehend Medical SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComprehendMedical.InferSNOMEDCT

Description

InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology

Synopsis

Creating a Request

data InferSNOMEDCT Source #

See: newInferSNOMEDCT smart constructor.

Constructors

InferSNOMEDCT' 

Fields

  • text :: Text

    The input text to be analyzed using InferSNOMEDCT. The text should be a string with 1 to 10000 characters.

Instances

Instances details
ToJSON InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

ToHeaders InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

ToPath InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

ToQuery InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

AWSRequest InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Associated Types

type AWSResponse InferSNOMEDCT #

Generic InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Associated Types

type Rep InferSNOMEDCT :: Type -> Type #

Read InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Show InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

NFData InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Methods

rnf :: InferSNOMEDCT -> () #

Eq InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Hashable InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

type AWSResponse InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

type Rep InferSNOMEDCT Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

type Rep InferSNOMEDCT = D1 ('MetaData "InferSNOMEDCT" "Amazonka.ComprehendMedical.InferSNOMEDCT" "amazonka-comprehendmedical-2.0-K5bRdy29Oz63JzqZPPUiej" 'False) (C1 ('MetaCons "InferSNOMEDCT'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInferSNOMEDCT Source #

Create a value of InferSNOMEDCT 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:

InferSNOMEDCT, inferSNOMEDCT_text - The input text to be analyzed using InferSNOMEDCT. The text should be a string with 1 to 10000 characters.

Request Lenses

inferSNOMEDCT_text :: Lens' InferSNOMEDCT Text Source #

The input text to be analyzed using InferSNOMEDCT. The text should be a string with 1 to 10000 characters.

Destructuring the Response

data InferSNOMEDCTResponse Source #

See: newInferSNOMEDCTResponse smart constructor.

Constructors

InferSNOMEDCTResponse' 

Fields

  • characters :: Maybe Characters

    The number of characters in the input request documentation.

  • modelVersion :: Maybe Text

    The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.

  • paginationToken :: Maybe Text

    If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.

  • sNOMEDCTDetails :: Maybe SNOMEDCTDetails

    The details of the SNOMED-CT revision, including the edition, language, and version date.

  • httpStatus :: Int

    The response's http status code.

  • entities :: [SNOMEDCTEntity]

    The collection of medical concept 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 Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

Instances

Instances details
Generic InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Associated Types

type Rep InferSNOMEDCTResponse :: Type -> Type #

Read InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Show InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

NFData InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

Methods

rnf :: InferSNOMEDCTResponse -> () #

Eq InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

type Rep InferSNOMEDCTResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferSNOMEDCT

type Rep InferSNOMEDCTResponse = D1 ('MetaData "InferSNOMEDCTResponse" "Amazonka.ComprehendMedical.InferSNOMEDCT" "amazonka-comprehendmedical-2.0-K5bRdy29Oz63JzqZPPUiej" 'False) (C1 ('MetaCons "InferSNOMEDCTResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "characters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Characters)) :*: (S1 ('MetaSel ('Just "modelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sNOMEDCTDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SNOMEDCTDetails)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "entities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SNOMEDCTEntity])))))

newInferSNOMEDCTResponse Source #

Create a value of InferSNOMEDCTResponse 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:characters:InferSNOMEDCTResponse', inferSNOMEDCTResponse_characters - The number of characters in the input request documentation.

InferSNOMEDCTResponse, inferSNOMEDCTResponse_modelVersion - The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.

$sel:paginationToken:InferSNOMEDCTResponse', inferSNOMEDCTResponse_paginationToken - If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.

$sel:sNOMEDCTDetails:InferSNOMEDCTResponse', inferSNOMEDCTResponse_sNOMEDCTDetails - The details of the SNOMED-CT revision, including the edition, language, and version date.

$sel:httpStatus:InferSNOMEDCTResponse', inferSNOMEDCTResponse_httpStatus - The response's http status code.

$sel:entities:InferSNOMEDCTResponse', inferSNOMEDCTResponse_entities - The collection of medical concept 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 Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

Response Lenses

inferSNOMEDCTResponse_characters :: Lens' InferSNOMEDCTResponse (Maybe Characters) Source #

The number of characters in the input request documentation.

inferSNOMEDCTResponse_modelVersion :: Lens' InferSNOMEDCTResponse (Maybe Text) Source #

The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.

inferSNOMEDCTResponse_paginationToken :: Lens' InferSNOMEDCTResponse (Maybe Text) Source #

If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.

inferSNOMEDCTResponse_sNOMEDCTDetails :: Lens' InferSNOMEDCTResponse (Maybe SNOMEDCTDetails) Source #

The details of the SNOMED-CT revision, including the edition, language, and version date.

inferSNOMEDCTResponse_entities :: Lens' InferSNOMEDCTResponse [SNOMEDCTEntity] Source #

The collection of medical concept 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 Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.