Values.InferRxNormResponseSourceInferRxNorm 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.
type nonrec t = {entities : RxNormEntityList.t option;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.
*)paginationToken : String_.t option;If the result of the previous request to InferRxNorm was truncated, include the PaginationToken to fetch the next page of medication entities.
*)modelVersion : String_.t option;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.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidEncodingException of InvalidEncodingException.t| `InvalidRequestException of InvalidRequestException.t| `TextSizeLimitExceededException of TextSizeLimitExceededException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidEncodingException of InvalidEncodingException.t
| `InvalidRequestException of InvalidRequestException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidEncodingException of InvalidEncodingException.t
| `InvalidRequestException of InvalidRequestException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t ])
list ]
list
| `String of String_.t ])
list ]
list
| `String of OntologyLinkingBoundedLengthString.t ])
list ]
list
| `String of String_.t ])
list ]