Class: OpenEHR::RM::Common::Archetyped::Archetyped

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/rm/common/archetyped.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Archetyped

Returns a new instance of Archetyped.



205
206
207
208
209
# File 'lib/openehr/rm/common/archetyped.rb', line 205

def initialize(**args)
  self.archetype_id = args[:archetype_id]
  self.rm_version = args[:rm_version]
  self.template_id = args[:template_id]
end

Instance Attribute Details

#archetype_idObject

Returns the value of attribute archetype_id.



202
203
204
# File 'lib/openehr/rm/common/archetyped.rb', line 202

def archetype_id
  @archetype_id
end

#rm_versionObject

Returns the value of attribute rm_version.



202
203
204
# File 'lib/openehr/rm/common/archetyped.rb', line 202

def rm_version
  @rm_version
end

#template_idObject

Returns the value of attribute template_id.



203
204
205
# File 'lib/openehr/rm/common/archetyped.rb', line 203

def template_id
  @template_id
end