Module Values.SNOMEDCTAttributeSource

The extracted attributes that relate to an entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.

Sourcetype nonrec t = {
  1. category : SNOMEDCTEntityCategory.t option;
    (*

    The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.

    *)
  2. type_ : SNOMEDCTAttributeType.t option;
    (*

    The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.

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

    The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.

    *)
  4. relationshipScore : Float_.t option;
    (*

    The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.

    *)
  5. relationshipType : SNOMEDCTRelationshipType.t option;
    (*

    The type of relationship that exists between the entity and the related attribute.

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

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

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

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

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

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

    *)
  9. text : String_.t option;
    (*

    The segment of input text extracted as this attribute.

    *)
  10. traits : SNOMEDCTTraitList.t option;
    (*

    Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.

    *)
  11. sNOMEDCTConcepts : SNOMEDCTConceptList.t option;
    (*

    The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.

    *)
}
Sourceval make : ?category:??? -> ?type_:??? -> ?score:??? -> ?relationshipScore:??? -> ?relationshipType:??? -> ?id:??? -> ?beginOffset:??? -> ?endOffset:??? -> ?text:??? -> ?traits:??? -> ?sNOMEDCTConcepts:??? -> 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 | `String of String_.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