generated/google/apis/healthcare_v1/service.rb in google-api-client-0.42.0 vs generated/google/apis/healthcare_v1/service.rb in google-api-client-0.42.1
- old
+ new
@@ -2134,10 +2134,14 @@
# rules in the patient compartment definition
# ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html),
# [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html),
# [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which
# details the eligible resource types and referencing search parameters.
+ # For samples that show how to call `Patient-everything`, see
+ # [Getting all patient compartment
+ # resources](/healthcare/docs/how-tos/fhir-resources#
+ # getting_all_patient_compartment_resources).
# @param [String] name
# Name of the `Patient` resource for which the information is required.
# @param [Fixnum] _count
# Maximum number of resources in a page. Defaults to 100.
# @param [String] _page_token
@@ -2145,10 +2149,18 @@
# when using pagination. Value should be set to the value of page_token set
# in next or previous page links' urls. Next and previous page are returned
# in the response bundle's links field, where `link.relation` is "previous"
# or "next".
# Omit `page_token` if no previous request has been made.
+ # @param [String] _since
+ # If provided, only resources updated after this time are
+ # exported. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz.
+ # For example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`.
+ # The time must be specified to the second and include a time zone.
+ # @param [String] _type
+ # String of comma-delimited FHIR resource types. If provided, only resources
+ # of the specified resource type(s) will be returned.
# @param [String] end_
# The response includes records prior to the end date. If no end date is
# provided, all records subsequent to the start date are in scope.
# @param [String] start
# The response includes records subsequent to the start date. If no start
@@ -2168,17 +2180,19 @@
# @return [Google::Apis::HealthcareV1::HttpBody]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
- def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
+ def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}/$everything', options)
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
command.response_class = Google::Apis::HealthcareV1::HttpBody
command.params['name'] = name unless name.nil?
command.query['_count'] = _count unless _count.nil?
command.query['_page_token'] = _page_token unless _page_token.nil?
+ command.query['_since'] = _since unless _since.nil?
+ command.query['_type'] = _type unless _type.nil?
command.query['end'] = end_ unless end_.nil?
command.query['start'] = start unless start.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
@@ -2186,10 +2200,14 @@
# Deletes all the historical versions of a resource (excluding the current
# version) from the FHIR store. To remove all versions of a resource, first
# delete the current version and then call this method.
# This is not a FHIR standard operation.
+ # For samples that show how to call `Resource-purge`, see
+ # [Deleting historical versions of a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#
+ # deleting_historical_versions_of_a_fhir_resource).
# @param [String] name
# The name of the resource to purge.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2275,10 +2293,13 @@
# server-assigned resource ID and version ID.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `create`, see
+ # [Creating a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#creating_a_fhir_resource).
# @param [String] parent
# The name of the FHIR store this resource belongs to.
# @param [String] type
# The FHIR resource type to create, such as Patient or Observation. For a
# complete list, see the FHIR Resource Index
@@ -2326,10 +2347,13 @@
# disable_resource_versioning flag
# on the FHIR store, the deleted resources will be moved to a history
# repository that can still be retrieved through vread
# and related methods, unless they are removed by the
# purge method.
+ # For samples that show how to call `delete`, see
+ # [Deleting a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource).
# @param [String] name
# The name of the resource to delete.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2380,10 +2404,13 @@
# entry in the request, with the outcome of processing the entry. In the
# case of an error for a transaction bundle, the response body will contain
# a JSON-encoded `OperationOutcome` resource describing the reason for the
# error. If the request cannot be mapped to a valid API method on a FHIR
# store, a generic GCP error might be returned instead.
+ # For samples that show how to call `executeBundle`, see
+ # [Managing FHIR resources using FHIR
+ # bundles](/healthcare/docs/how-tos/fhir-bundles).
# @param [String] parent
# Name of the FHIR store in which this bundle will be executed.
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2425,10 +2452,14 @@
# sorted from most recent to oldest versions.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `history`, see
+ # [Listing FHIR resource
+ # versions](/healthcare/docs/how-tos/fhir-resources#
+ # listing_fhir_resource_versions).
# @param [String] name
# The name of the resource to retrieve.
# @param [String] _at
# Only include resource versions that were current at some point during the
# time period specified in the date time value. The date parameter format is
@@ -2497,10 +2528,13 @@
# of the updated resource, including the server-assigned version ID.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `patch`, see
+ # [Patching a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource).
# @param [String] name
# The name of the resource to update.
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2546,10 +2580,13 @@
# of the resource.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `read`, see
+ # [Getting a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource).
# @param [String] name
# The name of the resource to retrieve.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2625,10 +2662,13 @@
# 50,000 might not be fully searchable as the server might trim its generated
# search index in those cases.
# Note: FHIR resources are indexed asynchronously, so there might be a slight
# delay between the time a resource is created or changes and when the change
# is reflected in search results.
+ # For samples and detailed information, see [Searching for FHIR
+ # resources](/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search
+ # features](/healthcare/docs/how-tos/fhir-advanced-search).
# @param [String] parent
# Name of the FHIR store to retrieve resources from.
# @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2676,10 +2716,13 @@
# of the updated resource, including the server-assigned version ID.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `update`, see
+ # [Updating a FHIR
+ # resource](/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource).
# @param [String] name
# The name of the resource to update.
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -2720,9 +2763,13 @@
# of the resource.
# Errors generated by the FHIR store will contain a JSON-encoded
# `OperationOutcome` resource describing the reason for the error. If the
# request cannot be mapped to a valid API method on a FHIR store, a generic
# GCP error might be returned instead.
+ # For samples that show how to call `vread`, see
+ # [Retrieving a FHIR resource
+ # version](/healthcare/docs/how-tos/fhir-resources#
+ # retrieving_a_fhir_resource_version).
# @param [String] name
# The name of the resource version to retrieve.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user