class Google::Apis::HealthcareV1::SchemaGroup

An HL7v2 logical group construct.

Attributes

choice[RW]

True indicates that this is a choice group, meaning that only one of its segments can exist in a given message. Corresponds to the JSON property `choice` @return [Boolean]

choice?[RW]

True indicates that this is a choice group, meaning that only one of its segments can exist in a given message. Corresponds to the JSON property `choice` @return [Boolean]

max_occurs[RW]

The maximum number of times this group can be repeated. 0 or -1 means unbounded. Corresponds to the JSON property `maxOccurs` @return [Fixnum]

members[RW]

Nested groups and/or segments. Corresponds to the JSON property `members` @return [Array<Google::Apis::HealthcareV1::GroupOrSegment>]

min_occurs[RW]

The minimum number of times this group must be present/repeated. Corresponds to the JSON property `minOccurs` @return [Fixnum]

name[RW]

The name of this group. For example, “ORDER_DETAIL”. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 3625
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 3630
def update!(**args)
  @choice = args[:choice] if args.key?(:choice)
  @max_occurs = args[:max_occurs] if args.key?(:max_occurs)
  @members = args[:members] if args.key?(:members)
  @min_occurs = args[:min_occurs] if args.key?(:min_occurs)
  @name = args[:name] if args.key?(:name)
end