Values.RxNormEntitySourceThe 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.
type nonrec t = {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.
*)text : OntologyLinkingBoundedLengthString.t option;The segment of input text extracted from which the entity was detected.
*)category : RxNormEntityCategory.t option;The category of the entity. The recognized categories are GENERIC or BRAND_NAME.
*)type_ : RxNormEntityType.t option;Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.
*)score : Float_.t option;The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
*)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.
*)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.
*)attributes : RxNormAttributeList.t option;The extracted attributes that relate to the entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE, and STRENGTH.
*)traits : RxNormTraitList.t option;Contextual information for the entity.
*)rxNormConcepts : RxNormConceptList.t option;The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.
*)}val 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 ]