Module Values.ICD10CMEntitySource

The collection of medical 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 Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

Sourcetype nonrec t = {
  1. id : Integer.t option;
    (*

    The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

    *)
  2. text : OntologyLinkingBoundedLengthString.t option;
    (*

    The segment of input text that is matched to the detected entity.

    *)
  3. category : ICD10CMEntityCategory.t option;
    (*

    The category of the entity. InferICD10CM detects entities in the MEDICAL_CONDITION category.

    *)
  4. type_ : ICD10CMEntityType.t option;
    (*

    Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type DX_NAME and TIME_EXPRESSION.

    *)
  5. score : Float_.t option;
    (*

    The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.

    *)
  6. beginOffset : Integer.t option;
    (*

    The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

    *)
  7. endOffset : Integer.t option;
    (*

    The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

    *)
  8. attributes : ICD10CMAttributeList.t option;
    (*

    The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.

    *)
  9. traits : ICD10CMTraitList.t option;
    (*

    Provides Contextual information for the entity. The traits recognized by InferICD10CM are DIAGNOSIS, SIGN, SYMPTOM, and NEGATION.

    *)
  10. iCD10CMConcepts : ICD10CMConceptList.t option;
    (*

    The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.

    *)
}
Sourceval make : ?id:??? -> ?text:??? -> ?category:??? -> ?type_:??? -> ?score:??? -> ?beginOffset:??? -> ?endOffset:??? -> ?attributes:??? -> ?traits:??? -> ?iCD10CMConcepts:??? -> unit -> t
Sourceval to_value : t -> [> `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 ]
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