class Google::Apis::HealthcareV1::GroupOrSegment

Construct representing a logical group or a segment.

Attributes

group[RW]

An HL7v2 logical group construct. Corresponds to the JSON property `group` @return [Google::Apis::HealthcareV1::SchemaGroup]

segment[RW]

An HL7v2 Segment. Corresponds to the JSON property `segment` @return [Google::Apis::HealthcareV1::SchemaSegment]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 2043
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 2048
def update!(**args)
  @group = args[:group] if args.key?(:group)
  @segment = args[:segment] if args.key?(:segment)
end