google-apis-healthcare_v1beta1 0.73.0 → 0.75.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/healthcare_v1beta1/classes.rb +127 -0
- data/lib/google/apis/healthcare_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/healthcare_v1beta1/representations.rb +61 -0
- data/lib/google/apis/healthcare_v1beta1/service.rb +320 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14af3ce4701c96b63a4f277bfa727e0c37240954d787d71b31d429fa4af1b31
|
4
|
+
data.tar.gz: 06d4b13706087eb12dc5eee148c885dfd293274314482577b4ae7cc51ece9f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a760bdd95d1448c0de6234550de4afd3564c462a450d2e21a6a5c9ef140fccd27f24305fecb594fbc10f550ee8fc528afbbbd98a942272b5473924481c1404f
|
7
|
+
data.tar.gz: 382d1c28eb227752391d1dbd5210e13f0eb4380a20f7ad00e719fd09ad84581732b7946b593f3b45f50b5d00f061255e7356ad462adbc834d7a214327f7be503
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1beta1
|
2
2
|
|
3
|
+
### v0.75.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241205
|
6
|
+
|
7
|
+
### v0.74.0 (2024-12-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241115
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.73.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240718
|
@@ -4172,6 +4172,11 @@ module Google
|
|
4172
4172
|
class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
|
4173
4173
|
include Google::Apis::Core::Hashable
|
4174
4174
|
|
4175
|
+
# BigQuery Change Data Capture configuration.
|
4176
|
+
# Corresponds to the JSON property `changeDataCaptureConfig`
|
4177
|
+
# @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig]
|
4178
|
+
attr_accessor :change_data_capture_config
|
4179
|
+
|
4175
4180
|
# BigQuery URI to an existing dataset, up to 2000 characters long, in the format
|
4176
4181
|
# `bq://projectId.bqDatasetId`.
|
4177
4182
|
# Corresponds to the JSON property `datasetUri`
|
@@ -4205,6 +4210,7 @@ module Google
|
|
4205
4210
|
|
4206
4211
|
# Update properties of this object
|
4207
4212
|
def update!(**args)
|
4213
|
+
@change_data_capture_config = args[:change_data_capture_config] if args.key?(:change_data_capture_config)
|
4208
4214
|
@dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
|
4209
4215
|
@force = args[:force] if args.key?(:force)
|
4210
4216
|
@schema_config = args[:schema_config] if args.key?(:schema_config)
|
@@ -4212,6 +4218,27 @@ module Google
|
|
4212
4218
|
end
|
4213
4219
|
end
|
4214
4220
|
|
4221
|
+
# BigQuery Change Data Capture configuration.
|
4222
|
+
class GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig
|
4223
|
+
include Google::Apis::Core::Hashable
|
4224
|
+
|
4225
|
+
# Optional. Configures how historical versions of FHIR resources will be
|
4226
|
+
# reflected in the destination table through updates and deletes. Defaults to `
|
4227
|
+
# HistoryMode.KEEP_LATEST_VERSION` if unspecified.
|
4228
|
+
# Corresponds to the JSON property `historyMode`
|
4229
|
+
# @return [String]
|
4230
|
+
attr_accessor :history_mode
|
4231
|
+
|
4232
|
+
def initialize(**args)
|
4233
|
+
update!(**args)
|
4234
|
+
end
|
4235
|
+
|
4236
|
+
# Update properties of this object
|
4237
|
+
def update!(**args)
|
4238
|
+
@history_mode = args[:history_mode] if args.key?(:history_mode)
|
4239
|
+
end
|
4240
|
+
end
|
4241
|
+
|
4215
4242
|
# Response when all resources export successfully. This structure is included in
|
4216
4243
|
# the response to describe the detailed outcome after the operation finishes
|
4217
4244
|
# successfully.
|
@@ -6530,6 +6557,106 @@ module Google
|
|
6530
6557
|
end
|
6531
6558
|
end
|
6532
6559
|
|
6560
|
+
# Filtering fields for an HL7v2 rollback. Currently only supports a list of
|
6561
|
+
# operation ids to roll back.
|
6562
|
+
class RollbackHl7MessagesFilteringFields
|
6563
|
+
include Google::Apis::Core::Hashable
|
6564
|
+
|
6565
|
+
# Optional. A list of operation IDs to roll back.
|
6566
|
+
# Corresponds to the JSON property `operationIds`
|
6567
|
+
# @return [Array<Fixnum>]
|
6568
|
+
attr_accessor :operation_ids
|
6569
|
+
|
6570
|
+
def initialize(**args)
|
6571
|
+
update!(**args)
|
6572
|
+
end
|
6573
|
+
|
6574
|
+
# Update properties of this object
|
6575
|
+
def update!(**args)
|
6576
|
+
@operation_ids = args[:operation_ids] if args.key?(:operation_ids)
|
6577
|
+
end
|
6578
|
+
end
|
6579
|
+
|
6580
|
+
# Point in time recovery rollback request.
|
6581
|
+
class RollbackHl7V2MessagesRequest
|
6582
|
+
include Google::Apis::Core::Hashable
|
6583
|
+
|
6584
|
+
# Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
|
6585
|
+
# Corresponds to the JSON property `changeType`
|
6586
|
+
# @return [String]
|
6587
|
+
attr_accessor :change_type
|
6588
|
+
|
6589
|
+
# Optional. Specifies whether to exclude earlier rollbacks.
|
6590
|
+
# Corresponds to the JSON property `excludeRollbacks`
|
6591
|
+
# @return [Boolean]
|
6592
|
+
attr_accessor :exclude_rollbacks
|
6593
|
+
alias_method :exclude_rollbacks?, :exclude_rollbacks
|
6594
|
+
|
6595
|
+
# Filtering fields for an HL7v2 rollback. Currently only supports a list of
|
6596
|
+
# operation ids to roll back.
|
6597
|
+
# Corresponds to the JSON property `filteringFields`
|
6598
|
+
# @return [Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields]
|
6599
|
+
attr_accessor :filtering_fields
|
6600
|
+
|
6601
|
+
# Optional. When enabled, changes will be reverted without explicit confirmation.
|
6602
|
+
# Corresponds to the JSON property `force`
|
6603
|
+
# @return [Boolean]
|
6604
|
+
attr_accessor :force
|
6605
|
+
alias_method :force?, :force
|
6606
|
+
|
6607
|
+
# Optional. Cloud storage object containing list of `resourceId` lines,
|
6608
|
+
# identifying resources to be reverted
|
6609
|
+
# Corresponds to the JSON property `inputGcsObject`
|
6610
|
+
# @return [String]
|
6611
|
+
attr_accessor :input_gcs_object
|
6612
|
+
|
6613
|
+
# Required. Bucket to deposit result
|
6614
|
+
# Corresponds to the JSON property `resultGcsBucket`
|
6615
|
+
# @return [String]
|
6616
|
+
attr_accessor :result_gcs_bucket
|
6617
|
+
|
6618
|
+
# Required. Times point to rollback to.
|
6619
|
+
# Corresponds to the JSON property `rollbackTime`
|
6620
|
+
# @return [String]
|
6621
|
+
attr_accessor :rollback_time
|
6622
|
+
|
6623
|
+
def initialize(**args)
|
6624
|
+
update!(**args)
|
6625
|
+
end
|
6626
|
+
|
6627
|
+
# Update properties of this object
|
6628
|
+
def update!(**args)
|
6629
|
+
@change_type = args[:change_type] if args.key?(:change_type)
|
6630
|
+
@exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks)
|
6631
|
+
@filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields)
|
6632
|
+
@force = args[:force] if args.key?(:force)
|
6633
|
+
@input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object)
|
6634
|
+
@result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket)
|
6635
|
+
@rollback_time = args[:rollback_time] if args.key?(:rollback_time)
|
6636
|
+
end
|
6637
|
+
end
|
6638
|
+
|
6639
|
+
# Final response of rollback FHIR resources request.
|
6640
|
+
class RollbackHl7V2MessagesResponse
|
6641
|
+
include Google::Apis::Core::Hashable
|
6642
|
+
|
6643
|
+
# The name of the HL7v2 store to rollback, in the format of "projects/`
|
6644
|
+
# project_id`/locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`
|
6645
|
+
# fhir_store_id`".
|
6646
|
+
# Corresponds to the JSON property `hl7v2Store`
|
6647
|
+
# @return [String]
|
6648
|
+
attr_accessor :hl7v2_store
|
6649
|
+
|
6650
|
+
def initialize(**args)
|
6651
|
+
update!(**args)
|
6652
|
+
end
|
6653
|
+
|
6654
|
+
# Update properties of this object
|
6655
|
+
def update!(**args)
|
6656
|
+
@hl7v2_store = args[:hl7v2_store] if args.key?(:hl7v2_store)
|
6657
|
+
end
|
6658
|
+
end
|
6659
|
+
|
6533
6660
|
# Configuration for the FHIR BigQuery schema. Determines how the server
|
6534
6661
|
# generates the schema.
|
6535
6662
|
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.
|
19
|
+
GEM_VERSION = "0.75.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241205"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -718,6 +718,12 @@ module Google
|
|
718
718
|
include Google::Apis::Core::JsonObjectSupport
|
719
719
|
end
|
720
720
|
|
721
|
+
class GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
721
727
|
class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
|
722
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
729
|
|
@@ -1180,6 +1186,24 @@ module Google
|
|
1180
1186
|
include Google::Apis::Core::JsonObjectSupport
|
1181
1187
|
end
|
1182
1188
|
|
1189
|
+
class RollbackHl7MessagesFilteringFields
|
1190
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1191
|
+
|
1192
|
+
include Google::Apis::Core::JsonObjectSupport
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
class RollbackHl7V2MessagesRequest
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1197
|
+
|
1198
|
+
include Google::Apis::Core::JsonObjectSupport
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
class RollbackHl7V2MessagesResponse
|
1202
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
|
+
|
1204
|
+
include Google::Apis::Core::JsonObjectSupport
|
1205
|
+
end
|
1206
|
+
|
1183
1207
|
class SchemaConfig
|
1184
1208
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1185
1209
|
|
@@ -2480,6 +2504,8 @@ module Google
|
|
2480
2504
|
class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
|
2481
2505
|
# @private
|
2482
2506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2507
|
+
property :change_data_capture_config, as: 'changeDataCaptureConfig', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig::Representation
|
2508
|
+
|
2483
2509
|
property :dataset_uri, as: 'datasetUri'
|
2484
2510
|
property :force, as: 'force'
|
2485
2511
|
property :schema_config, as: 'schemaConfig', class: Google::Apis::HealthcareV1beta1::SchemaConfig, decorator: Google::Apis::HealthcareV1beta1::SchemaConfig::Representation
|
@@ -2488,6 +2514,13 @@ module Google
|
|
2488
2514
|
end
|
2489
2515
|
end
|
2490
2516
|
|
2517
|
+
class GoogleCloudHealthcareV1beta1FhirChangeDataCaptureConfig
|
2518
|
+
# @private
|
2519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2520
|
+
property :history_mode, as: 'historyMode'
|
2521
|
+
end
|
2522
|
+
end
|
2523
|
+
|
2491
2524
|
class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
|
2492
2525
|
# @private
|
2493
2526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3161,6 +3194,34 @@ module Google
|
|
3161
3194
|
end
|
3162
3195
|
end
|
3163
3196
|
|
3197
|
+
class RollbackHl7MessagesFilteringFields
|
3198
|
+
# @private
|
3199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3200
|
+
collection :operation_ids, as: 'operationIds'
|
3201
|
+
end
|
3202
|
+
end
|
3203
|
+
|
3204
|
+
class RollbackHl7V2MessagesRequest
|
3205
|
+
# @private
|
3206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3207
|
+
property :change_type, as: 'changeType'
|
3208
|
+
property :exclude_rollbacks, as: 'excludeRollbacks'
|
3209
|
+
property :filtering_fields, as: 'filteringFields', class: Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields, decorator: Google::Apis::HealthcareV1beta1::RollbackHl7MessagesFilteringFields::Representation
|
3210
|
+
|
3211
|
+
property :force, as: 'force'
|
3212
|
+
property :input_gcs_object, as: 'inputGcsObject'
|
3213
|
+
property :result_gcs_bucket, as: 'resultGcsBucket'
|
3214
|
+
property :rollback_time, as: 'rollbackTime'
|
3215
|
+
end
|
3216
|
+
end
|
3217
|
+
|
3218
|
+
class RollbackHl7V2MessagesResponse
|
3219
|
+
# @private
|
3220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3221
|
+
property :hl7v2_store, as: 'hl7v2Store'
|
3222
|
+
end
|
3223
|
+
end
|
3224
|
+
|
3164
3225
|
class SchemaConfig
|
3165
3226
|
# @private
|
3166
3227
|
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.
|
4
|
+
version: 0.75.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-
|
11
|
+
date: 2024-12-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.75.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.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Healthcare API V1beta1
|