Module Values.RxNormAttributeSource

The extracted attributes that relate to this entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE.

Sourcetype nonrec t = {
  1. type_ : RxNormAttributeType.t option;
    (*

    The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and GENERIC_NAME.

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

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

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

    The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.

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

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

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

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

    The segment of input text which corresponds to the detected attribute.

    *)
  8. traits : RxNormTraitList.t option;
    (*

    Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for attributes, i.e. that the patient is not taking a specific dose or form of a medication.

    *)
}
Sourceval make : ?type_:??? -> ?score:??? -> ?relationshipScore:??? -> ?id:??? -> ?beginOffset:??? -> ?endOffset:??? -> ?text:??? -> ?traits:??? -> 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 ]) 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