

# SNOMEDCTEntity
<a name="API_SNOMEDCTEntity"></a>

 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. 

## Contents
<a name="API_SNOMEDCTEntity_Contents"></a>

 ** Attributes **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Attributes"></a>
 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.   
Type: Array of [SNOMEDCTAttribute](API_SNOMEDCTAttribute.md) objects  
Required: No

 ** BeginOffset **   <a name="comprehendmedical-Type-SNOMEDCTEntity-BeginOffset"></a>
 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.   
Type: Integer  
Required: No

 ** Category **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Category"></a>
 The category of the detected entity. Possible categories are MEDICAL\$1CONDITION, ANATOMY, or TEST\$1TREATMENT\$1PROCEDURE.   
Type: String  
Valid Values: `MEDICAL_CONDITION | ANATOMY | TEST_TREATMENT_PROCEDURE`   
Required: No

 ** EndOffset **   <a name="comprehendmedical-Type-SNOMEDCTEntity-EndOffset"></a>
 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.   
Type: Integer  
Required: No

 ** Id **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Id"></a>
 The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.   
Type: Integer  
Required: No

 ** Score **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Score"></a>
 The level of confidence that Comprehend Medical has in the accuracy of the detected entity.   
Type: Float  
Required: No

 ** SNOMEDCTConcepts **   <a name="comprehendmedical-Type-SNOMEDCTEntity-SNOMEDCTConcepts"></a>
 The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.   
Type: Array of [SNOMEDCTConcept](API_SNOMEDCTConcept.md) objects  
Required: No

 ** Text **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Text"></a>
 The segment of input text extracted as this entity.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 10000.  
Required: No

 ** Traits **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Traits"></a>
 Contextual information for the entity.   
Type: Array of [SNOMEDCTTrait](API_SNOMEDCTTrait.md) objects  
Required: No

 ** Type **   <a name="comprehendmedical-Type-SNOMEDCTEntity-Type"></a>
 Describes the specific type of entity with category of entities. Possible types include DX\$1NAME, ACUITY, DIRECTION, SYSTEM\$1ORGAN\$1SITE, TEST\$1NAME, TEST\$1VALUE, TEST\$1UNIT, PROCEDURE\$1NAME, or TREATMENT\$1NAME.   
Type: String  
Valid Values: `DX_NAME | TEST_NAME | PROCEDURE_NAME | TREATMENT_NAME`   
Required: No

## See Also
<a name="API_SNOMEDCTEntity_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/comprehendmedical-2018-10-30/SNOMEDCTEntity) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/comprehendmedical-2018-10-30/SNOMEDCTEntity) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/comprehendmedical-2018-10-30/SNOMEDCTEntity) 