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.InferICD10CM

Description

InferICD10CM detects medical conditions as entities listed in a patient record and links those entities to normalized concept identifiers in the ICD-10-CM knowledge base from the Centers for Disease Control. Amazon Comprehend Medical only detects medical entities in English language texts.

Synopsis

Creating a Request

data InferICD10CM Source #

See: newInferICD10CM smart constructor.

Constructors

InferICD10CM' 

Fields

  • text :: Text

    The input text used for analysis. The input for InferICD10CM is a string from 1 to 10000 characters.

Instances

Instances details
Eq InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Read InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Show InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Generic InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Associated Types

type Rep InferICD10CM :: Type -> Type #

NFData InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Methods

rnf :: InferICD10CM -> () #

Hashable InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

ToJSON InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

AWSRequest InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Associated Types

type AWSResponse InferICD10CM #

ToHeaders InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

ToPath InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

ToQuery InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

type Rep InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

type Rep InferICD10CM = D1 ('MetaData "InferICD10CM" "Amazonka.ComprehendMedical.InferICD10CM" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "InferICD10CM'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse InferICD10CM Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

newInferICD10CM Source #

Create a value of InferICD10CM 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:text:InferICD10CM', inferICD10CM_text - The input text used for analysis. The input for InferICD10CM is a string from 1 to 10000 characters.

Request Lenses

inferICD10CM_text :: Lens' InferICD10CM Text Source #

The input text used for analysis. The input for InferICD10CM is a string from 1 to 10000 characters.

Destructuring the Response

data InferICD10CMResponse Source #

See: newInferICD10CMResponse smart constructor.

Constructors

InferICD10CMResponse' 

Fields

  • paginationToken :: Maybe Text

    If the result of the previous request to InferICD10CM was truncated, include the PaginationToken to fetch the next page of medical condition entities.

  • 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.

  • httpStatus :: Int

    The response's http status code.

  • entities :: [ICD10CMEntity]

    The medical conditions detected in the text linked to ICD-10-CM concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.

Instances

Instances details
Eq InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Read InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Show InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Generic InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Associated Types

type Rep InferICD10CMResponse :: Type -> Type #

NFData InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

Methods

rnf :: InferICD10CMResponse -> () #

type Rep InferICD10CMResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.InferICD10CM

type Rep InferICD10CMResponse = D1 ('MetaData "InferICD10CMResponse" "Amazonka.ComprehendMedical.InferICD10CM" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "InferICD10CMResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "paginationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "entities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ICD10CMEntity]))))

newInferICD10CMResponse Source #

Create a value of InferICD10CMResponse 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:paginationToken:InferICD10CMResponse', inferICD10CMResponse_paginationToken - If the result of the previous request to InferICD10CM was truncated, include the PaginationToken to fetch the next page of medical condition entities.

$sel:modelVersion:InferICD10CMResponse', inferICD10CMResponse_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:httpStatus:InferICD10CMResponse', inferICD10CMResponse_httpStatus - The response's http status code.

$sel:entities:InferICD10CMResponse', inferICD10CMResponse_entities - The medical conditions detected in the text linked to ICD-10-CM concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.

Response Lenses

inferICD10CMResponse_paginationToken :: Lens' InferICD10CMResponse (Maybe Text) Source #

If the result of the previous request to InferICD10CM was truncated, include the PaginationToken to fetch the next page of medical condition entities.

inferICD10CMResponse_modelVersion :: Lens' InferICD10CMResponse (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.

inferICD10CMResponse_entities :: Lens' InferICD10CMResponse [ICD10CMEntity] Source #

The medical conditions detected in the text linked to ICD-10-CM concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.