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

RxNormAttribute

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

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

interface RxNormAttribute {
BeginOffset?: number | null;
EndOffset?: number | null;
Id?: number | null;
RelationshipScore?: number | null;
Score?: number | null;
Text?: string | null;
Traits?: RxNormTrait[] | null;
Type?: RxNormAttributeType | null;
}

§Properties

§
BeginOffset?: number | null
[src]

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.

§
EndOffset?: number | null
[src]

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.

§
Id?: number | null
[src]

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

§
RelationshipScore?: number | null
[src]

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

§
Score?: number | null
[src]

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

§
Text?: string | null
[src]

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

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

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.

§

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