google-apis-healthcare_v1beta1 0.73.0 → 0.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39c8556fdac28bdd249885dda60e344080f43c7b5035844427bf2d22e873ecb4
4
- data.tar.gz: 43c44a389c539471e0eb145ed06468e0e50f06a60eb090be583e3ce65616c6e0
3
+ metadata.gz: 188568ad0c06d4428ee99df5f949a2af8c75131486b89c98a0e1a66aee76c22e
4
+ data.tar.gz: 72e58dbf77511e0a5547c97f3f53437184da38eb5702197566f407e002feac58
5
5
  SHA512:
6
- metadata.gz: 471ba547c9f9b635a35dbd5fd3ddaa48cf22a0b0f9bf2923fee365bf5ca63f92290b6dfaf7f2d6b1a7d45868c42abd816327426adf7d8cbc9db35d32a579b670
7
- data.tar.gz: c0c31dda8c1db76075bbd8f61c9ca5af760cc09e8549db1f098bf356535ece5f1dedd30b2aa39a19ffa2e453680303272b35b10229ebbd097070d1be571bae3d
6
+ metadata.gz: 76276b3b6584a29819e1ff39f8bac11d16a16631bb9c6fc4f31d72696cfbf0fc3abbe33900b494cf8162ed56ebae35eb6986226080de71bd6f95cd96836ab07a
7
+ data.tar.gz: 0c7ae7b1742c5ad80267fb8050439fe5e79dded19241da4e35cb5efdf3b617eb11a7a989cfc3949bd75de7a5e08f7aea6c5637ca0c8c8718da055c55589237f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.74.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241115
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.73.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240718
@@ -6530,6 +6530,106 @@ module Google
6530
6530
  end
6531
6531
  end
6532
6532
 
6533
+ # Filtering fields for an HL7v2 rollback. Currently only supports a list of
6534
+ # operation ids to roll back.
6535
+ class RollbackHl7MessagesFilteringFields
6536
+ include Google::Apis::Core::Hashable
6537
+
6538
+ # Optional. A list of operation IDs to roll back.
6539
+ # Corresponds to the JSON property `operationIds`
6540
+ # @return [Array<Fixnum>]
6541
+ attr_accessor :operation_ids
6542
+
6543
+ def initialize(**args)
6544
+ update!(**args)
6545
+ end
6546
+
6547
+ # Update properties of this object
6548
+ def update!(**args)
6549
+ @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
6550
+ end
6551
+ end
6552
+
6553
+ # Point in time recovery rollback request.
6554
+ class RollbackHl7V2MessagesRequest
6555
+ include Google::Apis::Core::Hashable
6556
+
6557
+ # Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
6558
+ # Corresponds to the JSON property `changeType`
6559
+ # @return [String]
6560
+ attr_accessor :change_type
6561
+
6562
+ # Optional. Specifies whether to exclude earlier rollbacks.
6563
+ # Corresponds to the JSON property `excludeRollbacks`
6564
+ # @return [Boolean]
6565
+ attr_accessor :exclude_rollbacks
6566
+ alias_method :exclude_rollbacks?, :exclude_rollbacks
6567
+
6568
+ # Filtering fields for an HL7v2 rollback. Currently only supports a list of
6569
+ # operation ids to roll back.
6570
+ # Corresponds to the JSON property `filteringFields`
6571
+ # @return [Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields]
6572
+ attr_accessor :filtering_fields
6573
+
6574
+ # Optional. When enabled, changes will be reverted without explicit confirmation.
6575
+ # Corresponds to the JSON property `force`
6576
+ # @return [Boolean]
6577
+ attr_accessor :force
6578
+ alias_method :force?, :force
6579
+
6580
+ # Optional. Cloud storage object containing list of `resourceId` lines,
6581
+ # identifying resources to be reverted
6582
+ # Corresponds to the JSON property `inputGcsObject`
6583
+ # @return [String]
6584
+ attr_accessor :input_gcs_object
6585
+
6586
+ # Required. Bucket to deposit result
6587
+ # Corresponds to the JSON property `resultGcsBucket`
6588
+ # @return [String]
6589
+ attr_accessor :result_gcs_bucket
6590
+
6591
+ # Required. Times point to rollback to.
6592
+ # Corresponds to the JSON property `rollbackTime`
6593
+ # @return [String]
6594
+ attr_accessor :rollback_time
6595
+
6596
+ def initialize(**args)
6597
+ update!(**args)
6598
+ end
6599
+
6600
+ # Update properties of this object
6601
+ def update!(**args)
6602
+ @change_type = args[:change_type] if args.key?(:change_type)
6603
+ @exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks)
6604
+ @filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields)
6605
+ @force = args[:force] if args.key?(:force)
6606
+ @input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object)
6607
+ @result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket)
6608
+ @rollback_time = args[:rollback_time] if args.key?(:rollback_time)
6609
+ end
6610
+ end
6611
+
6612
+ # Final response of rollback FHIR resources request.
6613
+ class RollbackHl7V2MessagesResponse
6614
+ include Google::Apis::Core::Hashable
6615
+
6616
+ # The name of the HL7v2 store to rollback, in the format of "projects/`
6617
+ # project_id`/locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`
6618
+ # fhir_store_id`".
6619
+ # Corresponds to the JSON property `hl7v2Store`
6620
+ # @return [String]
6621
+ attr_accessor :hl7v2_store
6622
+
6623
+ def initialize(**args)
6624
+ update!(**args)
6625
+ end
6626
+
6627
+ # Update properties of this object
6628
+ def update!(**args)
6629
+ @hl7v2_store = args[:hl7v2_store] if args.key?(:hl7v2_store)
6630
+ end
6631
+ end
6632
+
6533
6633
  # Configuration for the FHIR BigQuery schema. Determines how the server
6534
6634
  # generates the schema.
6535
6635
  class SchemaConfig
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.73.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240718"
25
+ REVISION = "20241115"
26
26
  end
27
27
  end
28
28
  end
@@ -1180,6 +1180,24 @@ module Google
1180
1180
  include Google::Apis::Core::JsonObjectSupport
1181
1181
  end
1182
1182
 
1183
+ class RollbackHl7MessagesFilteringFields
1184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1185
+
1186
+ include Google::Apis::Core::JsonObjectSupport
1187
+ end
1188
+
1189
+ class RollbackHl7V2MessagesRequest
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class RollbackHl7V2MessagesResponse
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1183
1201
  class SchemaConfig
1184
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1185
1203
 
@@ -3161,6 +3179,34 @@ module Google
3161
3179
  end
3162
3180
  end
3163
3181
 
3182
+ class RollbackHl7MessagesFilteringFields
3183
+ # @private
3184
+ class Representation < Google::Apis::Core::JsonRepresentation
3185
+ collection :operation_ids, as: 'operationIds'
3186
+ end
3187
+ end
3188
+
3189
+ class RollbackHl7V2MessagesRequest
3190
+ # @private
3191
+ class Representation < Google::Apis::Core::JsonRepresentation
3192
+ property :change_type, as: 'changeType'
3193
+ property :exclude_rollbacks, as: 'excludeRollbacks'
3194
+ property :filtering_fields, as: 'filteringFields', class: Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields, decorator: Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields::Representation
3195
+
3196
+ property :force, as: 'force'
3197
+ property :input_gcs_object, as: 'inputGcsObject'
3198
+ property :result_gcs_bucket, as: 'resultGcsBucket'
3199
+ property :rollback_time, as: 'rollbackTime'
3200
+ end
3201
+ end
3202
+
3203
+ class RollbackHl7V2MessagesResponse
3204
+ # @private
3205
+ class Representation < Google::Apis::Core::JsonRepresentation
3206
+ property :hl7v2_store, as: 'hl7v2Store'
3207
+ end
3208
+ end
3209
+
3164
3210
  class SchemaConfig
3165
3211
  # @private
3166
3212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5076,6 +5076,207 @@ module Google
5076
5076
  execute_or_queue_command(command, &block)
5077
5077
  end
5078
5078
 
5079
+ # Creates a FHIR Binary resource. This method can be used to create a Binary
5080
+ # resource either by using one of the accepted FHIR JSON content types, or as a
5081
+ # raw data stream. If a resource is created with this method using the FHIR
5082
+ # content type this method's behavior is the same as [`fhir.create`](https://
5083
+ # cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.
5084
+ # datasets.fhirStores.fhir/create). If a resource type other than Binary is used
5085
+ # in the request it's treated in the same way as non-FHIR data (e.g., images,
5086
+ # zip archives, pdf files, documents). When a non-FHIR content type is used in
5087
+ # the request, a Binary resource will be generated, and the uploaded data will
5088
+ # be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`
5089
+ # R4`). The Binary resource's `contentType` will be filled in using the value of
5090
+ # the `Content-Type` header, and the `securityContext` field (not present in `
5091
+ # DSTU2`) will be populated from the `X-Security-Context` header if it exists.
5092
+ # At this time `securityContext` has no special behavior in the Cloud Healthcare
5093
+ # API. Note: the limit on data ingested through this method is 1 GB. For best
5094
+ # performance, use a non-FHIR data type instead of wrapping the data in a Binary
5095
+ # resource. Some of the Healthcare API features, such as [exporting to BigQuery](
5096
+ # https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [
5097
+ # Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-
5098
+ # pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with
5099
+ # full resource content, do not support Binary resources that are larger than 10
5100
+ # MB. In these cases the resource's `data` field will be omitted. Instead, the "
5101
+ # http://hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
5102
+ # present to indicate that including the data is `unsupported`. On success, an
5103
+ # empty `201 Created` response is returned. The newly created resource's ID and
5104
+ # version are returned in the Location header. Using `Prefer: representation=
5105
+ # resource` is not allowed for this method. The definition of the Binary REST
5106
+ # API can be found at https://hl7.org/fhir/binary.html#rest.
5107
+ # @param [String] parent
5108
+ # Required. The name of the FHIR store this resource belongs to.
5109
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
5110
+ # @param [String] fields
5111
+ # Selector specifying which fields to include in a partial response.
5112
+ # @param [String] quota_user
5113
+ # Available to use for quota purposes for server-side applications. Can be any
5114
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5115
+ # @param [Google::Apis::RequestOptions] options
5116
+ # Request-specific options
5117
+ #
5118
+ # @yield [result, err] Result & error if block supplied
5119
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
5120
+ # @yieldparam err [StandardError] error object if request failed
5121
+ #
5122
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
5123
+ #
5124
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5125
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5126
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5127
+ def binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5128
+ command = make_simple_command(:post, 'v1beta1/{+parent}/fhir/Binary', options)
5129
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5130
+ command.request_object = http_body_object
5131
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5132
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
5133
+ command.params['parent'] = parent unless parent.nil?
5134
+ command.query['fields'] = fields unless fields.nil?
5135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5136
+ execute_or_queue_command(command, &block)
5137
+ end
5138
+
5139
+ # Gets the contents of a FHIR Binary resource. This method can be used to
5140
+ # retrieve a Binary resource either by using the FHIR JSON mimetype as the value
5141
+ # for the Accept header, or as a raw data stream. If the FHIR Accept type is
5142
+ # used this method will return a Binary resource with the data base64-encoded,
5143
+ # regardless of how the resource was created. The resource data can be retrieved
5144
+ # in base64-decoded form if the Accept type of the request matches the value of
5145
+ # the resource's `contentType` field. The definition of the Binary REST API can
5146
+ # be found at https://hl7.org/fhir/binary.html#rest.
5147
+ # @param [String] name
5148
+ # Required. The name of the Binary resource to retrieve.
5149
+ # @param [String] fields
5150
+ # Selector specifying which fields to include in a partial response.
5151
+ # @param [String] quota_user
5152
+ # Available to use for quota purposes for server-side applications. Can be any
5153
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5154
+ # @param [Google::Apis::RequestOptions] options
5155
+ # Request-specific options
5156
+ #
5157
+ # @yield [result, err] Result & error if block supplied
5158
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
5159
+ # @yieldparam err [StandardError] error object if request failed
5160
+ #
5161
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
5162
+ #
5163
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5164
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5165
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5166
+ def binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil, &block)
5167
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5168
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5169
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
5170
+ command.params['name'] = name unless name.nil?
5171
+ command.query['fields'] = fields unless fields.nil?
5172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5173
+ execute_or_queue_command(command, &block)
5174
+ end
5175
+
5176
+ # Updates the entire contents of a Binary resource. If the specified resource
5177
+ # does not exist and the FHIR store has enable_update_create set, creates the
5178
+ # resource with the client-specified ID. It is strongly advised not to include
5179
+ # or encode any sensitive data such as patient identifiers in client-specified
5180
+ # resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud
5181
+ # Audit Logs and Pub/Sub notifications. Those IDs can also be contained in
5182
+ # reference fields within other resources. This method can be used to update a
5183
+ # Binary resource either by using one of the accepted FHIR JSON content types,
5184
+ # or as a raw data stream. If a resource is updated with this method using the
5185
+ # FHIR content type this method's behavior is the same as `update`. If a
5186
+ # resource type other than Binary is used in the request it will be treated in
5187
+ # the same way as non-FHIR data. When a non-FHIR content type is used in the
5188
+ # request, a Binary resource will be generated using the ID from the resource
5189
+ # path, and the uploaded data will be stored in the `content` field (`DSTU2` and
5190
+ # `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` will
5191
+ # be filled in using the value of the `Content-Type` header, and the `
5192
+ # securityContext` field (not present in `DSTU2`) will be populated from the `X-
5193
+ # Security-Context` header if it exists. At this time `securityContext` has no
5194
+ # special behavior in the Cloud Healthcare API. Note: the limit on data ingested
5195
+ # through this method is 2 GB. For best performance, use a non-FHIR data type
5196
+ # instead of wrapping the data in a Binary resource. Some of the Healthcare API
5197
+ # features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-
5198
+ # api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://
5199
+ # cloud.google.com/healthcare-api/docs/fhir-pubsub#
5200
+ # behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full
5201
+ # resource content, do not support Binary resources that are larger than 10 MB.
5202
+ # In these cases the resource's `data` field will be omitted. Instead, the "http:
5203
+ # //hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
5204
+ # present to indicate that including the data is `unsupported`. On success, an
5205
+ # empty 200 OK response will be returned, or a 201 Created if the resource did
5206
+ # not exit. The resource's ID and version are returned in the Location header.
5207
+ # Using `Prefer: representation=resource` is not allowed for this method. The
5208
+ # definition of the Binary REST API can be found at https://hl7.org/fhir/binary.
5209
+ # html#rest.
5210
+ # @param [String] name
5211
+ # Required. The name of the resource to update.
5212
+ # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
5213
+ # @param [String] fields
5214
+ # Selector specifying which fields to include in a partial response.
5215
+ # @param [String] quota_user
5216
+ # Available to use for quota purposes for server-side applications. Can be any
5217
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5218
+ # @param [Google::Apis::RequestOptions] options
5219
+ # Request-specific options
5220
+ #
5221
+ # @yield [result, err] Result & error if block supplied
5222
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
5223
+ # @yieldparam err [StandardError] error object if request failed
5224
+ #
5225
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
5226
+ #
5227
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5228
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5229
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5230
+ def binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5231
+ command = make_simple_command(:put, 'v1beta1/{+name}', options)
5232
+ command.request_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5233
+ command.request_object = http_body_object
5234
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5235
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
5236
+ command.params['name'] = name unless name.nil?
5237
+ command.query['fields'] = fields unless fields.nil?
5238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5239
+ execute_or_queue_command(command, &block)
5240
+ end
5241
+
5242
+ # Gets the contents of a version (current or historical) of a FHIR Binary
5243
+ # resource by version ID. This method can be used to retrieve a Binary resource
5244
+ # version either by using the FHIR JSON mimetype as the value for the Accept
5245
+ # header, or as a raw data stream. If the FHIR Accept type is used this method
5246
+ # will return a Binary resource with the data base64-encoded, regardless of how
5247
+ # the resource version was created. The resource data can be retrieved in base64-
5248
+ # decoded form if the Accept type of the request matches the value of the
5249
+ # resource version's `contentType` field. The definition of the Binary REST API
5250
+ # can be found at https://hl7.org/fhir/binary.html#rest.
5251
+ # @param [String] name
5252
+ # Required. The name of the Binary resource version to retrieve.
5253
+ # @param [String] fields
5254
+ # Selector specifying which fields to include in a partial response.
5255
+ # @param [String] quota_user
5256
+ # Available to use for quota purposes for server-side applications. Can be any
5257
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5258
+ # @param [Google::Apis::RequestOptions] options
5259
+ # Request-specific options
5260
+ #
5261
+ # @yield [result, err] Result & error if block supplied
5262
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
5263
+ # @yieldparam err [StandardError] error object if request failed
5264
+ #
5265
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
5266
+ #
5267
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5268
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5269
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5270
+ def binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil, &block)
5271
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5272
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5273
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
5274
+ command.params['name'] = name unless name.nil?
5275
+ command.query['fields'] = fields unless fields.nil?
5276
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5277
+ execute_or_queue_command(command, &block)
5278
+ end
5279
+
5079
5280
  # Translates a code from one value set to another by searching for appropriate
5080
5281
  # concept maps. Implements the FHIR standard $translate operation ([DSTU2](https:
5081
5282
  # //www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html), [STU3](https://
@@ -5223,6 +5424,81 @@ module Google
5223
5424
  execute_or_queue_command(command, &block)
5224
5425
  end
5225
5426
 
5427
+ # Retrieves an Encounter resource and resources related to that Encounter.
5428
+ # Implements the FHIR extended operation Encounter-everything ([DSTU2](http://
5429
+ # hl7.org/implement/standards/fhir/DSTU2/encounter-operations.html#everything), [
5430
+ # STU3](http://hl7.org/implement/standards/fhir/STU3/encounter-operations.html#
5431
+ # everything), or [R4](https://hl7.org/implement/standards/fhir/R4/encounter-
5432
+ # operation-everything.html). On success, the response body contains a JSON-
5433
+ # encoded representation of a `Bundle` resource of type `searchset`, containing
5434
+ # the results of the operation. Errors generated by the FHIR store contain a
5435
+ # JSON-encoded `OperationOutcome` resource describing the reason for the error.
5436
+ # If the request cannot be mapped to a valid API method on a FHIR store, a
5437
+ # generic GCP error might be returned instead. The resources in scope for the
5438
+ # response are: * The Encounter resource itself. * All the resources directly
5439
+ # referenced by the Encounter resource, including attachments and binaries. *
5440
+ # Resources directly referencing the Encounter resource that meet the inclusion
5441
+ # criteria. The inclusion criteria are based on the membership rules in the
5442
+ # Encounter Compartment definition ([DSTU2](http://hl7.org/fhir/DSTU2/
5443
+ # compartment-encounter.html), [STU3](http://www.hl7.org/fhir/stu3/
5444
+ # compartmentdefinition-encounter.html), [R4](http://hl7.org/fhir/R4/
5445
+ # compartmentdefinition-encounter.html)), which details the eligible resource
5446
+ # types and referencing search parameters. * Resources referencing to the
5447
+ # Encounter resource through the "http://hl7.org/fhir/StructureDefinition/
5448
+ # encounter-associatedEncounter" extension.
5449
+ # @param [String] name
5450
+ # Required. Name of the Encounter resource for which the information is required.
5451
+ # @param [Fixnum] _count
5452
+ # Optional. Maximum number of resources in a page. If not specified, 100 is used.
5453
+ # May not be larger than 1000.
5454
+ # @param [String] _page_token
5455
+ # Optional. Used to retrieve the next or previous page of results when using
5456
+ # pagination. Set `_page_token` to the value of _page_token set in next or
5457
+ # previous page links' url. Next and previous page are returned in the response
5458
+ # bundle's links field, where `link.relation` is "previous" or "next". Omit `
5459
+ # _page_token` if no previous request has been made.
5460
+ # @param [String] _since
5461
+ # Optional. If provided, only resources updated after this time are returned.
5462
+ # The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-
5463
+ # 07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified
5464
+ # to the second and include a time zone.
5465
+ # @param [String] _type
5466
+ # Optional. String of comma-delimited FHIR resource types. If provided, only
5467
+ # resources of the specified resource type(s) are returned. Specifying multiple `
5468
+ # _type` parameters isn't supported. For example, the result of `_type=
5469
+ # Observation&_type=Encounter` is undefined. Use `_type=Observation,Encounter`
5470
+ # instead.
5471
+ # @param [String] fields
5472
+ # Selector specifying which fields to include in a partial response.
5473
+ # @param [String] quota_user
5474
+ # Available to use for quota purposes for server-side applications. Can be any
5475
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5476
+ # @param [Google::Apis::RequestOptions] options
5477
+ # Request-specific options
5478
+ #
5479
+ # @yield [result, err] Result & error if block supplied
5480
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
5481
+ # @yieldparam err [StandardError] error object if request failed
5482
+ #
5483
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
5484
+ #
5485
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5486
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5487
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5488
+ def encounter_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, _since: nil, _type: nil, fields: nil, quota_user: nil, options: nil, &block)
5489
+ command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options)
5490
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
5491
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
5492
+ command.params['name'] = name unless name.nil?
5493
+ command.query['_count'] = _count unless _count.nil?
5494
+ command.query['_page_token'] = _page_token unless _page_token.nil?
5495
+ command.query['_since'] = _since unless _since.nil?
5496
+ command.query['_type'] = _type unless _type.nil?
5497
+ command.query['fields'] = fields unless fields.nil?
5498
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5499
+ execute_or_queue_command(command, &block)
5500
+ end
5501
+
5226
5502
  # Retrieves the N most recent `Observation` resources for a subject matching
5227
5503
  # search criteria specified as query parameters, grouped by `Observation.code`,
5228
5504
  # sorted from most recent to oldest. Implements the FHIR extended operation
@@ -6784,6 +7060,48 @@ module Google
6784
7060
  execute_or_queue_command(command, &block)
6785
7061
  end
6786
7062
 
7063
+ # Rolls back messages from the HL7v2 store to the specified time. This method
7064
+ # returns an Operation that can be used to track the status of the rollback by
7065
+ # calling GetOperation. Immediate fatal errors appear in the error field, errors
7066
+ # are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](
7067
+ # https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when
7068
+ # the operation finishes, a detailed response of type
7069
+ # RollbackHl7V2MessagesResponse is returned in the response field. The metadata
7070
+ # field type for this operation is OperationMetadata.
7071
+ # @param [String] name
7072
+ # Required. The name of the HL7v2 store to rollback, in the format of "projects/`
7073
+ # project_id`/locations/`location_id`/datasets/`dataset_id` /hl7V2Stores/`
7074
+ # hl7v2_store_id`".
7075
+ # @param [Google::Apis::HealthcareV1beta1::RollbackHl7V2MessagesRequest] rollback_hl7_v2_messages_request_object
7076
+ # @param [String] fields
7077
+ # Selector specifying which fields to include in a partial response.
7078
+ # @param [String] quota_user
7079
+ # Available to use for quota purposes for server-side applications. Can be any
7080
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7081
+ # @param [Google::Apis::RequestOptions] options
7082
+ # Request-specific options
7083
+ #
7084
+ # @yield [result, err] Result & error if block supplied
7085
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
7086
+ # @yieldparam err [StandardError] error object if request failed
7087
+ #
7088
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
7089
+ #
7090
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7091
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7092
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7093
+ def rollback_hl7_v2_store_hl7_v2_messages(name, rollback_hl7_v2_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7094
+ command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options)
7095
+ command.request_representation = Google::Apis::HealthcareV1beta1::RollbackHl7V2MessagesRequest::Representation
7096
+ command.request_object = rollback_hl7_v2_messages_request_object
7097
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
7098
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
7099
+ command.params['name'] = name unless name.nil?
7100
+ command.query['fields'] = fields unless fields.nil?
7101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7102
+ execute_or_queue_command(command, &block)
7103
+ end
7104
+
6787
7105
  # Sets the access control policy on the specified resource. Replaces any
6788
7106
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
6789
7107
  # PERMISSION_DENIED` errors.
@@ -7183,8 +7501,8 @@ module Google
7183
7501
  # Clients can use Operations.GetOperation or other methods to check whether the
7184
7502
  # cancellation succeeded or whether the operation completed despite cancellation.
7185
7503
  # On successful cancellation, the operation is not deleted; instead, it becomes
7186
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
7187
- # corresponding to `Code.CANCELLED`.
7504
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
7505
+ # , corresponding to `Code.CANCELLED`.
7188
7506
  # @param [String] name
7189
7507
  # The name of the operation resource to be cancelled.
7190
7508
  # @param [Google::Apis::HealthcareV1beta1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0
4
+ version: 0.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.73.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.74.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Healthcare API V1beta1