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

SNOMEDCTEntity

import type { SNOMEDCTEntity } 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 Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.

interface SNOMEDCTEntity {
Attributes?: SNOMEDCTAttribute[] | null;
BeginOffset?: number | null;
Category?: SNOMEDCTEntityCategory | null;
EndOffset?: number | null;
Id?: number | null;
Score?: number | null;
SNOMEDCTConcepts?: SNOMEDCTConcept[] | null;
Text?: string | null;
Traits?: SNOMEDCTTrait[] | null;
Type?: SNOMEDCTEntityType | null;
}

§Properties

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

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.

§
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?: SNOMEDCTEntityCategory | null
[src]

The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.

§
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.

§
Score?: number | null
[src]

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

§
SNOMEDCTConcepts?: SNOMEDCTConcept[] | null
[src]

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

§
Text?: string | null
[src]

The segment of input text extracted as this entity.

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

Contextual information for the entity.

§

Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.