Class: Google::Apis::HealthcareV1alpha2::ValidationConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::ValidationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
This structure contains the configuration for FHIR profiles and validation.
Instance Attribute Summary collapse
-
#disable_profile_validation ⇒ Boolean
(also: #disable_profile_validation?)
Whether profile validation should be disabled for this FHIR store.
-
#enabled_implementation_guides ⇒ Array<String>
A list of ImplementationGuide IDs in this FHIR store that will be used to configure which profiles are used for validation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidationConfig
constructor
A new instance of ValidationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidationConfig
Returns a new instance of ValidationConfig
2897 2898 2899 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2897 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_profile_validation ⇒ Boolean Also known as: disable_profile_validation?
Whether profile validation should be disabled 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
2882 2883 2884 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2882 def disable_profile_validation @disable_profile_validation end |
#enabled_implementation_guides ⇒ Array<String>
A list of ImplementationGuide IDs in this FHIR store that will be used to
configure which profiles are used for validation. For example, to enable
an implementation guide with ID 1 set enabled_implementation_guides
to
["1"]
. If enabled_implementation_guides
is empty or omitted then
incoming resources will only be 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.
Corresponds to the JSON property enabledImplementationGuides
2895 2896 2897 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2895 def enabled_implementation_guides @enabled_implementation_guides end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2902 2903 2904 2905 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2902 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 |