Class: Google::Apis::HealthcareV1beta1::DicomConfig

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

Specifies the parameters needed for de-identification of DICOM stores.

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

Returns a new instance of DicomConfig



571
572
573
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 571

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

Instance Attribute Details

#filter_profileString

Tag filtering profile that determines which tags to keep/remove. Corresponds to the JSON property filterProfile

Returns:

  • (String)


545
546
547
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 545

def filter_profile
  @filter_profile
end

#keep_listGoogle::Apis::HealthcareV1beta1::TagFilterList

List of tags to be filtered. Corresponds to the JSON property keepList



550
551
552
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 550

def keep_list
  @keep_list
end

#remove_listGoogle::Apis::HealthcareV1beta1::TagFilterList

List of tags to be filtered. Corresponds to the JSON property removeList



555
556
557
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 555

def remove_list
  @remove_list
end

#skip_id_redactionBoolean Also known as: skip_id_redaction?

If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare API regenerates these UIDs by default based on the DICOM Standard's reasoning: "Whilst these UIDs cannot be mapped directly to an individual out of context, given access to the original images, or to a database of the original images containing the UIDs, it would be possible to recover the individual's identity." http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9. html Corresponds to the JSON property skipIdRedaction

Returns:

  • (Boolean)


568
569
570
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 568

def skip_id_redaction
  @skip_id_redaction
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



576
577
578
579
580
581
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 576

def update!(**args)
  @filter_profile = args[:filter_profile] if args.key?(:filter_profile)
  @keep_list = args[:keep_list] if args.key?(:keep_list)
  @remove_list = args[:remove_list] if args.key?(:remove_list)
  @skip_id_redaction = args[:skip_id_redaction] if args.key?(:skip_id_redaction)
end