Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RxNormEntity

import type { RxNormEntity } from "https://aws-api.deno.dev/v0.3/services/comprehendmedical.ts?docs=full";

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.

interface RxNormEntity {
Attributes?: RxNormAttribute[] | null;
BeginOffset?: number | null;
Category?: RxNormEntityCategory | null;
EndOffset?: number | null;
Id?: number | null;
RxNormConcepts?: RxNormConcept[] | null;
Score?: number | null;
Text?: string | null;
Traits?: RxNormTrait[] | null;
Type?: RxNormEntityType | null;
}

§Properties

§
Attributes?: RxNormAttribute[] | null
[src]

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

§
BeginOffset?: number | null
[src]

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.

§
Category?: RxNormEntityCategory | null
[src]

The category of the entity. The recognized categories are GENERIC or BRAND_NAME.

§
EndOffset?: number | null
[src]

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.

§
Id?: number | null
[src]

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

§
RxNormConcepts?: RxNormConcept[] | null
[src]

The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.

§
Score?: number | null
[src]

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

§
Text?: string | null
[src]

The segment of input text extracted from which the entity was detected.

§
Traits?: RxNormTrait[] | null
[src]

Contextual information for the entity.

§
Type?: RxNormEntityType | null
[src]

Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.