Class: Google::Apis::HealthcareV1beta1::FhirConfig

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

Specifies how to handle de-identification of a FHIR store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FhirConfig

Returns a new instance of FhirConfig.



3041
3042
3043
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3041

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

Instance Attribute Details

#default_keep_extensionsBoolean Also known as: default_keep_extensions?

The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de- identification by default. If false or unspecified, all extensions are removed during de-identification by default. Corresponds to the JSON property defaultKeepExtensions

Returns:

  • (Boolean)


3029
3030
3031
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3029

def default_keep_extensions
  @default_keep_extensions
end

#field_metadata_listArray<Google::Apis::HealthcareV1beta1::FieldMetadata>

Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata is passed through to the output dataset unmodified. All extensions will be processed according to default_keep_extensions. If a field can be matched by more than one FieldMetadata, the first FieldMetadata. Action is applied. Corresponds to the JSON property fieldMetadataList



3039
3040
3041
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3039

def 
  @field_metadata_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3046
3047
3048
3049
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 3046

def update!(**args)
  @default_keep_extensions = args[:default_keep_extensions] if args.key?(:default_keep_extensions)
  @field_metadata_list = args[:field_metadata_list] if args.key?(:field_metadata_list)
end