Class: Google::Apis::HealthcareV1beta1::FhirStore
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::FhirStore
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb
Overview
Represents a FHIR store.
Instance Attribute Summary collapse
-
#disable_referential_integrity ⇒ Boolean
(also: #disable_referential_integrity?)
Whether to disable referential integrity in this FHIR store.
-
#disable_resource_versioning ⇒ Boolean
(also: #disable_resource_versioning?)
Whether to disable resource versioning for this FHIR store.
-
#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.
-
#version ⇒ String
The FHIR specification version that this FHIR store supports natively.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FhirStore
constructor
A new instance of FhirStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FhirStore
Returns a new instance of FhirStore.
977 978 979 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_referential_integrity ⇒ Boolean Also known as: disable_referential_integrity?
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
915 916 917 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 915 def disable_referential_integrity @disable_referential_integrity end |
#disable_resource_versioning ⇒ Boolean Also known as: disable_resource_versioning?
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, which is the default behavior, 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.
Corresponds to the JSON property disableResourceVersioning
927 928 929 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 927 def disable_resource_versioning @disable_resource_versioning 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. Please treat the audit logs with appropriate levels of
care if client-specified resource IDs contain sensitive data such as
patient identifiers, those IDs are part of the FHIR resource path
recorded in Cloud audit logs and Cloud Pub/Sub notifications.
Corresponds to the JSON property enableUpdateCreate
942 943 944 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 942 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
956 957 958 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 956 def labels @labels end |
#name ⇒ String
Output only. Resource name of the FHIR store, of the form
projects/
project_id/datasets/
dataset_id/fhirStores/
fhir_store_id`.
Corresponds to the JSON property
name`
962 963 964 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 962 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
967 968 969 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 967 def notification_config @notification_config end |
#version ⇒ String
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.
An empty value is treated as STU3.
Corresponds to the JSON property version
975 976 977 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 975 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
982 983 984 985 986 987 988 989 990 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 982 def update!(**args) @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_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) @version = args[:version] if args.key?(:version) end |