Class: Google::Apis::HealthcareV1beta1::FhirStore
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::FhirStore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Represents a FHIR store.
Instance Attribute Summary collapse
-
#complex_data_type_reference_parsing ⇒ String
Enable parsing of references within complex FHIR data types such as Extensions.
-
#consent_config ⇒ Google::Apis::HealthcareV1beta1::ConsentConfig
Configures whether to enforce consent for the FHIR store and which consent enforcement version is being used.
-
#default_search_handling_strict ⇒ Boolean
(also: #default_search_handling_strict?)
If true, overrides the default search behavior for this FHIR store to
handling=strict
which returns an error for unrecognized search parameters. -
#disable_referential_integrity ⇒ Boolean
(also: #disable_referential_integrity?)
Immutable.
-
#disable_resource_versioning ⇒ Boolean
(also: #disable_resource_versioning?)
Immutable.
-
#enable_history_modifications ⇒ Boolean
(also: #enable_history_modifications?)
Optional.
-
#enable_update_create ⇒ Boolean
(also: #enable_update_create?)
Whether this FHIR store has the updateCreate capability.
-
#labels ⇒ Hash<String,String>
User-supplied key-value pairs used to organize FHIR stores.
-
#name ⇒ String
Output only.
-
#notification_config ⇒ Google::Apis::HealthcareV1beta1::NotificationConfig
Specifies where to send notifications upon changes to a data store.
-
#notification_configs ⇒ Array<Google::Apis::HealthcareV1beta1::FhirNotificationConfig>
Specifies where and whether to send notifications upon changes to a Fhir store.
-
#search_config ⇒ Google::Apis::HealthcareV1beta1::SearchConfig
Contains the configuration for FHIR search.
-
#stream_configs ⇒ Array<Google::Apis::HealthcareV1beta1::StreamConfig>
A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store.
-
#validation_config ⇒ Google::Apis::HealthcareV1beta1::ValidationConfig
Contains the configuration for FHIR profiles and validation.
-
#version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FhirStore
constructor
A new instance of FhirStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FhirStore
Returns a new instance of FhirStore.
3427 3428 3429 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#complex_data_type_reference_parsing ⇒ String
Enable parsing of references within complex FHIR data types such as Extensions.
If this value is set to ENABLED, then features like referential integrity and
Bundle reference rewriting apply to all references. If this flag has not been
specified the behavior of the FHIR store will not change, references in
complex data types will not be parsed. New stores will have this value set to
ENABLED after a notification period. Warning: turning on this flag causes
processing existing resources to fail if they contain references to non-
existent resources.
Corresponds to the JSON property complexDataTypeReferenceParsing
3301 3302 3303 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3301 def complex_data_type_reference_parsing @complex_data_type_reference_parsing end |
#consent_config ⇒ Google::Apis::HealthcareV1beta1::ConsentConfig
Configures whether to enforce consent for the FHIR store and which consent
enforcement version is being used.
Corresponds to the JSON property consentConfig
3307 3308 3309 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3307 def @consent_config end |
#default_search_handling_strict ⇒ Boolean Also known as: default_search_handling_strict?
If true, overrides the default search behavior for this FHIR store to
handling=strict
which returns an error for unrecognized search parameters. If
false, uses the FHIR specification default handling=lenient
which ignores
unrecognized search parameters. The handling can always be changed from the
default on an individual API call by setting the HTTP header Prefer: handling=
strict
or Prefer: handling=lenient
. Defaults to false.
Corresponds to the JSON property defaultSearchHandlingStrict
3317 3318 3319 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3317 def default_search_handling_strict @default_search_handling_strict end |
#disable_referential_integrity ⇒ Boolean Also known as: disable_referential_integrity?
Immutable. Whether to disable referential integrity in this FHIR store. This
field is immutable after FHIR store creation. The default value is false,
meaning that the API enforces referential integrity and fails the requests
that result in inconsistent state in the FHIR store. When this field is set to
true, the API skips referential integrity checks. Consequently, operations
that rely on references, such as GetPatientEverything, do not return all the
results if broken references exist.
Corresponds to the JSON property disableReferentialIntegrity
3329 3330 3331 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3329 def disable_referential_integrity @disable_referential_integrity end |
#disable_resource_versioning ⇒ Boolean Also known as: disable_resource_versioning?
Immutable. Whether to disable resource versioning for this FHIR store. This
field can not be changed after the creation of FHIR store. If set to false,
all write operations cause historical versions to be recorded automatically.
The historical versions can be fetched through the history APIs, but cannot be
updated. If set to true, no historical versions are kept. The server sends
errors for attempts to read the historical versions. Defaults to false.
Corresponds to the JSON property disableResourceVersioning
3340 3341 3342 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3340 def disable_resource_versioning @disable_resource_versioning end |
#enable_history_modifications ⇒ Boolean Also known as: enable_history_modifications?
Optional. Whether to allow ExecuteBundle to accept history bundles, and
directly insert and overwrite historical resource versions into the FHIR store.
If set to false, using history bundles fails with an error. Defaults to false.
Corresponds to the JSON property enableHistoryModifications
3348 3349 3350 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3348 def enable_history_modifications @enable_history_modifications end |
#enable_update_create ⇒ Boolean Also known as: enable_update_create?
Whether this FHIR store has the updateCreate capability. This determines if the client can use an Update operation to
create a new resource with a client-specified ID. If false, all IDs are server-
assigned through the Create operation and attempts to update a non-existent
resource return errors. It is strongly advised not to include or encode any
sensitive data such as patient identifiers in client-specified resource IDs.
Those IDs are part of the FHIR resource path recorded in Cloud audit logs and
Pub/Sub notifications. Those IDs can also be contained in reference fields
within other resources. Defaults to false.
Corresponds to the JSON property enableUpdateCreate
3363 3364 3365 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3363 def enable_update_create @enable_update_create end |
#labels ⇒ Hash<String,String>
User-supplied key-value pairs used to organize FHIR stores. Label keys must be
between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
and must conform to the following PCRE regular expression: \pLl
\pLo
0,62
Label values are optional, must be between 1 and 63 characters long, have a
UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
regular expression: [\pLl
\pLo
\pN
_-]0,63
No more than 64 labels can be
associated with a given store.
Corresponds to the JSON property labels
3375 3376 3377 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3375 def labels @labels end |
#name ⇒ String
Output only. Identifier. Resource name of the FHIR store, of the form
projects/
project_id/locations/
location/datasets/
dataset_id/fhirStores/
fhir_store_id`.
Corresponds to the JSON property
name`
3382 3383 3384 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3382 def name @name end |
#notification_config ⇒ Google::Apis::HealthcareV1beta1::NotificationConfig
Specifies where to send notifications upon changes to a data store.
Corresponds to the JSON property notificationConfig
3387 3388 3389 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3387 def notification_config @notification_config end |
#notification_configs ⇒ Array<Google::Apis::HealthcareV1beta1::FhirNotificationConfig>
Specifies where and whether to send notifications upon changes to a Fhir store.
Corresponds to the JSON property notificationConfigs
3392 3393 3394 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3392 def notification_configs @notification_configs end |
#search_config ⇒ Google::Apis::HealthcareV1beta1::SearchConfig
Contains the configuration for FHIR search.
Corresponds to the JSON property searchConfig
3397 3398 3399 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3397 def search_config @search_config end |
#stream_configs ⇒ Array<Google::Apis::HealthcareV1beta1::StreamConfig>
A list of streaming configs that configure the destinations of streaming
export for every resource mutation in this FHIR store. Each store is allowed
to have up to 10 streaming configs. After a new config is added, the next
resource mutation is streamed to the new location in addition to the existing
ones. When a location is removed from the list, the server stops streaming to
that location. Before adding a new config, you must add the required
bigquery.dataEditor
role to your project's Cloud Healthcare Service Agent
service account. Some
lag (typically on the order of dozens of seconds) is expected before the
results show up in the streaming destination.
Corresponds to the JSON property streamConfigs
3412 3413 3414 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3412 def stream_configs @stream_configs end |
#validation_config ⇒ Google::Apis::HealthcareV1beta1::ValidationConfig
Contains the configuration for FHIR profiles and validation.
Corresponds to the JSON property validationConfig
3417 3418 3419 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3417 def validation_config @validation_config end |
#version ⇒ String
Required. Immutable. The FHIR specification version that this FHIR store
supports natively. This field is immutable after store creation. Requests are
rejected if they contain FHIR resources of a different version. Version is
required for every FHIR store.
Corresponds to the JSON property version
3425 3426 3427 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3425 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3432 def update!(**args) @complex_data_type_reference_parsing = args[:complex_data_type_reference_parsing] if args.key?(:complex_data_type_reference_parsing) @consent_config = args[:consent_config] if args.key?(:consent_config) @default_search_handling_strict = args[:default_search_handling_strict] if args.key?(:default_search_handling_strict) @disable_referential_integrity = args[:disable_referential_integrity] if args.key?(:disable_referential_integrity) @disable_resource_versioning = args[:disable_resource_versioning] if args.key?(:disable_resource_versioning) @enable_history_modifications = args[:enable_history_modifications] if args.key?(:enable_history_modifications) @enable_update_create = args[:enable_update_create] if args.key?(:enable_update_create) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @notification_config = args[:notification_config] if args.key?(:notification_config) @notification_configs = args[:notification_configs] if args.key?(:notification_configs) @search_config = args[:search_config] if args.key?(:search_config) @stream_configs = args[:stream_configs] if args.key?(:stream_configs) @validation_config = args[:validation_config] if args.key?(:validation_config) @version = args[:version] if args.key?(:version) end |