Class: Google::Apis::HealthcareV1::SearchResourcesRequest

Inherits:
Object
  • Object
show all
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
more...

Overview

Request to search the resources in the specified FHIR store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchResourcesRequest

Returns a new instance of SearchResourcesRequest.

[View source]

5371
5372
5373
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5371

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

Instance Attribute Details

#resource_typeString

Required. The FHIR resource type to search, such as Patient or Observation. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4). Corresponds to the JSON property resourceType

Returns:

  • (String)

5369
5370
5371
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5369

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5376
5377
5378
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5376

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