Class: Google::Apis::HealthcareV1beta1::VersionSource

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

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.



5141
5142
5143
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 5141

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)


5134
5135
5136
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 5134

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)


5139
5140
5141
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 5139

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5146
5147
5148
5149
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 5146

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