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



2906
2907
2908
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2906

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)


2891
2892
2893
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2891

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>)


2904
2905
2906
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2904

def enabled_implementation_guides
  @enabled_implementation_guides
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2911
2912
2913
2914
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2911

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