RxNormEntity

public struct RxNormEntity : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The extracted attributes that relate to the entity. The attributes recognized by InferRxNorm are DOSAGE, DURATION, FORM, FREQUENCY, RATE, ROUTE_OR_MODE, and STRENGTH.

    Declaration

    Swift

    public let attributes: [RxNormAttribute]?
  • 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.

    Declaration

    Swift

    public let beginOffset: Int?
  • The category of the entity. The recognized categories are GENERIC or BRAND_NAME.

    Declaration

    Swift

    public let category: RxNormEntityCategory?
  • 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.

    Declaration

    Swift

    public let endOffset: Int?
  • id

    The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

    Declaration

    Swift

    public let id: Int?
  • The RxNorm concepts that the entity could refer to, along with a score indicating the likelihood of the match.

    Declaration

    Swift

    public let rxNormConcepts: [RxNormConcept]?
  • The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.

    Declaration

    Swift

    public let score: Float?
  • The segment of input text extracted from which the entity was detected.

    Declaration

    Swift

    public let text: String?
  • Contextual information for the entity.

    Declaration

    Swift

    public let traits: [RxNormTrait]?
  • Describes the specific type of entity. For InferRxNorm, the recognized entity type is MEDICATION.

    Declaration

    Swift

    public let type: RxNormEntityType?
  • Undocumented

    Declaration

    Swift

    public init(attributes: [RxNormAttribute]? = nil, beginOffset: Int? = nil, category: RxNormEntityCategory? = nil, endOffset: Int? = nil, id: Int? = nil, rxNormConcepts: [RxNormConcept]? = nil, score: Float? = nil, text: String? = nil, traits: [RxNormTrait]? = nil, type: RxNormEntityType? = nil)