Class: Google::Apis::HealthcareV1::LinkedEntity
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::LinkedEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/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
-
#entity_id ⇒ String
entity_id is a concept unique identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedEntity
constructor
A new instance of LinkedEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedEntity
Returns a new instance of LinkedEntity.
3267 3268 3269 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_id ⇒ String
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
3265 3266 3267 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3265 def entity_id @entity_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3272 3273 3274 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3272 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) end |