Class: Google::Apis::HealthcareV1beta1::LinkedEntity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

EntityMentions can be linked to multiple entities using a LinkedEntity message lets us add other fields, e.g. confidence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedEntity

Returns a new instance of LinkedEntity.



3421
3422
3423
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3421

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entity_idString

entity_id is a concept unique identifier. These are prefixed by a string that identifies the entity coding system, followed by the unique identifier within that system. For example, "UMLS/C0000970". This also supports ad hoc entities, which are formed by normalizing entity mention content. Corresponds to the JSON property entityId

Returns:

  • (String)


3419
3420
3421
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3419

def entity_id
  @entity_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3426
3427
3428
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 3426

def update!(**args)
  @entity_id = args[:entity_id] if args.key?(:entity_id)
end