Class: Google::Apis::HealthcareV1beta1::Action
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::Action
- 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 a selection of tags and an Action
to apply to each one.
Instance Attribute Summary collapse
-
#clean_image_tag ⇒ Google::Apis::HealthcareV1beta1::ImageConfig
Specifies how to handle de-identification of image pixels.
-
#clean_text_tag ⇒ Google::Apis::HealthcareV1beta1::CleanTextTag
Inspect text and transform sensitive text.
-
#delete_tag ⇒ Google::Apis::HealthcareV1beta1::DeleteTag
Delete tag.
-
#keep_tag ⇒ Google::Apis::HealthcareV1beta1::KeepTag
Keep tag unchanged.
-
#queries ⇒ Array<String>
Select all tags with the listed tag IDs, names, or Value Representations (VRs).
-
#recurse_tag ⇒ Google::Apis::HealthcareV1beta1::RecurseTag
Recursively apply DICOM de-id to tags nested in a sequence.
-
#regen_uid_tag ⇒ Google::Apis::HealthcareV1beta1::RegenUidTag
Replace UID with a new generated UID.
-
#remove_tag ⇒ Google::Apis::HealthcareV1beta1::RemoveTag
Replace with empty tag.
-
#reset_tag ⇒ Google::Apis::HealthcareV1beta1::ResetTag
Reset tag to a placeholder value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Action
constructor
A new instance of Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Action
Returns a new instance of Action.
105 106 107 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#clean_image_tag ⇒ Google::Apis::HealthcareV1beta1::ImageConfig
Specifies how to handle de-identification of image pixels.
Corresponds to the JSON property cleanImageTag
55 56 57 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 55 def clean_image_tag @clean_image_tag end |
#clean_text_tag ⇒ Google::Apis::HealthcareV1beta1::CleanTextTag
Inspect text and transform sensitive text. Configurable using TextConfig.
Supported Value Representations: AE, LO, LT, PN, SH, ST, UC, UT,
DA, DT, AS
Corresponds to the JSON property cleanTextTag
63 64 65 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 63 def clean_text_tag @clean_text_tag end |
#delete_tag ⇒ Google::Apis::HealthcareV1beta1::DeleteTag
Delete tag.
Corresponds to the JSON property deleteTag
68 69 70 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 68 def delete_tag @delete_tag end |
#keep_tag ⇒ Google::Apis::HealthcareV1beta1::KeepTag
Keep tag unchanged.
Corresponds to the JSON property keepTag
73 74 75 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 73 def keep_tag @keep_tag end |
#queries ⇒ Array<String>
Select all tags with the listed tag IDs, names, or Value Representations (VRs).
Examples: ID: "00100010" Keyword: "PatientName" VR: "PN"
Corresponds to the JSON property queries
79 80 81 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 79 def queries @queries end |
#recurse_tag ⇒ Google::Apis::HealthcareV1beta1::RecurseTag
Recursively apply DICOM de-id to tags nested in a sequence. Supported Value
Representation: SQ
Corresponds to the JSON property recurseTag
86 87 88 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 86 def recurse_tag @recurse_tag end |
#regen_uid_tag ⇒ Google::Apis::HealthcareV1beta1::RegenUidTag
Replace UID with a new generated UID. Supported Value Representation: UI
Corresponds to the JSON property regenUidTag
93 94 95 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 93 def regen_uid_tag @regen_uid_tag end |
#remove_tag ⇒ Google::Apis::HealthcareV1beta1::RemoveTag
Replace with empty tag.
Corresponds to the JSON property removeTag
98 99 100 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 98 def remove_tag @remove_tag end |
#reset_tag ⇒ Google::Apis::HealthcareV1beta1::ResetTag
Reset tag to a placeholder value.
Corresponds to the JSON property resetTag
103 104 105 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 103 def reset_tag @reset_tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 110 def update!(**args) @clean_image_tag = args[:clean_image_tag] if args.key?(:clean_image_tag) @clean_text_tag = args[:clean_text_tag] if args.key?(:clean_text_tag) @delete_tag = args[:delete_tag] if args.key?(:delete_tag) @keep_tag = args[:keep_tag] if args.key?(:keep_tag) @queries = args[:queries] if args.key?(:queries) @recurse_tag = args[:recurse_tag] if args.key?(:recurse_tag) @regen_uid_tag = args[:regen_uid_tag] if args.key?(:regen_uid_tag) @remove_tag = args[:remove_tag] if args.key?(:remove_tag) @reset_tag = args[:reset_tag] if args.key?(:reset_tag) end |