Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SNOMEDCTAttribute = SNOMEDCTAttribute' {
- beginOffset :: Maybe Int
- category :: Maybe SNOMEDCTEntityCategory
- endOffset :: Maybe Int
- id :: Maybe Int
- relationshipScore :: Maybe Double
- relationshipType :: Maybe SNOMEDCTRelationshipType
- sNOMEDCTConcepts :: Maybe [SNOMEDCTConcept]
- score :: Maybe Double
- text :: Maybe Text
- traits :: Maybe [SNOMEDCTTrait]
- type' :: Maybe SNOMEDCTAttributeType
- newSNOMEDCTAttribute :: SNOMEDCTAttribute
- sNOMEDCTAttribute_beginOffset :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_category :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTEntityCategory)
- sNOMEDCTAttribute_endOffset :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_id :: Lens' SNOMEDCTAttribute (Maybe Int)
- sNOMEDCTAttribute_relationshipScore :: Lens' SNOMEDCTAttribute (Maybe Double)
- sNOMEDCTAttribute_relationshipType :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTRelationshipType)
- sNOMEDCTAttribute_sNOMEDCTConcepts :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTConcept])
- sNOMEDCTAttribute_score :: Lens' SNOMEDCTAttribute (Maybe Double)
- sNOMEDCTAttribute_text :: Lens' SNOMEDCTAttribute (Maybe Text)
- sNOMEDCTAttribute_traits :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTTrait])
- sNOMEDCTAttribute_type :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTAttributeType)
Documentation
data SNOMEDCTAttribute Source #
The extracted attributes that relate to an entity. 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.
See: newSNOMEDCTAttribute
smart constructor.
SNOMEDCTAttribute' | |
|
Instances
newSNOMEDCTAttribute :: SNOMEDCTAttribute Source #
Create a value of SNOMEDCTAttribute
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:beginOffset:SNOMEDCTAttribute'
, sNOMEDCTAttribute_beginOffset
- 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.
$sel:category:SNOMEDCTAttribute'
, sNOMEDCTAttribute_category
- The category of the detected attribute. Possible categories include
MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
$sel:endOffset:SNOMEDCTAttribute'
, sNOMEDCTAttribute_endOffset
- 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.
$sel:id:SNOMEDCTAttribute'
, sNOMEDCTAttribute_id
- The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
$sel:relationshipScore:SNOMEDCTAttribute'
, sNOMEDCTAttribute_relationshipScore
- The level of confidence that Comprehend Medical has that this attribute
is correctly related to this entity.
$sel:relationshipType:SNOMEDCTAttribute'
, sNOMEDCTAttribute_relationshipType
- The type of relationship that exists between the entity and the related
attribute.
$sel:sNOMEDCTConcepts:SNOMEDCTAttribute'
, sNOMEDCTAttribute_sNOMEDCTConcepts
- The SNOMED-CT concepts specific to an attribute, along with a score
indicating the likelihood of the match.
SNOMEDCTAttribute
, sNOMEDCTAttribute_score
- The level of confidence that Comprehend Medical has that the segment of
text is correctly recognized as an attribute.
$sel:text:SNOMEDCTAttribute'
, sNOMEDCTAttribute_text
- The segment of input text extracted as this attribute.
$sel:traits:SNOMEDCTAttribute'
, sNOMEDCTAttribute_traits
- Contextual information for an attribute. Examples include signs,
symptoms, diagnosis, and negation.
$sel:type':SNOMEDCTAttribute'
, sNOMEDCTAttribute_type
- The type of attribute. Possible types include DX_NAME, ACUITY,
DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT,
PROCEDURE_NAME, and TREATMENT_NAME.
sNOMEDCTAttribute_beginOffset :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
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.
sNOMEDCTAttribute_category :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTEntityCategory) Source #
The category of the detected attribute. Possible categories include MEDICAL_CONDITION, ANATOMY, and TEST_TREATMENT_PROCEDURE.
sNOMEDCTAttribute_endOffset :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
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.
sNOMEDCTAttribute_id :: Lens' SNOMEDCTAttribute (Maybe Int) Source #
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
sNOMEDCTAttribute_relationshipScore :: Lens' SNOMEDCTAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that this attribute is correctly related to this entity.
sNOMEDCTAttribute_relationshipType :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTRelationshipType) Source #
The type of relationship that exists between the entity and the related attribute.
sNOMEDCTAttribute_sNOMEDCTConcepts :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTConcept]) Source #
The SNOMED-CT concepts specific to an attribute, along with a score indicating the likelihood of the match.
sNOMEDCTAttribute_score :: Lens' SNOMEDCTAttribute (Maybe Double) Source #
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
sNOMEDCTAttribute_text :: Lens' SNOMEDCTAttribute (Maybe Text) Source #
The segment of input text extracted as this attribute.
sNOMEDCTAttribute_traits :: Lens' SNOMEDCTAttribute (Maybe [SNOMEDCTTrait]) Source #
Contextual information for an attribute. Examples include signs, symptoms, diagnosis, and negation.
sNOMEDCTAttribute_type :: Lens' SNOMEDCTAttribute (Maybe SNOMEDCTAttributeType) Source #
The type of attribute. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE,TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, and TREATMENT_NAME.