class Google::Apis::HealthcareV1::SchemaGroup
An HL7v2 logical group construct.
Attributes
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]
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]
The maximum number of times this group can be repeated. 0 or -1 means unbounded. Corresponds to the JSON property `maxOccurs` @return [Fixnum]
Nested groups and/or segments. Corresponds to the JSON property `members` @return [Array<Google::Apis::HealthcareV1::GroupOrSegment>]
The minimum number of times this group must be present/repeated. Corresponds to the JSON property `minOccurs` @return [Fixnum]
The name of this group. For example, “ORDER_DETAIL”. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/healthcare_v1/classes.rb, line 3625 def initialize(**args) update!(**args) end
Public Instance Methods
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