class Google::Apis::HealthcareV1::Type

A type definition for some HL7v2 type (incl. Segments and Datatypes).

Attributes

fields[RW]

The (sub) fields this type has (if not primitive). Corresponds to the JSON property `fields` @return [Array<Google::Apis::HealthcareV1::Field>]

name[RW]

The name of this type. This would be the segment or datatype name. For example, “PID” or “XPN”. Corresponds to the JSON property `name` @return [String]

primitive[RW]

If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types. Corresponds to the JSON property `primitive` @return [String]

Public Class Methods

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