Class: Google::Apis::HealthcareV1beta1::ValidationConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ValidationConfig
- 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
Contains the configuration for FHIR profiles and validation.
Instance Attribute Summary collapse
-
#disable_profile_validation ⇒ Boolean
(also: #disable_profile_validation?)
Whether to disable profile validation for this FHIR store.
-
#enabled_implementation_guides ⇒ Array<String>
A list of ImplementationGuide URLs in this FHIR store that are used to configure the profiles to use for validation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationConfig
constructor
A new instance of ValidationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidationConfig
Returns a new instance of ValidationConfig.
5216 5217 5218 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_profile_validation ⇒ Boolean Also known as: disable_profile_validation?
Whether to disable profile validation for this FHIR store. Set this to true to
disable checking incoming resources for conformance against
StructureDefinitions in this FHIR store.
Corresponds to the JSON property disableProfileValidation
5196 5197 5198 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5196 def disable_profile_validation @disable_profile_validation end |
#enabled_implementation_guides ⇒ Array<String>
A list of ImplementationGuide URLs in this FHIR store that are used to
configure the profiles to use for validation. For example, to use the US Core
profiles for validation, set enabled_implementation_guides to ["http://hl7.
org/fhir/us/core/ImplementationGuide/ig"]. If enabled_implementation_guides
is empty or omitted, then incoming resources are only required to conform to
the base FHIR profiles. Otherwise, a resource must conform to at least one
profile listed in the global property of one of the enabled
ImplementationGuides. The Cloud Healthcare API does not currently enforce all
of the rules in a StructureDefinition. The following rules are supported: -
min/max - minValue/maxValue - maxLength - type - fixed[x] - pattern[x] on
simple types - slicing, when using "value" as the discriminator type When a
URL cannot be resolved (for example, in a type assertion), the server does not
return an error.
Corresponds to the JSON property enabledImplementationGuides
5214 5215 5216 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5214 def enabled_implementation_guides @enabled_implementation_guides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5221 5222 5223 5224 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5221 def update!(**args) @disable_profile_validation = args[:disable_profile_validation] if args.key?(:disable_profile_validation) @enabled_implementation_guides = args[:enabled_implementation_guides] if args.key?(:enabled_implementation_guides) end |