Class: Google::Apis::HealthcareV1::Hl7SchemaConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::Hl7SchemaConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/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
-
#message_schema_configs ⇒ Hash<String,Google::Apis::HealthcareV1::SchemaGroup>
Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to its schema configuration root group.
-
#version ⇒ Array<Google::Apis::HealthcareV1::VersionSource>
Each VersionSource is tested and only if they all match is the schema used for the message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Hl7SchemaConfig
constructor
A new instance of Hl7SchemaConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Hl7SchemaConfig
Returns a new instance of Hl7SchemaConfig.
2675 2676 2677 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message_schema_configs ⇒ Hash<String,Google::Apis::HealthcareV1::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
2667 2668 2669 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2667 def @message_schema_configs end |
#version ⇒ Array<Google::Apis::HealthcareV1::VersionSource>
Each VersionSource is tested and only if they all match is the schema used for
the message.
Corresponds to the JSON property version
2673 2674 2675 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2673 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2680 2681 2682 2683 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2680 def update!(**args) @message_schema_configs = args[:message_schema_configs] if args.key?(:message_schema_configs) @version = args[:version] if args.key?(:version) end |