Interface ICD10CMEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ICD10CMEntity.Builder,
,ICD10CMEntity> SdkBuilder<ICD10CMEntity.Builder,
,ICD10CMEntity> SdkPojo
- Enclosing class:
ICD10CMEntity
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<ICD10CMAttribute> attributes) The detected attributes that relate to the entity.attributes
(Consumer<ICD10CMAttribute.Builder>... attributes) The detected attributes that relate to the entity.attributes
(ICD10CMAttribute... attributes) The detected attributes that relate to the entity.beginOffset
(Integer beginOffset) The 0-based character offset in the input text that shows where the entity begins.The category of the entity.category
(ICD10CMEntityCategory category) The category of the entity.The 0-based character offset in the input text that shows where the entity ends.icd10CMConcepts
(Collection<ICD10CMConcept> icd10CMConcepts) The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.icd10CMConcepts
(Consumer<ICD10CMConcept.Builder>... icd10CMConcepts) The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.icd10CMConcepts
(ICD10CMConcept... icd10CMConcepts) The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.The numeric identifier for the entity.The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.The segment of input text that is matched to the detected entity.traits
(Collection<ICD10CMTrait> traits) Provides Contextual information for the entity.traits
(Consumer<ICD10CMTrait.Builder>... traits) Provides Contextual information for the entity.traits
(ICD10CMTrait... traits) Provides Contextual information for the entity.Describes the specific type of entity with category of entities.type
(ICD10CMEntityType type) Describes the specific type of entity with category of entities.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
- Parameters:
id
- The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The segment of input text that is matched to the detected entity.
- Parameters:
text
- The segment of input text that is matched to the detected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
The category of the entity. InferICD10CM detects entities in the
MEDICAL_CONDITION
category.- Parameters:
category
- The category of the entity. InferICD10CM detects entities in theMEDICAL_CONDITION
category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The category of the entity. InferICD10CM detects entities in the
MEDICAL_CONDITION
category.- Parameters:
category
- The category of the entity. InferICD10CM detects entities in theMEDICAL_CONDITION
category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type
DX_NAME
andTIME_EXPRESSION
.- Parameters:
type
- Describes the specific type of entity with category of entities. InferICD10CM detects entities of the typeDX_NAME
andTIME_EXPRESSION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Describes the specific type of entity with category of entities. InferICD10CM detects entities of the type
DX_NAME
andTIME_EXPRESSION
.- Parameters:
type
- Describes the specific type of entity with category of entities. InferICD10CM detects entities of the typeDX_NAME
andTIME_EXPRESSION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
score
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
- Parameters:
score
- The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
- Parameters:
attributes
- The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
- Parameters:
attributes
- The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The detected attributes that relate to the entity. An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the nature of a medical condition.
This is a convenience method that creates an instance of theICD10CMAttribute.Builder
avoiding the need to create one manually viaICD10CMAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<ICD10CMAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onICD10CMAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traits
Provides Contextual information for the entity. The traits recognized by InferICD10CM are
DIAGNOSIS
,SIGN
,SYMPTOM
, andNEGATION.
- Parameters:
traits
- Provides Contextual information for the entity. The traits recognized by InferICD10CM areDIAGNOSIS
,SIGN
,SYMPTOM
, andNEGATION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
Provides Contextual information for the entity. The traits recognized by InferICD10CM are
DIAGNOSIS
,SIGN
,SYMPTOM
, andNEGATION.
- Parameters:
traits
- Provides Contextual information for the entity. The traits recognized by InferICD10CM areDIAGNOSIS
,SIGN
,SYMPTOM
, andNEGATION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
Provides Contextual information for the entity. The traits recognized by InferICD10CM are
This is a convenience method that creates an instance of theDIAGNOSIS
,SIGN
,SYMPTOM
, andNEGATION.
ICD10CMTrait.Builder
avoiding the need to create one manually viaICD10CMTrait.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraits(List<ICD10CMTrait>)
.- Parameters:
traits
- a consumer that will call methods onICD10CMTrait.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
icd10CMConcepts
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
- Parameters:
icd10CMConcepts
- The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
icd10CMConcepts
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
- Parameters:
icd10CMConcepts
- The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
icd10CMConcepts
The ICD-10-CM concepts that the entity could refer to, along with a score indicating the likelihood of the match.
This is a convenience method that creates an instance of theICD10CMConcept.Builder
avoiding the need to create one manually viaICD10CMConcept.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toicd10CMConcepts(List<ICD10CMConcept>)
.- Parameters:
icd10CMConcepts
- a consumer that will call methods onICD10CMConcept.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-