class Google::Apis::HealthcareV1::Entity
The candidate entities that an entity mention could link to.
Attributes
preferred_term
is the preferred term for this concept. For example, “ Acetaminophen”. For ad hoc entities formed by normalization, this is the most popular unnormalized string. Corresponds to the JSON property `preferredTerm` @return [String]
Vocabulary codes are first-class fields and differentiated from the concept unique identifier (entity_id
). vocabulary_codes
contains the representation of this concept in particular vocabularies, such as ICD-10, SNOMED-CT and RxNORM. These are prefixed by the name of the vocabulary, followed by the unique code within that vocabulary. For example, “RXNORM/A10334543”. Corresponds to the JSON property `vocabularyCodes` @return [Array<String>]
Public Class Methods
# File lib/google/apis/healthcare_v1/classes.rb, line 1134 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/healthcare_v1/classes.rb, line 1139 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @preferred_term = args[:preferred_term] if args.key?(:preferred_term) @vocabulary_codes = args[:vocabulary_codes] if args.key?(:vocabulary_codes) end