Module Values.InferICD10CMResponseSource

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.

Sourcetype nonrec t = {
  1. entities : ICD10CMEntityList.t option;
    (*

    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.

    *)
  2. paginationToken : String_.t option;
    (*

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

    *)
  3. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidEncodingException of InvalidEncodingException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `ServiceUnavailableException of ServiceUnavailableException.t
  5. | `TextSizeLimitExceededException of TextSizeLimitExceededException.t
  6. | `TooManyRequestsException of TooManyRequestsException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?entities:??? -> ?paginationToken:??? -> ?modelVersion:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t