class Google::Apis::HealthcareV1::SchemaPackage

A schema package contains a set of schemas and type definitions.

Attributes

ignore_min_occurs[RW]

Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. Corresponds to the JSON property `ignoreMinOccurs` @return [Boolean]

ignore_min_occurs?[RW]

Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent. Corresponds to the JSON property `ignoreMinOccurs` @return [Boolean]

schemas[RW]

Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and trigger event if their VersionSources all match an incoming message. Corresponds to the JSON property `schemas` @return [Array<Google::Apis::HealthcareV1::Hl7SchemaConfig>]

schematized_parsing_type[RW]

Determines how messages that fail to parse are handled. Corresponds to the JSON property `schematizedParsingType` @return [String]

types[RW]

Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type name if their VersionSources all match an incoming message. Corresponds to the JSON property `types` @return [Array<Google::Apis::HealthcareV1::Hl7TypesConfig>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 3672
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 3677
def update!(**args)
  @ignore_min_occurs = args[:ignore_min_occurs] if args.key?(:ignore_min_occurs)
  @schemas = args[:schemas] if args.key?(:schemas)
  @schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
  @types = args[:types] if args.key?(:types)
end