amazonka-comprehendmedical-2.0: Amazon Comprehend Medical SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Description

 
Synopsis

Documentation

data SNOMEDCTEntity Source #

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.

See: newSNOMEDCTEntity smart constructor.

Constructors

SNOMEDCTEntity' 

Fields

  • attributes :: Maybe [SNOMEDCTAttribute]

    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 :: Maybe Int

    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 :: Maybe SNOMEDCTEntityCategory

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

  • endOffset :: Maybe Int

    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 :: Maybe Int

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

  • sNOMEDCTConcepts :: Maybe [SNOMEDCTConcept]

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

  • score :: Maybe Double

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

  • text :: Maybe Text

    The segment of input text extracted as this entity.

  • traits :: Maybe [SNOMEDCTTrait]

    Contextual information for the entity.

  • type' :: Maybe SNOMEDCTEntityType

    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.

Instances

Instances details
FromJSON SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Generic SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Associated Types

type Rep SNOMEDCTEntity :: Type -> Type #

Read SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Show SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

NFData SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Methods

rnf :: SNOMEDCTEntity -> () #

Eq SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

Hashable SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

type Rep SNOMEDCTEntity Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.SNOMEDCTEntity

newSNOMEDCTEntity :: SNOMEDCTEntity Source #

Create a value of SNOMEDCTEntity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:attributes:SNOMEDCTEntity', sNOMEDCTEntity_attributes - 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.

SNOMEDCTEntity, sNOMEDCTEntity_beginOffset - 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.

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

SNOMEDCTEntity, sNOMEDCTEntity_endOffset - 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.

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

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

SNOMEDCTEntity, sNOMEDCTEntity_score - The level of confidence that Comprehend Medical has in the accuracy of the detected entity.

SNOMEDCTEntity, sNOMEDCTEntity_text - The segment of input text extracted as this entity.

SNOMEDCTEntity, sNOMEDCTEntity_traits - Contextual information for the entity.

SNOMEDCTEntity, sNOMEDCTEntity_type - 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.

sNOMEDCTEntity_attributes :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTAttribute]) Source #

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.

sNOMEDCTEntity_beginOffset :: Lens' SNOMEDCTEntity (Maybe Int) Source #

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.

sNOMEDCTEntity_category :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityCategory) Source #

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

sNOMEDCTEntity_endOffset :: Lens' SNOMEDCTEntity (Maybe Int) Source #

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.

sNOMEDCTEntity_id :: Lens' SNOMEDCTEntity (Maybe Int) Source #

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

sNOMEDCTEntity_sNOMEDCTConcepts :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTConcept]) Source #

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

sNOMEDCTEntity_score :: Lens' SNOMEDCTEntity (Maybe Double) Source #

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

sNOMEDCTEntity_text :: Lens' SNOMEDCTEntity (Maybe Text) Source #

The segment of input text extracted as this entity.

sNOMEDCTEntity_traits :: Lens' SNOMEDCTEntity (Maybe [SNOMEDCTTrait]) Source #

Contextual information for the entity.

sNOMEDCTEntity_type :: Lens' SNOMEDCTEntity (Maybe SNOMEDCTEntityType) Source #

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.