class Google::Apis::HealthcareV1::Field
A (sub) field of a type.
Attributes
The maximum number of times this field can be repeated. 0 or -1 means unbounded. Corresponds to the JSON property `maxOccurs` @return [Fixnum]
The minimum number of times this field must be present/repeated. Corresponds to the JSON property `minOccurs` @return [Fixnum]
The name of the field. For example, “PID-1” or just “1”. Corresponds to the JSON property `name` @return [String]
The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary Language) usually refers to table “0296”. Corresponds to the JSON property `table` @return [String]
The type of this field. A Type
with this name must be defined in an Hl7TypesConfig
. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/healthcare_v1/classes.rb, line 1686 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/healthcare_v1/classes.rb, line 1691 def update!(**args) @max_occurs = args[:max_occurs] if args.key?(:max_occurs) @min_occurs = args[:min_occurs] if args.key?(:min_occurs) @name = args[:name] if args.key?(:name) @table = args[:table] if args.key?(:table) @type = args[:type] if args.key?(:type) end