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.



98
99
100
101
102
# File 'lib/openehr/rm/common/archetyped.rb', line 98

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.



95
96
97
# File 'lib/openehr/rm/common/archetyped.rb', line 95

def archetype_id
  @archetype_id
end

#rm_versionObject

Returns the value of attribute rm_version.



95
96
97
# File 'lib/openehr/rm/common/archetyped.rb', line 95

def rm_version
  @rm_version
end

#template_idObject

Returns the value of attribute template_id.



96
97
98
# File 'lib/openehr/rm/common/archetyped.rb', line 96

def template_id
  @template_id
end