public static interface RxNormAttribute.Builder extends SdkPojo, CopyableBuilder<RxNormAttribute.Builder,RxNormAttribute>
| Modifier and Type | Method and Description |
|---|---|
RxNormAttribute.Builder |
beginOffset(Integer beginOffset)
The 0-based character offset in the input text that shows where the attribute begins.
|
RxNormAttribute.Builder |
endOffset(Integer endOffset)
The 0-based character offset in the input text that shows where the attribute ends.
|
RxNormAttribute.Builder |
id(Integer id)
The numeric identifier for this attribute.
|
RxNormAttribute.Builder |
relationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an
entity.
|
RxNormAttribute.Builder |
score(Float score)
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an
attribute.
|
RxNormAttribute.Builder |
text(String text)
The segment of input text which corresponds to the detected attribute.
|
RxNormAttribute.Builder |
traits(Collection<RxNormTrait> traits)
Contextual information for the attribute.
|
RxNormAttribute.Builder |
traits(Consumer<RxNormTrait.Builder>... traits)
Contextual information for the attribute.
|
RxNormAttribute.Builder |
traits(RxNormTrait... traits)
Contextual information for the attribute.
|
RxNormAttribute.Builder |
type(RxNormAttributeType type)
The type of attribute.
|
RxNormAttribute.Builder |
type(String type)
The type of attribute.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRxNormAttribute.Builder type(String type)
The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and
GENERIC_NAME.
type - The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME
and GENERIC_NAME.RxNormAttributeType,
RxNormAttributeTypeRxNormAttribute.Builder type(RxNormAttributeType type)
The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and
GENERIC_NAME.
type - The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME
and GENERIC_NAME.RxNormAttributeType,
RxNormAttributeTypeRxNormAttribute.Builder score(Float score)
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
score - The level of confidence that Comprehend Medical has that the segment of text is correctly recognized
as an attribute.RxNormAttribute.Builder relationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
relationshipScore - The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to
an entity.RxNormAttribute.Builder id(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.RxNormAttribute.Builder beginOffset(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.RxNormAttribute.Builder endOffset(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.RxNormAttribute.Builder text(String text)
The segment of input text which corresponds to the detected attribute.
text - The segment of input text which corresponds to the detected attribute.RxNormAttribute.Builder traits(Collection<RxNormTrait> traits)
Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for
attributes, i.e. that the patient is not taking a specific dose or form of a medication.
traits - Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for
attributes, i.e. that the patient is not taking a specific dose or form of a medication.RxNormAttribute.Builder traits(RxNormTrait... traits)
Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for
attributes, i.e. that the patient is not taking a specific dose or form of a medication.
traits - Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for
attributes, i.e. that the patient is not taking a specific dose or form of a medication.RxNormAttribute.Builder traits(Consumer<RxNormTrait.Builder>... traits)
Contextual information for the attribute. InferRxNorm recognizes the trait NEGATION for
attributes, i.e. that the patient is not taking a specific dose or form of a medication.
List.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #traits(List) .traits - a consumer that will call methods on List.Builder #traits(List) Copyright © 2022. All rights reserved.