@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ICD10CMAttribute extends Object implements Serializable, Cloneable, StructuredPojo
The detected attributes that relate to an entity. This includes an extracted segment of the text that is an attribute
of an entity, or otherwise related to an entity. InferICD10CM detects the following attributes:
Direction
, System, Organ or Site
, and Acuity
.
Constructor and Description |
---|
ICD10CMAttribute() |
Modifier and Type | Method and Description |
---|---|
ICD10CMAttribute |
clone() |
boolean |
equals(Object obj) |
Integer |
getBeginOffset()
The 0-based character offset in the input text that shows where the attribute begins.
|
Integer |
getEndOffset()
The 0-based character offset in the input text that shows where the attribute ends.
|
Integer |
getId()
The numeric identifier for this attribute.
|
Float |
getRelationshipScore()
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this
entity.
|
Float |
getScore()
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an
attribute.
|
String |
getText()
The segment of input text which contains the detected attribute.
|
List<ICD10CMTrait> |
getTraits()
The contextual information for the attribute.
|
String |
getType()
The type of attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeginOffset(Integer beginOffset)
The 0-based character offset in the input text that shows where the attribute begins.
|
void |
setEndOffset(Integer endOffset)
The 0-based character offset in the input text that shows where the attribute ends.
|
void |
setId(Integer id)
The numeric identifier for this attribute.
|
void |
setRelationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this
entity.
|
void |
setScore(Float score)
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an
attribute.
|
void |
setText(String text)
The segment of input text which contains the detected attribute.
|
void |
setTraits(Collection<ICD10CMTrait> traits)
The contextual information for the attribute.
|
void |
setType(String type)
The type of attribute.
|
String |
toString()
Returns a string representation of this object.
|
ICD10CMAttribute |
withBeginOffset(Integer beginOffset)
The 0-based character offset in the input text that shows where the attribute begins.
|
ICD10CMAttribute |
withEndOffset(Integer endOffset)
The 0-based character offset in the input text that shows where the attribute ends.
|
ICD10CMAttribute |
withId(Integer id)
The numeric identifier for this attribute.
|
ICD10CMAttribute |
withRelationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this
entity.
|
ICD10CMAttribute |
withScore(Float score)
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an
attribute.
|
ICD10CMAttribute |
withText(String text)
The segment of input text which contains the detected attribute.
|
ICD10CMAttribute |
withTraits(Collection<ICD10CMTrait> traits)
The contextual information for the attribute.
|
ICD10CMAttribute |
withTraits(ICD10CMTrait... traits)
The contextual information for the attribute.
|
ICD10CMAttribute |
withType(ICD10CMAttributeType type)
The type of attribute.
|
ICD10CMAttribute |
withType(String type)
The type of attribute.
|
public void setType(String type)
The type of attribute. InferICD10CM detects entities of the type DX_NAME
.
type
- The type of attribute. InferICD10CM detects entities of the type DX_NAME
.ICD10CMAttributeType
public String getType()
The type of attribute. InferICD10CM detects entities of the type DX_NAME
.
DX_NAME
.ICD10CMAttributeType
public ICD10CMAttribute withType(String type)
The type of attribute. InferICD10CM detects entities of the type DX_NAME
.
type
- The type of attribute. InferICD10CM detects entities of the type DX_NAME
.ICD10CMAttributeType
public ICD10CMAttribute withType(ICD10CMAttributeType type)
The type of attribute. InferICD10CM detects entities of the type DX_NAME
.
type
- The type of attribute. InferICD10CM detects entities of the type DX_NAME
.ICD10CMAttributeType
public void setScore(Float score)
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
score
- The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly
recognized as an attribute.public Float getScore()
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
public ICD10CMAttribute withScore(Float score)
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
score
- The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly
recognized as an attribute.public void setRelationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
relationshipScore
- The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to
this entity.public Float getRelationshipScore()
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
public ICD10CMAttribute withRelationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
relationshipScore
- The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to
this entity.public void setId(Integer id)
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
id
- The numeric identifier for this attribute. This is a monotonically increasing id unique within this
response rather than a global unique identifier.public Integer getId()
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
public ICD10CMAttribute withId(Integer id)
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
id
- The numeric identifier for this attribute. This is a monotonically increasing id unique within this
response rather than a global unique identifier.public void setBeginOffset(Integer 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.
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.public Integer getBeginOffset()
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.
public ICD10CMAttribute withBeginOffset(Integer 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.
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.public void setEndOffset(Integer 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.
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.public Integer getEndOffset()
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.
public ICD10CMAttribute withEndOffset(Integer 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.
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.public void setText(String text)
The segment of input text which contains the detected attribute.
text
- The segment of input text which contains the detected attribute.public String getText()
The segment of input text which contains the detected attribute.
public ICD10CMAttribute withText(String text)
The segment of input text which contains the detected attribute.
text
- The segment of input text which contains the detected attribute.public List<ICD10CMTrait> getTraits()
The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS
,
SIGN
, SYMPTOM
, and NEGATION
.
DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.public void setTraits(Collection<ICD10CMTrait> traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS
,
SIGN
, SYMPTOM
, and NEGATION
.
traits
- The contextual information for the attribute. The traits recognized by InferICD10CM are
DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.public ICD10CMAttribute withTraits(ICD10CMTrait... traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS
,
SIGN
, SYMPTOM
, and NEGATION
.
NOTE: This method appends the values to the existing list (if any). Use
setTraits(java.util.Collection)
or withTraits(java.util.Collection)
if you want to override the
existing values.
traits
- The contextual information for the attribute. The traits recognized by InferICD10CM are
DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.public ICD10CMAttribute withTraits(Collection<ICD10CMTrait> traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS
,
SIGN
, SYMPTOM
, and NEGATION
.
traits
- The contextual information for the attribute. The traits recognized by InferICD10CM are
DIAGNOSIS
, SIGN
, SYMPTOM
, and NEGATION
.public String toString()
toString
in class Object
Object.toString()
public ICD10CMAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.