@Generated(value="software.amazon.awssdk:codegen") public final class ICD10CMAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ICD10CMAttribute.Builder,ICD10CMAttribute>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ICD10CMAttribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
beginOffset()
The 0-based character offset in the input text that shows where the attribute begins.
|
static ICD10CMAttribute.Builder |
builder() |
ICD10CMEntityType |
category()
The category of attribute.
|
String |
categoryAsString()
The category of attribute.
|
Integer |
endOffset()
The 0-based character offset in the input text that shows where the attribute ends.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTraits()
Returns true if the Traits property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
id()
The numeric identifier for this attribute.
|
Float |
relationshipScore()
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this
entity.
|
ICD10CMRelationshipType |
relationshipType()
The type of relationship between the entity and attribute.
|
String |
relationshipTypeAsString()
The type of relationship between the entity and attribute.
|
Float |
score()
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an
attribute.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ICD10CMAttribute.Builder> |
serializableBuilderClass() |
String |
text()
The segment of input text which contains the detected attribute.
|
ICD10CMAttribute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<ICD10CMTrait> |
traits()
The contextual information for the attribute.
|
ICD10CMAttributeType |
type()
The type of attribute.
|
String |
typeAsString()
The type of attribute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ICD10CMAttributeType type()
The type of attribute. InferICD10CM detects entities of the type DX_NAME.
If the service returns an enum value that is not available in the current SDK version, type will return
ICD10CMAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DX_NAME.ICD10CMAttributeTypepublic final String typeAsString()
The type of attribute. InferICD10CM detects entities of the type DX_NAME.
If the service returns an enum value that is not available in the current SDK version, type will return
ICD10CMAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DX_NAME.ICD10CMAttributeTypepublic final Float score()
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
public final Float relationshipScore()
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
public final Integer id()
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
public final 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.
public final 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.
public final String text()
The segment of input text which contains the detected attribute.
public final boolean hasTraits()
public final List<ICD10CMTrait> traits()
The contextual information for the attribute. The traits recognized by InferICD10CM are DIAGNOSIS,
SIGN, SYMPTOM, and NEGATION.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTraits() to see if a value was sent in this field.
DIAGNOSIS, SIGN, SYMPTOM, and NEGATION.public final ICD10CMEntityType category()
The category of attribute. Can be either of DX_NAME or TIME_EXPRESSION.
If the service returns an enum value that is not available in the current SDK version, category will
return ICD10CMEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
DX_NAME or TIME_EXPRESSION.ICD10CMEntityTypepublic final String categoryAsString()
The category of attribute. Can be either of DX_NAME or TIME_EXPRESSION.
If the service returns an enum value that is not available in the current SDK version, category will
return ICD10CMEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
categoryAsString().
DX_NAME or TIME_EXPRESSION.ICD10CMEntityTypepublic final ICD10CMRelationshipType relationshipType()
The type of relationship between the entity and attribute. Type for the relationship can be either of
OVERLAP or SYSTEM_ORGAN_SITE.
If the service returns an enum value that is not available in the current SDK version, relationshipType
will return ICD10CMRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from relationshipTypeAsString().
OVERLAP or SYSTEM_ORGAN_SITE.ICD10CMRelationshipTypepublic final String relationshipTypeAsString()
The type of relationship between the entity and attribute. Type for the relationship can be either of
OVERLAP or SYSTEM_ORGAN_SITE.
If the service returns an enum value that is not available in the current SDK version, relationshipType
will return ICD10CMRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from relationshipTypeAsString().
OVERLAP or SYSTEM_ORGAN_SITE.ICD10CMRelationshipTypepublic ICD10CMAttribute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ICD10CMAttribute.Builder,ICD10CMAttribute>public static ICD10CMAttribute.Builder builder()
public static Class<? extends ICD10CMAttribute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.