Class: Google::Apis::HealthcareV1::VersionSource

Inherits:
Object
  • Object
show all
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

Describes a selector for extracting and matching an MSH field to a value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VersionSource

Returns a new instance of VersionSource.



4466
4467
4468
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4466

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

Instance Attribute Details

#msh_fieldString

The field to extract from the MSH segment. For example, "3.1" or "18[1].1". Corresponds to the JSON property mshField

Returns:

  • (String)


4459
4460
4461
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4459

def msh_field
  @msh_field
end

#valueString

The value to match with the field. For example, "My Application Name" or "2.3". Corresponds to the JSON property value

Returns:

  • (String)


4464
4465
4466
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4464

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4471
4472
4473
4474
# File 'lib/google/apis/healthcare_v1/classes.rb', line 4471

def update!(**args)
  @msh_field = args[:msh_field] if args.key?(:msh_field)
  @value = args[:value] if args.key?(:value)
end