Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data InferICD10CM = InferICD10CM' {}
- newInferICD10CM :: Text -> InferICD10CM
- inferICD10CM_text :: Lens' InferICD10CM Text
- data InferICD10CMResponse = InferICD10CMResponse' {
- paginationToken :: Maybe Text
- modelVersion :: Maybe Text
- httpStatus :: Int
- entities :: [ICD10CMEntity]
- newInferICD10CMResponse :: Int -> InferICD10CMResponse
- inferICD10CMResponse_paginationToken :: Lens' InferICD10CMResponse (Maybe Text)
- inferICD10CMResponse_modelVersion :: Lens' InferICD10CMResponse (Maybe Text)
- inferICD10CMResponse_httpStatus :: Lens' InferICD10CMResponse Int
- inferICD10CMResponse_entities :: Lens' InferICD10CMResponse [ICD10CMEntity]
Creating a Request
data InferICD10CM Source #
See: newInferICD10CM
smart constructor.
Instances
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.
InferICD10CMResponse' | |
|
Instances
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_httpStatus :: Lens' InferICD10CMResponse Int Source #
The response's http status code.
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.