Class: Google::Apis::HealthcareV1alpha2::FieldMetadata
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::FieldMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
Specifies FHIR paths to match, and how to handle de-identification of matching fields.
Instance Attribute Summary collapse
-
#action ⇒ String
Deidentify action for one field.
-
#paths ⇒ Array<String>
List of paths to FHIR fields to be redacted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FieldMetadata
constructor
A new instance of FieldMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FieldMetadata
Returns a new instance of FieldMetadata
1005 1006 1007 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Deidentify action for one field.
Corresponds to the JSON property action
990 991 992 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 990 def action @action end |
#paths ⇒ Array<String>
List of paths to FHIR fields to be redacted. Each path is a
period-separated list where each component is either a field name or
FHIR type name, for example: Patient, HumanName.
For "choice" types (those defined in the FHIR spec with the form:
field[x]) we use two separate components. e.g. "deceasedAge.unit" is
matched by "Deceased.Age.unit".
Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid,
String, Uri, Uuid, Xhtml.
Corresponds to the JSON property paths
1003 1004 1005 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1003 def paths @paths end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 1013 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1010 def update!(**args) @action = args[:action] if args.key?(:action) @paths = args[:paths] if args.key?(:paths) end |