Class: Google::Apis::HealthcareV1beta1::Hl7SchemaConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Root config message for HL7v2 schema. This contains a schema structure of groups and segments, and filters that determine which messages to apply the schema structure to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Hl7SchemaConfig

Returns a new instance of Hl7SchemaConfig.



2847
2848
2849
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2847

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#message_schema_configsHash<String,Google::Apis::HealthcareV1beta1::SchemaGroup>

Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group. Corresponds to the JSON property messageSchemaConfigs



2839
2840
2841
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2839

def message_schema_configs
  @message_schema_configs
end

#versionArray<Google::Apis::HealthcareV1beta1::VersionSource>

Each VersionSource is tested and only if they all match is the schema used for the message. Corresponds to the JSON property version



2845
2846
2847
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2845

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2852
2853
2854
2855
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2852

def update!(**args)
  @message_schema_configs = args[:message_schema_configs] if args.key?(:message_schema_configs)
  @version = args[:version] if args.key?(:version)
end