Class: OpenEHR::RM::Common::Archetyped::Archetyped
- Inherits:
-
Object
- Object
- OpenEHR::RM::Common::Archetyped::Archetyped
- Defined in:
- lib/openehr/rm/common/archetyped.rb
Instance Attribute Summary collapse
-
#archetype_id ⇒ Object
Returns the value of attribute archetype_id.
-
#rm_version ⇒ Object
Returns the value of attribute rm_version.
-
#template_id ⇒ Object
Returns the value of attribute template_id.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Archetyped
constructor
A new instance of Archetyped.
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_id ⇒ Object
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_version ⇒ Object
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_id ⇒ Object
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 |