Class: Google::Apis::HealthcareV1alpha2::ValidationConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidationConfig

Returns a new instance of ValidationConfig



2889
2890
2891
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2889

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disable_profile_validationBoolean 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

Returns:

  • (Boolean)


2874
2875
2876
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2874

def disable_profile_validation
  @disable_profile_validation
end

#enabled_implementation_guidesArray<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

Returns:

  • (Array<String>)


2887
2888
2889
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2887

def enabled_implementation_guides
  @enabled_implementation_guides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2894
2895
2896
2897
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2894

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