RxNormAttribute
public struct RxNormAttribute : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let beginOffset: Int?
-
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.
Declaration
Swift
public let endOffset: Int?
-
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
Declaration
Swift
public let id: Int?
-
The level of confidence that Amazon Comprehend Medical has that the attribute is accurately linked to an entity.
Declaration
Swift
public let relationshipScore: Float?
-
The level of confidence that Comprehend Medical has that the segment of text is correctly recognized as an attribute.
Declaration
Swift
public let score: Float?
-
The segment of input text which corresponds to the detected attribute.
Declaration
Swift
public let text: String?
-
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.
Declaration
Swift
public let traits: [RxNormTrait]?
-
The type of attribute. The types of attributes recognized by InferRxNorm are BRAND_NAME and GENERIC_NAME.
Declaration
Swift
public let type: RxNormAttributeType?
-
Undocumented
Declaration
Swift
public init(beginOffset: Int? = nil, endOffset: Int? = nil, id: Int? = nil, relationshipScore: Float? = nil, score: Float? = nil, text: String? = nil, traits: [RxNormTrait]? = nil, type: RxNormAttributeType? = nil)