Class: Google::Apis::HealthcareV1::Hl7TypesConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::Hl7TypesConfig
- 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 for HL7v2 datatype definitions for a specific HL7v2 version.
Instance Attribute Summary collapse
-
#type ⇒ Array<Google::Apis::HealthcareV1::Type>
The HL7v2 type definitions.
-
#version ⇒ Array<Google::Apis::HealthcareV1::VersionSource>
The version selectors that this config applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Hl7TypesConfig
constructor
A new instance of Hl7TypesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Hl7TypesConfig
Returns a new instance of Hl7TypesConfig.
2756 2757 2758 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ Array<Google::Apis::HealthcareV1::Type>
The HL7v2 type definitions.
Corresponds to the JSON property type
2748 2749 2750 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2748 def type @type end |
#version ⇒ Array<Google::Apis::HealthcareV1::VersionSource>
The version selectors that this config applies to. A message must match ALL
version sources to apply.
Corresponds to the JSON property version
2754 2755 2756 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2754 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2761 2762 2763 2764 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 2761 def update!(**args) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |