Class: Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Creates a new FHIR store with sensitive information de-identified.

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

Returns a new instance of DeidentifyFhirStoreRequest.



528
529
530
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 528

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

Instance Attribute Details

#configGoogle::Apis::HealthcareV1beta1::DeidentifyConfig

Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime. Corresponds to the JSON property config



507
508
509
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 507

def config
  @config
end

#destination_storeString

The name of the FHIR store to create and write the redacted data to. For example, projects/project_id/locations/location_id/datasets/dataset_id/ fhirStores/fhir_store_id``.

  • The destination dataset must exist.
  • The source dataset and destination dataset must both reside in the same project. De-identifying data across multiple projects is not supported.
  • The destination FHIR store must exist.
  • The caller must have the healthcare.fhirResources.update permission to write to the destination FHIR store. Corresponds to the JSON property destinationStore

Returns:

  • (String)


521
522
523
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 521

def destination_store
  @destination_store
end

#resource_filterGoogle::Apis::HealthcareV1beta1::FhirFilter

Filter configuration. Corresponds to the JSON property resourceFilter



526
527
528
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 526

def resource_filter
  @resource_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



533
534
535
536
537
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 533

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @destination_store = args[:destination_store] if args.key?(:destination_store)
  @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
end