lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.45.0 vs lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.46.0
- old
+ new
@@ -63,10 +63,16 @@
# The request to analyze healthcare entities in a document.
class AnalyzeEntitiesRequest
include Google::Apis::Core::Hashable
+ # Optional. Alternative output format to be generated based on the results of
+ # analysis.
+ # Corresponds to the JSON property `alternativeOutputFormat`
+ # @return [String]
+ attr_accessor :alternative_output_format
+
# document_content is a document to be annotated.
# Corresponds to the JSON property `documentContent`
# @return [String]
attr_accessor :document_content
@@ -80,10 +86,11 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @alternative_output_format = args[:alternative_output_format] if args.key?(:alternative_output_format)
@document_content = args[:document_content] if args.key?(:document_content)
@licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
end
end
@@ -101,10 +108,16 @@
# were mentioned in the provided document.
# Corresponds to the JSON property `entityMentions`
# @return [Array<Google::Apis::HealthcareV1::EntityMention>]
attr_accessor :entity_mentions
+ # The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all
+ # the entities, the entity mentions, and the relationships in JSON format.
+ # Corresponds to the JSON property `fhirBundle`
+ # @return [String]
+ attr_accessor :fhir_bundle
+
# relationships contains all the binary relationships that were identified
# between entity mentions within the provided document.
# Corresponds to the JSON property `relationships`
# @return [Array<Google::Apis::HealthcareV1::EntityMentionRelationship>]
attr_accessor :relationships
@@ -115,9 +128,10 @@
# Update properties of this object
def update!(**args)
@entities = args[:entities] if args.key?(:entities)
@entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
+ @fhir_bundle = args[:fhir_bundle] if args.key?(:fhir_bundle)
@relationships = args[:relationships] if args.key?(:relationships)
end
end
# Archives the specified User data mapping.