Class: Google::Apis::HealthcareV1::DicomConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::DicomConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
Overview
Specifies the parameters needed for de-identification of DICOM stores.
Instance Attribute Summary collapse
-
#filter_profile ⇒ String
Tag filtering profile that determines which tags to keep/remove.
-
#keep_list ⇒ Google::Apis::HealthcareV1::TagFilterList
List of tags to be filtered.
-
#remove_list ⇒ Google::Apis::HealthcareV1::TagFilterList
List of tags to be filtered.
-
#skip_id_redaction ⇒ Boolean
(also: #skip_id_redaction?)
If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DicomConfig
constructor
A new instance of DicomConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DicomConfig
Returns a new instance of DicomConfig.
1225 1226 1227 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter_profile ⇒ String
Tag filtering profile that determines which tags to keep/remove.
Corresponds to the JSON property filterProfile
1200 1201 1202 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1200 def filter_profile @filter_profile end |
#keep_list ⇒ Google::Apis::HealthcareV1::TagFilterList
List of tags to be filtered.
Corresponds to the JSON property keepList
1205 1206 1207 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1205 def keep_list @keep_list end |
#remove_list ⇒ Google::Apis::HealthcareV1::TagFilterList
List of tags to be filtered.
Corresponds to the JSON property removeList
1210 1211 1212 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1210 def remove_list @remove_list end |
#skip_id_redaction ⇒ Boolean 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
1222 1223 1224 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1222 def skip_id_redaction @skip_id_redaction end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1230 1231 1232 1233 1234 1235 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1230 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 |