class Google::Apis::HealthcareV1::SchemaSegment
An HL7v2 Segment
.
Attributes
max_occurs[RW]
The maximum number of times this segment can be present in this group. 0 or -1 means unbounded. Corresponds to the JSON property `maxOccurs` @return [Fixnum]
min_occurs[RW]
The minimum number of times this segment can be present in this group. Corresponds to the JSON property `minOccurs` @return [Fixnum]
type[RW]
The Segment
type. For example, “PID”. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 3705 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 3710 def update!(**args) @max_occurs = args[:max_occurs] if args.key?(:max_occurs) @min_occurs = args[:min_occurs] if args.key?(:min_occurs) @type = args[:type] if args.key?(:type) end