| 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 |
Amazonka.ComprehendMedical.InferRxNorm
Description
InferRxNorm detects medications as entities listed in a patient record and links to the normalized concept identifiers in the RxNorm database from the National Library of Medicine. Amazon Comprehend Medical only detects medical entities in English language texts.
Synopsis
- data InferRxNorm = InferRxNorm' {}
- newInferRxNorm :: Text -> InferRxNorm
- inferRxNorm_text :: Lens' InferRxNorm Text
- data InferRxNormResponse = InferRxNormResponse' {
- modelVersion :: Maybe Text
- paginationToken :: Maybe Text
- httpStatus :: Int
- entities :: [RxNormEntity]
- newInferRxNormResponse :: Int -> InferRxNormResponse
- inferRxNormResponse_modelVersion :: Lens' InferRxNormResponse (Maybe Text)
- inferRxNormResponse_paginationToken :: Lens' InferRxNormResponse (Maybe Text)
- inferRxNormResponse_httpStatus :: Lens' InferRxNormResponse Int
- inferRxNormResponse_entities :: Lens' InferRxNormResponse [RxNormEntity]
Creating a Request
data InferRxNorm Source #
See: newInferRxNorm smart constructor.
Constructors
| InferRxNorm' | |
Instances
Arguments
| :: Text | |
| -> InferRxNorm |
Create a value of InferRxNorm 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:
InferRxNorm, inferRxNorm_text - The input text used for analysis. The input for InferRxNorm is a string
from 1 to 10000 characters.
Request Lenses
inferRxNorm_text :: Lens' InferRxNorm Text Source #
The input text used for analysis. The input for InferRxNorm is a string from 1 to 10000 characters.
Destructuring the Response
data InferRxNormResponse Source #
See: newInferRxNormResponse smart constructor.
Constructors
| InferRxNormResponse' | |
Fields
| |
Instances
newInferRxNormResponse Source #
Arguments
| :: Int | |
| -> InferRxNormResponse |
Create a value of InferRxNormResponse 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:
InferRxNormResponse, inferRxNormResponse_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:InferRxNormResponse', inferRxNormResponse_paginationToken - If the result of the previous request to InferRxNorm was truncated,
include the PaginationToken to fetch the next page of medication
entities.
$sel:httpStatus:InferRxNormResponse', inferRxNormResponse_httpStatus - The response's http status code.
$sel:entities:InferRxNormResponse', inferRxNormResponse_entities - The medication entities detected in the text linked to RxNorm concepts.
If the action is successful, the service sends back an HTTP 200
response, as well as the entities detected.
Response Lenses
inferRxNormResponse_modelVersion :: Lens' InferRxNormResponse (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.
inferRxNormResponse_paginationToken :: Lens' InferRxNormResponse (Maybe Text) Source #
If the result of the previous request to InferRxNorm was truncated,
include the PaginationToken to fetch the next page of medication
entities.
inferRxNormResponse_httpStatus :: Lens' InferRxNormResponse Int Source #
The response's http status code.
inferRxNormResponse_entities :: Lens' InferRxNormResponse [RxNormEntity] Source #
The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.