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 |
InferSNOMEDCT detects possible medical concepts as entities and links them to codes from the Systematized Nomenclature of Medicine, Clinical Terms (SNOMED-CT) ontology
Synopsis
- data InferSNOMEDCT = InferSNOMEDCT' {}
- newInferSNOMEDCT :: Text -> InferSNOMEDCT
- inferSNOMEDCT_text :: Lens' InferSNOMEDCT Text
- data InferSNOMEDCTResponse = InferSNOMEDCTResponse' {}
- newInferSNOMEDCTResponse :: Int -> InferSNOMEDCTResponse
- inferSNOMEDCTResponse_characters :: Lens' InferSNOMEDCTResponse (Maybe Characters)
- inferSNOMEDCTResponse_modelVersion :: Lens' InferSNOMEDCTResponse (Maybe Text)
- inferSNOMEDCTResponse_paginationToken :: Lens' InferSNOMEDCTResponse (Maybe Text)
- inferSNOMEDCTResponse_sNOMEDCTDetails :: Lens' InferSNOMEDCTResponse (Maybe SNOMEDCTDetails)
- inferSNOMEDCTResponse_httpStatus :: Lens' InferSNOMEDCTResponse Int
- inferSNOMEDCTResponse_entities :: Lens' InferSNOMEDCTResponse [SNOMEDCTEntity]
Creating a Request
data InferSNOMEDCT Source #
See: newInferSNOMEDCT
smart constructor.
Instances
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.
InferSNOMEDCTResponse' | |
|
Instances
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_httpStatus :: Lens' InferSNOMEDCTResponse Int Source #
The response's http status code.
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.